diff --git a/.circleci/config.yml b/.circleci/config.yml
deleted file mode 100644
index 685d8948..00000000
--- a/.circleci/config.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-version: 2
-
-defaults: &defaults
- working_directory: ~/api-client-javascript
- docker:
- - image: cimg/node:22.7.0
-jobs:
- deploy:
- <<: *defaults
- steps:
- - checkout
- - run:
- name: Authenticate with registry
- command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- - run: npm install
- - run: npm prune
- - run:
- name: Versioning
- command: npm version 1.0.$CIRCLE_BUILD_NUM --no-git-tag-version
- - run:
- name: Version
- command: npm version
- - run:
- name: Publish package
- command: npm publish --access public
-workflows:
- version: 2
- build-deploy:
- jobs:
- - deploy:
- filters:
- branches:
- only: /^master/
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 00000000..819914fc
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,67 @@
+name: flipdishbytes.api-client-javascript.publish
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+permissions:
+ id-token: write
+ contents: read
+jobs:
+ build-and-publish:
+ concurrency:
+ group: npm-publish-${{ github.ref }}
+ cancel-in-progress: false
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v6
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 24
+ - name: Install dependencies
+ run: npm install
+ - name: Build package
+ run: npm run build
+ - name: Get current version from npm
+ id: current_version
+ run: |
+ CURRENT_VERSION=$(npm view @flipdish/api-client-javascript version 2>/dev/null)
+ if [ -z "$CURRENT_VERSION" ] || [ "$CURRENT_VERSION" = "undefined" ]; then
+ echo "::error::npm view returned no version for @flipdish/api-client-javascript - registry lookup failed or package missing"
+ exit 1
+ fi
+ echo "Current version from npm: $CURRENT_VERSION"
+ echo "version=$CURRENT_VERSION" >> $GITHUB_OUTPUT
+ - name: Calculate new version
+ id: new_version
+ run: |
+ CURRENT_VERSION=${{ steps.current_version.outputs.version }}
+ IFS='.' read -r major minor patch <<< "$CURRENT_VERSION"
+ NEW_VERSION="$major.$minor.$((patch + 1))"
+ echo "NEW_VERSION: $NEW_VERSION"
+ echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT
+ - name: Install moreutils
+ run: |
+ sudo apt-get install -qy moreutils
+ - name: Update version in package.json
+ run: |
+ jq --arg version "${{ steps.new_version.outputs.version }}" '.version = $version' package.json | sponge package.json
+ echo "Updated package version to $(node -p "require('./package.json').version")"
+ - name: Dry run publish to npm
+ if: github.event_name == 'pull_request'
+ run: |
+ # Run npm publish dry-run and capture output
+ output=$(npm publish --access public --dry-run 2>&1)
+ echo "$output"
+ # Check for real npm errors ("npm error" / "npm ERR!"), not error-named files
+ # (this package legitimately contains files like ValidationErrorResult.js)
+ if echo "$output" | grep -E "^npm error|^npm ERR!" > /dev/null; then
+ echo "Dry run failed"
+ exit 1
+ fi
+ shell: bash
+ - name: Publish to npm
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
+ run: |
+ npm -v
+ npm publish --access public
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..fbd0ca60
--- /dev/null
+++ b/README.md
@@ -0,0 +1,1518 @@
+# @flipdish/api-client-javascript
+
+Flipdish - JavaScript client for @flipdish/api-client-javascript
+No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
+
+- API version: v1.0
+- Package version: 1.0.0
+- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
+
+## Installation
+
+### For [Node.js](https://nodejs.org/)
+
+#### npm
+
+To publish the library as a [npm](https://www.npmjs.com/), please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
+
+Then install it via:
+
+```shell
+npm install @flipdish/api-client-javascript --save
+```
+
+Finally, you need to build the module:
+
+```shell
+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:
+
+```shell
+npm install
+```
+
+Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:
+
+```shell
+npm link
+```
+
+To use the link you just defined in your project, switch to the directory you want to use your @flipdish/api-client-javascript from, and run:
+
+```shell
+npm link /path/to/
+```
+
+Finally, you need to build the module:
+
+```shell
+npm run build
+```
+
+#### git
+
+If the library is hosted at a git repository, e.g.https://github.com/flipdishbytes/api-client-javascript
+then install it via:
+
+```shell
+ npm install flipdishbytes/api-client-javascript --save
+```
+
+### For browser
+
+The library also works in the browser environment via npm and [browserify](http://browserify.org/). 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):
+
+```shell
+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:
+
+```javascript
+module: {
+ rules: [
+ {
+ parser: {
+ amd: false
+ }
+ }
+ ]
+}
+```
+
+## Getting Started
+
+Please follow the [installation](#installation) instruction and execute the following JS code:
+
+```javascript
+var Flipdish = require('@flipdish/api-client-javascript');
+
+var defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+var oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = "YOUR ACCESS TOKEN"
+
+var api = new Flipdish.AccountsApi()
+var signupStepAction = "signupStepAction_example"; // {String}
+var answerId = 56; // {Number}
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+};
+api.answerSignUpQuestion(signupStepAction, answerId, callback);
+
+```
+
+## Documentation for API Endpoints
+
+All URIs are relative to *https://api.flipdish.co*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*Flipdish.AccountsApi* | [**answerSignUpQuestion**](docs/AccountsApi.md#answerSignUpQuestion) | **POST** /api/v1.0/accounts/signupstep/{signupStepAction}/answer |
+*Flipdish.AccountsApi* | [**changePassword**](docs/AccountsApi.md#changePassword) | **PUT** /api/v1.0/accounts/password |
+*Flipdish.AccountsApi* | [**changePasswordWithPin**](docs/AccountsApi.md#changePasswordWithPin) | **PUT** /api/v1.0/accounts/password/pin |
+*Flipdish.AccountsApi* | [**createAccount**](docs/AccountsApi.md#createAccount) | **POST** /api/v1.0/accounts |
+*Flipdish.AccountsApi* | [**createBasicAccount**](docs/AccountsApi.md#createBasicAccount) | **POST** /api/v1.0/accounts/basic-account |
+*Flipdish.AccountsApi* | [**getAccountDetails**](docs/AccountsApi.md#getAccountDetails) | **GET** /api/v1.0/accounts |
+*Flipdish.AccountsApi* | [**getLocalisedTimeZones**](docs/AccountsApi.md#getLocalisedTimeZones) | **GET** /api/v1.0/accounts/timezones |
+*Flipdish.AccountsApi* | [**login**](docs/AccountsApi.md#login) | **POST** /api/v1.0/accounts/login |
+*Flipdish.AccountsApi* | [**loginSso**](docs/AccountsApi.md#loginSso) | **POST** /api/v1.0/accounts/login/sso |
+*Flipdish.AccountsApi* | [**loginWithPin**](docs/AccountsApi.md#loginWithPin) | **POST** /api/v1.0/accounts/login/pin |
+*Flipdish.AccountsApi* | [**logout**](docs/AccountsApi.md#logout) | **POST** /api/v1.0/accounts/logout |
+*Flipdish.AccountsApi* | [**passwordResetWithToken**](docs/AccountsApi.md#passwordResetWithToken) | **POST** /api/v1.0/accounts/password |
+*Flipdish.AccountsApi* | [**recaptchaValidate**](docs/AccountsApi.md#recaptchaValidate) | **POST** /api/v1.0/accounts/recaptcha |
+*Flipdish.AccountsApi* | [**requestLoginPin**](docs/AccountsApi.md#requestLoginPin) | **POST** /api/v1.0/accounts/pin |
+*Flipdish.AccountsApi* | [**requestPasswordReset**](docs/AccountsApi.md#requestPasswordReset) | **POST** /api/v1.0/accounts/passwordreset |
+*Flipdish.AccountsApi* | [**sendPinForPasswordReset**](docs/AccountsApi.md#sendPinForPasswordReset) | **POST** /api/v1.0/accounts/password/resetpin |
+*Flipdish.AccountsApi* | [**skipSignupStep**](docs/AccountsApi.md#skipSignupStep) | **POST** /api/v1.0/accounts/signupstep/{signupStepAction}/skip |
+*Flipdish.AccountsApi* | [**updateAccount**](docs/AccountsApi.md#updateAccount) | **PUT** /api/v1.0/accounts |
+*Flipdish.AddressApi* | [**addressTemplates**](docs/AddressApi.md#addressTemplates) | **POST** /api/v1.0/address/templates |
+*Flipdish.AddressApi* | [**formByApp**](docs/AddressApi.md#formByApp) | **GET** /api/v1.0/app/{appId}/address/form |
+*Flipdish.AddressApi* | [**formByCountry**](docs/AddressApi.md#formByCountry) | **GET** /api/v1.0/address/country/{countryCode}/form |
+*Flipdish.AddressApi* | [**formatGoogleAddress**](docs/AddressApi.md#formatGoogleAddress) | **POST** /api/v1.0/address/google |
+*Flipdish.AddressApi* | [**getCountries**](docs/AddressApi.md#getCountries) | **GET** /api/v1.0/address/countries |
+*Flipdish.ApmApi* | [**getApmStatus**](docs/ApmApi.md#getApmStatus) | **GET** /api/v1.0/{appId}/apm/status |
+*Flipdish.ApmApi* | [**getBasicStatistics**](docs/ApmApi.md#getBasicStatistics) | **GET** /api/v1.0/{appId}/apm/statistics |
+*Flipdish.ApmApi* | [**getCalendarWeekStatistics**](docs/ApmApi.md#getCalendarWeekStatistics) | **GET** /api/v1.0/{appId}/apm/statistics/calendar |
+*Flipdish.ApmApi* | [**getCallsStatistics**](docs/ApmApi.md#getCallsStatistics) | **GET** /api/v1.0/{appId}/apm/statistics/calls/{aggregateDataBy} |
+*Flipdish.ApmApi* | [**getOrderStatistics**](docs/ApmApi.md#getOrderStatistics) | **GET** /api/v1.0/{appId}/apm/statistics/orders/{aggregateDataBy} |
+*Flipdish.ApmApi* | [**getPaginatedCallList**](docs/ApmApi.md#getPaginatedCallList) | **GET** /api/v1.0/{appId}/apm/calls |
+*Flipdish.AppStoreApi* | [**getAppStoreApp**](docs/AppStoreApi.md#getAppStoreApp) | **GET** /api/v1.0/appstore/apps/{appStoreAppId} |
+*Flipdish.AppStoreApi* | [**getAppStoreApps**](docs/AppStoreApi.md#getAppStoreApps) | **GET** /api/v1.0/appstore/apps |
+*Flipdish.AppStoreConfigurationsApi* | [**appStoreConfigurationsAppStoreHandleOauthResponseCode**](docs/AppStoreConfigurationsApi.md#appStoreConfigurationsAppStoreHandleOauthResponseCode) | **GET** /api/v1.0/appstore/oauthresponse/{appStoreAppId}/responsecode |
+*Flipdish.AppStoreConfigurationsApi* | [**createAppStoreConfig**](docs/AppStoreConfigurationsApi.md#createAppStoreConfig) | **POST** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config |
+*Flipdish.AppStoreConfigurationsApi* | [**deleteAppStoreConfig**](docs/AppStoreConfigurationsApi.md#deleteAppStoreConfig) | **DELETE** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId} |
+*Flipdish.AppStoreConfigurationsApi* | [**executeConfigurationAction**](docs/AppStoreConfigurationsApi.md#executeConfigurationAction) | **POST** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}/action |
+*Flipdish.AppStoreConfigurationsApi* | [**getAppStoreConfig**](docs/AppStoreConfigurationsApi.md#getAppStoreConfig) | **GET** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId} |
+*Flipdish.AppStoreConfigurationsApi* | [**getConfiguredAppSingleApp**](docs/AppStoreConfigurationsApi.md#getConfiguredAppSingleApp) | **GET** /api/v1.0/{appId}/appstore/apps/{appStoreAppId} |
+*Flipdish.AppStoreConfigurationsApi* | [**getConfiguredApps**](docs/AppStoreConfigurationsApi.md#getConfiguredApps) | **GET** /api/v1.0/{appId}/appstore/apps |
+*Flipdish.AppStoreConfigurationsApi* | [**updateAppStoreConfig**](docs/AppStoreConfigurationsApi.md#updateAppStoreConfig) | **PUT** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId} |
+*Flipdish.AppStoreConfigurationsApi* | [**updateAppStoreConfigSettingValues**](docs/AppStoreConfigurationsApi.md#updateAppStoreConfigSettingValues) | **POST** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}/updatesettings |
+*Flipdish.AppStoreDeveloperApi* | [**appVerificationUpdate**](docs/AppStoreDeveloperApi.md#appVerificationUpdate) | **PUT** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/verification |
+*Flipdish.AppStoreDeveloperApi* | [**createAppStoreApp**](docs/AppStoreDeveloperApi.md#createAppStoreApp) | **POST** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps |
+*Flipdish.AppStoreDeveloperApi* | [**deleteAppStoreApp**](docs/AppStoreDeveloperApi.md#deleteAppStoreApp) | **DELETE** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId} |
+*Flipdish.AppStoreDeveloperApi* | [**getAppExternalProduct**](docs/AppStoreDeveloperApi.md#getAppExternalProduct) | **GET** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product |
+*Flipdish.AppStoreDeveloperApi* | [**getExternalFunctionSigningKey**](docs/AppStoreDeveloperApi.md#getExternalFunctionSigningKey) | **GET** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_function_signing_key |
+*Flipdish.AppStoreDeveloperApi* | [**updateAppStoreApp**](docs/AppStoreDeveloperApi.md#updateAppStoreApp) | **PUT** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId} |
+*Flipdish.AppStoreDeveloperApi* | [**updateExternalProduct**](docs/AppStoreDeveloperApi.md#updateExternalProduct) | **PUT** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product |
+*Flipdish.AppStoreDeveloperApi* | [**uploadAppStoreAppLogo**](docs/AppStoreDeveloperApi.md#uploadAppStoreAppLogo) | **POST** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/logo |
+*Flipdish.AppStoreEntitlementsApi* | [**getAppStoreAppEntitlements**](docs/AppStoreEntitlementsApi.md#getAppStoreAppEntitlements) | **GET** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/entitlements |
+*Flipdish.AppsApi* | [**appsSetPropertyId**](docs/AppsApi.md#appsSetPropertyId) | **POST** /api/v1.0/apps/{appId}/orgId/{orgId} |
+*Flipdish.AppsApi* | [**createApp**](docs/AppsApi.md#createApp) | **POST** /api/v1.0/apps |
+*Flipdish.AppsApi* | [**getApp**](docs/AppsApi.md#getApp) | **GET** /api/v1.0/apps/{appId} |
+*Flipdish.AppsApi* | [**getAppHostnameStatus**](docs/AppsApi.md#getAppHostnameStatus) | **GET** /api/v1.0/apps/{appId}/hostnamestatus |
+*Flipdish.AppsApi* | [**getAppName**](docs/AppsApi.md#getAppName) | **GET** /api/v1.0/apps/{appId}/name |
+*Flipdish.AppsApi* | [**getApps**](docs/AppsApi.md#getApps) | **GET** /api/v1.0/apps |
+*Flipdish.AppsApi* | [**getCompliance**](docs/AppsApi.md#getCompliance) | **GET** /api/v1.0/apps/{appId}/compliance |
+*Flipdish.AppsApi* | [**getPanaceaVanityUrl**](docs/AppsApi.md#getPanaceaVanityUrl) | **GET** /api/v1.0/apps/{appId}/panacea/url |
+*Flipdish.AppsApi* | [**getSupportedCountries**](docs/AppsApi.md#getSupportedCountries) | **GET** /api/v1.0/apps/supportedcountries |
+*Flipdish.AppsApi* | [**isPanaceaVanityUrlAvailable**](docs/AppsApi.md#isPanaceaVanityUrlAvailable) | **GET** /api/v1.0/apps/{appId}/panacea/url/available |
+*Flipdish.AppsApi* | [**lookupByWhitelabelId**](docs/AppsApi.md#lookupByWhitelabelId) | **GET** /api/v1.0/apps/{whitelabelId}/lookup |
+*Flipdish.AppsApi* | [**setAppConfig**](docs/AppsApi.md#setAppConfig) | **POST** /api/v1.0/apps/{appId}/config |
+*Flipdish.AppsApi* | [**setAppHostname**](docs/AppsApi.md#setAppHostname) | **POST** /api/v1.0/apps/{appId}/hostname |
+*Flipdish.AppsApi* | [**setAppLanguages**](docs/AppsApi.md#setAppLanguages) | **POST** /api/v1.0/apps/{appId}/config/languages |
+*Flipdish.AppsApi* | [**setAppStoreName**](docs/AppsApi.md#setAppStoreName) | **POST** /api/v1.0/apps/{appId}/appstorename |
+*Flipdish.AppsApi* | [**setCompliance**](docs/AppsApi.md#setCompliance) | **POST** /api/v1.0/apps/{appId}/compliance |
+*Flipdish.AppsApi* | [**setPanaceaVanityUrl**](docs/AppsApi.md#setPanaceaVanityUrl) | **POST** /api/v1.0/apps/{appId}/panacea/url |
+*Flipdish.AppsApi* | [**toggleNextGenWeb**](docs/AppsApi.md#toggleNextGenWeb) | **POST** /api/v1.0/apps/{appId}/nextgenweb |
+*Flipdish.AppsApi* | [**uploadAppLogo**](docs/AppsApi.md#uploadAppLogo) | **POST** /api/v1.0/apps/{appId}/logo |
+*Flipdish.AuditLogsApi* | [**addOrderAuditLog**](docs/AuditLogsApi.md#addOrderAuditLog) | **POST** /api/v1.0/auditlogs/orders/{orderId} |
+*Flipdish.AuditLogsApi* | [**addStoreAuditLogEvent**](docs/AuditLogsApi.md#addStoreAuditLogEvent) | **POST** /api/v1.0/auditlogs/stores/{storeId} |
+*Flipdish.AuthorizationTokensApi* | [**getAuthorizationTokens**](docs/AuthorizationTokensApi.md#getAuthorizationTokens) | **GET** /api/v1.0/{appId}/authorizationtokens/{oauthAppId} |
+*Flipdish.AuthorizationTokensApi* | [**revokeToken**](docs/AuthorizationTokensApi.md#revokeToken) | **DELETE** /api/v1.0/{appId}/authorizationtokens/{key} |
+*Flipdish.BankAccountApi* | [**attachBankAccountToStore**](docs/BankAccountApi.md#attachBankAccountToStore) | **POST** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/store/{storeId} |
+*Flipdish.BankAccountApi* | [**createBankAccount**](docs/BankAccountApi.md#createBankAccount) | **POST** /api/v1.0/{appId}/bankaccounts |
+*Flipdish.BankAccountApi* | [**deleteBankAccount**](docs/BankAccountApi.md#deleteBankAccount) | **DELETE** /api/v1.0/{appId}/bankaccounts/{bankAccountId} |
+*Flipdish.BankAccountApi* | [**getBankAccountById**](docs/BankAccountApi.md#getBankAccountById) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId} |
+*Flipdish.BankAccountApi* | [**getBankAccounts**](docs/BankAccountApi.md#getBankAccounts) | **GET** /api/v1.0/{appId}/bankaccounts |
+*Flipdish.BankAccountApi* | [**getCountriesWithFieldDefinitions**](docs/BankAccountApi.md#getCountriesWithFieldDefinitions) | **GET** /api/v1.0/{appId}/bankaccounts/countries-field-definitions |
+*Flipdish.BankAccountApi* | [**getFieldDefinitions**](docs/BankAccountApi.md#getFieldDefinitions) | **GET** /api/v1.0/{appId}/bankaccounts/field-definitions |
+*Flipdish.BankAccountApi* | [**updateBankAccount**](docs/BankAccountApi.md#updateBankAccount) | **POST** /api/v1.0/{appId}/bankaccounts/{bankAccountId} |
+*Flipdish.BankAccountApi* | [**updateBankAccountState**](docs/BankAccountApi.md#updateBankAccountState) | **POST** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/state/{state} |
+*Flipdish.CampaignsApi* | [**createLoyaltyCampaign**](docs/CampaignsApi.md#createLoyaltyCampaign) | **POST** /api/v1.0/{appId}/campaigns/loyalty |
+*Flipdish.CampaignsApi* | [**createRetentionCampaign**](docs/CampaignsApi.md#createRetentionCampaign) | **POST** /api/v1.0/{appId}/campaigns/retention |
+*Flipdish.CampaignsApi* | [**getLoyaltyCampaignsForApp**](docs/CampaignsApi.md#getLoyaltyCampaignsForApp) | **GET** /api/v1.0/{appId}/campaigns/loyalty |
+*Flipdish.CampaignsApi* | [**getLoyaltyCampaignsForStore**](docs/CampaignsApi.md#getLoyaltyCampaignsForStore) | **GET** /api/v1.0/{appId}/campaigns/loyalty/{storeId} |
+*Flipdish.CampaignsApi* | [**getRetentionCampaignsForApp**](docs/CampaignsApi.md#getRetentionCampaignsForApp) | **GET** /api/v1.0/{appId}/campaigns/retention |
+*Flipdish.CampaignsApi* | [**getRetentionCampaignsForStore**](docs/CampaignsApi.md#getRetentionCampaignsForStore) | **GET** /api/v1.0/{appId}/campaigns/retention/{storeId} |
+*Flipdish.CampaignsApi* | [**getStoreList**](docs/CampaignsApi.md#getStoreList) | **GET** /api/v1.0/{appId}/campaigns/stores |
+*Flipdish.CampaignsApi* | [**removeCampaign**](docs/CampaignsApi.md#removeCampaign) | **DELETE** /api/v1.0/{appId}/campaigns/{campaignId} |
+*Flipdish.CampaignsApi* | [**updateLoyaltyCampaign**](docs/CampaignsApi.md#updateLoyaltyCampaign) | **POST** /api/v1.0/{appId}/campaigns/loyalty/{campaignId} |
+*Flipdish.CampaignsApi* | [**updateRetentionCampaign**](docs/CampaignsApi.md#updateRetentionCampaign) | **POST** /api/v1.0/{appId}/campaigns/retention/{campaignId} |
+*Flipdish.CardReadersApi* | [**cancelCurrentlyInitiatedBluetoothDeviceUpdate**](docs/CardReadersApi.md#cancelCurrentlyInitiatedBluetoothDeviceUpdate) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/cancelUpdate |
+*Flipdish.CardReadersApi* | [**cancelReaderAction**](docs/CardReadersApi.md#cancelReaderAction) | **POST** /api/v1.0/{appId}/payments/terminals/stripe/{readerId}/cancel_action |
+*Flipdish.CardReadersApi* | [**cardReadersGetReader**](docs/CardReadersApi.md#cardReadersGetReader) | **GET** /api/v1.0/{appId}/payments/terminals/stripe/{readerId} |
+*Flipdish.CardReadersApi* | [**generateStripeTerminalLocation**](docs/CardReadersApi.md#generateStripeTerminalLocation) | **POST** /api/v1.0/{appId}/stripeterminal/location |
+*Flipdish.CardReadersApi* | [**getBluetoothTerminalStatus**](docs/CardReadersApi.md#getBluetoothTerminalStatus) | **GET** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/status |
+*Flipdish.CardReadersApi* | [**getStripeConnectionToken**](docs/CardReadersApi.md#getStripeConnectionToken) | **GET** /api/v1.0/{appId}/stripeterminal/connectiontoken |
+*Flipdish.CardReadersApi* | [**initiateBluetoothTerminalDeviceUpdateCheck**](docs/CardReadersApi.md#initiateBluetoothTerminalDeviceUpdateCheck) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/checkForUpdate |
+*Flipdish.CardReadersApi* | [**initiateKioskBluetoothPairingMode**](docs/CardReadersApi.md#initiateKioskBluetoothPairingMode) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/pair |
+*Flipdish.CardReadersApi* | [**initiateKioskBluetoothUpdateInstall**](docs/CardReadersApi.md#initiateKioskBluetoothUpdateInstall) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/installUpdate |
+*Flipdish.CardReadersApi* | [**initiateReaderProcessPaymentIntent**](docs/CardReadersApi.md#initiateReaderProcessPaymentIntent) | **POST** /api/v1.0/{appId}/payments/terminals/stripe/{readerId}/processPaymentIntent |
+*Flipdish.CardReadersApi* | [**registerStripeTerminal**](docs/CardReadersApi.md#registerStripeTerminal) | **POST** /api/v1.0/{appId}/payments/terminals/stripe/register |
+*Flipdish.CardReadersApi* | [**unRegisterTerminal**](docs/CardReadersApi.md#unRegisterTerminal) | **DELETE** /api/v1.0/{appId}/payments/terminals/stripe/unregister |
+*Flipdish.CardReadersApi* | [**unpairCurrentlyPairedBluetoothDevice**](docs/CardReadersApi.md#unpairCurrentlyPairedBluetoothDevice) | **DELETE** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/unpair |
+*Flipdish.CatalogChangesApi* | [**getPendingMenuChanges**](docs/CatalogChangesApi.md#getPendingMenuChanges) | **GET** /api/v1.0/{appId}/menus/catalog-changes | Get menu pending changes from Catalog groups and items
+*Flipdish.CatalogChangesApi* | [**getPendingMenuChangesSummaries**](docs/CatalogChangesApi.md#getPendingMenuChangesSummaries) | **GET** /api/v1.0/{appId}/menus/catalog-changes/summaries | Get menu pending changes summaries by appId
+*Flipdish.CatalogChangesApi* | [**publishPendingMenuChanges**](docs/CatalogChangesApi.md#publishPendingMenuChanges) | **POST** /api/v1.0/{appId}/menus/catalog-changes/publish | Update menus with the pending changes from Catalog groups and items
+*Flipdish.CatalogGroupsApi* | [**archiveGroup**](docs/CatalogGroupsApi.md#archiveGroup) | **POST** /api/v1.0/{appId}/catalog/groups/{catalogItemId}/archive | Archive Catalog Group
+*Flipdish.CatalogGroupsApi* | [**createGroup**](docs/CatalogGroupsApi.md#createGroup) | **POST** /api/v1.0/{appId}/catalog/groups | Create a Catalog Group
+*Flipdish.CatalogGroupsApi* | [**duplicateGroup**](docs/CatalogGroupsApi.md#duplicateGroup) | **POST** /api/v1.0/{appId}/catalog/groups/{catalogItemId}/duplicate | Duplicate Catalog Group
+*Flipdish.CatalogGroupsApi* | [**getGroupById**](docs/CatalogGroupsApi.md#getGroupById) | **GET** /api/v1.0/{appId}/catalog/groups/{catalogItemId} | Get group by Id
+*Flipdish.CatalogGroupsApi* | [**getGroups**](docs/CatalogGroupsApi.md#getGroups) | **GET** /api/v1.0/{appId}/catalog/groups | Get paginated groups by app name id filtered by types
+*Flipdish.CatalogGroupsApi* | [**updateGroup**](docs/CatalogGroupsApi.md#updateGroup) | **POST** /api/v1.0/{appId}/catalog/groups/{catalogItemId} | Update Catalog Group
+*Flipdish.CatalogImagesApi* | [**uploadCatalogImage**](docs/CatalogImagesApi.md#uploadCatalogImage) | **POST** /api/v1.0/{appId}/catalog/images | Upload a Catalog Image
+*Flipdish.CatalogItemsApi* | [**archiveCatalogItem**](docs/CatalogItemsApi.md#archiveCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items/{catalogItemId}/archive | Archive Catalog Item
+*Flipdish.CatalogItemsApi* | [**createCatalogItem**](docs/CatalogItemsApi.md#createCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items | Create a Catalog Item
+*Flipdish.CatalogItemsApi* | [**duplicateCatalogItem**](docs/CatalogItemsApi.md#duplicateCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items/{catalogItemId}/duplicate | Duplicate Catalog Item
+*Flipdish.CatalogItemsApi* | [**getCatalogItemById**](docs/CatalogItemsApi.md#getCatalogItemById) | **GET** /api/v1.0/{appId}/catalog/items/{catalogItemId} | Get item by Id
+*Flipdish.CatalogItemsApi* | [**getItems**](docs/CatalogItemsApi.md#getItems) | **GET** /api/v1.0/{appId}/catalog/items | Get paginated items by app name id filtered by types
+*Flipdish.CatalogItemsApi* | [**updateCatalogItem**](docs/CatalogItemsApi.md#updateCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items/{catalogItemId} | Update Catalog Item
+*Flipdish.CatalogProductsApi* | [**archiveProduct**](docs/CatalogProductsApi.md#archiveProduct) | **POST** /api/v1.0/{appId}/catalog/products/{catalogItemId}/archive | Archive Product
+*Flipdish.CatalogProductsApi* | [**createProduct**](docs/CatalogProductsApi.md#createProduct) | **POST** /api/v1.0/{appId}/catalog/products | Create a Product
+*Flipdish.CatalogProductsApi* | [**duplicateProduct**](docs/CatalogProductsApi.md#duplicateProduct) | **POST** /api/v1.0/{appId}/catalog/products/{catalogItemId}/duplicate | Duplicate Product
+*Flipdish.CatalogProductsApi* | [**getProductById**](docs/CatalogProductsApi.md#getProductById) | **GET** /api/v1.0/{appId}/catalog/products/{catalogItemId} | Get Product by Id
+*Flipdish.CatalogProductsApi* | [**getProducts**](docs/CatalogProductsApi.md#getProducts) | **GET** /api/v1.0/{appId}/catalog/products | Get paginated products by app name id filtered by types
+*Flipdish.CatalogProductsApi* | [**updateProduct**](docs/CatalogProductsApi.md#updateProduct) | **POST** /api/v1.0/{appId}/catalog/products/{catalogItemId} | Update Product
+*Flipdish.ChannelsApi* | [**assignAppIdToSalesChannel**](docs/ChannelsApi.md#assignAppIdToSalesChannel) | **POST** /api/v1.0/{appId}/channels/{channelId}/assign-appId |
+*Flipdish.ChannelsApi* | [**assignStoreToChannel**](docs/ChannelsApi.md#assignStoreToChannel) | **POST** /api/v1.0/{appId}/channels/assign-store |
+*Flipdish.ChannelsApi* | [**attachStoreToSalesChannel**](docs/ChannelsApi.md#attachStoreToSalesChannel) | **POST** /api/v1.0/{appId}/channels/{channelId}/stores/{storeId} |
+*Flipdish.ChannelsApi* | [**detachAllStoresFromSalesChannel**](docs/ChannelsApi.md#detachAllStoresFromSalesChannel) | **DELETE** /api/v1.0/{appId}/channels/{channelId}/stores |
+*Flipdish.ChannelsApi* | [**detachStoreFromSalesChannel**](docs/ChannelsApi.md#detachStoreFromSalesChannel) | **DELETE** /api/v1.0/{appId}/channels/{channelId}/stores/{storeId} |
+*Flipdish.ChannelsApi* | [**getAssignedChannels**](docs/ChannelsApi.md#getAssignedChannels) | **GET** /api/v1.0/{appId}/channels/assigned-channels |
+*Flipdish.ChannelsApi* | [**getAvailableChannels**](docs/ChannelsApi.md#getAvailableChannels) | **GET** /api/v1.0/{appId}/channels/available-channels |
+*Flipdish.ChannelsApi* | [**getChannel**](docs/ChannelsApi.md#getChannel) | **GET** /api/v1.0/{appId}/channels/{id} |
+*Flipdish.ChannelsApi* | [**getChannels**](docs/ChannelsApi.md#getChannels) | **GET** /api/v1.0/{appId}/channels |
+*Flipdish.ChannelsApi* | [**getStoresAssignedToChannel**](docs/ChannelsApi.md#getStoresAssignedToChannel) | **GET** /api/v1.0/{appId}/channels/{channelId}/assigned-stores |
+*Flipdish.ChannelsApi* | [**getStoresBySalesChannel**](docs/ChannelsApi.md#getStoresBySalesChannel) | **GET** /api/v1.0/{appId}/channels/{channelId}/stores |
+*Flipdish.ChannelsApi* | [**unassignStoreFromChannel**](docs/ChannelsApi.md#unassignStoreFromChannel) | **DELETE** /api/v1.0/{appId}/channels/unassign-store |
+*Flipdish.ClientsApi* | [**getClient**](docs/ClientsApi.md#getClient) | **GET** /api/v1.0/clients/{clientId} |
+*Flipdish.ClientsApi* | [**setSalesForceContactId**](docs/ClientsApi.md#setSalesForceContactId) | **POST** /api/v1.0/clients/{clientId}/salesforcecontactid |
+*Flipdish.ClientsApi* | [**setStripeCustomerId**](docs/ClientsApi.md#setStripeCustomerId) | **POST** /api/v1.0/clients/{clientId}/stripecustomerid |
+*Flipdish.ContentSecurityPolicyApi* | [**contentSecurityPolicyReport**](docs/ContentSecurityPolicyApi.md#contentSecurityPolicyReport) | **POST** /api/v1.0/csp/report |
+*Flipdish.CrossSellApi* | [**getCrossSellMenuItems**](docs/CrossSellApi.md#getCrossSellMenuItems) | **GET** /api/v1.0/{appId}/crossSell/menuItems |
+*Flipdish.CustomersApi* | [**createCustomer**](docs/CustomersApi.md#createCustomer) | **POST** /api/v1.0/{appId}/customers |
+*Flipdish.CustomersApi* | [**getCustomerById**](docs/CustomersApi.md#getCustomerById) | **GET** /api/v1.0/{appId}/customers/{customerId} |
+*Flipdish.CustomersApi* | [**getCustomers**](docs/CustomersApi.md#getCustomers) | **GET** /api/v1.0/{appId}/customers |
+*Flipdish.CustomersApi* | [**updateCustomerById**](docs/CustomersApi.md#updateCustomerById) | **POST** /api/v1.0/{appId}/customers/{customerId} |
+*Flipdish.DeliveryZoneApi* | [**addDeliveryZone**](docs/DeliveryZoneApi.md#addDeliveryZone) | **POST** /api/v1.0/stores/{storeId}/deliveryzones |
+*Flipdish.DeliveryZoneApi* | [**getDeliveryZones**](docs/DeliveryZoneApi.md#getDeliveryZones) | **GET** /api/v1.0/stores/{storeId}/deliveryzones |
+*Flipdish.DeliveryZoneApi* | [**removeDeliveryZone**](docs/DeliveryZoneApi.md#removeDeliveryZone) | **DELETE** /api/v1.0/stores/{storeId}/deliveryzones/{deliveryZoneId} |
+*Flipdish.DeliveryZoneApi* | [**updateDeliveryZone**](docs/DeliveryZoneApi.md#updateDeliveryZone) | **POST** /api/v1.0/stores/{storeId}/deliveryzones/{deliveryZoneId} |
+*Flipdish.DeviceApi* | [**assignDevice**](docs/DeviceApi.md#assignDevice) | **POST** /api/v1.0/{appId}/devices/assign |
+*Flipdish.DeviceApi* | [**enrollDevice**](docs/DeviceApi.md#enrollDevice) | **POST** /api/v1.0/{appId}/devices/enroll |
+*Flipdish.DeviceApi* | [**getDeviceDetails**](docs/DeviceApi.md#getDeviceDetails) | **GET** /api/v1.0/{appId}/devices/device/{deviceModel}/{deviceId} |
+*Flipdish.DeviceApi* | [**searchDevices**](docs/DeviceApi.md#searchDevices) | **GET** /api/v1.0/{appId}/devices/search |
+*Flipdish.DriversApi* | [**driversAddDriverNotificationToken**](docs/DriversApi.md#driversAddDriverNotificationToken) | **POST** /api/v1.0/drivers/token |
+*Flipdish.DriversApi* | [**driversDeleteDriverProfileImage**](docs/DriversApi.md#driversDeleteDriverProfileImage) | **DELETE** /api/v1.0/drivers/profile/image |
+*Flipdish.DriversApi* | [**driversDriverLogin**](docs/DriversApi.md#driversDriverLogin) | **POST** /api/v1.0/drivers/login |
+*Flipdish.DriversApi* | [**driversDriverRequestLoginCodeSms**](docs/DriversApi.md#driversDriverRequestLoginCodeSms) | **POST** /api/v1.0/drivers/pin |
+*Flipdish.DriversApi* | [**driversGetDriverProfile**](docs/DriversApi.md#driversGetDriverProfile) | **GET** /api/v1.0/drivers/profile |
+*Flipdish.DriversApi* | [**driversGetStoresForDriver**](docs/DriversApi.md#driversGetStoresForDriver) | **GET** /api/v1.0/drivers/assignedstores |
+*Flipdish.DriversApi* | [**driversRemoveDriverNotificationToken**](docs/DriversApi.md#driversRemoveDriverNotificationToken) | **DELETE** /api/v1.0/drivers/token |
+*Flipdish.DriversApi* | [**driversSetDriverPresenceForStore**](docs/DriversApi.md#driversSetDriverPresenceForStore) | **POST** /api/v1.0/drivers/stores/{storeId}/presence/{presence} |
+*Flipdish.DriversApi* | [**driversSetDriverProfileImage**](docs/DriversApi.md#driversSetDriverProfileImage) | **POST** /api/v1.0/drivers/profile/image |
+*Flipdish.DriversApi* | [**driversUpdateDeliveryTrackingStatus**](docs/DriversApi.md#driversUpdateDeliveryTrackingStatus) | **POST** /api/v1.0/orders/{orderId}/tracking/{deliveryTrackingStatus} |
+*Flipdish.DriversApi* | [**driversUpdateDriverProfile**](docs/DriversApi.md#driversUpdateDriverProfile) | **POST** /api/v1.0/drivers/profile |
+*Flipdish.EventsApi* | [**getCustomerEvents**](docs/EventsApi.md#getCustomerEvents) | **GET** /api/v1.0/{appId}/events/customer/{customerId} |
+*Flipdish.EventsApi* | [**getEvents**](docs/EventsApi.md#getEvents) | **GET** /api/v1.0/{appId}/events |
+*Flipdish.EventsApi* | [**getEventsById**](docs/EventsApi.md#getEventsById) | **GET** /api/v1.0/{appId}/events/{eventId} |
+*Flipdish.EventsApi* | [**getMenuEvents**](docs/EventsApi.md#getMenuEvents) | **GET** /api/v1.0/{appId}/events/menu/{menuId} |
+*Flipdish.EventsApi* | [**getOrderEvents**](docs/EventsApi.md#getOrderEvents) | **GET** /api/v1.0/{appId}/events/order/{orderId} |
+*Flipdish.EventsApi* | [**getOrderEventsByCustomer**](docs/EventsApi.md#getOrderEventsByCustomer) | **GET** /api/v1.0/{appId}/events/order |
+*Flipdish.EventsApi* | [**getStoreEvents**](docs/EventsApi.md#getStoreEvents) | **GET** /api/v1.0/{appId}/events/store/{storeId} |
+*Flipdish.EventsApi* | [**getUserEvents**](docs/EventsApi.md#getUserEvents) | **GET** /api/v1.0/{appId}/events/user/{userId} |
+*Flipdish.EventsApi* | [**getWhiteLabelEvents**](docs/EventsApi.md#getWhiteLabelEvents) | **GET** /api/v1.0/{appId}/events/whitelabel/{whitelabelId} |
+*Flipdish.FeaturesApi* | [**disableFeatures**](docs/FeaturesApi.md#disableFeatures) | **POST** /api/v1.0/{appId}/features/disable |
+*Flipdish.FeaturesApi* | [**enableFeatures**](docs/FeaturesApi.md#enableFeatures) | **POST** /api/v1.0/{appId}/features/enable |
+*Flipdish.FilesApi* | [**downloadFile**](docs/FilesApi.md#downloadFile) | **GET** /api/v1.0/{appId}/files/download/{fileId} |
+*Flipdish.FirebaseAppsApi* | [**firebaseAppsAddFirebaseApp**](docs/FirebaseAppsApi.md#firebaseAppsAddFirebaseApp) | **POST** /api/v1.0/FirebaseApp |
+*Flipdish.FirebaseAppsApi* | [**firebaseAppsDeleteFirebaseApp**](docs/FirebaseAppsApi.md#firebaseAppsDeleteFirebaseApp) | **DELETE** /api/v1.0/FirebaseApp/{whiteLabelId} |
+*Flipdish.FirebaseAppsApi* | [**firebaseAppsGetFirebaseApp**](docs/FirebaseAppsApi.md#firebaseAppsGetFirebaseApp) | **GET** /api/v1.0/FirebaseApp/{whitelabelId} |
+*Flipdish.FpmApi* | [**createFpmForStore**](docs/FpmApi.md#createFpmForStore) | **POST** /api/v1.0/{storeId}/fpm |
+*Flipdish.FpmApi* | [**editFpmForStore**](docs/FpmApi.md#editFpmForStore) | **POST** /api/v1.0/{storeId}/fpm/edit |
+*Flipdish.FpmApi* | [**getFpmForStore**](docs/FpmApi.md#getFpmForStore) | **GET** /api/v1.0/{storeId}/fpm |
+*Flipdish.FulfillmentStateConfigurationApi* | [**createFulfillmentStatesConfig**](docs/FulfillmentStateConfigurationApi.md#createFulfillmentStatesConfig) | **POST** /api/v1.0/{appId}/fulfillment/configuration/states |
+*Flipdish.FulfillmentStateConfigurationApi* | [**deleteFulfillmentStatesConfig**](docs/FulfillmentStateConfigurationApi.md#deleteFulfillmentStatesConfig) | **DELETE** /api/v1.0/{appId}/fulfillment/configuration/states/{configId} |
+*Flipdish.FulfillmentStateConfigurationApi* | [**getFulfillmentStatesConfiguration**](docs/FulfillmentStateConfigurationApi.md#getFulfillmentStatesConfiguration) | **GET** /api/v1.0/{appId}/fulfillment/configuration/states/{configId} |
+*Flipdish.FulfillmentStateConfigurationApi* | [**getFulfillmentStatesConfigurationTemplate**](docs/FulfillmentStateConfigurationApi.md#getFulfillmentStatesConfigurationTemplate) | **GET** /api/v1.0/{appId}/fulfillment/configuration/states_template |
+*Flipdish.FulfillmentStateConfigurationApi* | [**searchFulfillmentStatesConfigurations**](docs/FulfillmentStateConfigurationApi.md#searchFulfillmentStatesConfigurations) | **GET** /api/v1.0/{appId}/fulfillment/configuration/states |
+*Flipdish.FulfillmentStateConfigurationApi* | [**updateFulfillmentStatesConfig**](docs/FulfillmentStateConfigurationApi.md#updateFulfillmentStatesConfig) | **POST** /api/v1.0/{appId}/fulfillment/configuration/states/{configId} |
+*Flipdish.HeartbeatApi* | [**headHostname**](docs/HeartbeatApi.md#headHostname) | **HEAD** /api/v1.0/heartbeat/Hostname |
+*Flipdish.HeartbeatApi* | [**headPing**](docs/HeartbeatApi.md#headPing) | **HEAD** /api/v1.0/heartbeat |
+*Flipdish.HeartbeatApi* | [**hostname**](docs/HeartbeatApi.md#hostname) | **GET** /api/v1.0/heartbeat/Hostname |
+*Flipdish.HeartbeatApi* | [**ping**](docs/HeartbeatApi.md#ping) | **GET** /api/v1.0/heartbeat |
+*Flipdish.HomeApi* | [**completeHomeAction**](docs/HomeApi.md#completeHomeAction) | **POST** /api/v1.0/{appId}/home/{homeActionId} |
+*Flipdish.HomeApi* | [**getHomeActions**](docs/HomeApi.md#getHomeActions) | **GET** /api/v1.0/{appId}/home |
+*Flipdish.HomeApi* | [**getHomeStatistics**](docs/HomeApi.md#getHomeStatistics) | **GET** /api/v1.0/{appId}/home/stats |
+*Flipdish.HomeApi* | [**getOktaPortalFeatureFlag**](docs/HomeApi.md#getOktaPortalFeatureFlag) | **GET** /api/v1.0/home/okta-portal |
+*Flipdish.HydraApi* | [**assignEmv**](docs/HydraApi.md#assignEmv) | **POST** /api/v1.0/{appId}/hydra/emvterminal/assign/{hydraConfigId}/{emvTerminalId} |
+*Flipdish.HydraApi* | [**attachStoreToKiosk**](docs/HydraApi.md#attachStoreToKiosk) | **POST** /api/v1.0/{appId}/AttachStoreToKiosk/{deviceId}/store/{storeId} |
+*Flipdish.HydraApi* | [**attachStoreToTerminal**](docs/HydraApi.md#attachStoreToTerminal) | **POST** /api/v1.0/{appId}/hydra/{deviceId}/attach/{storeId} |
+*Flipdish.HydraApi* | [**cancelEmvPayment**](docs/HydraApi.md#cancelEmvPayment) | **POST** /api/v1.0/{appId}/hydra/cancelemvpayment/{orderId} |
+*Flipdish.HydraApi* | [**detachStoreFromTerminal**](docs/HydraApi.md#detachStoreFromTerminal) | **POST** /api/v1.0/{appId}/hydra/{deviceId}/detach/{storeId} |
+*Flipdish.HydraApi* | [**getAblyToken**](docs/HydraApi.md#getAblyToken) | **GET** /api/v1.0/hydra/ably_token |
+*Flipdish.HydraApi* | [**getAttachedDevice**](docs/HydraApi.md#getAttachedDevice) | **GET** /api/v1.0/{appId}/hydra/{deviceType}/{deviceId} |
+*Flipdish.HydraApi* | [**getAttachedDevices**](docs/HydraApi.md#getAttachedDevices) | **GET** /api/v1.0/{appId}/hydra/{deviceType}/list |
+*Flipdish.HydraApi* | [**getEMVTerminalDetails**](docs/HydraApi.md#getEMVTerminalDetails) | **GET** /api/v1.0/{appId}/hydra/emvterminal |
+*Flipdish.HydraApi* | [**getEmvOrderState**](docs/HydraApi.md#getEmvOrderState) | **GET** /api/v1.0/{appId}/hydra/emvorderstate/{orderId} |
+*Flipdish.HydraApi* | [**getKioskCashPaymentSettings**](docs/HydraApi.md#getKioskCashPaymentSettings) | **GET** /api/v1.0/{appId}/kioskcashsettings/{deviceId} |
+*Flipdish.HydraApi* | [**getKioskSettings**](docs/HydraApi.md#getKioskSettings) | **GET** /api/v1.0/{appId}/kiosksettings/{deviceId} |
+*Flipdish.HydraApi* | [**getRegistration**](docs/HydraApi.md#getRegistration) | **GET** /api/v1.0/hydra/registration |
+*Flipdish.HydraApi* | [**getSettings**](docs/HydraApi.md#getSettings) | **GET** /api/v1.0/hydra/settings |
+*Flipdish.HydraApi* | [**hydraCreateEmv**](docs/HydraApi.md#hydraCreateEmv) | **POST** /api/v1.0/{appId}/emvterminals |
+*Flipdish.HydraApi* | [**hydraDeleteEmv**](docs/HydraApi.md#hydraDeleteEmv) | **DELETE** /api/v1.0/{appId}/emvterminals/{id} |
+*Flipdish.HydraApi* | [**hydraDetachStoreFromKiosk**](docs/HydraApi.md#hydraDetachStoreFromKiosk) | **DELETE** /api/v1.0/{appId}/DetachStoreFromKiosk/{deviceId}/store/{storeId} |
+*Flipdish.HydraApi* | [**hydraGetEmvsForAppId**](docs/HydraApi.md#hydraGetEmvsForAppId) | **GET** /api/v1.0/{appId}/emvterminals |
+*Flipdish.HydraApi* | [**loginWithDeviceId**](docs/HydraApi.md#loginWithDeviceId) | **POST** /api/v1.0/hydra/{deviceId}/login |
+*Flipdish.HydraApi* | [**register**](docs/HydraApi.md#register) | **POST** /api/v1.0/{appId}/hydra/registration |
+*Flipdish.HydraApi* | [**unAssign**](docs/HydraApi.md#unAssign) | **DELETE** /api/v1.0/{appId}/hydra/{deviceId}/registration |
+*Flipdish.HydraApi* | [**unassignEmv**](docs/HydraApi.md#unassignEmv) | **POST** /api/v1.0/{appId}/hydra/emvterminal/unassign/{hydraConfigId} |
+*Flipdish.HydraApi* | [**updateKioskCashVisibilitySettings**](docs/HydraApi.md#updateKioskCashVisibilitySettings) | **POST** /api/v1.0/{appId}/kioskupdatecashsettings |
+*Flipdish.HydraApi* | [**updateKioskSettings**](docs/HydraApi.md#updateKioskSettings) | **POST** /api/v1.0/{appId}/kiosksettings/{deviceId} |
+*Flipdish.IntercomApi* | [**userHash**](docs/IntercomApi.md#userHash) | **GET** /api/v1.0/intercom/userHash |
+*Flipdish.InvoicesApi* | [**getInvoices**](docs/InvoicesApi.md#getInvoices) | **GET** /api/v1.0/{appId}/invoices |
+*Flipdish.InvoicesApi* | [**invoicePdf**](docs/InvoicesApi.md#invoicePdf) | **GET** /api/v1.0/{appId}/invoices/InvoicePdf |
+*Flipdish.InvoicesApi* | [**listInvoices**](docs/InvoicesApi.md#listInvoices) | **GET** /api/v1.0/{appId}/invoices/ListInvoices |
+*Flipdish.InvoicesApi* | [**listSubscriptionInvoices**](docs/InvoicesApi.md#listSubscriptionInvoices) | **GET** /api/v1.0/{appId}/invoices/ListSubscriptionInvoices |
+*Flipdish.KioskEntitlementsApi* | [**queryKioskEntitlementsByOrgId**](docs/KioskEntitlementsApi.md#queryKioskEntitlementsByOrgId) | **GET** /api/v1.0/orgs/{orgId}/kiosk/entitlements |
+*Flipdish.KioskIotApi* | [**getKioskIotConnection**](docs/KioskIotApi.md#getKioskIotConnection) | **POST** /api/v1.0/kioskiot/connect |
+*Flipdish.KioskIotApi* | [**queryTelemetrySeries**](docs/KioskIotApi.md#queryTelemetrySeries) | **POST** /api/v1.0/{appId}/kioskiot/timeseries/query |
+*Flipdish.LightspeedApi* | [**lightspeedGenerateMenu**](docs/LightspeedApi.md#lightspeedGenerateMenu) | **POST** /api/v1.0/lightspeed/{storeId}/menu/generate |
+*Flipdish.LightspeedApi* | [**lightspeedGetStoreSettings**](docs/LightspeedApi.md#lightspeedGetStoreSettings) | **GET** /api/v1.0/lightspeed/{storeId}/settings |
+*Flipdish.LightspeedApi* | [**lightspeedSaveStoreSettings**](docs/LightspeedApi.md#lightspeedSaveStoreSettings) | **POST** /api/v1.0/lightspeed/{storeId}/settings |
+*Flipdish.LocationApi* | [**createLocation**](docs/LocationApi.md#createLocation) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location |
+*Flipdish.LocationApi* | [**deleteLocation**](docs/LocationApi.md#deleteLocation) | **DELETE** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/delete |
+*Flipdish.LocationApi* | [**mapLocationToExternalId**](docs/LocationApi.md#mapLocationToExternalId) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/map-external |
+*Flipdish.LocationApi* | [**moveLocation**](docs/LocationApi.md#moveLocation) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/move |
+*Flipdish.LocationApi* | [**updateLocation**](docs/LocationApi.md#updateLocation) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/update |
+*Flipdish.LocationAreasApi* | [**createLocationArea**](docs/LocationAreasApi.md#createLocationArea) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas |
+*Flipdish.LocationAreasApi* | [**getLocationArea**](docs/LocationAreasApi.md#getLocationArea) | **GET** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId} |
+*Flipdish.LocationAreasApi* | [**getLocationAreasForStore**](docs/LocationAreasApi.md#getLocationAreasForStore) | **GET** /api/v1.0/{appId}/stores/{storeId}/location-areas |
+*Flipdish.LocationAreasApi* | [**updateLocationArea**](docs/LocationAreasApi.md#updateLocationArea) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/update |
+*Flipdish.LookerDashboardApi* | [**lookerDashboardGetAll**](docs/LookerDashboardApi.md#lookerDashboardGetAll) | **GET** /api/v1.0/{appId}/looker/dashboards |
+*Flipdish.LookerSingleSignOnApi* | [**getSSOEndpoint**](docs/LookerSingleSignOnApi.md#getSSOEndpoint) | **GET** /api/v1.0/{appId}/looker/sso |
+*Flipdish.MenuOptionSetItemsApi* | [**addMenuItemOptionSetItem**](docs/MenuOptionSetItemsApi.md#addMenuItemOptionSetItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems | Create menu item option set item
+*Flipdish.MenuOptionSetItemsApi* | [**deleteOptionSetItemImage**](docs/MenuOptionSetItemsApi.md#deleteOptionSetItemImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/image | Delete menu item option set item image
+*Flipdish.MenuOptionSetItemsApi* | [**getMenuItemOptionSetItemById**](docs/MenuOptionSetItemsApi.md#getMenuItemOptionSetItemById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId} | Get menu item option set item by identifier
+*Flipdish.MenuOptionSetItemsApi* | [**getMenuItemOptionSetItems**](docs/MenuOptionSetItemsApi.md#getMenuItemOptionSetItems) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems | Get menu item option set items
+*Flipdish.MenuOptionSetItemsApi* | [**removeMenuItemOptionSetItem**](docs/MenuOptionSetItemsApi.md#removeMenuItemOptionSetItem) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId} | Delete menu item option set item
+*Flipdish.MenuOptionSetItemsApi* | [**setOptionSetItemTax**](docs/MenuOptionSetItemsApi.md#setOptionSetItemTax) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/taxrate/{taxRateId} | Set Tax Rate on OptionSetItem
+*Flipdish.MenuOptionSetItemsApi* | [**updateMenuItemOptionSetItem**](docs/MenuOptionSetItemsApi.md#updateMenuItemOptionSetItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId} | Update menu item option set item
+*Flipdish.MenuOptionSetItemsApi* | [**uploadOptionSetItemImage**](docs/MenuOptionSetItemsApi.md#uploadOptionSetItemImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/image | Upload menu item option set item image
+*Flipdish.MenuOptionSetsApi* | [**createMenuItemOptionSet**](docs/MenuOptionSetsApi.md#createMenuItemOptionSet) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets | Create menu item option set
+*Flipdish.MenuOptionSetsApi* | [**deleteMenuItemOptionSet**](docs/MenuOptionSetsApi.md#deleteMenuItemOptionSet) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId} | Delete menu item option set
+*Flipdish.MenuOptionSetsApi* | [**deleteOptionSetImage**](docs/MenuOptionSetsApi.md#deleteOptionSetImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/image | Delete option set image
+*Flipdish.MenuOptionSetsApi* | [**getMenuItemOptionSetById**](docs/MenuOptionSetsApi.md#getMenuItemOptionSetById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId} | Get menu item option set by identifier
+*Flipdish.MenuOptionSetsApi* | [**getMenuItemOptionSets**](docs/MenuOptionSetsApi.md#getMenuItemOptionSets) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets | Get menu item option sets
+*Flipdish.MenuOptionSetsApi* | [**updateMenuItemOptionSet**](docs/MenuOptionSetsApi.md#updateMenuItemOptionSet) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId} | Update menu item option set
+*Flipdish.MenuOptionSetsApi* | [**uploadOptionSetImage**](docs/MenuOptionSetsApi.md#uploadOptionSetImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/image | Upload menu item option set image
+*Flipdish.MenuSectionItemsApi* | [**cloneMenuSectionItem**](docs/MenuSectionItemsApi.md#cloneMenuSectionItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/clone | Clone menu section item
+*Flipdish.MenuSectionItemsApi* | [**createMenuSectionItem**](docs/MenuSectionItemsApi.md#createMenuSectionItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems | Create menu section item
+*Flipdish.MenuSectionItemsApi* | [**createMenuSectionItemFromCatalogItems**](docs/MenuSectionItemsApi.md#createMenuSectionItemFromCatalogItems) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/add-catalogitems | Create menu section items from a list of Catalog Items
+*Flipdish.MenuSectionItemsApi* | [**deleteMenuSectionItem**](docs/MenuSectionItemsApi.md#deleteMenuSectionItem) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId} | Delete menu section item
+*Flipdish.MenuSectionItemsApi* | [**deleteMenuSectionItemImage**](docs/MenuSectionItemsApi.md#deleteMenuSectionItemImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/image | Delete menu section item image
+*Flipdish.MenuSectionItemsApi* | [**getMenuItemById**](docs/MenuSectionItemsApi.md#getMenuItemById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId} | Get menu item by identifier
+*Flipdish.MenuSectionItemsApi* | [**getMenuItems**](docs/MenuSectionItemsApi.md#getMenuItems) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems | Get menu items
+*Flipdish.MenuSectionItemsApi* | [**moveMenuItem**](docs/MenuSectionItemsApi.md#moveMenuItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/setorder/{destinationDisplayOrder} | Move an Item within a menu
+*Flipdish.MenuSectionItemsApi* | [**setSectionItemTax**](docs/MenuSectionItemsApi.md#setSectionItemTax) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/taxrate/{taxRateId} | Set tax rate for menu item
+*Flipdish.MenuSectionItemsApi* | [**updateMenuSectionItem**](docs/MenuSectionItemsApi.md#updateMenuSectionItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId} | Update menu section item
+*Flipdish.MenuSectionItemsApi* | [**uploadMenuSectionItemImage**](docs/MenuSectionItemsApi.md#uploadMenuSectionItemImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/image | Upload menu section item image
+*Flipdish.MenuSectionsApi* | [**cloneMenuSection**](docs/MenuSectionsApi.md#cloneMenuSection) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/clone | Clone menu section
+*Flipdish.MenuSectionsApi* | [**createMenuAvailabilityForDay**](docs/MenuSectionsApi.md#createMenuAvailabilityForDay) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/availability/times/{dayOfWeek} | Set/update menu section availability hours.
+*Flipdish.MenuSectionsApi* | [**createMenuSection**](docs/MenuSectionsApi.md#createMenuSection) | **POST** /api/v1.0/menus/{menuId}/sections | Create menu section
+*Flipdish.MenuSectionsApi* | [**createMenuSectionAvailability**](docs/MenuSectionsApi.md#createMenuSectionAvailability) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/availability | Create menu availability type
+*Flipdish.MenuSectionsApi* | [**deleteMenuSection**](docs/MenuSectionsApi.md#deleteMenuSection) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId} | Delete menu section
+*Flipdish.MenuSectionsApi* | [**deleteMenuSectionImage**](docs/MenuSectionsApi.md#deleteMenuSectionImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/image | Delete menu section image
+*Flipdish.MenuSectionsApi* | [**getMenuSectionById**](docs/MenuSectionsApi.md#getMenuSectionById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId} | Get menu section by identifier
+*Flipdish.MenuSectionsApi* | [**getMenuSections**](docs/MenuSectionsApi.md#getMenuSections) | **GET** /api/v1.0/menus/{menuId}/sections | Get menu sections
+*Flipdish.MenuSectionsApi* | [**menuSectionsSetItemDisplayOrders**](docs/MenuSectionsApi.md#menuSectionsSetItemDisplayOrders) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitemdisplayorders | Re-arrange Items within a Section
+*Flipdish.MenuSectionsApi* | [**updateMenuSection**](docs/MenuSectionsApi.md#updateMenuSection) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId} | Update menu section
+*Flipdish.MenuSectionsApi* | [**uploadMenuSectionImage**](docs/MenuSectionsApi.md#uploadMenuSectionImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/image | Upload menu section image
+*Flipdish.MenuZonesApi* | [**addMenuZone**](docs/MenuZonesApi.md#addMenuZone) | **POST** /api/v1.0/menus/{menuId}/zones | Adds a new menu zone to a menu.
+*Flipdish.MenuZonesApi* | [**deleteMenuZone**](docs/MenuZonesApi.md#deleteMenuZone) | **DELETE** /api/v1.0/menus/{menuId}/zones/{menuZoneId} | Deletes a menu zone.
+*Flipdish.MenuZonesApi* | [**deleteMenuZoneImage**](docs/MenuZonesApi.md#deleteMenuZoneImage) | **DELETE** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/image | Deletes a menu zone image.
+*Flipdish.MenuZonesApi* | [**flipMenuZones**](docs/MenuZonesApi.md#flipMenuZones) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/flip/{menuZoneI2} | Flips the order of two menu zones.
+*Flipdish.MenuZonesApi* | [**getMenuZone**](docs/MenuZonesApi.md#getMenuZone) | **GET** /api/v1.0/menus/{menuId}/zones/{menuZoneId} | Gets a specific menu zone for a given zone id
+*Flipdish.MenuZonesApi* | [**getMenuZonesForMenuId**](docs/MenuZonesApi.md#getMenuZonesForMenuId) | **GET** /api/v1.0/menus/{menuId}/zones | Gets all the menu zones for a menu
+*Flipdish.MenuZonesApi* | [**setMenuSectionMenuZone**](docs/MenuZonesApi.md#setMenuSectionMenuZone) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/section/{menuSectionId} | Assigns a zone to a menu section.
+*Flipdish.MenuZonesApi* | [**setMenuZoneDescription**](docs/MenuZonesApi.md#setMenuZoneDescription) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/description | Sets the description of a menu zone.
+*Flipdish.MenuZonesApi* | [**setMenuZoneName**](docs/MenuZonesApi.md#setMenuZoneName) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/name/{menuZoneName} | Sets the name of a menu zone.
+*Flipdish.MenuZonesApi* | [**updateMenuZone**](docs/MenuZonesApi.md#updateMenuZone) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId} | Updates a menu zone.
+*Flipdish.MenuZonesApi* | [**uploadMenuZoneImage**](docs/MenuZonesApi.md#uploadMenuZoneImage) | **POST** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/image | Uploads an image for a menu zone.
+*Flipdish.MenusApi* | [**createDraftMenuFromExistingMenu**](docs/MenusApi.md#createDraftMenuFromExistingMenu) | **POST** /api/v1.0/menus/{menuId}/clone/{newName} | Clone a menu, (without attaching stores)
+*Flipdish.MenusApi* | [**createNewMenuAsync**](docs/MenusApi.md#createNewMenuAsync) | **POST** /api/v1.0/{appId}/menus/async | Create a new menu asynchronously
+*Flipdish.MenusApi* | [**createNewMenuForApp**](docs/MenusApi.md#createNewMenuForApp) | **POST** /api/v1.0/{appId}/menus | Create a new menu
+*Flipdish.MenusApi* | [**deleteMenu**](docs/MenusApi.md#deleteMenu) | **DELETE** /api/v1.0/menus/{menuId} | Mark a Menu as Deleted
+*Flipdish.MenusApi* | [**deleteMenuImage**](docs/MenusApi.md#deleteMenuImage) | **DELETE** /api/v1.0/menus/{menuId}/image | Delete menu image
+*Flipdish.MenusApi* | [**deleteMenuItemMetadata**](docs/MenusApi.md#deleteMenuItemMetadata) | **DELETE** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/{key}/store/{storeId} | Delete menu item metadata
+*Flipdish.MenusApi* | [**getAllMenuMetadataByMenuIdAndStoreId**](docs/MenusApi.md#getAllMenuMetadataByMenuIdAndStoreId) | **GET** /api/v1.0/menus/{menuId}/metadata/store/{storeId} | Get all menu metadata by menu ID and store ID
+*Flipdish.MenusApi* | [**getMenuById**](docs/MenusApi.md#getMenuById) | **GET** /api/v1.0/menus/{menuId} | Get menu by identifier
+*Flipdish.MenusApi* | [**getMenuItemMetadata**](docs/MenusApi.md#getMenuItemMetadata) | **GET** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/store/{storeId} | Get menu item metadata
+*Flipdish.MenusApi* | [**getMenuItemMetadataByKey**](docs/MenusApi.md#getMenuItemMetadataByKey) | **GET** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/{key}/store/{storeId} | Get menu item metadata by key
+*Flipdish.MenusApi* | [**getMenuItemOptionSetItemMetadata**](docs/MenusApi.md#getMenuItemOptionSetItemMetadata) | **GET** /api/v1.0/menus/{menuId}/optionsetitem/{optionSetItemId}/metadata/store/{storeId} | Get menu item option set item metadata by key
+*Flipdish.MenusApi* | [**getMenuName**](docs/MenusApi.md#getMenuName) | **GET** /api/v1.0/menus/{menuId}/name | Get Menus Name
+*Flipdish.MenusApi* | [**getMenuStoreNames**](docs/MenusApi.md#getMenuStoreNames) | **GET** /api/v1.0/menus/{menuId}/stores | Get menus store names
+*Flipdish.MenusApi* | [**getMenuTaxDetails**](docs/MenusApi.md#getMenuTaxDetails) | **GET** /api/v1.0/menus/{menuId}/tax | Get menus tax details
+*Flipdish.MenusApi* | [**getMenusByAppId**](docs/MenusApi.md#getMenusByAppId) | **GET** /api/v1.0/{appId}/menus | Get menus by appId
+*Flipdish.MenusApi* | [**getMenusCheckpoints**](docs/MenusApi.md#getMenusCheckpoints) | **GET** /api/v1.0/menus/{menuId}/checkpoints | Get a Menus Checkpoints
+*Flipdish.MenusApi* | [**menusDeleteTaxRate**](docs/MenusApi.md#menusDeleteTaxRate) | **DELETE** /api/v1.0/menus/{menuId}/tax/{taxId} | Remove a Menus Tax Rate, can only remove a tax rate that does not have items/optionSetItems attached
+*Flipdish.MenusApi* | [**menusGetMenuBulkShowHide**](docs/MenusApi.md#menusGetMenuBulkShowHide) | **GET** /api/v1.0/menus/{menuId}/bulkshowhide/list | Get bulk show/hide menu items and option set items
+*Flipdish.MenusApi* | [**menusIsWhiteLabelMigratedToRms**](docs/MenusApi.md#menusIsWhiteLabelMigratedToRms) | **GET** /api/v1.0/menus/isWhiteLabelMigratedToRms | PRIVATE API, TEMPORARY ENDPOINT RMS can check if a white label is migrated to RMS
+*Flipdish.MenusApi* | [**menusMarkWhiteLabelAsMigratedToRms**](docs/MenusApi.md#menusMarkWhiteLabelAsMigratedToRms) | **POST** /api/v1.0/menus/markWhiteLabelAsMigratedToRms | PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as migrated to RMS, which will block all Menu editing operations via Zeus
+*Flipdish.MenusApi* | [**menusMarkWhiteLabelAsNotMigratedToRms**](docs/MenusApi.md#menusMarkWhiteLabelAsNotMigratedToRms) | **POST** /api/v1.0/menus/markWhiteLabelAsNotMigratedToRms | PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as NOT migrated to RMS, which will unblock all Menu editing operations via Zeus
+*Flipdish.MenusApi* | [**menusSetDisplayOnMenuTax**](docs/MenusApi.md#menusSetDisplayOnMenuTax) | **POST** /api/v1.0/menus/{menuId}/tax/show/{show} | Set if tax shows for a Menu
+*Flipdish.MenusApi* | [**menusSetItemDisplayOrders**](docs/MenusApi.md#menusSetItemDisplayOrders) | **POST** /api/v1.0/menus/{menuId}/sectiondisplayorders | Re-arrange Sections within a Menu
+*Flipdish.MenusApi* | [**menusShowHideBulkItems**](docs/MenusApi.md#menusShowHideBulkItems) | **POST** /api/v1.0/menus/{menuId}/bulkshowhide | Bulk show/hide menu items or option set items
+*Flipdish.MenusApi* | [**menusUpdateTaxType**](docs/MenusApi.md#menusUpdateTaxType) | **POST** /api/v1.0/menus/{menuId}/tax/type/{type} | Set the type of Tax on a Menu
+*Flipdish.MenusApi* | [**menusUpsertTaxRate**](docs/MenusApi.md#menusUpsertTaxRate) | **POST** /api/v1.0/menus/{menuId}/taxrate | Add/Update a Tax Rate
+*Flipdish.MenusApi* | [**restoreAMenuCheckpoint**](docs/MenusApi.md#restoreAMenuCheckpoint) | **POST** /api/v1.0/menus/{menuId}/checkpoints/{checkpointId}/restore | Restore a Menu to a checkpoint
+*Flipdish.MenusApi* | [**setMenuItemMetadata**](docs/MenusApi.md#setMenuItemMetadata) | **PUT** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/store/{storeId} | Update menu item metadata
+*Flipdish.MenusApi* | [**setMenuItemOptionSetItemMetadata**](docs/MenusApi.md#setMenuItemOptionSetItemMetadata) | **PUT** /api/v1.0/menus/{menuId}/optionsetitem/{optionSetItemId}/metadata/store/{storeId} | Update menu item option set item metadata
+*Flipdish.MenusApi* | [**setMenuLock**](docs/MenusApi.md#setMenuLock) | **POST** /api/v1.0/menus/{menuId}/lock | Lock/Unlock a Menu for Editing
+*Flipdish.MenusApi* | [**setMenuName**](docs/MenusApi.md#setMenuName) | **POST** /api/v1.0/menus/{menuId}/name | Set Menus Name
+*Flipdish.MenusApi* | [**updateMenu**](docs/MenusApi.md#updateMenu) | **POST** /api/v1.0/menus/{menuId} | Update menu
+*Flipdish.MenusApi* | [**uploadMenuImage**](docs/MenusApi.md#uploadMenuImage) | **POST** /api/v1.0/menus/{menuId}/image | Upload menu image
+*Flipdish.MenusApi* | [**uploadNewMenuForApp**](docs/MenusApi.md#uploadNewMenuForApp) | **POST** /api/v1.0/{appId}/menus/xlsx | Create a new menu from xlsx file.
+*Flipdish.MenusNutritionInfoApi* | [**addOrUpdateMenuItemNutritionInfo**](docs/MenusNutritionInfoApi.md#addOrUpdateMenuItemNutritionInfo) | **POST** /api/v1.0/menus/{menuId}/menuItem/{publicId}/nutrition | Add or update menuitem nutrition info by menu item's publicId
+*Flipdish.MenusNutritionInfoApi* | [**addOrUpdateMenuItemOptionSetItemNutritionInfo**](docs/MenusNutritionInfoApi.md#addOrUpdateMenuItemOptionSetItemNutritionInfo) | **POST** /api/v1.0/menus/{menuId}/menuItemOption/{publicId}/nutrition | Add or update menuitem optionsetitem nutrition info its publicId
+*Flipdish.MenusNutritionInfoApi* | [**addOrUpdateMenuNutritionInfoByMenuId**](docs/MenusNutritionInfoApi.md#addOrUpdateMenuNutritionInfoByMenuId) | **POST** /api/v1.0/menus/{menuId}/nutrition | Add or update menu nutrition by identifier
+*Flipdish.MenusNutritionInfoApi* | [**deleteMenuNutritionInfoByMenuId**](docs/MenusNutritionInfoApi.md#deleteMenuNutritionInfoByMenuId) | **DELETE** /api/v1.0/menus/{menuId}/nutrition | Delete menu nutrition information by menuId
+*Flipdish.MenusNutritionInfoApi* | [**getAllergens**](docs/MenusNutritionInfoApi.md#getAllergens) | **GET** /api/v1.0/{appId}/menus/nutrition/allergens | Get allergens
+*Flipdish.MenusNutritionInfoApi* | [**getMenuNutritionInfoByMenuId**](docs/MenusNutritionInfoApi.md#getMenuNutritionInfoByMenuId) | **GET** /api/v1.0/menus/{menuId}/nutrition | Get menu nutrition by menuId
+*Flipdish.MenusNutritionInfoV2Api* | [**addOrUpdateMenuItemNutritionInfoV2**](docs/MenusNutritionInfoV2Api.md#addOrUpdateMenuItemNutritionInfoV2) | **POST** /api/v1.0/{appId}/menus/{menuId}/menuItem/{publicId}/nutritionv2 | Add or update menuitem nutrition info by menu item's publicId
+*Flipdish.MenusNutritionInfoV2Api* | [**addOrUpdateMenuItemOptionSetItemNutritionInfoV2**](docs/MenusNutritionInfoV2Api.md#addOrUpdateMenuItemOptionSetItemNutritionInfoV2) | **POST** /api/v1.0/{appId}/menus/{menuId}/menuItemOption/{publicId}/nutritionv2 | Add or update menuitem option set item's nutrition info by its publicId
+*Flipdish.MenusNutritionInfoV2Api* | [**getAllergensV2**](docs/MenusNutritionInfoV2Api.md#getAllergensV2) | **GET** /api/v1.0/{appId}/menus/nutritionv2/allergens | Get allergens
+*Flipdish.MenusNutritionInfoV2Api* | [**getMenuNutritionInfoV2ByMenuId**](docs/MenusNutritionInfoV2Api.md#getMenuNutritionInfoV2ByMenuId) | **GET** /api/v1.0/{appId}/menus/{menuId}/nutritionv2 | Get menu nutrition by menuId
+*Flipdish.MetafieldDefinitionsApi* | [**createMetafieldDefinition**](docs/MetafieldDefinitionsApi.md#createMetafieldDefinition) | **POST** /api/v1.0/{appId}/metafields/definitions/{ownerEntity} |
+*Flipdish.MetafieldDefinitionsApi* | [**getMetafieldDefinitionByKey**](docs/MetafieldDefinitionsApi.md#getMetafieldDefinitionByKey) | **GET** /api/v1.0/{appId}/metafields/definitions/{ownerEntity}/{key} |
+*Flipdish.MetafieldDefinitionsApi* | [**getMetafieldDefinitions**](docs/MetafieldDefinitionsApi.md#getMetafieldDefinitions) | **GET** /api/v1.0/{appId}/metafields/definitions/{ownerEntity} |
+*Flipdish.MetafieldDefinitionsApi* | [**getOwnerEntityConfigurations**](docs/MetafieldDefinitionsApi.md#getOwnerEntityConfigurations) | **GET** /api/v1.0/{appId}/metafields/definitions |
+*Flipdish.MetafieldDefinitionsApi* | [**getOwnerEntityRecommendations**](docs/MetafieldDefinitionsApi.md#getOwnerEntityRecommendations) | **GET** /api/v1.0/{appId}/metafields/definitions/recommendations/{ownerEntity} |
+*Flipdish.MetafieldDefinitionsApi* | [**updateMetafieldDefinition**](docs/MetafieldDefinitionsApi.md#updateMetafieldDefinition) | **POST** /api/v1.0/{appId}/metafields/definitions/{ownerEntity}/{key} |
+*Flipdish.MobileAppsApi* | [**getAppConfigSalesChannel**](docs/MobileAppsApi.md#getAppConfigSalesChannel) | **GET** /api/v1.0/mobileapps/{appId}/saleschannel/details |
+*Flipdish.MobileAppsApi* | [**getStatistics**](docs/MobileAppsApi.md#getStatistics) | **GET** /api/v1.0/mobileapps/{appId}/statistics |
+*Flipdish.MobileAppsApi* | [**getSubmissionDetails**](docs/MobileAppsApi.md#getSubmissionDetails) | **GET** /api/v1.0/mobileapps/{appId}/submission/details |
+*Flipdish.MobileAppsApi* | [**getSubmissionStatus**](docs/MobileAppsApi.md#getSubmissionStatus) | **GET** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/status |
+*Flipdish.MobileAppsApi* | [**publish**](docs/MobileAppsApi.md#publish) | **POST** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/publish |
+*Flipdish.MobileAppsApi* | [**resubmission**](docs/MobileAppsApi.md#resubmission) | **POST** /api/v1.0/mobileapps/{appId}/resubmission |
+*Flipdish.MobileAppsApi* | [**submission**](docs/MobileAppsApi.md#submission) | **POST** /api/v1.0/mobileapps/{appId}/submission |
+*Flipdish.MobileAppsApi* | [**unpublish**](docs/MobileAppsApi.md#unpublish) | **POST** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/unpublish |
+*Flipdish.MobileAppsApi* | [**updateAppConfigSalesChannel**](docs/MobileAppsApi.md#updateAppConfigSalesChannel) | **POST** /api/v1.0/mobileapps/{appId}/saleschannel |
+*Flipdish.MobileAppsApi* | [**updateSubmissionStatus**](docs/MobileAppsApi.md#updateSubmissionStatus) | **POST** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/status |
+*Flipdish.MobileAppsApi* | [**uploadImage**](docs/MobileAppsApi.md#uploadImage) | **POST** /api/v1.0/mobileapps/{appId}/submission/image |
+*Flipdish.OAuthClientsApi* | [**addRedirectUri**](docs/OAuthClientsApi.md#addRedirectUri) | **POST** /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis |
+*Flipdish.OAuthClientsApi* | [**createOAuthApp**](docs/OAuthClientsApi.md#createOAuthApp) | **POST** /api/v1.0/{appId}/oauthclients |
+*Flipdish.OAuthClientsApi* | [**deleteOAuthApp**](docs/OAuthClientsApi.md#deleteOAuthApp) | **DELETE** /api/v1.0/{appId}/oauthclients/{oauthAppId} |
+*Flipdish.OAuthClientsApi* | [**getOAuthApps**](docs/OAuthClientsApi.md#getOAuthApps) | **GET** /api/v1.0/{appId}/oauthclients |
+*Flipdish.OAuthClientsApi* | [**getOAuthClientByClientId**](docs/OAuthClientsApi.md#getOAuthClientByClientId) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId} |
+*Flipdish.OAuthClientsApi* | [**getOAuthClientSecret**](docs/OAuthClientsApi.md#getOAuthClientSecret) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId}/secret |
+*Flipdish.OAuthClientsApi* | [**getOauthAccessToken**](docs/OAuthClientsApi.md#getOauthAccessToken) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId}/accesstoken |
+*Flipdish.OAuthClientsApi* | [**getRedirectUris**](docs/OAuthClientsApi.md#getRedirectUris) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis |
+*Flipdish.OAuthClientsApi* | [**oAuthClientsGetApplications**](docs/OAuthClientsApi.md#oAuthClientsGetApplications) | **GET** /api/v1.0/{appId}/oauthclients/appnames |
+*Flipdish.OAuthClientsApi* | [**removeRedirectUri**](docs/OAuthClientsApi.md#removeRedirectUri) | **DELETE** /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis/{uriId} |
+*Flipdish.OAuthClientsApi* | [**updateOAuthApp**](docs/OAuthClientsApi.md#updateOAuthApp) | **POST** /api/v1.0/{appId}/oauthclients/{oauthAppId} |
+*Flipdish.OnboardingApi* | [**onboardingGetOnboardingConfig**](docs/OnboardingApi.md#onboardingGetOnboardingConfig) | **GET** /api/v1.0/clients/{appId}/onboarding/config |
+*Flipdish.OnboardingApi* | [**onboardingGetOnboardingConfigs**](docs/OnboardingApi.md#onboardingGetOnboardingConfigs) | **GET** /api/v1.0/clients/{appId}/onboarding/configs |
+*Flipdish.OnboardingApi* | [**onboardingGetOnboardingItems**](docs/OnboardingApi.md#onboardingGetOnboardingItems) | **GET** /api/v1.0/clients/{appId}/onboarding/stores/{storeId} |
+*Flipdish.OnboardingApi* | [**onboardingGetOnboardingItemsV2**](docs/OnboardingApi.md#onboardingGetOnboardingItemsV2) | **GET** /api/v1.0/clients/{appId}/onboarding/stores |
+*Flipdish.OnboardingApi* | [**onboardingUpdateOnboardingConfig**](docs/OnboardingApi.md#onboardingUpdateOnboardingConfig) | **POST** /api/v1.0/clients/{appId}/onboarding/config |
+*Flipdish.OnboardingApi* | [**onboardingUpdateOnboardingConfigById**](docs/OnboardingApi.md#onboardingUpdateOnboardingConfigById) | **POST** /api/v1.0/clients/{appId}/onboarding/config/{configId} |
+*Flipdish.OnboardingApi* | [**onboardingUpdateOnboardingItem**](docs/OnboardingApi.md#onboardingUpdateOnboardingItem) | **POST** /api/v1.0/clients/{appId}/onboarding/stores/{storeId}/items/{onboardingItemId} |
+*Flipdish.OnboardingApi* | [**onboardingUpdateOnboardingItemV2**](docs/OnboardingApi.md#onboardingUpdateOnboardingItemV2) | **POST** /api/v1.0/clients/{appId}/onboarding/stores/items/{onboardingItemId} |
+*Flipdish.OrderBatchesApi* | [**getAllOrderBatches**](docs/OrderBatchesApi.md#getAllOrderBatches) | **GET** /api/v1.0/{appId}/order-batches |
+*Flipdish.OrderBatchesApi* | [**getOrderBatch**](docs/OrderBatchesApi.md#getOrderBatch) | **GET** /api/v1.0/{appId}/order-batches/{orderBatchId} |
+*Flipdish.OrderBatchingConfigurationApi* | [**get**](docs/OrderBatchingConfigurationApi.md#get) | **GET** /api/v1.0/stores/{storeId}/order-batching-configuration |
+*Flipdish.OrderBatchingConfigurationApi* | [**post**](docs/OrderBatchingConfigurationApi.md#post) | **POST** /api/v1.0/stores/{storeId}/order-batching-configuration |
+*Flipdish.OrdersApi* | [**acceptOrder**](docs/OrdersApi.md#acceptOrder) | **POST** /api/v1.0/orders/{id}/accept |
+*Flipdish.OrdersApi* | [**dispatchOrder**](docs/OrdersApi.md#dispatchOrder) | **POST** /api/v1.0/orders/{id}/dispatch |
+*Flipdish.OrdersApi* | [**getDeliveryInformation**](docs/OrdersApi.md#getDeliveryInformation) | **GET** /api/v1.0/orders/{orderId}/deliveryinfo |
+*Flipdish.OrdersApi* | [**getFulfillmentState**](docs/OrdersApi.md#getFulfillmentState) | **GET** /api/v1.0/orders/{orderId}/fulfillment/state |
+*Flipdish.OrdersApi* | [**getFulfillmentStatusWithDetailsAndActions**](docs/OrdersApi.md#getFulfillmentStatusWithDetailsAndActions) | **GET** /api/v1.0/orders/{orderId}/fulfillment/state/details |
+*Flipdish.OrdersApi* | [**getOrderById**](docs/OrdersApi.md#getOrderById) | **GET** /api/v1.0/orders/{id} |
+*Flipdish.OrdersApi* | [**getOrders**](docs/OrdersApi.md#getOrders) | **GET** /api/v1.0/orders |
+*Flipdish.OrdersApi* | [**getOrdersSummary**](docs/OrdersApi.md#getOrdersSummary) | **GET** /api/v1.0/{appId}/orders/summaries |
+*Flipdish.OrdersApi* | [**getOrdersSummaryNew**](docs/OrdersApi.md#getOrdersSummaryNew) | **GET** /api/v1.0/{appId}/orders/summariesNew |
+*Flipdish.OrdersApi* | [**getReadyToProcess**](docs/OrdersApi.md#getReadyToProcess) | **GET** /api/v1.0/{appId}/orders/ready_to_process |
+*Flipdish.OrdersApi* | [**refundOrder**](docs/OrdersApi.md#refundOrder) | **POST** /api/v1.0/orders/{id}/refund |
+*Flipdish.OrdersApi* | [**rejectOrder**](docs/OrdersApi.md#rejectOrder) | **POST** /api/v1.0/orders/{id}/reject |
+*Flipdish.OrdersApi* | [**searchFulfillmentStatuses**](docs/OrdersApi.md#searchFulfillmentStatuses) | **GET** /api/v1.0/{appId}/orders/fulfillmentstatuses |
+*Flipdish.OrdersApi* | [**updateDeliveryInformation**](docs/OrdersApi.md#updateDeliveryInformation) | **POST** /api/v1.0/orders/{orderId}/deliveryinfo |
+*Flipdish.OrdersApi* | [**updateFulfillmentState**](docs/OrdersApi.md#updateFulfillmentState) | **POST** /api/v1.0/orders/{orderId}/fulfillment/state |
+*Flipdish.PaymentIntentsApi* | [**getPaymentIntent**](docs/PaymentIntentsApi.md#getPaymentIntent) | **GET** /api/v1.0/payment_intents/{paymentIntentId} |
+*Flipdish.PaymentsApi* | [**getOrderPaymentInformation**](docs/PaymentsApi.md#getOrderPaymentInformation) | **GET** /api/v1.0/payments/payment/{orderId}/refundable |
+*Flipdish.PayoutReportsApi* | [**getPayoutReport3Details**](docs/PayoutReportsApi.md#getPayoutReport3Details) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/details |
+*Flipdish.PayoutReportsApi* | [**getPayoutReport3Overview**](docs/PayoutReportsApi.md#getPayoutReport3Overview) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/overview |
+*Flipdish.PayoutReportsApi* | [**getPayoutReport3RefundedOrders**](docs/PayoutReportsApi.md#getPayoutReport3RefundedOrders) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/refundedOrders |
+*Flipdish.PayoutReportsApi* | [**payoutReport3ExportPayoutChargebacks**](docs/PayoutReportsApi.md#payoutReport3ExportPayoutChargebacks) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/chargebacks |
+*Flipdish.PayoutReportsApi* | [**payoutReport3ExportPayoutOrders**](docs/PayoutReportsApi.md#payoutReport3ExportPayoutOrders) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/orders |
+*Flipdish.PayoutReportsApi* | [**payoutReport3ExportPayoutPosSales**](docs/PayoutReportsApi.md#payoutReport3ExportPayoutPosSales) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/possales |
+*Flipdish.PayoutReportsApi* | [**payoutReport3ExportPayoutRefundedOrders**](docs/PayoutReportsApi.md#payoutReport3ExportPayoutRefundedOrders) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/refundedOrders |
+*Flipdish.PayoutsApi* | [**getPayout**](docs/PayoutsApi.md#getPayout) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId} |
+*Flipdish.PayoutsApi* | [**getPayoutChargebacks**](docs/PayoutsApi.md#getPayoutChargebacks) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/chargebacks |
+*Flipdish.PayoutsApi* | [**getPayoutOrders**](docs/PayoutsApi.md#getPayoutOrders) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/orders |
+*Flipdish.PayoutsApi* | [**getPayoutOtherCharges**](docs/PayoutsApi.md#getPayoutOtherCharges) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/othercharges |
+*Flipdish.PayoutsApi* | [**getPayoutRefunds**](docs/PayoutsApi.md#getPayoutRefunds) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/refunds |
+*Flipdish.PayoutsApi* | [**getPayoutSummaries**](docs/PayoutsApi.md#getPayoutSummaries) | **GET** /api/v1.0/{appId}/payouts/summaries |
+*Flipdish.PayoutsApi* | [**getPayouts**](docs/PayoutsApi.md#getPayouts) | **GET** /api/v1.0/{appId}/payouts |
+*Flipdish.PayoutsExportApi* | [**exportPayoutChargebacks**](docs/PayoutsExportApi.md#exportPayoutChargebacks) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/chargebacks/export |
+*Flipdish.PayoutsExportApi* | [**exportPayoutOrders**](docs/PayoutsExportApi.md#exportPayoutOrders) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/orders/export |
+*Flipdish.PayoutsExportApi* | [**exportPayoutOtherCharges**](docs/PayoutsExportApi.md#exportPayoutOtherCharges) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/othercharges/export |
+*Flipdish.PayoutsExportApi* | [**exportPayoutRefunds**](docs/PayoutsExportApi.md#exportPayoutRefunds) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/refunds/export |
+*Flipdish.PayoutsExportApi* | [**exportPayoutStores**](docs/PayoutsExportApi.md#exportPayoutStores) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/export |
+*Flipdish.PayoutsExportApi* | [**exportPayouts**](docs/PayoutsExportApi.md#exportPayouts) | **GET** /api/v1.0/{appId}/payouts/export |
+*Flipdish.ProcessingFeeConfigsApi* | [**getProcessingFeeConfigsByStoreIds**](docs/ProcessingFeeConfigsApi.md#getProcessingFeeConfigsByStoreIds) | **GET** /api/v1.0/processingfeeconfigs |
+*Flipdish.PushNotificationsApi* | [**deletePushNotification**](docs/PushNotificationsApi.md#deletePushNotification) | **DELETE** /api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId} |
+*Flipdish.PushNotificationsApi* | [**getPushNotifications**](docs/PushNotificationsApi.md#getPushNotifications) | **GET** /api/v1.0/{appId}/pushnotifications |
+*Flipdish.PushNotificationsApi* | [**schedulePushNotification**](docs/PushNotificationsApi.md#schedulePushNotification) | **POST** /api/v1.0/{appId}/pushnotifications |
+*Flipdish.PushNotificationsApi* | [**updatePushNotification**](docs/PushNotificationsApi.md#updatePushNotification) | **POST** /api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId} |
+*Flipdish.ReceiptsApi* | [**getReceipt**](docs/ReceiptsApi.md#getReceipt) | **GET** /api/v1.0/receipts/{orderId} |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**createPayGreenConfiguration**](docs/RestaurantVouchersPayGreenApi.md#createPayGreenConfiguration) | **POST** /api/v1.0/{appId}/restaurant-vouchers/paygreen |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**deletePayGreenConfiguration**](docs/RestaurantVouchersPayGreenApi.md#deletePayGreenConfiguration) | **DELETE** /api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId} |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**getElegibleStores**](docs/RestaurantVouchersPayGreenApi.md#getElegibleStores) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**getPayGreenConfigurations**](docs/RestaurantVouchersPayGreenApi.md#getPayGreenConfigurations) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**getStoreAvailablePayGreenConfigurations**](docs/RestaurantVouchersPayGreenApi.md#getStoreAvailablePayGreenConfigurations) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId}/available-configurations |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**getStorePayGreenConfiguration**](docs/RestaurantVouchersPayGreenApi.md#getStorePayGreenConfiguration) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId} |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**listPayGreenConfigurations**](docs/RestaurantVouchersPayGreenApi.md#listPayGreenConfigurations) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId} |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**updatePayGreenConfiguration**](docs/RestaurantVouchersPayGreenApi.md#updatePayGreenConfiguration) | **POST** /api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId} |
+*Flipdish.RestaurantVouchersPayGreenApi* | [**updateStorePayGreenConfiguration**](docs/RestaurantVouchersPayGreenApi.md#updateStorePayGreenConfiguration) | **POST** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId} |
+*Flipdish.SearchApi* | [**searchRestaurants**](docs/SearchApi.md#searchRestaurants) | **GET** /api/v1.0/search/restaurants |
+*Flipdish.SmsProviderCredentialsApi* | [**getBrandSmsProviderCredentialByServiceType**](docs/SmsProviderCredentialsApi.md#getBrandSmsProviderCredentialByServiceType) | **GET** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType} |
+*Flipdish.SmsProviderCredentialsApi* | [**getBrandSmsProviderCredentials**](docs/SmsProviderCredentialsApi.md#getBrandSmsProviderCredentials) | **GET** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials |
+*Flipdish.SmsProviderCredentialsApi* | [**smsProviderCredentialDelete**](docs/SmsProviderCredentialsApi.md#smsProviderCredentialDelete) | **DELETE** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType} |
+*Flipdish.SmsProviderCredentialsApi* | [**smsProviderCredentialUpdate**](docs/SmsProviderCredentialsApi.md#smsProviderCredentialUpdate) | **POST** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType} |
+*Flipdish.SmsProviderCredentialsApi* | [**smsProviderCredentialsBulkUpsert**](docs/SmsProviderCredentialsApi.md#smsProviderCredentialsBulkUpsert) | **POST** /api/v1.0/sms-providers/bulk-upsert |
+*Flipdish.StoreGroupsApi* | [**assignStoresToStoreGroup**](docs/StoreGroupsApi.md#assignStoresToStoreGroup) | **POST** /api/v1.0/{appId}/storegroups/{storeGroupId}/assignStores |
+*Flipdish.StoreGroupsApi* | [**createStoreGroup**](docs/StoreGroupsApi.md#createStoreGroup) | **POST** /api/v1.0/{appNameId}/storegroups |
+*Flipdish.StoreGroupsApi* | [**getStoreGroup**](docs/StoreGroupsApi.md#getStoreGroup) | **GET** /api/v1.0/storegroups/{storeGroupId} |
+*Flipdish.StoreGroupsApi* | [**getStoreGroups**](docs/StoreGroupsApi.md#getStoreGroups) | **GET** /api/v1.0/{appNameId}/storegroups |
+*Flipdish.StoreGroupsApi* | [**getStoreGroupsExtended**](docs/StoreGroupsApi.md#getStoreGroupsExtended) | **GET** /api/v1.0/{appNameId}/storegroups/extended |
+*Flipdish.StoreGroupsApi* | [**removeStoreGroup**](docs/StoreGroupsApi.md#removeStoreGroup) | **DELETE** /api/v1.0/storegroups/{storeGroupId} |
+*Flipdish.StoreGroupsApi* | [**setCustomerMessages**](docs/StoreGroupsApi.md#setCustomerMessages) | **POST** /api/v1.0/storegroups/{storeGroupId}/CustomerMessages |
+*Flipdish.StoreGroupsApi* | [**updateStoreGroup**](docs/StoreGroupsApi.md#updateStoreGroup) | **POST** /api/v1.0/storegroups/{storeGroupId} |
+*Flipdish.StoreOrderCapacityApi* | [**getStoreOrderCapacity**](docs/StoreOrderCapacityApi.md#getStoreOrderCapacity) | **GET** /api/v1.0/{appId}/storeordercapacity/{storeId}/{deliveryType} |
+*Flipdish.StoreOrderCapacityApi* | [**updateStoreOrderCapacityConfig**](docs/StoreOrderCapacityApi.md#updateStoreOrderCapacityConfig) | **POST** /api/v1.0/{appId}/storeordercapacity/{storeId} |
+*Flipdish.StoresApi* | [**archiveStore**](docs/StoresApi.md#archiveStore) | **POST** /api/v1.0/stores/{storeId}/archive |
+*Flipdish.StoresApi* | [**assignMenu**](docs/StoresApi.md#assignMenu) | **POST** /api/v1.0/stores/{storeId}/menu/{menuId} |
+*Flipdish.StoresApi* | [**cloneStore**](docs/StoresApi.md#cloneStore) | **POST** /api/v1.0/stores/{storeId}/clone |
+*Flipdish.StoresApi* | [**configureStoreServiceCharge**](docs/StoresApi.md#configureStoreServiceCharge) | **POST** /api/v1.0/stores/{storeId}/servicecharge |
+*Flipdish.StoresApi* | [**createBusinessHoursOverrideByStoreId**](docs/StoresApi.md#createBusinessHoursOverrideByStoreId) | **POST** /api/v1.0/stores/{storeId}/businesshoursoverrides |
+*Flipdish.StoresApi* | [**createStore**](docs/StoresApi.md#createStore) | **POST** /api/v1.0/stores |
+*Flipdish.StoresApi* | [**createStoreInProperty**](docs/StoresApi.md#createStoreInProperty) | **POST** /api/v1.0/properties/{propertyId}/stores |
+*Flipdish.StoresApi* | [**deleteBusinessHoursOverride**](docs/StoresApi.md#deleteBusinessHoursOverride) | **DELETE** /api/v1.0/stores/{storeId}/businesshoursoverrides/{businessHoursOverrideId} |
+*Flipdish.StoresApi* | [**getBankAccountForStore**](docs/StoresApi.md#getBankAccountForStore) | **GET** /api/v1.0/stores/{storeId}/bankaccount |
+*Flipdish.StoresApi* | [**getBusinessHours**](docs/StoresApi.md#getBusinessHours) | **GET** /api/v1.0/stores/{storeId}/availability/{deliveryType} |
+*Flipdish.StoresApi* | [**getBusinessHoursOverrideByStoreId**](docs/StoresApi.md#getBusinessHoursOverrideByStoreId) | **GET** /api/v1.0/stores/{storeId}/businesshoursoverrides |
+*Flipdish.StoresApi* | [**getEndOfDayReport**](docs/StoresApi.md#getEndOfDayReport) | **GET** /api/v1.0/stores/{storeId}/endofdayreport |
+*Flipdish.StoresApi* | [**getPreOrderConfig**](docs/StoresApi.md#getPreOrderConfig) | **GET** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType} |
+*Flipdish.StoresApi* | [**getPreOrderPreview**](docs/StoresApi.md#getPreOrderPreview) | **GET** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/preview |
+*Flipdish.StoresApi* | [**getProcessingFeeConfigsByStoreId**](docs/StoresApi.md#getProcessingFeeConfigsByStoreId) | **GET** /api/v1.0/stores/{storeId}/processingfeeconfigs |
+*Flipdish.StoresApi* | [**getProcessingFeeConfigsByStoreIdAndPaymentAccountType**](docs/StoresApi.md#getProcessingFeeConfigsByStoreIdAndPaymentAccountType) | **GET** /api/v1.0/stores/{storeId}/processingfeeconfigs/{paymentAccountType} |
+*Flipdish.StoresApi* | [**getStoreById**](docs/StoresApi.md#getStoreById) | **GET** /api/v1.0/stores/{storeId} |
+*Flipdish.StoresApi* | [**getStoreDeliveryFeeConfig**](docs/StoresApi.md#getStoreDeliveryFeeConfig) | **GET** /api/v1.0/stores/{storeId}/feeConfig/deliveryZones |
+*Flipdish.StoresApi* | [**getStoreFeeConfig**](docs/StoresApi.md#getStoreFeeConfig) | **GET** /api/v1.0/stores/{storeId}/feeConfig |
+*Flipdish.StoresApi* | [**getStoreHeadersByAppId**](docs/StoresApi.md#getStoreHeadersByAppId) | **GET** /api/v1.0/{appId}/stores/header |
+*Flipdish.StoresApi* | [**getStoreLeadTimes**](docs/StoresApi.md#getStoreLeadTimes) | **GET** /api/v1.0/stores/{storeId}/leadTimes |
+*Flipdish.StoresApi* | [**getStoreNetSales**](docs/StoresApi.md#getStoreNetSales) | **GET** /api/v1.0/{appId}/stores/stats |
+*Flipdish.StoresApi* | [**getStoreServiceCharge**](docs/StoresApi.md#getStoreServiceCharge) | **GET** /api/v1.0/stores/{storeId}/servicecharge |
+*Flipdish.StoresApi* | [**getStores**](docs/StoresApi.md#getStores) | **GET** /api/v1.0/stores |
+*Flipdish.StoresApi* | [**getStoresByAppId**](docs/StoresApi.md#getStoresByAppId) | **GET** /api/v1.0/{appId}/stores |
+*Flipdish.StoresApi* | [**getStoresByStoreIdWithValidations**](docs/StoresApi.md#getStoresByStoreIdWithValidations) | **GET** /api/v1.0/{appId}/storevalidation/kiosk |
+*Flipdish.StoresApi* | [**publishStore**](docs/StoresApi.md#publishStore) | **POST** /api/v1.0/stores/{storeId}/publish |
+*Flipdish.StoresApi* | [**putStoreDeliveryFeeConfig**](docs/StoresApi.md#putStoreDeliveryFeeConfig) | **PUT** /api/v1.0/stores/{storeId}/feeConfig/deliveryZones |
+*Flipdish.StoresApi* | [**setBusinessHours**](docs/StoresApi.md#setBusinessHours) | **POST** /api/v1.0/stores/{storeId}/availability/{deliveryType} |
+*Flipdish.StoresApi* | [**setPreOrdeEnabled**](docs/StoresApi.md#setPreOrdeEnabled) | **POST** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/enabled |
+*Flipdish.StoresApi* | [**setStoreCollectionSettings**](docs/StoresApi.md#setStoreCollectionSettings) | **POST** /api/v1.0/stores/{storeId}/collectionsettings |
+*Flipdish.StoresApi* | [**setStoreLeadTimes**](docs/StoresApi.md#setStoreLeadTimes) | **POST** /api/v1.0/stores/{storeId}/leadTimes |
+*Flipdish.StoresApi* | [**storesSetPropertyId**](docs/StoresApi.md#storesSetPropertyId) | **POST** /api/v1.0/stores/{storeId}/propertyId/{propertyId} |
+*Flipdish.StoresApi* | [**supportedSalesChannelsTypes**](docs/StoresApi.md#supportedSalesChannelsTypes) | **POST** /api/v1.0/properties/{propertyId}/stores/{storeId}/supportedSalesChannels |
+*Flipdish.StoresApi* | [**unpublishStore**](docs/StoresApi.md#unpublishStore) | **POST** /api/v1.0/stores/{storeId}/unpublish |
+*Flipdish.StoresApi* | [**updatePreOrderConfig**](docs/StoresApi.md#updatePreOrderConfig) | **POST** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType} |
+*Flipdish.StoresApi* | [**updateStore**](docs/StoresApi.md#updateStore) | **POST** /api/v1.0/stores/{storeId} |
+*Flipdish.StoresApi* | [**updateStoreAddress**](docs/StoresApi.md#updateStoreAddress) | **POST** /api/v1.0/stores/{storeId}/address |
+*Flipdish.StoresApi* | [**updateStoreAddressCoordinates**](docs/StoresApi.md#updateStoreAddressCoordinates) | **POST** /api/v1.0/stores/{storeId}/address/coordinates |
+*Flipdish.StoresApi* | [**updateStoreAddressForm**](docs/StoresApi.md#updateStoreAddressForm) | **POST** /api/v1.0/stores/{storeId}/addressform |
+*Flipdish.StripeCustomConnectApi* | [**createBankAccountAndConnectedAccount**](docs/StripeCustomConnectApi.md#createBankAccountAndConnectedAccount) | **POST** /api/v1.0/{appId}/customconnect/bank-account |
+*Flipdish.StripeCustomConnectApi* | [**createStripeConnectedAccount**](docs/StripeCustomConnectApi.md#createStripeConnectedAccount) | **POST** /api/v1.0/{appId}/customconnect/{bankAccountId}/create-update-account |
+*Flipdish.StripeCustomConnectApi* | [**createStripeConnectedAccountLink**](docs/StripeCustomConnectApi.md#createStripeConnectedAccountLink) | **POST** /api/v1.0/{appId}/customconnect/{stripeConnectedAccountId}/create-account-link |
+*Flipdish.StripeCustomConnectApi* | [**getCustomConnect**](docs/StripeCustomConnectApi.md#getCustomConnect) | **GET** /api/v1.0/{appId}/customconnect/{storeId} |
+*Flipdish.StripeCustomConnectApi* | [**getVerificationStatus**](docs/StripeCustomConnectApi.md#getVerificationStatus) | **GET** /api/v1.0/{appId}/customconnect/verification-status |
+*Flipdish.StripeCustomConnectApi* | [**setBankAccountBusinessType**](docs/StripeCustomConnectApi.md#setBankAccountBusinessType) | **POST** /api/v1.0/{appId}/customconnect/bank-account/{bankAccountId}/businesstype |
+*Flipdish.StripeCustomConnectApi* | [**stripeCustomConnectRefresh**](docs/StripeCustomConnectApi.md#stripeCustomConnectRefresh) | **GET** /api/v1.0/{appId}/customconnect/refresh-link |
+*Flipdish.StripeCustomConnectApi* | [**updateBankAccountDetails**](docs/StripeCustomConnectApi.md#updateBankAccountDetails) | **POST** /api/v1.0/{appId}/customconnect/{bankAccountId}/update-bank-account-details |
+*Flipdish.StripeCustomConnectApi* | [**updatePayoutSchedule**](docs/StripeCustomConnectApi.md#updatePayoutSchedule) | **POST** /api/v1.0/{appId}/customconnect/update-payout-schedule/{stripeConnectedAccountId}/{interval} |
+*Flipdish.StuartApi* | [**stuartCancelJob**](docs/StuartApi.md#stuartCancelJob) | **DELETE** /api/v1.0/stuart/jobs/{jobId} |
+*Flipdish.StuartApi* | [**stuartGetJob**](docs/StuartApi.md#stuartGetJob) | **GET** /api/v1.0/stuart/jobs/{jobId} |
+*Flipdish.StuartApi* | [**stuartGetStuartSettings**](docs/StuartApi.md#stuartGetStuartSettings) | **GET** /api/v1.0/stuart/settings/{storeId} |
+*Flipdish.StuartApi* | [**stuartPostStuartSettings**](docs/StuartApi.md#stuartPostStuartSettings) | **POST** /api/v1.0/stuart/settings/{storeId} |
+*Flipdish.SubscriptionsApi* | [**getSubscriptionById**](docs/SubscriptionsApi.md#getSubscriptionById) | **GET** /api/v1.0/{appId}/subscriptions/{subscriptionId} |
+*Flipdish.SubscriptionsApi* | [**getSubscriptionsForApp**](docs/SubscriptionsApi.md#getSubscriptionsForApp) | **GET** /api/v1.0/{appId}/subscriptions |
+*Flipdish.SubscriptionsApi* | [**hasCustomerGotPaymentMethodOnFile**](docs/SubscriptionsApi.md#hasCustomerGotPaymentMethodOnFile) | **GET** /api/v1.0/{appId}/subscriptions/hasPaymentMethod |
+*Flipdish.TeammatesApi* | [**createTeammate**](docs/TeammatesApi.md#createTeammate) | **POST** /api/v1.0/{appId}/teammates |
+*Flipdish.TeammatesApi* | [**deleteTeammate**](docs/TeammatesApi.md#deleteTeammate) | **DELETE** /api/v1.0/{appId}/teammates/{id} |
+*Flipdish.TeammatesApi* | [**getTeammateByAppIdAndTeammateId**](docs/TeammatesApi.md#getTeammateByAppIdAndTeammateId) | **GET** /api/v1.0/{appId}/teammates/{id} |
+*Flipdish.TeammatesApi* | [**getTeammatesByAppId**](docs/TeammatesApi.md#getTeammatesByAppId) | **GET** /api/v1.0/{appId}/teammates |
+*Flipdish.TeammatesApi* | [**grantaccess**](docs/TeammatesApi.md#grantaccess) | **POST** /api/v1.0/{appId}/teammates/grantaccess |
+*Flipdish.TeammatesApi* | [**redeemInvitation**](docs/TeammatesApi.md#redeemInvitation) | **GET** /api/v1.0/{appId}/teammates/redeem/{otc} |
+*Flipdish.TeammatesApi* | [**teammatesAcceptInvitation**](docs/TeammatesApi.md#teammatesAcceptInvitation) | **GET** /api/v1.0/{appId}/teammates/accept/{otc} |
+*Flipdish.TeammatesApi* | [**teammatesAcceptInvitations**](docs/TeammatesApi.md#teammatesAcceptInvitations) | **POST** /api/v1.0/teammates/acceptInvitations |
+*Flipdish.TeammatesApi* | [**teammatesPendingInvitations**](docs/TeammatesApi.md#teammatesPendingInvitations) | **GET** /api/v1.0/teammates/pending-invitations |
+*Flipdish.TeammatesApi* | [**updateTeammate**](docs/TeammatesApi.md#updateTeammate) | **POST** /api/v1.0/{appId}/teammates/{id} |
+*Flipdish.TerminalIotApi* | [**getTerminalIotConnection**](docs/TerminalIotApi.md#getTerminalIotConnection) | **POST** /api/v1.0/terminaliot/connect |
+*Flipdish.TipsApi* | [**tipConfigGet**](docs/TipsApi.md#tipConfigGet) | **GET** /api/v1.0/stores/{storeId}/tipconfig |
+*Flipdish.TipsApi* | [**tipConfigUpsert**](docs/TipsApi.md#tipConfigUpsert) | **POST** /api/v1.0/stores/{storeId}/tipconfig |
+*Flipdish.UsersApi* | [**addUserNote**](docs/UsersApi.md#addUserNote) | **POST** /api/v1.0/users/{userId}/AddUserNote |
+*Flipdish.UsersApi* | [**addUserToRole**](docs/UsersApi.md#addUserToRole) | **POST** /api/v1.0/users/{userId}/AddUserToRole/{roleName} |
+*Flipdish.UsersApi* | [**anonymizeUser**](docs/UsersApi.md#anonymizeUser) | **POST** /api/v1.0/users/{userId}/AnonymizeUser |
+*Flipdish.UsersApi* | [**blockUserPhoneNumber**](docs/UsersApi.md#blockUserPhoneNumber) | **POST** /api/v1.0/users/{userId}/BlockUserPhoneNumber |
+*Flipdish.UsersApi* | [**getPreviousOrderCountForStore**](docs/UsersApi.md#getPreviousOrderCountForStore) | **GET** /api/v1.0/users/{userId}/previousordercount/{storeId} |
+*Flipdish.UsersApi* | [**getRestaurantUserAccounts**](docs/UsersApi.md#getRestaurantUserAccounts) | **GET** /api/v1.0/users/{userId}/RestaurantUserAccounts |
+*Flipdish.UsersApi* | [**getRestaurantUserStores**](docs/UsersApi.md#getRestaurantUserStores) | **GET** /api/v1.0/users/{userId}/RestaurantUserStores |
+*Flipdish.UsersApi* | [**getRoles**](docs/UsersApi.md#getRoles) | **GET** /api/v1.0/users/roles |
+*Flipdish.UsersApi* | [**getRolesAndUnassignedRoles**](docs/UsersApi.md#getRolesAndUnassignedRoles) | **GET** /api/v1.0/users/{userId}/roles |
+*Flipdish.UsersApi* | [**getUserById**](docs/UsersApi.md#getUserById) | **GET** /api/v1.0/users/{userId} |
+*Flipdish.UsersApi* | [**getUserNotes**](docs/UsersApi.md#getUserNotes) | **GET** /api/v1.0/users/{userId}/UserNotes |
+*Flipdish.UsersApi* | [**markUserAsFraudulent**](docs/UsersApi.md#markUserAsFraudulent) | **POST** /api/v1.0/users/{userId}/MarkUserAsFraudulent |
+*Flipdish.UsersApi* | [**markUserAsSuspicious**](docs/UsersApi.md#markUserAsSuspicious) | **POST** /api/v1.0/users/{userId}/MarkUserAsSuspicious |
+*Flipdish.UsersApi* | [**removeUserFromRole**](docs/UsersApi.md#removeUserFromRole) | **POST** /api/v1.0/users/{userId}/RemoveUserFromRole/{roleName} |
+*Flipdish.UsersApi* | [**resetMfa**](docs/UsersApi.md#resetMfa) | **POST** /api/v1.0/users/{userId}/ResetMfa |
+*Flipdish.UsersApi* | [**searchUsers**](docs/UsersApi.md#searchUsers) | **GET** /api/v1.0/users/search |
+*Flipdish.UsersApi* | [**setCustomerName**](docs/UsersApi.md#setCustomerName) | **POST** /api/v1.0/users/{userId}/SetCustomerName |
+*Flipdish.UsersApi* | [**setUserLanguage**](docs/UsersApi.md#setUserLanguage) | **POST** /api/v1.0/users/{userId}/SetLanguage/{languageId} |
+*Flipdish.UsersApi* | [**unblockUserPhoneNumber**](docs/UsersApi.md#unblockUserPhoneNumber) | **POST** /api/v1.0/users/{userId}/UnblockUserPhoneNumber |
+*Flipdish.VouchersApi* | [**createVoucher**](docs/VouchersApi.md#createVoucher) | **POST** /api/v1.0/vouchers/{appId} |
+*Flipdish.VouchersApi* | [**getVoucherByCode**](docs/VouchersApi.md#getVoucherByCode) | **GET** /api/v1.0/{appId}/vouchers/code/{code} |
+*Flipdish.VouchersApi* | [**getVoucherById**](docs/VouchersApi.md#getVoucherById) | **GET** /api/v1.0/vouchers/{voucherId} |
+*Flipdish.VouchersApi* | [**getVoucherStatsById**](docs/VouchersApi.md#getVoucherStatsById) | **GET** /api/v1.0/vouchers/stats/{voucherId} |
+*Flipdish.VouchersApi* | [**getVoucherValidityPeriods**](docs/VouchersApi.md#getVoucherValidityPeriods) | **GET** /api/v1.0/{appId}/vouchers/{voucherId}/validity-periods |
+*Flipdish.VouchersApi* | [**getVouchers**](docs/VouchersApi.md#getVouchers) | **GET** /api/v1.0/{appId}/vouchers/summaries |
+*Flipdish.VouchersApi* | [**setVoucherValidityPeriodsSimplified**](docs/VouchersApi.md#setVoucherValidityPeriodsSimplified) | **POST** /api/v1.0/{appId}/vouchers/{voucherId}/validity-periods-simplified |
+*Flipdish.VouchersApi* | [**updateVoucher**](docs/VouchersApi.md#updateVoucher) | **POST** /api/v1.0/vouchers/{voucherId} |
+*Flipdish.VouchersApi* | [**updateVoucherUsage**](docs/VouchersApi.md#updateVoucherUsage) | **POST** /api/v1.0/{appId}/vouchers/{voucherId}/usage |
+*Flipdish.WebhooksApi* | [**createWebhookSubscription**](docs/WebhooksApi.md#createWebhookSubscription) | **POST** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions |
+*Flipdish.WebhooksApi* | [**createWebhookSubscriptionEventNames**](docs/WebhooksApi.md#createWebhookSubscriptionEventNames) | **POST** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName} |
+*Flipdish.WebhooksApi* | [**deleteWebhookSubscription**](docs/WebhooksApi.md#deleteWebhookSubscription) | **DELETE** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId} |
+*Flipdish.WebhooksApi* | [**deleteWebhookSubscriptionEventName**](docs/WebhooksApi.md#deleteWebhookSubscriptionEventName) | **DELETE** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName} |
+*Flipdish.WebhooksApi* | [**getWebhookEventNames**](docs/WebhooksApi.md#getWebhookEventNames) | **GET** /api/v1.0/{appId}/webhooks/events |
+*Flipdish.WebhooksApi* | [**getWebhookEventNamesBySubscriptionId**](docs/WebhooksApi.md#getWebhookEventNamesBySubscriptionId) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events |
+*Flipdish.WebhooksApi* | [**getWebhookEventSample**](docs/WebhooksApi.md#getWebhookEventSample) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}/test |
+*Flipdish.WebhooksApi* | [**getWebhookLogs**](docs/WebhooksApi.md#getWebhookLogs) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/logs |
+*Flipdish.WebhooksApi* | [**getWebhookSubscriptions**](docs/WebhooksApi.md#getWebhookSubscriptions) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions |
+*Flipdish.WebhooksApi* | [**updateWebhookSubscription**](docs/WebhooksApi.md#updateWebhookSubscription) | **PUT** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId} |
+*Flipdish.WebsiteApi* | [**addTestimonial**](docs/WebsiteApi.md#addTestimonial) | **POST** /api/v1.0/{appId}/website/testimonial |
+*Flipdish.WebsiteApi* | [**deleteTestimonial**](docs/WebsiteApi.md#deleteTestimonial) | **DELETE** /api/v1.0/{appId}/website/testimonial/{testimonialId} |
+*Flipdish.WebsiteApi* | [**deleteWebsiteImage**](docs/WebsiteApi.md#deleteWebsiteImage) | **DELETE** /api/v1.0/{appId}/website/image/{imageId} |
+*Flipdish.WebsiteApi* | [**editTestimonial**](docs/WebsiteApi.md#editTestimonial) | **POST** /api/v1.0/{appId}/website/testimonial/{testimonialId} |
+*Flipdish.WebsiteApi* | [**getIndexConfiguration**](docs/WebsiteApi.md#getIndexConfiguration) | **GET** /api/v1.0/{appId}/website/index |
+*Flipdish.WebsiteApi* | [**setIndexConfiguration**](docs/WebsiteApi.md#setIndexConfiguration) | **POST** /api/v1.0/{appId}/website/index |
+*Flipdish.WebsiteApi* | [**uploadWebsiteImage**](docs/WebsiteApi.md#uploadWebsiteImage) | **POST** /api/v1.0/{appId}/website/image/{imageLocation} |
+*Flipdish.WebsiteApi* | [**websiteCheckNow**](docs/WebsiteApi.md#websiteCheckNow) | **GET** /api/v1.0/{appId}/website/dnscheck |
+
+
+## Documentation for Models
+
+ - [Flipdish.Accept](docs/Accept.md)
+ - [Flipdish.AcceptInvitationResult](docs/AcceptInvitationResult.md)
+ - [Flipdish.AccountDetail](docs/AccountDetail.md)
+ - [Flipdish.AccountDetailBase](docs/AccountDetailBase.md)
+ - [Flipdish.AccountFieldDefinition](docs/AccountFieldDefinition.md)
+ - [Flipdish.AccountFieldKeyValuePair](docs/AccountFieldKeyValuePair.md)
+ - [Flipdish.AccountFieldsDefinitions](docs/AccountFieldsDefinitions.md)
+ - [Flipdish.AddressFormDisplayFormat](docs/AddressFormDisplayFormat.md)
+ - [Flipdish.AddressFormResponse](docs/AddressFormResponse.md)
+ - [Flipdish.AllMetadataResult](docs/AllMetadataResult.md)
+ - [Flipdish.Allergen](docs/Allergen.md)
+ - [Flipdish.AnalyticsClientEvent](docs/AnalyticsClientEvent.md)
+ - [Flipdish.ApmCurrencyDataPoint](docs/ApmCurrencyDataPoint.md)
+ - [Flipdish.ApmDataPoint](docs/ApmDataPoint.md)
+ - [Flipdish.ApmHourlyDataPoint](docs/ApmHourlyDataPoint.md)
+ - [Flipdish.ApmStatistics](docs/ApmStatistics.md)
+ - [Flipdish.ApmStatus](docs/ApmStatus.md)
+ - [Flipdish.App](docs/App.md)
+ - [Flipdish.AppChannelAssignment](docs/AppChannelAssignment.md)
+ - [Flipdish.AppCompliance](docs/AppCompliance.md)
+ - [Flipdish.AppConfigSalesChannel](docs/AppConfigSalesChannel.md)
+ - [Flipdish.AppConfigUpdateModel](docs/AppConfigUpdateModel.md)
+ - [Flipdish.AppCreatedEvent](docs/AppCreatedEvent.md)
+ - [Flipdish.AppInstall](docs/AppInstall.md)
+ - [Flipdish.AppLookup](docs/AppLookup.md)
+ - [Flipdish.AppStoreApp](docs/AppStoreApp.md)
+ - [Flipdish.AppStoreAppConfiguration](docs/AppStoreAppConfiguration.md)
+ - [Flipdish.AppStoreAppConfigurationSummary](docs/AppStoreAppConfigurationSummary.md)
+ - [Flipdish.AppStoreAppEntitlements](docs/AppStoreAppEntitlements.md)
+ - [Flipdish.AppStoreAppSummary](docs/AppStoreAppSummary.md)
+ - [Flipdish.AppStoreAppSupportInfo](docs/AppStoreAppSupportInfo.md)
+ - [Flipdish.AppStoreConfigCreatedEvent](docs/AppStoreConfigCreatedEvent.md)
+ - [Flipdish.AppStoreConfigDeletedEvent](docs/AppStoreConfigDeletedEvent.md)
+ - [Flipdish.AppStoreConfigUpdatedEvent](docs/AppStoreConfigUpdatedEvent.md)
+ - [Flipdish.AppStoreSubscriptionChangeJobUpdatedEvent](docs/AppStoreSubscriptionChangeJobUpdatedEvent.md)
+ - [Flipdish.AppUpdatedEvent](docs/AppUpdatedEvent.md)
+ - [Flipdish.AssignedBankAccount](docs/AssignedBankAccount.md)
+ - [Flipdish.AuditLogFieldChangeInformation](docs/AuditLogFieldChangeInformation.md)
+ - [Flipdish.BalanceDetails](docs/BalanceDetails.md)
+ - [Flipdish.BankAccount](docs/BankAccount.md)
+ - [Flipdish.BankAccountAssignedEvent](docs/BankAccountAssignedEvent.md)
+ - [Flipdish.BankAccountCreate](docs/BankAccountCreate.md)
+ - [Flipdish.BankAccountCreatedEvent](docs/BankAccountCreatedEvent.md)
+ - [Flipdish.BankAccountDeletedEvent](docs/BankAccountDeletedEvent.md)
+ - [Flipdish.BankAccountDetail](docs/BankAccountDetail.md)
+ - [Flipdish.BankAccountDetailsUpdateRequest](docs/BankAccountDetailsUpdateRequest.md)
+ - [Flipdish.BankAccountSummary](docs/BankAccountSummary.md)
+ - [Flipdish.BankAccountUpdatedEvent](docs/BankAccountUpdatedEvent.md)
+ - [Flipdish.BluetoothTerminalStatus](docs/BluetoothTerminalStatus.md)
+ - [Flipdish.BusinessHoursOverride](docs/BusinessHoursOverride.md)
+ - [Flipdish.BusinessHoursOverrideBase](docs/BusinessHoursOverrideBase.md)
+ - [Flipdish.BusinessHoursPeriod](docs/BusinessHoursPeriod.md)
+ - [Flipdish.BusinessHoursPeriodBase](docs/BusinessHoursPeriodBase.md)
+ - [Flipdish.CampaignStatistics](docs/CampaignStatistics.md)
+ - [Flipdish.CancellationToken](docs/CancellationToken.md)
+ - [Flipdish.CardReader](docs/CardReader.md)
+ - [Flipdish.CardReaderRegistrationRequest](docs/CardReaderRegistrationRequest.md)
+ - [Flipdish.CatalogGroupArchivedEvent](docs/CatalogGroupArchivedEvent.md)
+ - [Flipdish.CatalogGroupCreatedEvent](docs/CatalogGroupCreatedEvent.md)
+ - [Flipdish.CatalogGroupReference](docs/CatalogGroupReference.md)
+ - [Flipdish.CatalogGroupUpdatedEvent](docs/CatalogGroupUpdatedEvent.md)
+ - [Flipdish.CatalogImage](docs/CatalogImage.md)
+ - [Flipdish.CatalogItem](docs/CatalogItem.md)
+ - [Flipdish.CatalogItemArchivedEvent](docs/CatalogItemArchivedEvent.md)
+ - [Flipdish.CatalogItemCreatedEvent](docs/CatalogItemCreatedEvent.md)
+ - [Flipdish.CatalogItemUpdatedEvent](docs/CatalogItemUpdatedEvent.md)
+ - [Flipdish.CertificateCreatedEvent](docs/CertificateCreatedEvent.md)
+ - [Flipdish.CertificateRenewedEvent](docs/CertificateRenewedEvent.md)
+ - [Flipdish.ChangePasswordModel](docs/ChangePasswordModel.md)
+ - [Flipdish.Channel](docs/Channel.md)
+ - [Flipdish.ChannelStoresUpdatedEvent](docs/ChannelStoresUpdatedEvent.md)
+ - [Flipdish.ChargebackDetails](docs/ChargebackDetails.md)
+ - [Flipdish.ClientDevice](docs/ClientDevice.md)
+ - [Flipdish.ClientDeviceAssignEnrolledDevice](docs/ClientDeviceAssignEnrolledDevice.md)
+ - [Flipdish.ClientDeviceEnroll](docs/ClientDeviceEnroll.md)
+ - [Flipdish.ClientDeviceEnrollmentResult](docs/ClientDeviceEnrollmentResult.md)
+ - [Flipdish.ClientDeviceSummary](docs/ClientDeviceSummary.md)
+ - [Flipdish.ConfiguredStore](docs/ConfiguredStore.md)
+ - [Flipdish.Coordinates](docs/Coordinates.md)
+ - [Flipdish.CountryFormResponse](docs/CountryFormResponse.md)
+ - [Flipdish.CountryWithAccountFieldsDefinitions](docs/CountryWithAccountFieldsDefinitions.md)
+ - [Flipdish.CreateAccountModel](docs/CreateAccountModel.md)
+ - [Flipdish.CreateAppParameters](docs/CreateAppParameters.md)
+ - [Flipdish.CreateAppStoreApp](docs/CreateAppStoreApp.md)
+ - [Flipdish.CreateBasicAccountModel](docs/CreateBasicAccountModel.md)
+ - [Flipdish.CreateCatalogGroupReference](docs/CreateCatalogGroupReference.md)
+ - [Flipdish.CreateCatalogItem](docs/CreateCatalogItem.md)
+ - [Flipdish.CreateFulfillmentStatesConfiguration](docs/CreateFulfillmentStatesConfiguration.md)
+ - [Flipdish.CreateFullMenu](docs/CreateFullMenu.md)
+ - [Flipdish.CreateFullMenuItemOptionSet](docs/CreateFullMenuItemOptionSet.md)
+ - [Flipdish.CreateFullMenuItemOptionSetItem](docs/CreateFullMenuItemOptionSetItem.md)
+ - [Flipdish.CreateFullMenuSection](docs/CreateFullMenuSection.md)
+ - [Flipdish.CreateFullMenuSectionItem](docs/CreateFullMenuSectionItem.md)
+ - [Flipdish.CreateGroup](docs/CreateGroup.md)
+ - [Flipdish.CreateGroupReference](docs/CreateGroupReference.md)
+ - [Flipdish.CreateLocation](docs/CreateLocation.md)
+ - [Flipdish.CreateLocationArea](docs/CreateLocationArea.md)
+ - [Flipdish.CreateMenuSectionItemFromCatalogItems](docs/CreateMenuSectionItemFromCatalogItems.md)
+ - [Flipdish.CreateMenuTaxRate](docs/CreateMenuTaxRate.md)
+ - [Flipdish.CreateMetadata](docs/CreateMetadata.md)
+ - [Flipdish.CreateMetafieldDefinition](docs/CreateMetafieldDefinition.md)
+ - [Flipdish.CreatePayGreenConfigurationRequest](docs/CreatePayGreenConfigurationRequest.md)
+ - [Flipdish.CreateProduct](docs/CreateProduct.md)
+ - [Flipdish.CreateProductReference](docs/CreateProductReference.md)
+ - [Flipdish.CreatePromotion](docs/CreatePromotion.md)
+ - [Flipdish.CreateTeammate](docs/CreateTeammate.md)
+ - [Flipdish.CreateVoucher](docs/CreateVoucher.md)
+ - [Flipdish.CreatedMenuSectionItems](docs/CreatedMenuSectionItems.md)
+ - [Flipdish.CreditNoteDetails](docs/CreditNoteDetails.md)
+ - [Flipdish.CrossSellMenuItems](docs/CrossSellMenuItems.md)
+ - [Flipdish.CspReport](docs/CspReport.md)
+ - [Flipdish.CspReportRequest](docs/CspReportRequest.md)
+ - [Flipdish.CurrencyData](docs/CurrencyData.md)
+ - [Flipdish.Customer](docs/Customer.md)
+ - [Flipdish.CustomerConsentUpdatedEvent](docs/CustomerConsentUpdatedEvent.md)
+ - [Flipdish.CustomerCreateModel](docs/CustomerCreateModel.md)
+ - [Flipdish.CustomerCreatedEvent](docs/CustomerCreatedEvent.md)
+ - [Flipdish.CustomerDeliveryTrackingOrder](docs/CustomerDeliveryTrackingOrder.md)
+ - [Flipdish.CustomerDeliveryTrackingOrderLine](docs/CustomerDeliveryTrackingOrderLine.md)
+ - [Flipdish.CustomerMessages](docs/CustomerMessages.md)
+ - [Flipdish.CustomerSummary](docs/CustomerSummary.md)
+ - [Flipdish.CustomerUpdateModel](docs/CustomerUpdateModel.md)
+ - [Flipdish.CustomerUpdatedEvent](docs/CustomerUpdatedEvent.md)
+ - [Flipdish.Customers](docs/Customers.md)
+ - [Flipdish.DashboardEmbed](docs/DashboardEmbed.md)
+ - [Flipdish.DeliveryLocation](docs/DeliveryLocation.md)
+ - [Flipdish.DeliveryZone](docs/DeliveryZone.md)
+ - [Flipdish.DeliveryZoneBase](docs/DeliveryZoneBase.md)
+ - [Flipdish.DeliveryZoneCreatedEvent](docs/DeliveryZoneCreatedEvent.md)
+ - [Flipdish.DeliveryZoneDeletedEvent](docs/DeliveryZoneDeletedEvent.md)
+ - [Flipdish.DeliveryZoneUpdatedEvent](docs/DeliveryZoneUpdatedEvent.md)
+ - [Flipdish.DepositReturnFeesSummary](docs/DepositReturnFeesSummary.md)
+ - [Flipdish.DeviceSettings](docs/DeviceSettings.md)
+ - [Flipdish.DnsRecordInformation](docs/DnsRecordInformation.md)
+ - [Flipdish.DnsVerifiedEvent](docs/DnsVerifiedEvent.md)
+ - [Flipdish.DriverLoginModel](docs/DriverLoginModel.md)
+ - [Flipdish.DriverRequestLoginPinModel](docs/DriverRequestLoginPinModel.md)
+ - [Flipdish.DynamicFormField](docs/DynamicFormField.md)
+ - [Flipdish.DynamicFormFieldOption](docs/DynamicFormFieldOption.md)
+ - [Flipdish.DynamicFormRule](docs/DynamicFormRule.md)
+ - [Flipdish.DynamicFormRules](docs/DynamicFormRules.md)
+ - [Flipdish.EmvNotificationEvent](docs/EmvNotificationEvent.md)
+ - [Flipdish.EmvTerminal](docs/EmvTerminal.md)
+ - [Flipdish.EmvTerminalWithAssignments](docs/EmvTerminalWithAssignments.md)
+ - [Flipdish.EventSearchResult](docs/EventSearchResult.md)
+ - [Flipdish.ExecuteConfigurationActionRequest](docs/ExecuteConfigurationActionRequest.md)
+ - [Flipdish.ExecuteConfigurationActionResult](docs/ExecuteConfigurationActionResult.md)
+ - [Flipdish.ExternalStoreAuditLog](docs/ExternalStoreAuditLog.md)
+ - [Flipdish.ExternalStoreEvent](docs/ExternalStoreEvent.md)
+ - [Flipdish.FeeSummary](docs/FeeSummary.md)
+ - [Flipdish.Field](docs/Field.md)
+ - [Flipdish.FieldChangeInformation](docs/FieldChangeInformation.md)
+ - [Flipdish.FieldGroup](docs/FieldGroup.md)
+ - [Flipdish.FileCreationResult](docs/FileCreationResult.md)
+ - [Flipdish.FileDownloadResult](docs/FileDownloadResult.md)
+ - [Flipdish.FirebaseApp](docs/FirebaseApp.md)
+ - [Flipdish.FlipdishEventBase](docs/FlipdishEventBase.md)
+ - [Flipdish.FlipdishFeesDetails](docs/FlipdishFeesDetails.md)
+ - [Flipdish.FulfillentStatusActionItem](docs/FulfillentStatusActionItem.md)
+ - [Flipdish.FulfillmentStatesConfiguration](docs/FulfillmentStatesConfiguration.md)
+ - [Flipdish.FulfillmentStatesConfigurationSummary](docs/FulfillmentStatesConfigurationSummary.md)
+ - [Flipdish.FulfillmentStatesConfiguredStore](docs/FulfillmentStatesConfiguredStore.md)
+ - [Flipdish.FulfillmentStatusConfigurationItem](docs/FulfillmentStatusConfigurationItem.md)
+ - [Flipdish.GeoPointRequest](docs/GeoPointRequest.md)
+ - [Flipdish.GetReceiptByOrderIdQueryResponse](docs/GetReceiptByOrderIdQueryResponse.md)
+ - [Flipdish.GoogleAddress](docs/GoogleAddress.md)
+ - [Flipdish.GoogleAddressComponent](docs/GoogleAddressComponent.md)
+ - [Flipdish.GoogleAddressResult](docs/GoogleAddressResult.md)
+ - [Flipdish.GoogleCoordinates](docs/GoogleCoordinates.md)
+ - [Flipdish.GoogleGeometry](docs/GoogleGeometry.md)
+ - [Flipdish.GoogleLocation](docs/GoogleLocation.md)
+ - [Flipdish.GoogleViewport](docs/GoogleViewport.md)
+ - [Flipdish.Group](docs/Group.md)
+ - [Flipdish.GroupReference](docs/GroupReference.md)
+ - [Flipdish.GroupedCoordinates](docs/GroupedCoordinates.md)
+ - [Flipdish.HasPaymentMethodResponse](docs/HasPaymentMethodResponse.md)
+ - [Flipdish.HomeAction](docs/HomeAction.md)
+ - [Flipdish.HomeStatistics](docs/HomeStatistics.md)
+ - [Flipdish.HttpPostedFileBase](docs/HttpPostedFileBase.md)
+ - [Flipdish.HydraAssignedEvent](docs/HydraAssignedEvent.md)
+ - [Flipdish.HydraConfig](docs/HydraConfig.md)
+ - [Flipdish.HydraConnectionStatusChangedEvent](docs/HydraConnectionStatusChangedEvent.md)
+ - [Flipdish.HydraDeviceDetails](docs/HydraDeviceDetails.md)
+ - [Flipdish.HydraRegistrationRequest](docs/HydraRegistrationRequest.md)
+ - [Flipdish.HydraRequestResetEvent](docs/HydraRequestResetEvent.md)
+ - [Flipdish.HydraSettingChangedEvent](docs/HydraSettingChangedEvent.md)
+ - [Flipdish.HydraStatus](docs/HydraStatus.md)
+ - [Flipdish.HydraStoreAssignedEvent](docs/HydraStoreAssignedEvent.md)
+ - [Flipdish.HydraStoreData](docs/HydraStoreData.md)
+ - [Flipdish.HydraStoreUnassignedEvent](docs/HydraStoreUnassignedEvent.md)
+ - [Flipdish.HydraUnAssignedEvent](docs/HydraUnAssignedEvent.md)
+ - [Flipdish.IndexPage](docs/IndexPage.md)
+ - [Flipdish.IndexPageBase](docs/IndexPageBase.md)
+ - [Flipdish.IntercomUserHash](docs/IntercomUserHash.md)
+ - [Flipdish.Invoice](docs/Invoice.md)
+ - [Flipdish.InvoiceDiscount](docs/InvoiceDiscount.md)
+ - [Flipdish.InvoiceItem](docs/InvoiceItem.md)
+ - [Flipdish.InvoicePeriod](docs/InvoicePeriod.md)
+ - [Flipdish.ItemNutritionInfoAddUpdateModel](docs/ItemNutritionInfoAddUpdateModel.md)
+ - [Flipdish.ItemNutritionInfoV2AddUpdateModel](docs/ItemNutritionInfoV2AddUpdateModel.md)
+ - [Flipdish.JobAddress](docs/JobAddress.md)
+ - [Flipdish.JobCancellation](docs/JobCancellation.md)
+ - [Flipdish.JobContact](docs/JobContact.md)
+ - [Flipdish.JobDelivery](docs/JobDelivery.md)
+ - [Flipdish.JobDeliveryDetail](docs/JobDeliveryDetail.md)
+ - [Flipdish.JobDriver](docs/JobDriver.md)
+ - [Flipdish.JobEta](docs/JobEta.md)
+ - [Flipdish.JobPricing](docs/JobPricing.md)
+ - [Flipdish.JobProof](docs/JobProof.md)
+ - [Flipdish.JobResponse](docs/JobResponse.md)
+ - [Flipdish.KioskBluetoothInstallUpdateInitiateEvent](docs/KioskBluetoothInstallUpdateInitiateEvent.md)
+ - [Flipdish.KioskBluetoothPairingModeEvent](docs/KioskBluetoothPairingModeEvent.md)
+ - [Flipdish.KioskBluetoothTerminalCancelUpdateEvent](docs/KioskBluetoothTerminalCancelUpdateEvent.md)
+ - [Flipdish.KioskBluetoothTerminalFirmwareVersionStatusEvent](docs/KioskBluetoothTerminalFirmwareVersionStatusEvent.md)
+ - [Flipdish.KioskBluetoothTerminalInitiateUpdateCheckEvent](docs/KioskBluetoothTerminalInitiateUpdateCheckEvent.md)
+ - [Flipdish.KioskBluetoothTerminalInstallationStatusEvent](docs/KioskBluetoothTerminalInstallationStatusEvent.md)
+ - [Flipdish.KioskBluetoothTerminalUnpairedEvent](docs/KioskBluetoothTerminalUnpairedEvent.md)
+ - [Flipdish.KioskBluetoothTerminalUpdatedEvent](docs/KioskBluetoothTerminalUpdatedEvent.md)
+ - [Flipdish.KioskBluetoothUnpairingModeEvent](docs/KioskBluetoothUnpairingModeEvent.md)
+ - [Flipdish.KioskCashPaymentSettings](docs/KioskCashPaymentSettings.md)
+ - [Flipdish.KioskEntitlementsResult](docs/KioskEntitlementsResult.md)
+ - [Flipdish.KioskIotConnectionParameters](docs/KioskIotConnectionParameters.md)
+ - [Flipdish.KioskSettings](docs/KioskSettings.md)
+ - [Flipdish.KioskTerminalActionStateChangedEvent](docs/KioskTerminalActionStateChangedEvent.md)
+ - [Flipdish.Language](docs/Language.md)
+ - [Flipdish.LastPaymentError](docs/LastPaymentError.md)
+ - [Flipdish.LeadTime](docs/LeadTime.md)
+ - [Flipdish.LightspeedSettings](docs/LightspeedSettings.md)
+ - [Flipdish.LocalisedTimeZone](docs/LocalisedTimeZone.md)
+ - [Flipdish.LocationArea](docs/LocationArea.md)
+ - [Flipdish.LocationAreaCreatedEvent](docs/LocationAreaCreatedEvent.md)
+ - [Flipdish.LocationAreaLocation](docs/LocationAreaLocation.md)
+ - [Flipdish.LocationAreaUpdatedEvent](docs/LocationAreaUpdatedEvent.md)
+ - [Flipdish.LocationAreaWithLocations](docs/LocationAreaWithLocations.md)
+ - [Flipdish.LocationCreatedEvent](docs/LocationCreatedEvent.md)
+ - [Flipdish.LocationDeletedEvent](docs/LocationDeletedEvent.md)
+ - [Flipdish.LoginModel](docs/LoginModel.md)
+ - [Flipdish.LoginWithPinModel](docs/LoginWithPinModel.md)
+ - [Flipdish.LoyaltyCampaign](docs/LoyaltyCampaign.md)
+ - [Flipdish.LoyaltyCampaignBase](docs/LoyaltyCampaignBase.md)
+ - [Flipdish.LoyaltyCampaignCreatedEvent](docs/LoyaltyCampaignCreatedEvent.md)
+ - [Flipdish.LoyaltyCampaignDeletedEvent](docs/LoyaltyCampaignDeletedEvent.md)
+ - [Flipdish.LoyaltyCampaignUpdatedEvent](docs/LoyaltyCampaignUpdatedEvent.md)
+ - [Flipdish.LumpDiscountDetails](docs/LumpDiscountDetails.md)
+ - [Flipdish.MappedLocation](docs/MappedLocation.md)
+ - [Flipdish.MaskedPhoneNumber](docs/MaskedPhoneNumber.md)
+ - [Flipdish.Menu](docs/Menu.md)
+ - [Flipdish.MenuAsyncCreationCompletedEvent](docs/MenuAsyncCreationCompletedEvent.md)
+ - [Flipdish.MenuBase](docs/MenuBase.md)
+ - [Flipdish.MenuBulkEditEvent](docs/MenuBulkEditEvent.md)
+ - [Flipdish.MenuCatalogItem](docs/MenuCatalogItem.md)
+ - [Flipdish.MenuCheckpoint](docs/MenuCheckpoint.md)
+ - [Flipdish.MenuCheckpointCreatedEvent](docs/MenuCheckpointCreatedEvent.md)
+ - [Flipdish.MenuCreatedEvent](docs/MenuCreatedEvent.md)
+ - [Flipdish.MenuElementEditResponse](docs/MenuElementEditResponse.md)
+ - [Flipdish.MenuElementHide](docs/MenuElementHide.md)
+ - [Flipdish.MenuElementListItemResponse](docs/MenuElementListItemResponse.md)
+ - [Flipdish.MenuElementListResponse](docs/MenuElementListResponse.md)
+ - [Flipdish.MenuItemOptionSet](docs/MenuItemOptionSet.md)
+ - [Flipdish.MenuItemOptionSetBase](docs/MenuItemOptionSetBase.md)
+ - [Flipdish.MenuItemOptionSetCreatedEvent](docs/MenuItemOptionSetCreatedEvent.md)
+ - [Flipdish.MenuItemOptionSetDeletedEvent](docs/MenuItemOptionSetDeletedEvent.md)
+ - [Flipdish.MenuItemOptionSetItem](docs/MenuItemOptionSetItem.md)
+ - [Flipdish.MenuItemOptionSetItemBase](docs/MenuItemOptionSetItemBase.md)
+ - [Flipdish.MenuItemOptionSetItemCreatedEvent](docs/MenuItemOptionSetItemCreatedEvent.md)
+ - [Flipdish.MenuItemOptionSetItemDeletedEvent](docs/MenuItemOptionSetItemDeletedEvent.md)
+ - [Flipdish.MenuItemOptionSetItemUpdatedEvent](docs/MenuItemOptionSetItemUpdatedEvent.md)
+ - [Flipdish.MenuItemOptionSetUpdatedEvent](docs/MenuItemOptionSetUpdatedEvent.md)
+ - [Flipdish.MenuNutritionInfoHeader](docs/MenuNutritionInfoHeader.md)
+ - [Flipdish.MenuObjectDisplayOrders](docs/MenuObjectDisplayOrders.md)
+ - [Flipdish.MenuSection](docs/MenuSection.md)
+ - [Flipdish.MenuSectionAvailability](docs/MenuSectionAvailability.md)
+ - [Flipdish.MenuSectionAvailabilityBase](docs/MenuSectionAvailabilityBase.md)
+ - [Flipdish.MenuSectionBase](docs/MenuSectionBase.md)
+ - [Flipdish.MenuSectionCreatedEvent](docs/MenuSectionCreatedEvent.md)
+ - [Flipdish.MenuSectionDeletedEvent](docs/MenuSectionDeletedEvent.md)
+ - [Flipdish.MenuSectionItem](docs/MenuSectionItem.md)
+ - [Flipdish.MenuSectionItemBase](docs/MenuSectionItemBase.md)
+ - [Flipdish.MenuSectionItemCreatedEvent](docs/MenuSectionItemCreatedEvent.md)
+ - [Flipdish.MenuSectionItemDeletedEvent](docs/MenuSectionItemDeletedEvent.md)
+ - [Flipdish.MenuSectionItemUpdatedEvent](docs/MenuSectionItemUpdatedEvent.md)
+ - [Flipdish.MenuSectionUpdatedEvent](docs/MenuSectionUpdatedEvent.md)
+ - [Flipdish.MenuStoreNames](docs/MenuStoreNames.md)
+ - [Flipdish.MenuSummary](docs/MenuSummary.md)
+ - [Flipdish.MenuTaxDetails](docs/MenuTaxDetails.md)
+ - [Flipdish.MenuTaxRate](docs/MenuTaxRate.md)
+ - [Flipdish.MenuUpdatedEvent](docs/MenuUpdatedEvent.md)
+ - [Flipdish.MenuUploadedEvent](docs/MenuUploadedEvent.md)
+ - [Flipdish.MenuZone](docs/MenuZone.md)
+ - [Flipdish.Metadata](docs/Metadata.md)
+ - [Flipdish.Metafield](docs/Metafield.md)
+ - [Flipdish.MetafieldDefinition](docs/MetafieldDefinition.md)
+ - [Flipdish.MetafieldDefinitionRecommendation](docs/MetafieldDefinitionRecommendation.md)
+ - [Flipdish.MobileAppsImage](docs/MobileAppsImage.md)
+ - [Flipdish.MobileAppsStatistics](docs/MobileAppsStatistics.md)
+ - [Flipdish.MobileAppsSubmission](docs/MobileAppsSubmission.md)
+ - [Flipdish.MobileAppsSubmissionDetails](docs/MobileAppsSubmissionDetails.md)
+ - [Flipdish.MobileAppsSubmissionStatus](docs/MobileAppsSubmissionStatus.md)
+ - [Flipdish.MobileAppsSubmissionStatusUpdatedEvent](docs/MobileAppsSubmissionStatusUpdatedEvent.md)
+ - [Flipdish.MobileAppsSubmissionUpdatedEvent](docs/MobileAppsSubmissionUpdatedEvent.md)
+ - [Flipdish.NextStatusWithOrderType](docs/NextStatusWithOrderType.md)
+ - [Flipdish.NutritionInfo](docs/NutritionInfo.md)
+ - [Flipdish.NutritionInfoItemAddUpdateLabelModel](docs/NutritionInfoItemAddUpdateLabelModel.md)
+ - [Flipdish.NutritionInfoLabel](docs/NutritionInfoLabel.md)
+ - [Flipdish.NutritionInfoMenuItem](docs/NutritionInfoMenuItem.md)
+ - [Flipdish.NutritionInfoMenuOptionSetItem](docs/NutritionInfoMenuOptionSetItem.md)
+ - [Flipdish.NutritionInfoV2](docs/NutritionInfoV2.md)
+ - [Flipdish.NutritionInfoV2Allergen](docs/NutritionInfoV2Allergen.md)
+ - [Flipdish.NutritionInfoV2Item](docs/NutritionInfoV2Item.md)
+ - [Flipdish.OAuthApp](docs/OAuthApp.md)
+ - [Flipdish.OAuthTokenModel](docs/OAuthTokenModel.md)
+ - [Flipdish.OauthClientRedirectUri](docs/OauthClientRedirectUri.md)
+ - [Flipdish.ObjectDisplayOrder](docs/ObjectDisplayOrder.md)
+ - [Flipdish.OktaPortalFeatureFlag](docs/OktaPortalFeatureFlag.md)
+ - [Flipdish.OnboardingConfigUpdate](docs/OnboardingConfigUpdate.md)
+ - [Flipdish.OnboardingItemUpdate](docs/OnboardingItemUpdate.md)
+ - [Flipdish.Order](docs/Order.md)
+ - [Flipdish.OrderAcceptedEvent](docs/OrderAcceptedEvent.md)
+ - [Flipdish.OrderBatch](docs/OrderBatch.md)
+ - [Flipdish.OrderBatchPublishedEvent](docs/OrderBatchPublishedEvent.md)
+ - [Flipdish.OrderBatchSummary](docs/OrderBatchSummary.md)
+ - [Flipdish.OrderBatchingConfiguration](docs/OrderBatchingConfiguration.md)
+ - [Flipdish.OrderCapacityConfigUpdatedEvent](docs/OrderCapacityConfigUpdatedEvent.md)
+ - [Flipdish.OrderCreatedEvent](docs/OrderCreatedEvent.md)
+ - [Flipdish.OrderCustomerTrackingCreatedEvent](docs/OrderCustomerTrackingCreatedEvent.md)
+ - [Flipdish.OrderDeliveryInformation](docs/OrderDeliveryInformation.md)
+ - [Flipdish.OrderDeliveryInformationBase](docs/OrderDeliveryInformationBase.md)
+ - [Flipdish.OrderDeliveryTrackingStatusUpdatedEvent](docs/OrderDeliveryTrackingStatusUpdatedEvent.md)
+ - [Flipdish.OrderDispatchedEvent](docs/OrderDispatchedEvent.md)
+ - [Flipdish.OrderDropOffLocation](docs/OrderDropOffLocation.md)
+ - [Flipdish.OrderFulfillmentStatus](docs/OrderFulfillmentStatus.md)
+ - [Flipdish.OrderFulfillmentStatusBase](docs/OrderFulfillmentStatusBase.md)
+ - [Flipdish.OrderFulfillmentStatusUpdate](docs/OrderFulfillmentStatusUpdate.md)
+ - [Flipdish.OrderFulfillmentStatusUpdatedEvent](docs/OrderFulfillmentStatusUpdatedEvent.md)
+ - [Flipdish.OrderFulfillmentStatusWithConfigurationActions](docs/OrderFulfillmentStatusWithConfigurationActions.md)
+ - [Flipdish.OrderItem](docs/OrderItem.md)
+ - [Flipdish.OrderItemOption](docs/OrderItemOption.md)
+ - [Flipdish.OrderLeadTimes](docs/OrderLeadTimes.md)
+ - [Flipdish.OrderList](docs/OrderList.md)
+ - [Flipdish.OrderPaymentInformation](docs/OrderPaymentInformation.md)
+ - [Flipdish.OrderRatingUpdatedEvent](docs/OrderRatingUpdatedEvent.md)
+ - [Flipdish.OrderReference](docs/OrderReference.md)
+ - [Flipdish.OrderRefundedEvent](docs/OrderRefundedEvent.md)
+ - [Flipdish.OrderRejectedEvent](docs/OrderRejectedEvent.md)
+ - [Flipdish.OrderSummary](docs/OrderSummary.md)
+ - [Flipdish.OrderTipUpdatedEvent](docs/OrderTipUpdatedEvent.md)
+ - [Flipdish.OrderVoucherSummary](docs/OrderVoucherSummary.md)
+ - [Flipdish.OtherChargesDetails](docs/OtherChargesDetails.md)
+ - [Flipdish.OwnerEntityConfiguration](docs/OwnerEntityConfiguration.md)
+ - [Flipdish.OwnerEntityConfigurations](docs/OwnerEntityConfigurations.md)
+ - [Flipdish.PasswordResetModel](docs/PasswordResetModel.md)
+ - [Flipdish.PaymentAccount](docs/PaymentAccount.md)
+ - [Flipdish.PaymentIntent](docs/PaymentIntent.md)
+ - [Flipdish.PaymentTerminalDetails](docs/PaymentTerminalDetails.md)
+ - [Flipdish.PaymentTerminalTransactionDetails](docs/PaymentTerminalTransactionDetails.md)
+ - [Flipdish.Payout](docs/Payout.md)
+ - [Flipdish.PayoutChargeback](docs/PayoutChargeback.md)
+ - [Flipdish.PayoutDetail](docs/PayoutDetail.md)
+ - [Flipdish.PayoutOrder](docs/PayoutOrder.md)
+ - [Flipdish.PayoutOtherCharge](docs/PayoutOtherCharge.md)
+ - [Flipdish.PayoutRefund](docs/PayoutRefund.md)
+ - [Flipdish.PayoutReport3Details](docs/PayoutReport3Details.md)
+ - [Flipdish.PayoutReport3DetailsAdjustments](docs/PayoutReport3DetailsAdjustments.md)
+ - [Flipdish.PayoutReport3DetailsFlipdishFees](docs/PayoutReport3DetailsFlipdishFees.md)
+ - [Flipdish.PayoutReport3DetailsRevenue](docs/PayoutReport3DetailsRevenue.md)
+ - [Flipdish.PayoutReport3DetailsSalesLine](docs/PayoutReport3DetailsSalesLine.md)
+ - [Flipdish.PayoutReport3DetailsSummary](docs/PayoutReport3DetailsSummary.md)
+ - [Flipdish.PayoutReport3Overview](docs/PayoutReport3Overview.md)
+ - [Flipdish.PayoutReport3OverviewHeader](docs/PayoutReport3OverviewHeader.md)
+ - [Flipdish.PayoutReport3RefundedOrder](docs/PayoutReport3RefundedOrder.md)
+ - [Flipdish.PayoutReport3Store](docs/PayoutReport3Store.md)
+ - [Flipdish.PayoutRequestIds](docs/PayoutRequestIds.md)
+ - [Flipdish.PayoutStore](docs/PayoutStore.md)
+ - [Flipdish.PayoutSummary](docs/PayoutSummary.md)
+ - [Flipdish.PendingInvitation](docs/PendingInvitation.md)
+ - [Flipdish.PendingMenuChanges](docs/PendingMenuChanges.md)
+ - [Flipdish.PendingMenuChangesSummaries](docs/PendingMenuChangesSummaries.md)
+ - [Flipdish.PercentDiscountDetails](docs/PercentDiscountDetails.md)
+ - [Flipdish.PhoneCall](docs/PhoneCall.md)
+ - [Flipdish.PhoneCallEndedEvent](docs/PhoneCallEndedEvent.md)
+ - [Flipdish.PhoneCallStartedEvent](docs/PhoneCallStartedEvent.md)
+ - [Flipdish.PosRevenueDetails](docs/PosRevenueDetails.md)
+ - [Flipdish.PreOrderConfig](docs/PreOrderConfig.md)
+ - [Flipdish.PreOrderTime](docs/PreOrderTime.md)
+ - [Flipdish.PredefinedAnswer](docs/PredefinedAnswer.md)
+ - [Flipdish.PreviousOrder](docs/PreviousOrder.md)
+ - [Flipdish.PreviousOrderItem](docs/PreviousOrderItem.md)
+ - [Flipdish.PreviousOrderItemOption](docs/PreviousOrderItemOption.md)
+ - [Flipdish.Printer](docs/Printer.md)
+ - [Flipdish.PrinterAssignedToStoreEvent](docs/PrinterAssignedToStoreEvent.md)
+ - [Flipdish.PrinterTurnedOffEvent](docs/PrinterTurnedOffEvent.md)
+ - [Flipdish.PrinterTurnedOnEvent](docs/PrinterTurnedOnEvent.md)
+ - [Flipdish.PrinterUnassignedFromStoreEvent](docs/PrinterUnassignedFromStoreEvent.md)
+ - [Flipdish.ProcessPaymentIntentRequest](docs/ProcessPaymentIntentRequest.md)
+ - [Flipdish.ProcessingFeeConfig](docs/ProcessingFeeConfig.md)
+ - [Flipdish.Product](docs/Product.md)
+ - [Flipdish.ProductReference](docs/ProductReference.md)
+ - [Flipdish.PromotionAward](docs/PromotionAward.md)
+ - [Flipdish.PromotionDetails](docs/PromotionDetails.md)
+ - [Flipdish.PublishMenuChanges](docs/PublishMenuChanges.md)
+ - [Flipdish.PushNotificationDeletedEvent](docs/PushNotificationDeletedEvent.md)
+ - [Flipdish.PushNotificationRequest](docs/PushNotificationRequest.md)
+ - [Flipdish.PushNotificationResponse](docs/PushNotificationResponse.md)
+ - [Flipdish.PushNotificationScheduledEvent](docs/PushNotificationScheduledEvent.md)
+ - [Flipdish.PushNotificationSentEvent](docs/PushNotificationSentEvent.md)
+ - [Flipdish.Range](docs/Range.md)
+ - [Flipdish.ReaderActionStateInfo](docs/ReaderActionStateInfo.md)
+ - [Flipdish.RedeemInvitationResult](docs/RedeemInvitationResult.md)
+ - [Flipdish.Refund](docs/Refund.md)
+ - [Flipdish.Reject](docs/Reject.md)
+ - [Flipdish.RequestLoginPinModel](docs/RequestLoginPinModel.md)
+ - [Flipdish.RequestLoginPinResponse](docs/RequestLoginPinResponse.md)
+ - [Flipdish.RequestPasswordResetModel](docs/RequestPasswordResetModel.md)
+ - [Flipdish.RequestPasswordResetPinResponse](docs/RequestPasswordResetPinResponse.md)
+ - [Flipdish.Response](docs/Response.md)
+ - [Flipdish.RestApiArrayResultAllMetadataResult](docs/RestApiArrayResultAllMetadataResult.md)
+ - [Flipdish.RestApiArrayResultAllergen](docs/RestApiArrayResultAllergen.md)
+ - [Flipdish.RestApiArrayResultApmCurrencyDataPoint](docs/RestApiArrayResultApmCurrencyDataPoint.md)
+ - [Flipdish.RestApiArrayResultApmDataPoint](docs/RestApiArrayResultApmDataPoint.md)
+ - [Flipdish.RestApiArrayResultApmHourlyDataPoint](docs/RestApiArrayResultApmHourlyDataPoint.md)
+ - [Flipdish.RestApiArrayResultAppStoreAppConfigurationSummary](docs/RestApiArrayResultAppStoreAppConfigurationSummary.md)
+ - [Flipdish.RestApiArrayResultAppStoreAppSummary](docs/RestApiArrayResultAppStoreAppSummary.md)
+ - [Flipdish.RestApiArrayResultBankAccountSummary](docs/RestApiArrayResultBankAccountSummary.md)
+ - [Flipdish.RestApiArrayResultBusinessHoursPeriod](docs/RestApiArrayResultBusinessHoursPeriod.md)
+ - [Flipdish.RestApiArrayResultChannel](docs/RestApiArrayResultChannel.md)
+ - [Flipdish.RestApiArrayResultClientDeviceSummary](docs/RestApiArrayResultClientDeviceSummary.md)
+ - [Flipdish.RestApiArrayResultCountryWithAccountFieldsDefinitions](docs/RestApiArrayResultCountryWithAccountFieldsDefinitions.md)
+ - [Flipdish.RestApiArrayResultDeliveryZone](docs/RestApiArrayResultDeliveryZone.md)
+ - [Flipdish.RestApiArrayResultEmvTerminalWithAssignments](docs/RestApiArrayResultEmvTerminalWithAssignments.md)
+ - [Flipdish.RestApiArrayResultFulfillmentStatesConfigurationSummary](docs/RestApiArrayResultFulfillmentStatesConfigurationSummary.md)
+ - [Flipdish.RestApiArrayResultHomeAction](docs/RestApiArrayResultHomeAction.md)
+ - [Flipdish.RestApiArrayResultKioskCashPaymentSettings](docs/RestApiArrayResultKioskCashPaymentSettings.md)
+ - [Flipdish.RestApiArrayResultLocalisedTimeZone](docs/RestApiArrayResultLocalisedTimeZone.md)
+ - [Flipdish.RestApiArrayResultLocationAreaLocation](docs/RestApiArrayResultLocationAreaLocation.md)
+ - [Flipdish.RestApiArrayResultLocationAreaWithLocations](docs/RestApiArrayResultLocationAreaWithLocations.md)
+ - [Flipdish.RestApiArrayResultLoyaltyCampaign](docs/RestApiArrayResultLoyaltyCampaign.md)
+ - [Flipdish.RestApiArrayResultMenuCheckpoint](docs/RestApiArrayResultMenuCheckpoint.md)
+ - [Flipdish.RestApiArrayResultMenuElementEditResponse](docs/RestApiArrayResultMenuElementEditResponse.md)
+ - [Flipdish.RestApiArrayResultMenuElementListResponse](docs/RestApiArrayResultMenuElementListResponse.md)
+ - [Flipdish.RestApiArrayResultMenuItemOptionSet](docs/RestApiArrayResultMenuItemOptionSet.md)
+ - [Flipdish.RestApiArrayResultMenuItemOptionSetItem](docs/RestApiArrayResultMenuItemOptionSetItem.md)
+ - [Flipdish.RestApiArrayResultMenuSection](docs/RestApiArrayResultMenuSection.md)
+ - [Flipdish.RestApiArrayResultMenuSectionItem](docs/RestApiArrayResultMenuSectionItem.md)
+ - [Flipdish.RestApiArrayResultMenuStoreNames](docs/RestApiArrayResultMenuStoreNames.md)
+ - [Flipdish.RestApiArrayResultMenuSummary](docs/RestApiArrayResultMenuSummary.md)
+ - [Flipdish.RestApiArrayResultMenuTaxDetails](docs/RestApiArrayResultMenuTaxDetails.md)
+ - [Flipdish.RestApiArrayResultMenuZone](docs/RestApiArrayResultMenuZone.md)
+ - [Flipdish.RestApiArrayResultMetadata](docs/RestApiArrayResultMetadata.md)
+ - [Flipdish.RestApiArrayResultMobileAppsStatistics](docs/RestApiArrayResultMobileAppsStatistics.md)
+ - [Flipdish.RestApiArrayResultOAuthApp](docs/RestApiArrayResultOAuthApp.md)
+ - [Flipdish.RestApiArrayResultOauthClientRedirectUri](docs/RestApiArrayResultOauthClientRedirectUri.md)
+ - [Flipdish.RestApiArrayResultOrderBatch](docs/RestApiArrayResultOrderBatch.md)
+ - [Flipdish.RestApiArrayResultOrderFulfillmentStatus](docs/RestApiArrayResultOrderFulfillmentStatus.md)
+ - [Flipdish.RestApiArrayResultPayoutSummary](docs/RestApiArrayResultPayoutSummary.md)
+ - [Flipdish.RestApiArrayResultPendingInvitation](docs/RestApiArrayResultPendingInvitation.md)
+ - [Flipdish.RestApiArrayResultPendingMenuChangesSummaries](docs/RestApiArrayResultPendingMenuChangesSummaries.md)
+ - [Flipdish.RestApiArrayResultPreOrderTime](docs/RestApiArrayResultPreOrderTime.md)
+ - [Flipdish.RestApiArrayResultProcessingFeeConfig](docs/RestApiArrayResultProcessingFeeConfig.md)
+ - [Flipdish.RestApiArrayResultRedeemInvitationResult](docs/RestApiArrayResultRedeemInvitationResult.md)
+ - [Flipdish.RestApiArrayResultRestApiDefaultResponse](docs/RestApiArrayResultRestApiDefaultResponse.md)
+ - [Flipdish.RestApiArrayResultRestaurantVoucherEligibleStore](docs/RestApiArrayResultRestaurantVoucherEligibleStore.md)
+ - [Flipdish.RestApiArrayResultRestaurantVoucherPayGreenConfiguration](docs/RestApiArrayResultRestaurantVoucherPayGreenConfiguration.md)
+ - [Flipdish.RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary](docs/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary.md)
+ - [Flipdish.RestApiArrayResultRetentionCampaign](docs/RestApiArrayResultRetentionCampaign.md)
+ - [Flipdish.RestApiArrayResultSmsProviderCredential](docs/RestApiArrayResultSmsProviderCredential.md)
+ - [Flipdish.RestApiArrayResultStoreChannelAssignment](docs/RestApiArrayResultStoreChannelAssignment.md)
+ - [Flipdish.RestApiArrayResultStoreDeliveryZoneFeeConfig](docs/RestApiArrayResultStoreDeliveryZoneFeeConfig.md)
+ - [Flipdish.RestApiArrayResultStoreListItem](docs/RestApiArrayResultStoreListItem.md)
+ - [Flipdish.RestApiArrayResultStoreStatistics](docs/RestApiArrayResultStoreStatistics.md)
+ - [Flipdish.RestApiArrayResultStripeCustomConnectedAccount](docs/RestApiArrayResultStripeCustomConnectedAccount.md)
+ - [Flipdish.RestApiArrayResultSubscriptionSummary](docs/RestApiArrayResultSubscriptionSummary.md)
+ - [Flipdish.RestApiArrayResultSupportedCountry](docs/RestApiArrayResultSupportedCountry.md)
+ - [Flipdish.RestApiArrayResultTeammate](docs/RestApiArrayResultTeammate.md)
+ - [Flipdish.RestApiArrayResultUserFlipdishAccount](docs/RestApiArrayResultUserFlipdishAccount.md)
+ - [Flipdish.RestApiArrayResultUserNote](docs/RestApiArrayResultUserNote.md)
+ - [Flipdish.RestApiArrayResultUserStoreInfo](docs/RestApiArrayResultUserStoreInfo.md)
+ - [Flipdish.RestApiArrayResultVoucherDataPoint](docs/RestApiArrayResultVoucherDataPoint.md)
+ - [Flipdish.RestApiDefaultResponse](docs/RestApiDefaultResponse.md)
+ - [Flipdish.RestApiErrorResult](docs/RestApiErrorResult.md)
+ - [Flipdish.RestApiEventSearchPaginationResult](docs/RestApiEventSearchPaginationResult.md)
+ - [Flipdish.RestApiFinanceSearchPaginationResultInvoice](docs/RestApiFinanceSearchPaginationResultInvoice.md)
+ - [Flipdish.RestApiFinanceSearchPaginationResultSubscriptionInvoice](docs/RestApiFinanceSearchPaginationResultSubscriptionInvoice.md)
+ - [Flipdish.RestApiForbiddenResult](docs/RestApiForbiddenResult.md)
+ - [Flipdish.RestApiIntegerResult](docs/RestApiIntegerResult.md)
+ - [Flipdish.RestApiPaginationResultApp](docs/RestApiPaginationResultApp.md)
+ - [Flipdish.RestApiPaginationResultAppStoreAppSummary](docs/RestApiPaginationResultAppStoreAppSummary.md)
+ - [Flipdish.RestApiPaginationResultBusinessHoursOverride](docs/RestApiPaginationResultBusinessHoursOverride.md)
+ - [Flipdish.RestApiPaginationResultCatalogItem](docs/RestApiPaginationResultCatalogItem.md)
+ - [Flipdish.RestApiPaginationResultGroup](docs/RestApiPaginationResultGroup.md)
+ - [Flipdish.RestApiPaginationResultHydraDeviceDetails](docs/RestApiPaginationResultHydraDeviceDetails.md)
+ - [Flipdish.RestApiPaginationResultMetafieldDefinition](docs/RestApiPaginationResultMetafieldDefinition.md)
+ - [Flipdish.RestApiPaginationResultMetafieldDefinitionRecommendation](docs/RestApiPaginationResultMetafieldDefinitionRecommendation.md)
+ - [Flipdish.RestApiPaginationResultOAuthTokenModel](docs/RestApiPaginationResultOAuthTokenModel.md)
+ - [Flipdish.RestApiPaginationResultOrder](docs/RestApiPaginationResultOrder.md)
+ - [Flipdish.RestApiPaginationResultOrderSummary](docs/RestApiPaginationResultOrderSummary.md)
+ - [Flipdish.RestApiPaginationResultPayout](docs/RestApiPaginationResultPayout.md)
+ - [Flipdish.RestApiPaginationResultPayoutChargeback](docs/RestApiPaginationResultPayoutChargeback.md)
+ - [Flipdish.RestApiPaginationResultPayoutOrder](docs/RestApiPaginationResultPayoutOrder.md)
+ - [Flipdish.RestApiPaginationResultPayoutOtherCharge](docs/RestApiPaginationResultPayoutOtherCharge.md)
+ - [Flipdish.RestApiPaginationResultPayoutRefund](docs/RestApiPaginationResultPayoutRefund.md)
+ - [Flipdish.RestApiPaginationResultPayoutReport3RefundedOrder](docs/RestApiPaginationResultPayoutReport3RefundedOrder.md)
+ - [Flipdish.RestApiPaginationResultPendingMenuChanges](docs/RestApiPaginationResultPendingMenuChanges.md)
+ - [Flipdish.RestApiPaginationResultPhoneCall](docs/RestApiPaginationResultPhoneCall.md)
+ - [Flipdish.RestApiPaginationResultProduct](docs/RestApiPaginationResultProduct.md)
+ - [Flipdish.RestApiPaginationResultPushNotificationResponse](docs/RestApiPaginationResultPushNotificationResponse.md)
+ - [Flipdish.RestApiPaginationResultRestaurant](docs/RestApiPaginationResultRestaurant.md)
+ - [Flipdish.RestApiPaginationResultStore](docs/RestApiPaginationResultStore.md)
+ - [Flipdish.RestApiPaginationResultStoreGroup](docs/RestApiPaginationResultStoreGroup.md)
+ - [Flipdish.RestApiPaginationResultStoreGroupExtended](docs/RestApiPaginationResultStoreGroupExtended.md)
+ - [Flipdish.RestApiPaginationResultStoreHeader](docs/RestApiPaginationResultStoreHeader.md)
+ - [Flipdish.RestApiPaginationResultStoreValidationConfig](docs/RestApiPaginationResultStoreValidationConfig.md)
+ - [Flipdish.RestApiPaginationResultUserSearch](docs/RestApiPaginationResultUserSearch.md)
+ - [Flipdish.RestApiPaginationResultVoucherSummary](docs/RestApiPaginationResultVoucherSummary.md)
+ - [Flipdish.RestApiPaginationResultWebhookLog](docs/RestApiPaginationResultWebhookLog.md)
+ - [Flipdish.RestApiPaginationResultWebhookSubscription](docs/RestApiPaginationResultWebhookSubscription.md)
+ - [Flipdish.RestApiResultAcceptInvitationResult](docs/RestApiResultAcceptInvitationResult.md)
+ - [Flipdish.RestApiResultAccountDetail](docs/RestApiResultAccountDetail.md)
+ - [Flipdish.RestApiResultAccountFieldsDefinitions](docs/RestApiResultAccountFieldsDefinitions.md)
+ - [Flipdish.RestApiResultAddressFormResponse](docs/RestApiResultAddressFormResponse.md)
+ - [Flipdish.RestApiResultApmStatistics](docs/RestApiResultApmStatistics.md)
+ - [Flipdish.RestApiResultApmStatus](docs/RestApiResultApmStatus.md)
+ - [Flipdish.RestApiResultApp](docs/RestApiResultApp.md)
+ - [Flipdish.RestApiResultAppChannelAssignment](docs/RestApiResultAppChannelAssignment.md)
+ - [Flipdish.RestApiResultAppCompliance](docs/RestApiResultAppCompliance.md)
+ - [Flipdish.RestApiResultAppConfigSalesChannel](docs/RestApiResultAppConfigSalesChannel.md)
+ - [Flipdish.RestApiResultAppStoreApp](docs/RestApiResultAppStoreApp.md)
+ - [Flipdish.RestApiResultAppStoreAppConfiguration](docs/RestApiResultAppStoreAppConfiguration.md)
+ - [Flipdish.RestApiResultAppStoreAppEntitlements](docs/RestApiResultAppStoreAppEntitlements.md)
+ - [Flipdish.RestApiResultAssignedBankAccount](docs/RestApiResultAssignedBankAccount.md)
+ - [Flipdish.RestApiResultBankAccountDetail](docs/RestApiResultBankAccountDetail.md)
+ - [Flipdish.RestApiResultBluetoothTerminalStatus](docs/RestApiResultBluetoothTerminalStatus.md)
+ - [Flipdish.RestApiResultBusinessHoursOverride](docs/RestApiResultBusinessHoursOverride.md)
+ - [Flipdish.RestApiResultBusinessHoursPeriod](docs/RestApiResultBusinessHoursPeriod.md)
+ - [Flipdish.RestApiResultCardReader](docs/RestApiResultCardReader.md)
+ - [Flipdish.RestApiResultCatalogItem](docs/RestApiResultCatalogItem.md)
+ - [Flipdish.RestApiResultChannel](docs/RestApiResultChannel.md)
+ - [Flipdish.RestApiResultClientDevice](docs/RestApiResultClientDevice.md)
+ - [Flipdish.RestApiResultClientDeviceEnrollmentResult](docs/RestApiResultClientDeviceEnrollmentResult.md)
+ - [Flipdish.RestApiResultCoordinates](docs/RestApiResultCoordinates.md)
+ - [Flipdish.RestApiResultCountryFormResponse](docs/RestApiResultCountryFormResponse.md)
+ - [Flipdish.RestApiResultCreatedMenuSectionItems](docs/RestApiResultCreatedMenuSectionItems.md)
+ - [Flipdish.RestApiResultCrossSellMenuItems](docs/RestApiResultCrossSellMenuItems.md)
+ - [Flipdish.RestApiResultCustomer](docs/RestApiResultCustomer.md)
+ - [Flipdish.RestApiResultCustomers](docs/RestApiResultCustomers.md)
+ - [Flipdish.RestApiResultDeliveryZone](docs/RestApiResultDeliveryZone.md)
+ - [Flipdish.RestApiResultDnsRecordInformation](docs/RestApiResultDnsRecordInformation.md)
+ - [Flipdish.RestApiResultExecuteConfigurationActionResult](docs/RestApiResultExecuteConfigurationActionResult.md)
+ - [Flipdish.RestApiResultFileCreationResult](docs/RestApiResultFileCreationResult.md)
+ - [Flipdish.RestApiResultFileDownloadResult](docs/RestApiResultFileDownloadResult.md)
+ - [Flipdish.RestApiResultFulfillmentStatesConfiguration](docs/RestApiResultFulfillmentStatesConfiguration.md)
+ - [Flipdish.RestApiResultGroup](docs/RestApiResultGroup.md)
+ - [Flipdish.RestApiResultHasPaymentMethodResponse](docs/RestApiResultHasPaymentMethodResponse.md)
+ - [Flipdish.RestApiResultHomeStatistics](docs/RestApiResultHomeStatistics.md)
+ - [Flipdish.RestApiResultHydraConfig](docs/RestApiResultHydraConfig.md)
+ - [Flipdish.RestApiResultHydraDeviceDetails](docs/RestApiResultHydraDeviceDetails.md)
+ - [Flipdish.RestApiResultHydraStatus](docs/RestApiResultHydraStatus.md)
+ - [Flipdish.RestApiResultIndexPage](docs/RestApiResultIndexPage.md)
+ - [Flipdish.RestApiResultIndexPageBase](docs/RestApiResultIndexPageBase.md)
+ - [Flipdish.RestApiResultIntercomUserHash](docs/RestApiResultIntercomUserHash.md)
+ - [Flipdish.RestApiResultJobResponse](docs/RestApiResultJobResponse.md)
+ - [Flipdish.RestApiResultKioskEntitlementsResult](docs/RestApiResultKioskEntitlementsResult.md)
+ - [Flipdish.RestApiResultKioskIotConnectionParameters](docs/RestApiResultKioskIotConnectionParameters.md)
+ - [Flipdish.RestApiResultKioskSettings](docs/RestApiResultKioskSettings.md)
+ - [Flipdish.RestApiResultLightspeedSettings](docs/RestApiResultLightspeedSettings.md)
+ - [Flipdish.RestApiResultLocationArea](docs/RestApiResultLocationArea.md)
+ - [Flipdish.RestApiResultLocationAreaLocation](docs/RestApiResultLocationAreaLocation.md)
+ - [Flipdish.RestApiResultLocationAreaWithLocations](docs/RestApiResultLocationAreaWithLocations.md)
+ - [Flipdish.RestApiResultLoyaltyCampaign](docs/RestApiResultLoyaltyCampaign.md)
+ - [Flipdish.RestApiResultMappedLocation](docs/RestApiResultMappedLocation.md)
+ - [Flipdish.RestApiResultMenu](docs/RestApiResultMenu.md)
+ - [Flipdish.RestApiResultMenuItemOptionSet](docs/RestApiResultMenuItemOptionSet.md)
+ - [Flipdish.RestApiResultMenuItemOptionSetItem](docs/RestApiResultMenuItemOptionSetItem.md)
+ - [Flipdish.RestApiResultMenuNutritionInfoHeader](docs/RestApiResultMenuNutritionInfoHeader.md)
+ - [Flipdish.RestApiResultMenuSection](docs/RestApiResultMenuSection.md)
+ - [Flipdish.RestApiResultMenuSectionAvailability](docs/RestApiResultMenuSectionAvailability.md)
+ - [Flipdish.RestApiResultMenuSectionItem](docs/RestApiResultMenuSectionItem.md)
+ - [Flipdish.RestApiResultMenuZone](docs/RestApiResultMenuZone.md)
+ - [Flipdish.RestApiResultMetadata](docs/RestApiResultMetadata.md)
+ - [Flipdish.RestApiResultMetafieldDefinition](docs/RestApiResultMetafieldDefinition.md)
+ - [Flipdish.RestApiResultMobileAppsImage](docs/RestApiResultMobileAppsImage.md)
+ - [Flipdish.RestApiResultMobileAppsSubmission](docs/RestApiResultMobileAppsSubmission.md)
+ - [Flipdish.RestApiResultMobileAppsSubmissionDetails](docs/RestApiResultMobileAppsSubmissionDetails.md)
+ - [Flipdish.RestApiResultMobileAppsSubmissionStatus](docs/RestApiResultMobileAppsSubmissionStatus.md)
+ - [Flipdish.RestApiResultModelBase](docs/RestApiResultModelBase.md)
+ - [Flipdish.RestApiResultNutritionInfo](docs/RestApiResultNutritionInfo.md)
+ - [Flipdish.RestApiResultNutritionInfoV2](docs/RestApiResultNutritionInfoV2.md)
+ - [Flipdish.RestApiResultOAuthApp](docs/RestApiResultOAuthApp.md)
+ - [Flipdish.RestApiResultOauthClientRedirectUri](docs/RestApiResultOauthClientRedirectUri.md)
+ - [Flipdish.RestApiResultOktaPortalFeatureFlag](docs/RestApiResultOktaPortalFeatureFlag.md)
+ - [Flipdish.RestApiResultOrder](docs/RestApiResultOrder.md)
+ - [Flipdish.RestApiResultOrderBatch](docs/RestApiResultOrderBatch.md)
+ - [Flipdish.RestApiResultOrderBatchingConfiguration](docs/RestApiResultOrderBatchingConfiguration.md)
+ - [Flipdish.RestApiResultOrderDeliveryInformation](docs/RestApiResultOrderDeliveryInformation.md)
+ - [Flipdish.RestApiResultOrderFulfillmentStatus](docs/RestApiResultOrderFulfillmentStatus.md)
+ - [Flipdish.RestApiResultOrderFulfillmentStatusWithConfigurationActions](docs/RestApiResultOrderFulfillmentStatusWithConfigurationActions.md)
+ - [Flipdish.RestApiResultOrderLeadTimes](docs/RestApiResultOrderLeadTimes.md)
+ - [Flipdish.RestApiResultOrderPaymentInformation](docs/RestApiResultOrderPaymentInformation.md)
+ - [Flipdish.RestApiResultPaymentIntent](docs/RestApiResultPaymentIntent.md)
+ - [Flipdish.RestApiResultPaymentTerminalDetails](docs/RestApiResultPaymentTerminalDetails.md)
+ - [Flipdish.RestApiResultPaymentTerminalTransactionDetails](docs/RestApiResultPaymentTerminalTransactionDetails.md)
+ - [Flipdish.RestApiResultPayoutReport3Details](docs/RestApiResultPayoutReport3Details.md)
+ - [Flipdish.RestApiResultPayoutReport3Overview](docs/RestApiResultPayoutReport3Overview.md)
+ - [Flipdish.RestApiResultPreOrderConfig](docs/RestApiResultPreOrderConfig.md)
+ - [Flipdish.RestApiResultProcessingFeeConfig](docs/RestApiResultProcessingFeeConfig.md)
+ - [Flipdish.RestApiResultProduct](docs/RestApiResultProduct.md)
+ - [Flipdish.RestApiResultPushNotificationResponse](docs/RestApiResultPushNotificationResponse.md)
+ - [Flipdish.RestApiResultRedeemInvitationResult](docs/RestApiResultRedeemInvitationResult.md)
+ - [Flipdish.RestApiResultRestApiDefaultResponse](docs/RestApiResultRestApiDefaultResponse.md)
+ - [Flipdish.RestApiResultRestApiIntegerResult](docs/RestApiResultRestApiIntegerResult.md)
+ - [Flipdish.RestApiResultRestaurantVoucherPayGreenConfiguration](docs/RestApiResultRestaurantVoucherPayGreenConfiguration.md)
+ - [Flipdish.RestApiResultRestaurantVoucherPayGreenStoreConfiguration](docs/RestApiResultRestaurantVoucherPayGreenStoreConfiguration.md)
+ - [Flipdish.RestApiResultRetentionCampaign](docs/RestApiResultRetentionCampaign.md)
+ - [Flipdish.RestApiResultServiceCharge](docs/RestApiResultServiceCharge.md)
+ - [Flipdish.RestApiResultSmsProviderCredential](docs/RestApiResultSmsProviderCredential.md)
+ - [Flipdish.RestApiResultStore](docs/RestApiResultStore.md)
+ - [Flipdish.RestApiResultStoreAddress](docs/RestApiResultStoreAddress.md)
+ - [Flipdish.RestApiResultStoreChannelAssignment](docs/RestApiResultStoreChannelAssignment.md)
+ - [Flipdish.RestApiResultStoreEndOfDayReport](docs/RestApiResultStoreEndOfDayReport.md)
+ - [Flipdish.RestApiResultStoreGroup](docs/RestApiResultStoreGroup.md)
+ - [Flipdish.RestApiResultStoreGroupBase](docs/RestApiResultStoreGroupBase.md)
+ - [Flipdish.RestApiResultStoreOrderCapacityConfig](docs/RestApiResultStoreOrderCapacityConfig.md)
+ - [Flipdish.RestApiResultStripeConnectedAccount](docs/RestApiResultStripeConnectedAccount.md)
+ - [Flipdish.RestApiResultStripeTerminalConnectionToken](docs/RestApiResultStripeTerminalConnectionToken.md)
+ - [Flipdish.RestApiResultStripeTerminalLocation](docs/RestApiResultStripeTerminalLocation.md)
+ - [Flipdish.RestApiResultStuartSettings](docs/RestApiResultStuartSettings.md)
+ - [Flipdish.RestApiResultSubscription](docs/RestApiResultSubscription.md)
+ - [Flipdish.RestApiResultTeammate](docs/RestApiResultTeammate.md)
+ - [Flipdish.RestApiResultTelemetrySeriesResult](docs/RestApiResultTelemetrySeriesResult.md)
+ - [Flipdish.RestApiResultTipConfiguration](docs/RestApiResultTipConfiguration.md)
+ - [Flipdish.RestApiResultUpdateMobileAppsSubmissionStatus](docs/RestApiResultUpdateMobileAppsSubmissionStatus.md)
+ - [Flipdish.RestApiResultUserInfo](docs/RestApiResultUserInfo.md)
+ - [Flipdish.RestApiResultUserRole](docs/RestApiResultUserRole.md)
+ - [Flipdish.RestApiResultVoucher](docs/RestApiResultVoucher.md)
+ - [Flipdish.RestApiResultVoucherWithStats](docs/RestApiResultVoucherWithStats.md)
+ - [Flipdish.RestApiResultWebsiteImage](docs/RestApiResultWebsiteImage.md)
+ - [Flipdish.RestApiResultWebsiteTestimonial](docs/RestApiResultWebsiteTestimonial.md)
+ - [Flipdish.RestApiStringArrayResult](docs/RestApiStringArrayResult.md)
+ - [Flipdish.RestApiStringResult](docs/RestApiStringResult.md)
+ - [Flipdish.RestApiUnauthorizedResult](docs/RestApiUnauthorizedResult.md)
+ - [Flipdish.Restaurant](docs/Restaurant.md)
+ - [Flipdish.RestaurantVoucherAssignedStore](docs/RestaurantVoucherAssignedStore.md)
+ - [Flipdish.RestaurantVoucherEligibleStore](docs/RestaurantVoucherEligibleStore.md)
+ - [Flipdish.RestaurantVoucherPayGreenConfiguration](docs/RestaurantVoucherPayGreenConfiguration.md)
+ - [Flipdish.RestaurantVoucherPayGreenConfigurationSummary](docs/RestaurantVoucherPayGreenConfigurationSummary.md)
+ - [Flipdish.RestaurantVoucherPayGreenStoreConfiguration](docs/RestaurantVoucherPayGreenStoreConfiguration.md)
+ - [Flipdish.RetentionCampaign](docs/RetentionCampaign.md)
+ - [Flipdish.RetentionCampaignBase](docs/RetentionCampaignBase.md)
+ - [Flipdish.RetentionCampaignCreatedEvent](docs/RetentionCampaignCreatedEvent.md)
+ - [Flipdish.RetentionCampaignDeletedEvent](docs/RetentionCampaignDeletedEvent.md)
+ - [Flipdish.RetentionCampaignUpdatedEvent](docs/RetentionCampaignUpdatedEvent.md)
+ - [Flipdish.RevenueAdjustmentsDetails](docs/RevenueAdjustmentsDetails.md)
+ - [Flipdish.RevenueDetail](docs/RevenueDetail.md)
+ - [Flipdish.SafeWaitHandle](docs/SafeWaitHandle.md)
+ - [Flipdish.SearchCriteria](docs/SearchCriteria.md)
+ - [Flipdish.ServiceCharge](docs/ServiceCharge.md)
+ - [Flipdish.SetOrderBatchingConfiguration](docs/SetOrderBatchingConfiguration.md)
+ - [Flipdish.SetPasswordWithPinModel](docs/SetPasswordWithPinModel.md)
+ - [Flipdish.SetVoucherValidityPeriodsSimplifiedRequest](docs/SetVoucherValidityPeriodsSimplifiedRequest.md)
+ - [Flipdish.Setting](docs/Setting.md)
+ - [Flipdish.SignupStep](docs/SignupStep.md)
+ - [Flipdish.SmsInfo](docs/SmsInfo.md)
+ - [Flipdish.SmsProviderCredential](docs/SmsProviderCredential.md)
+ - [Flipdish.SmsProviderCredentialUpdateRequest](docs/SmsProviderCredentialUpdateRequest.md)
+ - [Flipdish.SmsReceivedEvent](docs/SmsReceivedEvent.md)
+ - [Flipdish.StatisticsCurrencyDataPoint](docs/StatisticsCurrencyDataPoint.md)
+ - [Flipdish.Store](docs/Store.md)
+ - [Flipdish.StoreAddress](docs/StoreAddress.md)
+ - [Flipdish.StoreAddressBase](docs/StoreAddressBase.md)
+ - [Flipdish.StoreAddressForm](docs/StoreAddressForm.md)
+ - [Flipdish.StoreAddressUpdatedEvent](docs/StoreAddressUpdatedEvent.md)
+ - [Flipdish.StoreArchivedEvent](docs/StoreArchivedEvent.md)
+ - [Flipdish.StoreBase](docs/StoreBase.md)
+ - [Flipdish.StoreBusinessHoursOverrideCreatedEvent](docs/StoreBusinessHoursOverrideCreatedEvent.md)
+ - [Flipdish.StoreBusinessHoursOverrideDeletedEvent](docs/StoreBusinessHoursOverrideDeletedEvent.md)
+ - [Flipdish.StoreCampaignStartTime](docs/StoreCampaignStartTime.md)
+ - [Flipdish.StoreChannelAssignment](docs/StoreChannelAssignment.md)
+ - [Flipdish.StoreCloneSettings](docs/StoreCloneSettings.md)
+ - [Flipdish.StoreCollectionSettings](docs/StoreCollectionSettings.md)
+ - [Flipdish.StoreConfig](docs/StoreConfig.md)
+ - [Flipdish.StoreCreateBase](docs/StoreCreateBase.md)
+ - [Flipdish.StoreCreatedEvent](docs/StoreCreatedEvent.md)
+ - [Flipdish.StoreDataPoint](docs/StoreDataPoint.md)
+ - [Flipdish.StoreDeletedEvent](docs/StoreDeletedEvent.md)
+ - [Flipdish.StoreDeliveryZoneFeeConfig](docs/StoreDeliveryZoneFeeConfig.md)
+ - [Flipdish.StoreDeliveryZoneFeeConfigUpdateRequest](docs/StoreDeliveryZoneFeeConfigUpdateRequest.md)
+ - [Flipdish.StoreEndOfDayReport](docs/StoreEndOfDayReport.md)
+ - [Flipdish.StoreFeeConfig](docs/StoreFeeConfig.md)
+ - [Flipdish.StoreFeeConfigUpdatedEvent](docs/StoreFeeConfigUpdatedEvent.md)
+ - [Flipdish.StoreGroup](docs/StoreGroup.md)
+ - [Flipdish.StoreGroupBase](docs/StoreGroupBase.md)
+ - [Flipdish.StoreGroupCreatedEvent](docs/StoreGroupCreatedEvent.md)
+ - [Flipdish.StoreGroupDeletedEvent](docs/StoreGroupDeletedEvent.md)
+ - [Flipdish.StoreGroupExtended](docs/StoreGroupExtended.md)
+ - [Flipdish.StoreGroupUpdatedEvent](docs/StoreGroupUpdatedEvent.md)
+ - [Flipdish.StoreHeader](docs/StoreHeader.md)
+ - [Flipdish.StoreItemHeader](docs/StoreItemHeader.md)
+ - [Flipdish.StoreKioskSetting](docs/StoreKioskSetting.md)
+ - [Flipdish.StoreKioskSettingUpdatedEvent](docs/StoreKioskSettingUpdatedEvent.md)
+ - [Flipdish.StoreListItem](docs/StoreListItem.md)
+ - [Flipdish.StoreLogoCreatedEvent](docs/StoreLogoCreatedEvent.md)
+ - [Flipdish.StoreLogoDeletedEvent](docs/StoreLogoDeletedEvent.md)
+ - [Flipdish.StoreLogoUpdatedEvent](docs/StoreLogoUpdatedEvent.md)
+ - [Flipdish.StoreMenuAssignedEvent](docs/StoreMenuAssignedEvent.md)
+ - [Flipdish.StoreNote](docs/StoreNote.md)
+ - [Flipdish.StoreOpeningHoursUpdatedEvent](docs/StoreOpeningHoursUpdatedEvent.md)
+ - [Flipdish.StoreOrderCapacityConfig](docs/StoreOrderCapacityConfig.md)
+ - [Flipdish.StoreOrderCapacityConfigEditModel](docs/StoreOrderCapacityConfigEditModel.md)
+ - [Flipdish.StoreOrderCapacityPeriod](docs/StoreOrderCapacityPeriod.md)
+ - [Flipdish.StorePreOrderConfigUpdatedEvent](docs/StorePreOrderConfigUpdatedEvent.md)
+ - [Flipdish.StorePublishedEvent](docs/StorePublishedEvent.md)
+ - [Flipdish.StoreServiceChargeUpdatedEvent](docs/StoreServiceChargeUpdatedEvent.md)
+ - [Flipdish.StoreStatistics](docs/StoreStatistics.md)
+ - [Flipdish.StoreSummary](docs/StoreSummary.md)
+ - [Flipdish.StoreTipUpdatedEvent](docs/StoreTipUpdatedEvent.md)
+ - [Flipdish.StoreUnarchivedEvent](docs/StoreUnarchivedEvent.md)
+ - [Flipdish.StoreUnpublishedEvent](docs/StoreUnpublishedEvent.md)
+ - [Flipdish.StoreUpdatedEvent](docs/StoreUpdatedEvent.md)
+ - [Flipdish.StoreValidationConfig](docs/StoreValidationConfig.md)
+ - [Flipdish.Stream](docs/Stream.md)
+ - [Flipdish.StripeAccountLinkRequest](docs/StripeAccountLinkRequest.md)
+ - [Flipdish.StripeConnectedAccount](docs/StripeConnectedAccount.md)
+ - [Flipdish.StripeConnectedAccountInfo](docs/StripeConnectedAccountInfo.md)
+ - [Flipdish.StripeCustomConnectedAccount](docs/StripeCustomConnectedAccount.md)
+ - [Flipdish.StripeTerminalConnectionToken](docs/StripeTerminalConnectionToken.md)
+ - [Flipdish.StripeTerminalLocation](docs/StripeTerminalLocation.md)
+ - [Flipdish.StuartSettings](docs/StuartSettings.md)
+ - [Flipdish.StuartSettingsTransportPrices](docs/StuartSettingsTransportPrices.md)
+ - [Flipdish.Subscription](docs/Subscription.md)
+ - [Flipdish.SubscriptionInvoice](docs/SubscriptionInvoice.md)
+ - [Flipdish.SubscriptionProduct](docs/SubscriptionProduct.md)
+ - [Flipdish.SubscriptionStore](docs/SubscriptionStore.md)
+ - [Flipdish.SubscriptionSummary](docs/SubscriptionSummary.md)
+ - [Flipdish.SupportedCountry](docs/SupportedCountry.md)
+ - [Flipdish.TaxItem](docs/TaxItem.md)
+ - [Flipdish.TaxRate](docs/TaxRate.md)
+ - [Flipdish.Teammate](docs/Teammate.md)
+ - [Flipdish.TeammateBase](docs/TeammateBase.md)
+ - [Flipdish.TeammateDeletedEvent](docs/TeammateDeletedEvent.md)
+ - [Flipdish.TeammateInviteAcceptedEvent](docs/TeammateInviteAcceptedEvent.md)
+ - [Flipdish.TeammateInviteSentEvent](docs/TeammateInviteSentEvent.md)
+ - [Flipdish.TeammateUpdatedEvent](docs/TeammateUpdatedEvent.md)
+ - [Flipdish.TelemetrySeriesProperty](docs/TelemetrySeriesProperty.md)
+ - [Flipdish.TelemetrySeriesQueryParameters](docs/TelemetrySeriesQueryParameters.md)
+ - [Flipdish.TelemetrySeriesResult](docs/TelemetrySeriesResult.md)
+ - [Flipdish.TelephonyConfig](docs/TelephonyConfig.md)
+ - [Flipdish.TelephonyConfigUpdatedEvent](docs/TelephonyConfigUpdatedEvent.md)
+ - [Flipdish.ThirdPartyFeesDetails](docs/ThirdPartyFeesDetails.md)
+ - [Flipdish.TipConfiguration](docs/TipConfiguration.md)
+ - [Flipdish.UnRegisterCardReaderRequest](docs/UnRegisterCardReaderRequest.md)
+ - [Flipdish.UpcomingInvoice](docs/UpcomingInvoice.md)
+ - [Flipdish.UpdateAppStoreApp](docs/UpdateAppStoreApp.md)
+ - [Flipdish.UpdateAppStoreAppConfiguration](docs/UpdateAppStoreAppConfiguration.md)
+ - [Flipdish.UpdateAppStoreAppConfigurationValuesBatch](docs/UpdateAppStoreAppConfigurationValuesBatch.md)
+ - [Flipdish.UpdateAppStoreAppConfigurationWebhookDTO](docs/UpdateAppStoreAppConfigurationWebhookDTO.md)
+ - [Flipdish.UpdateAppStoreAppExternalProduct](docs/UpdateAppStoreAppExternalProduct.md)
+ - [Flipdish.UpdateCatalogGroupReference](docs/UpdateCatalogGroupReference.md)
+ - [Flipdish.UpdateCatalogItem](docs/UpdateCatalogItem.md)
+ - [Flipdish.UpdateDriverNotificationToken](docs/UpdateDriverNotificationToken.md)
+ - [Flipdish.UpdateDriverProfileModel](docs/UpdateDriverProfileModel.md)
+ - [Flipdish.UpdateFulfillmentStatesConfiguration](docs/UpdateFulfillmentStatesConfiguration.md)
+ - [Flipdish.UpdateGroup](docs/UpdateGroup.md)
+ - [Flipdish.UpdateGroupReference](docs/UpdateGroupReference.md)
+ - [Flipdish.UpdateLocationArea](docs/UpdateLocationArea.md)
+ - [Flipdish.UpdateMetafieldDefinition](docs/UpdateMetafieldDefinition.md)
+ - [Flipdish.UpdateMobileAppsSubmissionStatus](docs/UpdateMobileAppsSubmissionStatus.md)
+ - [Flipdish.UpdatePayGreenConfigurationRequest](docs/UpdatePayGreenConfigurationRequest.md)
+ - [Flipdish.UpdateProduct](docs/UpdateProduct.md)
+ - [Flipdish.UpdateProductReference](docs/UpdateProductReference.md)
+ - [Flipdish.UpdateStorePayGreenConfigurationRequest](docs/UpdateStorePayGreenConfigurationRequest.md)
+ - [Flipdish.UpdateTipConfiguration](docs/UpdateTipConfiguration.md)
+ - [Flipdish.UpdateVoucher](docs/UpdateVoucher.md)
+ - [Flipdish.UpdateVoucherUsage](docs/UpdateVoucherUsage.md)
+ - [Flipdish.UserAnsweredSignupQuestionsEvent](docs/UserAnsweredSignupQuestionsEvent.md)
+ - [Flipdish.UserCreatedEvent](docs/UserCreatedEvent.md)
+ - [Flipdish.UserDeletedEvent](docs/UserDeletedEvent.md)
+ - [Flipdish.UserEventInfo](docs/UserEventInfo.md)
+ - [Flipdish.UserFlipdishAccount](docs/UserFlipdishAccount.md)
+ - [Flipdish.UserInfo](docs/UserInfo.md)
+ - [Flipdish.UserLoginEvent](docs/UserLoginEvent.md)
+ - [Flipdish.UserMonthlyCommission](docs/UserMonthlyCommission.md)
+ - [Flipdish.UserNote](docs/UserNote.md)
+ - [Flipdish.UserPasswordCreatedEvent](docs/UserPasswordCreatedEvent.md)
+ - [Flipdish.UserRole](docs/UserRole.md)
+ - [Flipdish.UserSearch](docs/UserSearch.md)
+ - [Flipdish.UserStoreInfo](docs/UserStoreInfo.md)
+ - [Flipdish.UserUpdatedEvent](docs/UserUpdatedEvent.md)
+ - [Flipdish.UserWhiteLabelConfig](docs/UserWhiteLabelConfig.md)
+ - [Flipdish.UserWhiteLabelInfo](docs/UserWhiteLabelInfo.md)
+ - [Flipdish.ValidValue](docs/ValidValue.md)
+ - [Flipdish.ValidationErrorResult](docs/ValidationErrorResult.md)
+ - [Flipdish.ValidityPeriod](docs/ValidityPeriod.md)
+ - [Flipdish.Voucher](docs/Voucher.md)
+ - [Flipdish.VoucherAppliedEvent](docs/VoucherAppliedEvent.md)
+ - [Flipdish.VoucherCreatedEvent](docs/VoucherCreatedEvent.md)
+ - [Flipdish.VoucherDataPoint](docs/VoucherDataPoint.md)
+ - [Flipdish.VoucherDeletedEvent](docs/VoucherDeletedEvent.md)
+ - [Flipdish.VoucherSummary](docs/VoucherSummary.md)
+ - [Flipdish.VoucherUpdatedEvent](docs/VoucherUpdatedEvent.md)
+ - [Flipdish.VoucherWithStats](docs/VoucherWithStats.md)
+ - [Flipdish.WaitHandle](docs/WaitHandle.md)
+ - [Flipdish.WebhookEventSample](docs/WebhookEventSample.md)
+ - [Flipdish.WebhookLog](docs/WebhookLog.md)
+ - [Flipdish.WebhookSubscription](docs/WebhookSubscription.md)
+ - [Flipdish.WebhookSubscriptionCreatedEvent](docs/WebhookSubscriptionCreatedEvent.md)
+ - [Flipdish.WebhookSubscriptionDeletedEvent](docs/WebhookSubscriptionDeletedEvent.md)
+ - [Flipdish.WebhookSubscriptionEventInfo](docs/WebhookSubscriptionEventInfo.md)
+ - [Flipdish.WebhookSubscriptionUpdatedEvent](docs/WebhookSubscriptionUpdatedEvent.md)
+ - [Flipdish.WebsiteImage](docs/WebsiteImage.md)
+ - [Flipdish.WebsiteTestimonial](docs/WebsiteTestimonial.md)
+ - [Flipdish.WebsiteTestimonialBase](docs/WebsiteTestimonialBase.md)
+ - [Flipdish.WebsiteUpdatedEvent](docs/WebsiteUpdatedEvent.md)
+ - [Flipdish.WebsiteVanityUrlUpdatedEvent](docs/WebsiteVanityUrlUpdatedEvent.md)
+ - [Flipdish.WhiteLabelConfig](docs/WhiteLabelConfig.md)
+
+
+## Documentation for Authorization
+
+
+
+### oauth2
+
+
+- **Type**: OAuth
+- **Flow**: implicit
+- **Authorization URL**: https://api.flipdish.co/identity/connect/authorize
+- **Scopes**:
+ - api: Access to Flipdish API
+
diff --git a/docs/Accept.md b/docs/Accept.md
new file mode 100644
index 00000000..2560747f
--- /dev/null
+++ b/docs/Accept.md
@@ -0,0 +1,9 @@
+# Flipdish.Accept
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EstimatedMinutesForDelivery** | **Number** | Estimated minutes for delivery | [optional]
+
+
diff --git a/docs/AcceptInvitationResult.md b/docs/AcceptInvitationResult.md
new file mode 100644
index 00000000..72750d39
--- /dev/null
+++ b/docs/AcceptInvitationResult.md
@@ -0,0 +1,10 @@
+# Flipdish.AcceptInvitationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsNewUser** | **Boolean** | Bool indicating if the user accepting the invitation is a new user | [optional]
+**InvitedEmailAddress** | **String** | The email address that was invited. | [optional]
+
+
diff --git a/docs/AccountDetail.md b/docs/AccountDetail.md
new file mode 100644
index 00000000..0f578c25
--- /dev/null
+++ b/docs/AccountDetail.md
@@ -0,0 +1,19 @@
+# Flipdish.AccountDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email | [optional]
+**SignupSteps** | [**[SignupStep]**](SignupStep.md) | Signup steps | [optional]
+**IsVerified** | **Boolean** | Is account email verified | [optional]
+**IsSelfServeUser** | **Boolean** | is the account a Self Server | [optional]
+**AccountId** | **Number** | Accounts Id | [optional]
+**Name** | **String** | Name | [optional]
+**Language** | **String** | Language Id | [optional]
+**TimeZoneInfoId** | **String** | Time Zone Info Id | [optional]
+**DisplayTimesInUserLocalTimeZone** | **Boolean** | Display the time in time zone local to the user | [optional]
+**ShowHiddenFeatures** | **Boolean** | Show hidden features | [optional]
+**CreatedAt** | **Date** | User created at | [optional]
+
+
diff --git a/docs/AccountDetailBase.md b/docs/AccountDetailBase.md
new file mode 100644
index 00000000..dd8df5c4
--- /dev/null
+++ b/docs/AccountDetailBase.md
@@ -0,0 +1,14 @@
+# Flipdish.AccountDetailBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name | [optional]
+**Language** | **String** | Language Id | [optional]
+**TimeZoneInfoId** | **String** | Time Zone Info Id | [optional]
+**DisplayTimesInUserLocalTimeZone** | **Boolean** | Display the time in time zone local to the user | [optional]
+**ShowHiddenFeatures** | **Boolean** | Show hidden features | [optional]
+**CreatedAt** | **Date** | User created at | [optional]
+
+
diff --git a/docs/AccountFieldDefinition.md b/docs/AccountFieldDefinition.md
new file mode 100644
index 00000000..9381edc5
--- /dev/null
+++ b/docs/AccountFieldDefinition.md
@@ -0,0 +1,59 @@
+# Flipdish.AccountFieldDefinition
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **String** | Depending on the Key, the field's value will be stored in a different field in PayeeBankAccountData | [optional]
+**DisplayName** | **String** | Display name of the field | [optional]
+**Type** | **String** | There are some fields that are of type known to the frontend (IBAN, Swift) -- for those frontend should use its own validation library, e.g. ibantools | [optional]
+**MinLength** | **Number** | Minimum length of the field | [optional]
+**MaxLength** | **Number** | Maximum length of the field | [optional]
+**DigitsOnly** | **Boolean** | Is the field digits (numeric) only | [optional]
+**Regex** | **String** | Regex for validating the field (if specified) | [optional]
+
+
+
+## Enum: KeyEnum
+
+
+* `Iban` (value: `"Iban"`)
+
+* `AccountNumber` (value: `"AccountNumber"`)
+
+* `RoutingNumber` (value: `"RoutingNumber"`)
+
+* `BSB` (value: `"BSB"`)
+
+* `BranchCode` (value: `"BranchCode"`)
+
+* `BankCode` (value: `"BankCode"`)
+
+* `InstitutionNumber` (value: `"InstitutionNumber"`)
+
+* `TransitNumber` (value: `"TransitNumber"`)
+
+* `ClearingCode` (value: `"ClearingCode"`)
+
+* `IfscCode` (value: `"IfscCode"`)
+
+* `Clabe` (value: `"Clabe"`)
+
+* `SortCode` (value: `"SortCode"`)
+
+* `Swift` (value: `"Swift"`)
+
+
+
+
+
+## Enum: TypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Iban` (value: `"Iban"`)
+
+
+
+
diff --git a/docs/AccountFieldKeyValuePair.md b/docs/AccountFieldKeyValuePair.md
new file mode 100644
index 00000000..c82b2400
--- /dev/null
+++ b/docs/AccountFieldKeyValuePair.md
@@ -0,0 +1,43 @@
+# Flipdish.AccountFieldKeyValuePair
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **String** | Depending on the Key, the field's value will be stored in a different field in PayeeBankAccountData | [optional]
+**Value** | **String** | The value of the field | [optional]
+
+
+
+## Enum: KeyEnum
+
+
+* `Iban` (value: `"Iban"`)
+
+* `AccountNumber` (value: `"AccountNumber"`)
+
+* `RoutingNumber` (value: `"RoutingNumber"`)
+
+* `BSB` (value: `"BSB"`)
+
+* `BranchCode` (value: `"BranchCode"`)
+
+* `BankCode` (value: `"BankCode"`)
+
+* `InstitutionNumber` (value: `"InstitutionNumber"`)
+
+* `TransitNumber` (value: `"TransitNumber"`)
+
+* `ClearingCode` (value: `"ClearingCode"`)
+
+* `IfscCode` (value: `"IfscCode"`)
+
+* `Clabe` (value: `"Clabe"`)
+
+* `SortCode` (value: `"SortCode"`)
+
+* `Swift` (value: `"Swift"`)
+
+
+
+
diff --git a/docs/AccountFieldsDefinitions.md b/docs/AccountFieldsDefinitions.md
new file mode 100644
index 00000000..83316b6d
--- /dev/null
+++ b/docs/AccountFieldsDefinitions.md
@@ -0,0 +1,9 @@
+# Flipdish.AccountFieldsDefinitions
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DefinitionsPerCountry** | **{String: [AccountFieldDefinition]}** | List of field definitions per country | [optional]
+
+
diff --git a/docs/AccountsApi.md b/docs/AccountsApi.md
new file mode 100644
index 00000000..5f8fa86b
--- /dev/null
+++ b/docs/AccountsApi.md
@@ -0,0 +1,858 @@
+# Flipdish.AccountsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**answerSignUpQuestion**](AccountsApi.md#answerSignUpQuestion) | **POST** /api/v1.0/accounts/signupstep/{signupStepAction}/answer |
+[**changePassword**](AccountsApi.md#changePassword) | **PUT** /api/v1.0/accounts/password |
+[**changePasswordWithPin**](AccountsApi.md#changePasswordWithPin) | **PUT** /api/v1.0/accounts/password/pin |
+[**createAccount**](AccountsApi.md#createAccount) | **POST** /api/v1.0/accounts |
+[**createBasicAccount**](AccountsApi.md#createBasicAccount) | **POST** /api/v1.0/accounts/basic-account |
+[**getAccountDetails**](AccountsApi.md#getAccountDetails) | **GET** /api/v1.0/accounts |
+[**getLocalisedTimeZones**](AccountsApi.md#getLocalisedTimeZones) | **GET** /api/v1.0/accounts/timezones |
+[**login**](AccountsApi.md#login) | **POST** /api/v1.0/accounts/login |
+[**loginSso**](AccountsApi.md#loginSso) | **POST** /api/v1.0/accounts/login/sso |
+[**loginWithPin**](AccountsApi.md#loginWithPin) | **POST** /api/v1.0/accounts/login/pin |
+[**logout**](AccountsApi.md#logout) | **POST** /api/v1.0/accounts/logout |
+[**passwordResetWithToken**](AccountsApi.md#passwordResetWithToken) | **POST** /api/v1.0/accounts/password |
+[**recaptchaValidate**](AccountsApi.md#recaptchaValidate) | **POST** /api/v1.0/accounts/recaptcha |
+[**requestLoginPin**](AccountsApi.md#requestLoginPin) | **POST** /api/v1.0/accounts/pin |
+[**requestPasswordReset**](AccountsApi.md#requestPasswordReset) | **POST** /api/v1.0/accounts/passwordreset |
+[**sendPinForPasswordReset**](AccountsApi.md#sendPinForPasswordReset) | **POST** /api/v1.0/accounts/password/resetpin |
+[**skipSignupStep**](AccountsApi.md#skipSignupStep) | **POST** /api/v1.0/accounts/signupstep/{signupStepAction}/skip |
+[**updateAccount**](AccountsApi.md#updateAccount) | **PUT** /api/v1.0/accounts |
+
+
+
+## answerSignUpQuestion
+
+> answerSignUpQuestion(signupStepAction, answerId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let signupStepAction = "signupStepAction_example"; // String |
+let answerId = 56; // Number |
+apiInstance.answerSignUpQuestion(signupStepAction, answerId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **signupStepAction** | **String**| |
+ **answerId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## changePassword
+
+> changePassword(changePasswordModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let changePasswordModel = new Flipdish.ChangePasswordModel(); // ChangePasswordModel |
+apiInstance.changePassword(changePasswordModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **changePasswordModel** | [**ChangePasswordModel**](ChangePasswordModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## changePasswordWithPin
+
+> changePasswordWithPin(changePasswordModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let changePasswordModel = new Flipdish.SetPasswordWithPinModel(); // SetPasswordWithPinModel |
+apiInstance.changePasswordWithPin(changePasswordModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **changePasswordModel** | [**SetPasswordWithPinModel**](SetPasswordWithPinModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## createAccount
+
+> createAccount(createAccountModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let createAccountModel = new Flipdish.CreateAccountModel(); // CreateAccountModel |
+apiInstance.createAccount(createAccountModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **createAccountModel** | [**CreateAccountModel**](CreateAccountModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
+
+## createBasicAccount
+
+> String createBasicAccount(basicAccountModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let basicAccountModel = new Flipdish.CreateBasicAccountModel(); // CreateBasicAccountModel |
+apiInstance.createBasicAccount(basicAccountModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **basicAccountModel** | [**CreateBasicAccountModel**](CreateBasicAccountModel.md)| |
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getAccountDetails
+
+> RestApiResultAccountDetail getAccountDetails()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+apiInstance.getAccountDetails((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultAccountDetail**](RestApiResultAccountDetail.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getLocalisedTimeZones
+
+> RestApiArrayResultLocalisedTimeZone getLocalisedTimeZones()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+apiInstance.getLocalisedTimeZones((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiArrayResultLocalisedTimeZone**](RestApiArrayResultLocalisedTimeZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## login
+
+> login(loginModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let loginModel = new Flipdish.LoginModel(); // LoginModel |
+apiInstance.login(loginModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **loginModel** | [**LoginModel**](LoginModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## loginSso
+
+> loginSso()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+apiInstance.loginSso((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## loginWithPin
+
+> loginWithPin(loginModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let loginModel = new Flipdish.LoginWithPinModel(); // LoginWithPinModel |
+apiInstance.loginWithPin(loginModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **loginModel** | [**LoginWithPinModel**](LoginWithPinModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## logout
+
+> logout()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+apiInstance.logout((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## passwordResetWithToken
+
+> passwordResetWithToken(passwordResetModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let passwordResetModel = new Flipdish.PasswordResetModel(); // PasswordResetModel |
+apiInstance.passwordResetWithToken(passwordResetModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **passwordResetModel** | [**PasswordResetModel**](PasswordResetModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
+
+## recaptchaValidate
+
+> recaptchaValidate(token)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let token = "token_example"; // String |
+apiInstance.recaptchaValidate(token, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **token** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
+
+## requestLoginPin
+
+> RequestLoginPinResponse requestLoginPin(requestLoginPinRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let requestLoginPinRequest = new Flipdish.RequestLoginPinModel(); // RequestLoginPinModel |
+apiInstance.requestLoginPin(requestLoginPinRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requestLoginPinRequest** | [**RequestLoginPinModel**](RequestLoginPinModel.md)| |
+
+### Return type
+
+[**RequestLoginPinResponse**](RequestLoginPinResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## requestPasswordReset
+
+> requestPasswordReset(requestPasswordResetModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let requestPasswordResetModel = new Flipdish.RequestPasswordResetModel(); // RequestPasswordResetModel |
+apiInstance.requestPasswordReset(requestPasswordResetModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requestPasswordResetModel** | [**RequestPasswordResetModel**](RequestPasswordResetModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
+
+## sendPinForPasswordReset
+
+> RequestPasswordResetPinResponse sendPinForPasswordReset(requestPasswordResetRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let requestPasswordResetRequest = new Flipdish.RequestPasswordResetModel(); // RequestPasswordResetModel |
+apiInstance.sendPinForPasswordReset(requestPasswordResetRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **requestPasswordResetRequest** | [**RequestPasswordResetModel**](RequestPasswordResetModel.md)| |
+
+### Return type
+
+[**RequestPasswordResetPinResponse**](RequestPasswordResetPinResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## skipSignupStep
+
+> skipSignupStep(signupStepAction)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let signupStepAction = "signupStepAction_example"; // String |
+apiInstance.skipSignupStep(signupStepAction, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **signupStepAction** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateAccount
+
+> updateAccount(updateAccountModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AccountsApi();
+let updateAccountModel = new Flipdish.AccountDetailBase(); // AccountDetailBase |
+apiInstance.updateAccount(updateAccountModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **updateAccountModel** | [**AccountDetailBase**](AccountDetailBase.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
diff --git a/docs/AddressApi.md b/docs/AddressApi.md
new file mode 100644
index 00000000..4e389250
--- /dev/null
+++ b/docs/AddressApi.md
@@ -0,0 +1,262 @@
+# Flipdish.AddressApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addressTemplates**](AddressApi.md#addressTemplates) | **POST** /api/v1.0/address/templates |
+[**formByApp**](AddressApi.md#formByApp) | **GET** /api/v1.0/app/{appId}/address/form |
+[**formByCountry**](AddressApi.md#formByCountry) | **GET** /api/v1.0/address/country/{countryCode}/form |
+[**formatGoogleAddress**](AddressApi.md#formatGoogleAddress) | **POST** /api/v1.0/address/google |
+[**getCountries**](AddressApi.md#getCountries) | **GET** /api/v1.0/address/countries |
+
+
+
+## addressTemplates
+
+> RestApiStringResult addressTemplates(address)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AddressApi();
+let address = new Flipdish.StoreAddressForm(); // StoreAddressForm |
+apiInstance.addressTemplates(address, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **address** | [**StoreAddressForm**](StoreAddressForm.md)| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## formByApp
+
+> RestApiResultAddressFormResponse formByApp(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AddressApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'language': "language_example" // String |
+};
+apiInstance.formByApp(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **language** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultAddressFormResponse**](RestApiResultAddressFormResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## formByCountry
+
+> RestApiResultAddressFormResponse formByCountry(countryCode, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AddressApi();
+let countryCode = "countryCode_example"; // String |
+let opts = {
+ 'language': "language_example" // String |
+};
+apiInstance.formByCountry(countryCode, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **countryCode** | **String**| |
+ **language** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultAddressFormResponse**](RestApiResultAddressFormResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## formatGoogleAddress
+
+> RestApiResultAddressFormResponse formatGoogleAddress(googleAddress, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AddressApi();
+let googleAddress = new Flipdish.GoogleAddress(); // GoogleAddress |
+let opts = {
+ 'language': "language_example" // String |
+};
+apiInstance.formatGoogleAddress(googleAddress, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **googleAddress** | [**GoogleAddress**](GoogleAddress.md)| |
+ **language** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultAddressFormResponse**](RestApiResultAddressFormResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getCountries
+
+> RestApiResultCountryFormResponse getCountries(opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AddressApi();
+let opts = {
+ 'language': "language_example" // String |
+};
+apiInstance.getCountries(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **language** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultCountryFormResponse**](RestApiResultCountryFormResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/AddressFormDisplayFormat.md b/docs/AddressFormDisplayFormat.md
new file mode 100644
index 00000000..39c1e5a1
--- /dev/null
+++ b/docs/AddressFormDisplayFormat.md
@@ -0,0 +1,10 @@
+# Flipdish.AddressFormDisplayFormat
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OneLine** | **String** | | [optional]
+**TwoLines** | **[String]** | | [optional]
+
+
diff --git a/docs/AddressFormResponse.md b/docs/AddressFormResponse.md
new file mode 100644
index 00000000..54804554
--- /dev/null
+++ b/docs/AddressFormResponse.md
@@ -0,0 +1,12 @@
+# Flipdish.AddressFormResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FormData** | [**[DynamicFormField]**](DynamicFormField.md) | List of field definitions. | [optional]
+**CountryCode** | **String** | ISO two letter code. | [optional]
+**Language** | **String** | ISO culture code. | [optional]
+**DisplayFormat** | [**AddressFormDisplayFormat**](AddressFormDisplayFormat.md) | | [optional]
+
+
diff --git a/docs/AllMetadataResult.md b/docs/AllMetadataResult.md
new file mode 100644
index 00000000..6f81b22d
--- /dev/null
+++ b/docs/AllMetadataResult.md
@@ -0,0 +1,10 @@
+# Flipdish.AllMetadataResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemMetadata** | [**[Metadata]**](Metadata.md) | Menu item metadata | [optional]
+**MenuItemOptionSetItemMetadata** | [**[Metadata]**](Metadata.md) | Menu item optionset item metadata | [optional]
+
+
diff --git a/docs/Allergen.md b/docs/Allergen.md
new file mode 100644
index 00000000..05855d20
--- /dev/null
+++ b/docs/Allergen.md
@@ -0,0 +1,11 @@
+# Flipdish.Allergen
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AllergenId** | **String** | A unique identifier for the allergen | [optional]
+**LocalizedName** | **String** | Localized name of the allergen | [optional]
+**IconUrl** | **String** | Url to the icon for the allergen | [optional]
+
+
diff --git a/docs/AnalyticsClientEvent.md b/docs/AnalyticsClientEvent.md
new file mode 100644
index 00000000..946d7397
--- /dev/null
+++ b/docs/AnalyticsClientEvent.md
@@ -0,0 +1,21 @@
+# Flipdish.AnalyticsClientEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**EventType** | **String** | Type of the event | [optional]
+**AppType** | **String** | Type of the app the event is coming from | [optional]
+**Metadata** | **String** | JSON Metadata | [optional]
+**UserId** | **Number** | User Id | [optional]
+**Latitude** | **Number** | Latitude of the event | [optional]
+**Longitude** | **Number** | Longitude of the event | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/ApmApi.md b/docs/ApmApi.md
new file mode 100644
index 00000000..e035e96b
--- /dev/null
+++ b/docs/ApmApi.md
@@ -0,0 +1,328 @@
+# Flipdish.ApmApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getApmStatus**](ApmApi.md#getApmStatus) | **GET** /api/v1.0/{appId}/apm/status |
+[**getBasicStatistics**](ApmApi.md#getBasicStatistics) | **GET** /api/v1.0/{appId}/apm/statistics |
+[**getCalendarWeekStatistics**](ApmApi.md#getCalendarWeekStatistics) | **GET** /api/v1.0/{appId}/apm/statistics/calendar |
+[**getCallsStatistics**](ApmApi.md#getCallsStatistics) | **GET** /api/v1.0/{appId}/apm/statistics/calls/{aggregateDataBy} |
+[**getOrderStatistics**](ApmApi.md#getOrderStatistics) | **GET** /api/v1.0/{appId}/apm/statistics/orders/{aggregateDataBy} |
+[**getPaginatedCallList**](ApmApi.md#getPaginatedCallList) | **GET** /api/v1.0/{appId}/apm/calls |
+
+
+
+## getApmStatus
+
+> RestApiResultApmStatus getApmStatus(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ApmApi();
+let appId = "appId_example"; // String |
+apiInstance.getApmStatus(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultApmStatus**](RestApiResultApmStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getBasicStatistics
+
+> RestApiResultApmStatistics getBasicStatistics(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ApmApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getBasicStatistics(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiResultApmStatistics**](RestApiResultApmStatistics.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getCalendarWeekStatistics
+
+> RestApiArrayResultApmHourlyDataPoint getCalendarWeekStatistics(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ApmApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getCalendarWeekStatistics(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiArrayResultApmHourlyDataPoint**](RestApiArrayResultApmHourlyDataPoint.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getCallsStatistics
+
+> RestApiArrayResultApmDataPoint getCallsStatistics(appId, aggregateDataBy, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ApmApi();
+let appId = "appId_example"; // String |
+let aggregateDataBy = "aggregateDataBy_example"; // String |
+let opts = {
+ 'dataPointLimit': 56, // Number |
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getCallsStatistics(appId, aggregateDataBy, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **aggregateDataBy** | **String**| |
+ **dataPointLimit** | **Number**| | [optional]
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiArrayResultApmDataPoint**](RestApiArrayResultApmDataPoint.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getOrderStatistics
+
+> RestApiArrayResultApmCurrencyDataPoint getOrderStatistics(appId, aggregateDataBy, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ApmApi();
+let appId = "appId_example"; // String |
+let aggregateDataBy = "aggregateDataBy_example"; // String |
+let opts = {
+ 'dataPointLimit': 56, // Number |
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getOrderStatistics(appId, aggregateDataBy, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **aggregateDataBy** | **String**| |
+ **dataPointLimit** | **Number**| | [optional]
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiArrayResultApmCurrencyDataPoint**](RestApiArrayResultApmCurrencyDataPoint.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPaginatedCallList
+
+> RestApiPaginationResultPhoneCall getPaginatedCallList(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ApmApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getPaginatedCallList(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPhoneCall**](RestApiPaginationResultPhoneCall.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/ApmCurrencyDataPoint.md b/docs/ApmCurrencyDataPoint.md
new file mode 100644
index 00000000..2fdc3c9d
--- /dev/null
+++ b/docs/ApmCurrencyDataPoint.md
@@ -0,0 +1,11 @@
+# Flipdish.ApmCurrencyDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PeriodStart** | **Date** | Date from which the data point starts | [optional]
+**PeriodLengthInDays** | **Number** | The length in days that this data point covers | [optional]
+**CurrencyData** | [**[CurrencyData]**](CurrencyData.md) | The values of this data point | [optional]
+
+
diff --git a/docs/ApmDataPoint.md b/docs/ApmDataPoint.md
new file mode 100644
index 00000000..9359d2fa
--- /dev/null
+++ b/docs/ApmDataPoint.md
@@ -0,0 +1,11 @@
+# Flipdish.ApmDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PeriodStart** | **Date** | Date from which the data point starts | [optional]
+**PeriodLengthInDays** | **Number** | The length in days that this data point covers | [optional]
+**Value** | **Number** | The value of this data point | [optional]
+
+
diff --git a/docs/ApmHourlyDataPoint.md b/docs/ApmHourlyDataPoint.md
new file mode 100644
index 00000000..9f55c891
--- /dev/null
+++ b/docs/ApmHourlyDataPoint.md
@@ -0,0 +1,32 @@
+# Flipdish.ApmHourlyDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Day** | **String** | Day of the week | [optional]
+**Hour** | **Number** | Hour in the day | [optional]
+**TotalValue** | **Number** | Total Value | [optional]
+
+
+
+## Enum: DayEnum
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/ApmStatistics.md b/docs/ApmStatistics.md
new file mode 100644
index 00000000..16e0c9b5
--- /dev/null
+++ b/docs/ApmStatistics.md
@@ -0,0 +1,11 @@
+# Flipdish.ApmStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EstimatedMinutesSaved** | **Number** | Total amount of time spent with APM | [optional]
+**EstimatedMinutesCouldSaved** | **Number** | Total amount of time that could be saved | [optional]
+**CurrencyData** | [**[StatisticsCurrencyDataPoint]**](StatisticsCurrencyDataPoint.md) | Currency based data | [optional]
+
+
diff --git a/docs/ApmStatus.md b/docs/ApmStatus.md
new file mode 100644
index 00000000..7fa81182
--- /dev/null
+++ b/docs/ApmStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.ApmStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsApmEnabled** | **Boolean** | Indicates if APM is active or otherwise | [optional]
+
+
diff --git a/docs/App.md b/docs/App.md
new file mode 100644
index 00000000..05e6c9cc
--- /dev/null
+++ b/docs/App.md
@@ -0,0 +1,514 @@
+# Flipdish.App
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppId** | **String** | App Identifier | [optional]
+**HasIosApp** | **Boolean** | Has iOS app in Apple App Store. This is readonly. | [optional]
+**IosAppStoreUrl** | **String** | IOS App Store URL | [optional]
+**HasAndroidApp** | **Boolean** | Has Android app in Google Play Store. This is readonly. | [optional]
+**AndroidPlayStoreUrl** | **String** | Android Play Store URL | [optional]
+**DisplayDeliveryRestaurantScreen** | **Boolean** | Display delivery restaurant screen | [optional]
+**LogoImageUrl** | **String** | Application Logo. | [optional]
+**Languages** | [**[Language]**](Language.md) | Languages that have been selected to be available to customers. | [optional]
+**AvailableAppLanguages** | [**[Language]**](Language.md) | Lists all languages that are supported by Flipdish. | [optional]
+**AppAccessLevel** | **String** | App access level for the logged in user | [optional]
+**AppResourceSet** | **[String]** | Constitutes a list of available resources | [optional]
+**Features** | **[String]** | Feature flags. These cannot be set by 3rd parties. | [optional]
+**MapCenter** | [**Coordinates**](Coordinates.md) | | [optional]
+**MapNorthEast** | [**Coordinates**](Coordinates.md) | | [optional]
+**MapSouthWest** | [**Coordinates**](Coordinates.md) | | [optional]
+**GoogleMapsApiKeyWeb** | **String** | Key to be passed with Google Maps requests | [optional]
+**OrgId** | **String** | Org Id | [optional]
+**SmsRestaurantName** | **String** | SMS Restaurant Name | [optional]
+**WebToAppRedirect** | **String** | Web to App Redirect settings | [optional]
+**Name** | **String** | App name. This is used in various places on the Apple App Store, Google Play Store, mobile apps and websites. | [optional]
+**HostName** | **String** | HostName on which the web-ordering system is allowed to be hosted or that a Flipdish website is hosted on. | [optional]
+**MainColor** | **String** | Main color of the web / Android / iOS applications | [optional]
+**KioskPrimaryColour** | **String** | Primary colour used on the Kiosk | [optional]
+**ApplicationCategory** | **String** | Application Category | [optional]
+**IsPanaceaEnabled** | **Boolean** | Panacea is the term used for websites that are hosted on the my.flipdish.com domain. This value is true when the App's website is hosted on this domain. The alternative to using Panacea websites is to use a custom domain. | [optional]
+**PanaceaVanityUrl** | **String** | In case of IsPanaceaEnabled is true, the app can be accessed via https://my.flipdish.com/{PanaceaVanityUrl} | [optional]
+**CookieConsentPromptEnabled** | **Boolean** | Cookie Consent Prompt Enabled | [optional]
+**CountryId** | **String** | Country identifier in ISO 3166-1 alpha-2 format. This code is set automatically based on the locations of the Stores in the App. The App Country is used - to determine how to parse mobile phone numbers that are entered in their local numbering format - to determine if country specific payment methods should be offered - in various fraud checks | [optional]
+
+
+
+## Enum: AppAccessLevelEnum
+
+
+* `None` (value: `"None"`)
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+* `Onboarding` (value: `"Onboarding"`)
+
+* `Support` (value: `"Support"`)
+
+
+
+
+
+## Enum: [AppResourceSetEnum]
+
+
+* `ViewApp` (value: `"ViewApp"`)
+
+* `CreateApp` (value: `"CreateApp"`)
+
+* `UpdateApp` (value: `"UpdateApp"`)
+
+* `ViewAppName` (value: `"ViewAppName"`)
+
+* `EditAppAssets` (value: `"EditAppAssets"`)
+
+* `EditAppFeatures` (value: `"EditAppFeatures"`)
+
+* `ViewTeammates` (value: `"ViewTeammates"`)
+
+* `EditTeammates` (value: `"EditTeammates"`)
+
+* `CreateTeammateOwner` (value: `"CreateTeammateOwner"`)
+
+* `CreateTeammateManagedOwner` (value: `"CreateTeammateManagedOwner"`)
+
+* `CreateTeammateStoreOwner` (value: `"CreateTeammateStoreOwner"`)
+
+* `CreateTeammateStoreManager` (value: `"CreateTeammateStoreManager"`)
+
+* `CreateTeammateStoreStaff` (value: `"CreateTeammateStoreStaff"`)
+
+* `CreateTeammateStoreReadAccess` (value: `"CreateTeammateStoreReadAccess"`)
+
+* `CreateTeammateFinanceManager` (value: `"CreateTeammateFinanceManager"`)
+
+* `CreateTeammateIntegrator` (value: `"CreateTeammateIntegrator"`)
+
+* `CreateTeammateOnboarding` (value: `"CreateTeammateOnboarding"`)
+
+* `CreateTeammatePropertyManager` (value: `"CreateTeammatePropertyManager"`)
+
+* `CreateTeammatePropertyOwner` (value: `"CreateTeammatePropertyOwner"`)
+
+* `ViewApmConfigurations` (value: `"ViewApmConfigurations"`)
+
+* `EditApmConfigurations` (value: `"EditApmConfigurations"`)
+
+* `ViewCampaignsConfigurations` (value: `"ViewCampaignsConfigurations"`)
+
+* `CreateCampaignsConfigurations` (value: `"CreateCampaignsConfigurations"`)
+
+* `UpdateCampaignsConfigurations` (value: `"UpdateCampaignsConfigurations"`)
+
+* `DeleteCampaignsConfigurations` (value: `"DeleteCampaignsConfigurations"`)
+
+* `StampLoyaltyCardAgainstCampaignsConfigurations` (value: `"StampLoyaltyCardAgainstCampaignsConfigurations"`)
+
+* `ViewDevelopersSettings` (value: `"ViewDevelopersSettings"`)
+
+* `EditDevelopersSettings` (value: `"EditDevelopersSettings"`)
+
+* `ViewOrders` (value: `"ViewOrders"`)
+
+* `UpdateOrdersAccept` (value: `"UpdateOrdersAccept"`)
+
+* `UpdateOrdersReject` (value: `"UpdateOrdersReject"`)
+
+* `UpdateOrdersRefund` (value: `"UpdateOrdersRefund"`)
+
+* `UpdateOrdersDispatch` (value: `"UpdateOrdersDispatch"`)
+
+* `ViewStores` (value: `"ViewStores"`)
+
+* `CreateStores` (value: `"CreateStores"`)
+
+* `EditStores` (value: `"EditStores"`)
+
+* `ViewStoresOpeningHours` (value: `"ViewStoresOpeningHours"`)
+
+* `UpdateStoresOpenForCollectionOrDelivery` (value: `"UpdateStoresOpenForCollectionOrDelivery"`)
+
+* `UpdateStoresOpeningHours` (value: `"UpdateStoresOpeningHours"`)
+
+* `ViewStoresOpeningHoursOverride` (value: `"ViewStoresOpeningHoursOverride"`)
+
+* `EditStoresOpeningHoursOverride` (value: `"EditStoresOpeningHoursOverride"`)
+
+* `EditStoresOpeningHoursOverrideTemporary` (value: `"EditStoresOpeningHoursOverrideTemporary"`)
+
+* `UpdateStoresName` (value: `"UpdateStoresName"`)
+
+* `EditStoreKioskSettings` (value: `"EditStoreKioskSettings"`)
+
+* `EditStoreOrderCapacity` (value: `"EditStoreOrderCapacity"`)
+
+* `ArchiveStores` (value: `"ArchiveStores"`)
+
+* `PublishStores` (value: `"PublishStores"`)
+
+* `UpdatePrinterTerminalsAssign` (value: `"UpdatePrinterTerminalsAssign"`)
+
+* `UpdatePrinterTerminalsToggle` (value: `"UpdatePrinterTerminalsToggle"`)
+
+* `EditStoreNotifications` (value: `"EditStoreNotifications"`)
+
+* `ViewStoreGroups` (value: `"ViewStoreGroups"`)
+
+* `CreateStoreGroups` (value: `"CreateStoreGroups"`)
+
+* `UpdateStoreGroups` (value: `"UpdateStoreGroups"`)
+
+* `DeleteStoreGroups` (value: `"DeleteStoreGroups"`)
+
+* `ViewDeliveryZones` (value: `"ViewDeliveryZones"`)
+
+* `CreateDeliveryZones` (value: `"CreateDeliveryZones"`)
+
+* `UpdateDeliveryZones` (value: `"UpdateDeliveryZones"`)
+
+* `DeleteDeliveryZones` (value: `"DeleteDeliveryZones"`)
+
+* `ViewMenu` (value: `"ViewMenu"`)
+
+* `CreateMenu` (value: `"CreateMenu"`)
+
+* `UpdateMenu` (value: `"UpdateMenu"`)
+
+* `DeleteMenu` (value: `"DeleteMenu"`)
+
+* `UpdateMenuLock` (value: `"UpdateMenuLock"`)
+
+* `UpdateMenuItemsHideTemporarily` (value: `"UpdateMenuItemsHideTemporarily"`)
+
+* `EditMenuImage` (value: `"EditMenuImage"`)
+
+* `ViewVouchers` (value: `"ViewVouchers"`)
+
+* `EditVouchers` (value: `"EditVouchers"`)
+
+* `ViewWebsiteContent` (value: `"ViewWebsiteContent"`)
+
+* `EditWebsiteContent` (value: `"EditWebsiteContent"`)
+
+* `ViewWebsiteDnsVerified` (value: `"ViewWebsiteDnsVerified"`)
+
+* `ViewWebsiteCertificateCreated` (value: `"ViewWebsiteCertificateCreated"`)
+
+* `ViewWebsiteCertificateRenewed` (value: `"ViewWebsiteCertificateRenewed"`)
+
+* `ViewBankAccounts` (value: `"ViewBankAccounts"`)
+
+* `CreateBankAccounts` (value: `"CreateBankAccounts"`)
+
+* `UpdateBankAccounts` (value: `"UpdateBankAccounts"`)
+
+* `UpdateBankAccountsAssign` (value: `"UpdateBankAccountsAssign"`)
+
+* `ViewAssignedBankAccount` (value: `"ViewAssignedBankAccount"`)
+
+* `VerifyBankAccounts` (value: `"VerifyBankAccounts"`)
+
+* `ViewServiceChargeConfigurations` (value: `"ViewServiceChargeConfigurations"`)
+
+* `EditServiceChargeConfigurations` (value: `"EditServiceChargeConfigurations"`)
+
+* `EditStoreDeliveryZoneFees` (value: `"EditStoreDeliveryZoneFees"`)
+
+* `EditStoreDeliveryFeesLimited` (value: `"EditStoreDeliveryFeesLimited"`)
+
+* `ViewHydraConfig` (value: `"ViewHydraConfig"`)
+
+* `UpdateHydraConfigManage` (value: `"UpdateHydraConfigManage"`)
+
+* `InitiateBluetoothPairingMode` (value: `"InitiateBluetoothPairingMode"`)
+
+* `DeleteTerminal` (value: `"DeleteTerminal"`)
+
+* `ViewKioskTelemetry` (value: `"ViewKioskTelemetry"`)
+
+* `ViewCustomers` (value: `"ViewCustomers"`)
+
+* `EditCustomers` (value: `"EditCustomers"`)
+
+* `CreateCustomers` (value: `"CreateCustomers"`)
+
+* `CreateCatalogElements` (value: `"CreateCatalogElements"`)
+
+* `UpdateCatalogElements` (value: `"UpdateCatalogElements"`)
+
+* `ViewCatalogElements` (value: `"ViewCatalogElements"`)
+
+* `DeleteCatalogElements` (value: `"DeleteCatalogElements"`)
+
+* `ViewMetafieldDefinitions` (value: `"ViewMetafieldDefinitions"`)
+
+* `CreateMetafieldDefinitions` (value: `"CreateMetafieldDefinitions"`)
+
+* `UpdateMetafieldDefinitions` (value: `"UpdateMetafieldDefinitions"`)
+
+* `DeleteMetafieldDefinitions` (value: `"DeleteMetafieldDefinitions"`)
+
+* `UpdateMetafields` (value: `"UpdateMetafields"`)
+
+* `ViewCatalogMenuChanges` (value: `"ViewCatalogMenuChanges"`)
+
+* `PublishCatalogMenuChanges` (value: `"PublishCatalogMenuChanges"`)
+
+* `ViewAppStatistics` (value: `"ViewAppStatistics"`)
+
+* `ViewApmStatistics` (value: `"ViewApmStatistics"`)
+
+* `ViewCampaignsStatistics` (value: `"ViewCampaignsStatistics"`)
+
+* `ViewCustomerStatistics` (value: `"ViewCustomerStatistics"`)
+
+* `ViewLiveStatistics` (value: `"ViewLiveStatistics"`)
+
+* `ViewOrderStatistics` (value: `"ViewOrderStatistics"`)
+
+* `ViewSalesStatistics` (value: `"ViewSalesStatistics"`)
+
+* `ViewSalesEndOfDayStatistics` (value: `"ViewSalesEndOfDayStatistics"`)
+
+* `ViewVouchersStatistics` (value: `"ViewVouchersStatistics"`)
+
+* `DownloadCustomerCsvExport` (value: `"DownloadCustomerCsvExport"`)
+
+* `ViewApmAuditLogs` (value: `"ViewApmAuditLogs"`)
+
+* `ViewStoreAuditLogs` (value: `"ViewStoreAuditLogs"`)
+
+* `ViewMenuAuditLogs` (value: `"ViewMenuAuditLogs"`)
+
+* `ViewBankAccountAuditLogs` (value: `"ViewBankAccountAuditLogs"`)
+
+* `ViewFeeConfigurationsAuditLogs` (value: `"ViewFeeConfigurationsAuditLogs"`)
+
+* `ViewOrdersAuditLogs` (value: `"ViewOrdersAuditLogs"`)
+
+* `ViewVouchersAuditLogs` (value: `"ViewVouchersAuditLogs"`)
+
+* `ViewUserEventsAuditLogs` (value: `"ViewUserEventsAuditLogs"`)
+
+* `ViewCampaignsAuditLogs` (value: `"ViewCampaignsAuditLogs"`)
+
+* `ViewTeammatesAuditLogs` (value: `"ViewTeammatesAuditLogs"`)
+
+* `ViewAppAuditLogs` (value: `"ViewAppAuditLogs"`)
+
+* `ViewCustomerAuditLogs` (value: `"ViewCustomerAuditLogs"`)
+
+* `ViewPrinterAuditLogs` (value: `"ViewPrinterAuditLogs"`)
+
+* `ViewHydraAuditLogs` (value: `"ViewHydraAuditLogs"`)
+
+* `ViewPushNotificationAuditLogs` (value: `"ViewPushNotificationAuditLogs"`)
+
+* `ViewStripeCustomConnectedAccountAuditLogs` (value: `"ViewStripeCustomConnectedAccountAuditLogs"`)
+
+* `ViewKioskBluetoothDeviceAuditLogs` (value: `"ViewKioskBluetoothDeviceAuditLogs"`)
+
+* `ViewExternalAuditLogs` (value: `"ViewExternalAuditLogs"`)
+
+* `CreateExternalAuditLogEvents` (value: `"CreateExternalAuditLogEvents"`)
+
+* `ViewCatalogAuditLogs` (value: `"ViewCatalogAuditLogs"`)
+
+* `ViewOrderFulfillmentAuditLogs` (value: `"ViewOrderFulfillmentAuditLogs"`)
+
+* `ViewChannelAuditLogs` (value: `"ViewChannelAuditLogs"`)
+
+* `ViewAppStoreAuditLogs` (value: `"ViewAppStoreAuditLogs"`)
+
+* `SendPushNotificationToCustomer` (value: `"SendPushNotificationToCustomer"`)
+
+* `InviteDriverToApp` (value: `"InviteDriverToApp"`)
+
+* `GetDriverForApp` (value: `"GetDriverForApp"`)
+
+* `RemoveDriverFromApp` (value: `"RemoveDriverFromApp"`)
+
+* `AssignDriverToOrder` (value: `"AssignDriverToOrder"`)
+
+* `UnassignDriverFromOrder` (value: `"UnassignDriverFromOrder"`)
+
+* `UpdateOrdersDeliveryTrackingStatus` (value: `"UpdateOrdersDeliveryTrackingStatus"`)
+
+* `UpdateOrderFulfillmentStatus` (value: `"UpdateOrderFulfillmentStatus"`)
+
+* `ViewFulfillmentStatesConfiguration` (value: `"ViewFulfillmentStatesConfiguration"`)
+
+* `CreateFulfillmentStatesConfiguration` (value: `"CreateFulfillmentStatesConfiguration"`)
+
+* `UpdateFulfillmentStatesConfiguration` (value: `"UpdateFulfillmentStatesConfiguration"`)
+
+* `DeleteFulfillmentStatesConfiguration` (value: `"DeleteFulfillmentStatesConfiguration"`)
+
+* `ViewPayouts` (value: `"ViewPayouts"`)
+
+* `ViewChannels` (value: `"ViewChannels"`)
+
+* `ViewOnboarding` (value: `"ViewOnboarding"`)
+
+* `UpdateOnboarding` (value: `"UpdateOnboarding"`)
+
+* `ViewClientDevices` (value: `"ViewClientDevices"`)
+
+* `UpdateClientDevices` (value: `"UpdateClientDevices"`)
+
+* `EnrollClientDevices` (value: `"EnrollClientDevices"`)
+
+* `AssignClientDevices` (value: `"AssignClientDevices"`)
+
+* `ViewClientAuditLogs` (value: `"ViewClientAuditLogs"`)
+
+* `CreateAppStoreAppConfiguration` (value: `"CreateAppStoreAppConfiguration"`)
+
+* `ViewAppStoreAppConfiguration` (value: `"ViewAppStoreAppConfiguration"`)
+
+* `UpdateAppStoreAppConfiguration` (value: `"UpdateAppStoreAppConfiguration"`)
+
+* `DeleteAppStoreAppConfiguration` (value: `"DeleteAppStoreAppConfiguration"`)
+
+* `UpdateAppStoreAppConfigurationSettings` (value: `"UpdateAppStoreAppConfigurationSettings"`)
+
+* `CreateAppStoreSubscription` (value: `"CreateAppStoreSubscription"`)
+
+* `UpdateAppStoreSubscription` (value: `"UpdateAppStoreSubscription"`)
+
+* `DeleteAppStoreSubscription` (value: `"DeleteAppStoreSubscription"`)
+
+* `ViewSalesChannels` (value: `"ViewSalesChannels"`)
+
+* `EditSalesChannels` (value: `"EditSalesChannels"`)
+
+* `ViewPayGreenWhiteLabelConfiguration` (value: `"ViewPayGreenWhiteLabelConfiguration"`)
+
+* `CreatePayGreenWhiteLabelConfiguration` (value: `"CreatePayGreenWhiteLabelConfiguration"`)
+
+* `UpdatePayGreenWhiteLabelConfiguration` (value: `"UpdatePayGreenWhiteLabelConfiguration"`)
+
+* `UpdatePayGreenStoreConfiguration` (value: `"UpdatePayGreenStoreConfiguration"`)
+
+* `ViewSubscriptions` (value: `"ViewSubscriptions"`)
+
+* `ViewInvoices` (value: `"ViewInvoices"`)
+
+* `EditAccountsBills` (value: `"EditAccountsBills"`)
+
+* `ViewAccountsBills` (value: `"ViewAccountsBills"`)
+
+* `EditAccountsCategories` (value: `"EditAccountsCategories"`)
+
+* `ViewAccountsCategories` (value: `"ViewAccountsCategories"`)
+
+* `EditAccountsCreditAccounts` (value: `"EditAccountsCreditAccounts"`)
+
+* `ViewAccountsCreditAccounts` (value: `"ViewAccountsCreditAccounts"`)
+
+* `EditAccountsCreditBooks` (value: `"EditAccountsCreditBooks"`)
+
+* `ViewAccountsCreditBooks` (value: `"ViewAccountsCreditBooks"`)
+
+* `EditAccountsExpenses` (value: `"EditAccountsExpenses"`)
+
+* `ViewAccountsExpenses` (value: `"ViewAccountsExpenses"`)
+
+* `EditAccountsTransactionAccounts` (value: `"EditAccountsTransactionAccounts"`)
+
+* `ViewAccountsTransactionAccounts` (value: `"ViewAccountsTransactionAccounts"`)
+
+* `EditDocumentExplorer` (value: `"EditDocumentExplorer"`)
+
+* `ViewDocumentExplorer` (value: `"ViewDocumentExplorer"`)
+
+* `ViewInventoryReports` (value: `"ViewInventoryReports"`)
+
+* `EditInventoryPurchaseOrders` (value: `"EditInventoryPurchaseOrders"`)
+
+* `ViewInventoryPurchaseOrders` (value: `"ViewInventoryPurchaseOrders"`)
+
+* `EditInventoryStockItems` (value: `"EditInventoryStockItems"`)
+
+* `ViewInventoryStockItems` (value: `"ViewInventoryStockItems"`)
+
+* `EditInventorySupplier` (value: `"EditInventorySupplier"`)
+
+* `ViewInventorySupplier` (value: `"ViewInventorySupplier"`)
+
+* `EditInventoryTrackingProfiles` (value: `"EditInventoryTrackingProfiles"`)
+
+* `ViewInventoryTrackingProfiles` (value: `"ViewInventoryTrackingProfiles"`)
+
+* `ViewPayrollReports` (value: `"ViewPayrollReports"`)
+
+* `EditPayrollHoliday` (value: `"EditPayrollHoliday"`)
+
+* `ViewPayrollHoliday` (value: `"ViewPayrollHoliday"`)
+
+* `EditPayrollRota` (value: `"EditPayrollRota"`)
+
+* `ViewPayrollRota` (value: `"ViewPayrollRota"`)
+
+* `EditPayrollStaff` (value: `"EditPayrollStaff"`)
+
+* `ViewPayrollStaff` (value: `"ViewPayrollStaff"`)
+
+* `ViewSalesReports` (value: `"ViewSalesReports"`)
+
+* `ViewCostReports` (value: `"ViewCostReports"`)
+
+* `ViewMenuReports` (value: `"ViewMenuReports"`)
+
+
+
+
+
+## Enum: WebToAppRedirectEnum
+
+
+* `NoRedirect` (value: `"NoRedirect"`)
+
+* `RedirectOnce` (value: `"RedirectOnce"`)
+
+* `RedirectAlways` (value: `"RedirectAlways"`)
+
+* `SuggestPwa` (value: `"SuggestPwa"`)
+
+* `ForcePwa` (value: `"ForcePwa"`)
+
+
+
+
+
+## Enum: ApplicationCategoryEnum
+
+
+* `Restaurant` (value: `"Restaurant"`)
+
+* `Cafe` (value: `"Cafe"`)
+
+* `Convenience` (value: `"Convenience"`)
+
+
+
+
diff --git a/docs/AppChannelAssignment.md b/docs/AppChannelAssignment.md
new file mode 100644
index 00000000..b8663ca4
--- /dev/null
+++ b/docs/AppChannelAssignment.md
@@ -0,0 +1,10 @@
+# Flipdish.AppChannelAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ChannelId** | **Number** | Id of the channel on the assignment | [optional]
+**AppId** | **String** | AppId of the assignment | [optional]
+
+
diff --git a/docs/AppCompliance.md b/docs/AppCompliance.md
new file mode 100644
index 00000000..66bb52ca
--- /dev/null
+++ b/docs/AppCompliance.md
@@ -0,0 +1,22 @@
+# Flipdish.AppCompliance
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppId** | **String** | App ID | [optional]
+**ComplianceType** | **String** | Type of compliance. This controls if the Flipdish websites and apps display cookie consent banners and adjust cookies to be inline with various regulations. You should set this correctly based on your region. | [optional]
+**AllowDisablingOfGdpr** | **Boolean** | For EU countries, we should not allow to change the option to “Default banner”, but all other countries should be able to do so. | [optional]
+
+
+
+## Enum: ComplianceTypeEnum
+
+
+* `Default` (value: `"Default"`)
+
+* `GdprCompliance` (value: `"GdprCompliance"`)
+
+
+
+
diff --git a/docs/AppConfigSalesChannel.md b/docs/AppConfigSalesChannel.md
new file mode 100644
index 00000000..6aa30ed5
--- /dev/null
+++ b/docs/AppConfigSalesChannel.md
@@ -0,0 +1,55 @@
+# Flipdish.AppConfigSalesChannel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EmailRequestMode** | **String** | Display a popup to users requesting their email address | [optional]
+**WebToAppRedirect** | **String** | Sends users to their native apps or request them to install the pwa | [optional]
+**AddressEntryType** | **String** | Address entry type - TextEntryManualDisallowed is the only supported configuration | [optional]
+**DisplayDeliveryRestaurantListScreen** | **Boolean** | Display Pickup Restaurant List Screen | [optional]
+
+
+
+## Enum: EmailRequestModeEnum
+
+
+* `DoNotRequest` (value: `"DoNotRequest"`)
+
+* `Request` (value: `"Request"`)
+
+* `Require` (value: `"Require"`)
+
+
+
+
+
+## Enum: WebToAppRedirectEnum
+
+
+* `NoRedirect` (value: `"NoRedirect"`)
+
+* `RedirectOnce` (value: `"RedirectOnce"`)
+
+* `RedirectAlways` (value: `"RedirectAlways"`)
+
+* `SuggestPwa` (value: `"SuggestPwa"`)
+
+* `ForcePwa` (value: `"ForcePwa"`)
+
+
+
+
+
+## Enum: AddressEntryTypeEnum
+
+
+* `MapFirst` (value: `"MapFirst"`)
+
+* `TextEntryManualAllowed` (value: `"TextEntryManualAllowed"`)
+
+* `TextEntryManualDisallowed` (value: `"TextEntryManualDisallowed"`)
+
+
+
+
diff --git a/docs/AppConfigUpdateModel.md b/docs/AppConfigUpdateModel.md
new file mode 100644
index 00000000..a808104d
--- /dev/null
+++ b/docs/AppConfigUpdateModel.md
@@ -0,0 +1,31 @@
+# Flipdish.AppConfigUpdateModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | App name. This is used in various places on the Apple App Store, Google Play Store, mobile apps and websites. | [optional]
+**HostName** | **String** | HostName on which the web-ordering system is allowed to be hosted or that a Flipdish website is hosted on. | [optional]
+**MainColor** | **String** | Main color of the web / Android / iOS applications | [optional]
+**KioskPrimaryColour** | **String** | Primary colour used on the Kiosk | [optional]
+**ApplicationCategory** | **String** | Application Category | [optional]
+**IsPanaceaEnabled** | **Boolean** | Panacea is the term used for websites that are hosted on the my.flipdish.com domain. This value is true when the App's website is hosted on this domain. The alternative to using Panacea websites is to use a custom domain. | [optional]
+**PanaceaVanityUrl** | **String** | In case of IsPanaceaEnabled is true, the app can be accessed via https://my.flipdish.com/{PanaceaVanityUrl} | [optional]
+**CookieConsentPromptEnabled** | **Boolean** | Cookie Consent Prompt Enabled | [optional]
+**LogoImageUrl** | **String** | Logo image URL | [optional]
+**CountryId** | **String** | Country identifier in ISO 3166-1 alpha-2 format. This code is set automatically based on the locations of the Stores in the App. The App Country is used - to determine how to parse mobile phone numbers that are entered in their local numbering format - to determine if country specific payment methods should be offered - in various fraud checks | [optional]
+
+
+
+## Enum: ApplicationCategoryEnum
+
+
+* `Restaurant` (value: `"Restaurant"`)
+
+* `Cafe` (value: `"Cafe"`)
+
+* `Convenience` (value: `"Convenience"`)
+
+
+
+
diff --git a/docs/AppCreatedEvent.md b/docs/AppCreatedEvent.md
new file mode 100644
index 00000000..bbabb8a9
--- /dev/null
+++ b/docs/AppCreatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.AppCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**AppName** | **String** | App Name | [optional]
+**CountryId** | **String** | Country Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**AccountId** | **String** | Salesforce Account Id | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/AppInstall.md b/docs/AppInstall.md
new file mode 100644
index 00000000..6c178886
--- /dev/null
+++ b/docs/AppInstall.md
@@ -0,0 +1,18 @@
+# Flipdish.AppInstall
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name of the installed application. | [optional]
+**FirstLogin** | **Date** | Date and time of the user's first login to the app. | [optional]
+**FirstLoginHuman** | **String** | Human-readable representation of the first login date. | [optional]
+**LastActivity** | **Date** | Date and time of the user's last activity in the app. | [optional]
+**LastActivityHuman** | **String** | Human-readable representation of the last activity date. | [optional]
+**GoogleTokens** | **Number** | Number of Google push notification tokens associated with the app install. | [optional]
+**AppleTokens** | **Number** | Number of Apple push notification tokens associated with the app install. | [optional]
+**OrderCount** | **Number** | Number of orders placed by the user through this app install. | [optional]
+**UserAgentAtSignup** | **String** | User agent string at the time of signup. | [optional]
+**UserAgentMostRecent** | **String** | Most recent user agent string used by the user. | [optional]
+
+
diff --git a/docs/AppLookup.md b/docs/AppLookup.md
new file mode 100644
index 00000000..b5e92e1d
--- /dev/null
+++ b/docs/AppLookup.md
@@ -0,0 +1,9 @@
+# Flipdish.AppLookup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppId** | **String** | App id | [optional]
+
+
diff --git a/docs/AppStoreApi.md b/docs/AppStoreApi.md
new file mode 100644
index 00000000..33392250
--- /dev/null
+++ b/docs/AppStoreApi.md
@@ -0,0 +1,118 @@
+# Flipdish.AppStoreApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getAppStoreApp**](AppStoreApi.md#getAppStoreApp) | **GET** /api/v1.0/appstore/apps/{appStoreAppId} |
+[**getAppStoreApps**](AppStoreApi.md#getAppStoreApps) | **GET** /api/v1.0/appstore/apps |
+
+
+
+## getAppStoreApp
+
+> RestApiResultAppStoreApp getAppStoreApp(appStoreAppId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreApi();
+let appStoreAppId = "appStoreAppId_example"; // String |
+let opts = {
+ 'appId': "appId_example" // String |
+};
+apiInstance.getAppStoreApp(appStoreAppId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appStoreAppId** | **String**| |
+ **appId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultAppStoreApp**](RestApiResultAppStoreApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getAppStoreApps
+
+> RestApiPaginationResultAppStoreAppSummary getAppStoreApps(search, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreApi();
+let search = "search_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'excludeNotOwned': true, // Boolean |
+ 'showOnlyVerified': true // Boolean |
+};
+apiInstance.getAppStoreApps(search, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **search** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **excludeNotOwned** | **Boolean**| | [optional]
+ **showOnlyVerified** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultAppStoreAppSummary**](RestApiPaginationResultAppStoreAppSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/AppStoreApp.md b/docs/AppStoreApp.md
new file mode 100644
index 00000000..4786ece4
--- /dev/null
+++ b/docs/AppStoreApp.md
@@ -0,0 +1,166 @@
+# Flipdish.AppStoreApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | |
+**VerificationStatus** | **String** | |
+**Logo** | **String** | | [optional]
+**OAuthAppId** | **String** | |
+**Internal** | **Boolean** | |
+**Details** | **String** | |
+**ConfigurationType** | **String** | |
+**StoreSelectorType** | **String** | |
+**FieldGroups** | [**[FieldGroup]**](FieldGroup.md) | | [optional]
+**SetupInstructions** | **String** | | [optional]
+**ExternalSetupLink** | **String** | | [optional]
+**TeammateAppAccessLevel** | **String** | | [optional]
+**PermissionsType** | **String** | |
+**Support** | [**AppStoreAppSupportInfo**](AppStoreAppSupportInfo.md) | | [optional]
+**ExternalFunctionActionUrl** | **String** | | [optional]
+**ExternalFunctionSignatureKey** | **String** | | [optional]
+**IsPaid** | **Boolean** | | [optional]
+**Name** | **String** | |
+**Description** | **String** | |
+**IsEnabled** | **Boolean** | | [optional]
+**Categories** | **[String]** | |
+**Countries** | **[String]** | |
+**DeveloperName** | **String** | | [optional]
+
+
+
+## Enum: VerificationStatusEnum
+
+
+* `Draft` (value: `"Draft"`)
+
+* `Submitted` (value: `"Submitted"`)
+
+* `Verified` (value: `"Verified"`)
+
+
+
+
+
+## Enum: ConfigurationTypeEnum
+
+
+* `ExternalLink` (value: `"ExternalLink"`)
+
+* `FlipdishHosted` (value: `"FlipdishHosted"`)
+
+
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
+
+## Enum: TeammateAppAccessLevelEnum
+
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+
+
+
+
+## Enum: PermissionsTypeEnum
+
+
+* `Teammate` (value: `"Teammate"`)
+
+
+
+
+
+## Enum: [CategoriesEnum]
+
+
+* `PointOfSale` (value: `"PointOfSale"`)
+
+* `DeliveryAndLogistics` (value: `"DeliveryAndLogistics"`)
+
+* `CRM` (value: `"CRM"`)
+
+* `GiftCard` (value: `"GiftCard"`)
+
+* `Accounting` (value: `"Accounting"`)
+
+* `LoyaltyAndMarketing` (value: `"LoyaltyAndMarketing"`)
+
+* `Other` (value: `"Other"`)
+
+
+
+
+
+## Enum: [CountriesEnum]
+
+
+* `GB` (value: `"GB"`)
+
+* `IE` (value: `"IE"`)
+
+* `FR` (value: `"FR"`)
+
+* `ES` (value: `"ES"`)
+
+* `PT` (value: `"PT"`)
+
+* `IT` (value: `"IT"`)
+
+* `DE` (value: `"DE"`)
+
+* `PL` (value: `"PL"`)
+
+* `BE` (value: `"BE"`)
+
+* `LU` (value: `"LU"`)
+
+* `NL` (value: `"NL"`)
+
+* `US` (value: `"US"`)
+
+* `CA` (value: `"CA"`)
+
+* `BG` (value: `"BG"`)
+
+* `MX` (value: `"MX"`)
+
+* `AU` (value: `"AU"`)
+
+* `NZ` (value: `"NZ"`)
+
+
+
+
diff --git a/docs/AppStoreAppConfiguration.md b/docs/AppStoreAppConfiguration.md
new file mode 100644
index 00000000..84bf9ab6
--- /dev/null
+++ b/docs/AppStoreAppConfiguration.md
@@ -0,0 +1,170 @@
+# Flipdish.AppStoreAppConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | |
+**AppId** | **String** | |
+**AppStoreAppId** | **String** | |
+**IsEnabled** | **Boolean** | |
+**StoreIds** | **[Number]** | | [optional]
+**Settings** | [**[Setting]**](Setting.md) | | [optional]
+**VerificationStatus** | **String** | |
+**Logo** | **String** | | [optional]
+**OAuthAppId** | **String** | |
+**Internal** | **Boolean** | |
+**Details** | **String** | |
+**ConfigurationType** | **String** | |
+**StoreSelectorType** | **String** | |
+**FieldGroups** | [**[FieldGroup]**](FieldGroup.md) | | [optional]
+**SetupInstructions** | **String** | | [optional]
+**ExternalSetupLink** | **String** | | [optional]
+**TeammateAppAccessLevel** | **String** | | [optional]
+**PermissionsType** | **String** | |
+**Support** | [**AppStoreAppSupportInfo**](AppStoreAppSupportInfo.md) | | [optional]
+**ExternalFunctionActionUrl** | **String** | | [optional]
+**ExternalFunctionSignatureKey** | **String** | | [optional]
+**IsPaid** | **Boolean** | | [optional]
+**Name** | **String** | |
+**Description** | **String** | |
+**Categories** | **[String]** | |
+**Countries** | **[String]** | |
+**DeveloperName** | **String** | | [optional]
+
+
+
+## Enum: VerificationStatusEnum
+
+
+* `Draft` (value: `"Draft"`)
+
+* `Submitted` (value: `"Submitted"`)
+
+* `Verified` (value: `"Verified"`)
+
+
+
+
+
+## Enum: ConfigurationTypeEnum
+
+
+* `ExternalLink` (value: `"ExternalLink"`)
+
+* `FlipdishHosted` (value: `"FlipdishHosted"`)
+
+
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
+
+## Enum: TeammateAppAccessLevelEnum
+
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+
+
+
+
+## Enum: PermissionsTypeEnum
+
+
+* `Teammate` (value: `"Teammate"`)
+
+
+
+
+
+## Enum: [CategoriesEnum]
+
+
+* `PointOfSale` (value: `"PointOfSale"`)
+
+* `DeliveryAndLogistics` (value: `"DeliveryAndLogistics"`)
+
+* `CRM` (value: `"CRM"`)
+
+* `GiftCard` (value: `"GiftCard"`)
+
+* `Accounting` (value: `"Accounting"`)
+
+* `LoyaltyAndMarketing` (value: `"LoyaltyAndMarketing"`)
+
+* `Other` (value: `"Other"`)
+
+
+
+
+
+## Enum: [CountriesEnum]
+
+
+* `GB` (value: `"GB"`)
+
+* `IE` (value: `"IE"`)
+
+* `FR` (value: `"FR"`)
+
+* `ES` (value: `"ES"`)
+
+* `PT` (value: `"PT"`)
+
+* `IT` (value: `"IT"`)
+
+* `DE` (value: `"DE"`)
+
+* `PL` (value: `"PL"`)
+
+* `BE` (value: `"BE"`)
+
+* `LU` (value: `"LU"`)
+
+* `NL` (value: `"NL"`)
+
+* `US` (value: `"US"`)
+
+* `CA` (value: `"CA"`)
+
+* `BG` (value: `"BG"`)
+
+* `MX` (value: `"MX"`)
+
+* `AU` (value: `"AU"`)
+
+* `NZ` (value: `"NZ"`)
+
+
+
+
diff --git a/docs/AppStoreAppConfigurationSummary.md b/docs/AppStoreAppConfigurationSummary.md
new file mode 100644
index 00000000..1fb6dfd7
--- /dev/null
+++ b/docs/AppStoreAppConfigurationSummary.md
@@ -0,0 +1,44 @@
+# Flipdish.AppStoreAppConfigurationSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | |
+**AppId** | **String** | |
+**IsEnabled** | **Boolean** | |
+**Stores** | [**[ConfiguredStore]**](ConfiguredStore.md) | |
+**ConfigurationType** | **String** | |
+**StoreSelectorType** | **String** | |
+**Internal** | **Boolean** | |
+**AppStoreAppId** | **String** | |
+**Name** | **String** | |
+**Description** | **String** | |
+**Logo** | **String** | | [optional]
+**DeveloperName** | **String** | | [optional]
+
+
+
+## Enum: ConfigurationTypeEnum
+
+
+* `ExternalLink` (value: `"ExternalLink"`)
+
+* `FlipdishHosted` (value: `"FlipdishHosted"`)
+
+
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
diff --git a/docs/AppStoreAppEntitlements.md b/docs/AppStoreAppEntitlements.md
new file mode 100644
index 00000000..daea7f38
--- /dev/null
+++ b/docs/AppStoreAppEntitlements.md
@@ -0,0 +1,10 @@
+# Flipdish.AppStoreAppEntitlements
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EntitlementQuantity** | **Number** | | [optional]
+**CurrentUsage** | **Number** | | [optional]
+
+
diff --git a/docs/AppStoreAppSummary.md b/docs/AppStoreAppSummary.md
new file mode 100644
index 00000000..451ff458
--- /dev/null
+++ b/docs/AppStoreAppSummary.md
@@ -0,0 +1,93 @@
+# Flipdish.AppStoreAppSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | |
+**VerificationStatus** | **String** | |
+**Logo** | **String** | | [optional]
+**Internal** | **Boolean** | |
+**Name** | **String** | |
+**Description** | **String** | |
+**IsEnabled** | **Boolean** | | [optional]
+**Categories** | **[String]** | |
+**Countries** | **[String]** | |
+**DeveloperName** | **String** | | [optional]
+
+
+
+## Enum: VerificationStatusEnum
+
+
+* `Draft` (value: `"Draft"`)
+
+* `Submitted` (value: `"Submitted"`)
+
+* `Verified` (value: `"Verified"`)
+
+
+
+
+
+## Enum: [CategoriesEnum]
+
+
+* `PointOfSale` (value: `"PointOfSale"`)
+
+* `DeliveryAndLogistics` (value: `"DeliveryAndLogistics"`)
+
+* `CRM` (value: `"CRM"`)
+
+* `GiftCard` (value: `"GiftCard"`)
+
+* `Accounting` (value: `"Accounting"`)
+
+* `LoyaltyAndMarketing` (value: `"LoyaltyAndMarketing"`)
+
+* `Other` (value: `"Other"`)
+
+
+
+
+
+## Enum: [CountriesEnum]
+
+
+* `GB` (value: `"GB"`)
+
+* `IE` (value: `"IE"`)
+
+* `FR` (value: `"FR"`)
+
+* `ES` (value: `"ES"`)
+
+* `PT` (value: `"PT"`)
+
+* `IT` (value: `"IT"`)
+
+* `DE` (value: `"DE"`)
+
+* `PL` (value: `"PL"`)
+
+* `BE` (value: `"BE"`)
+
+* `LU` (value: `"LU"`)
+
+* `NL` (value: `"NL"`)
+
+* `US` (value: `"US"`)
+
+* `CA` (value: `"CA"`)
+
+* `BG` (value: `"BG"`)
+
+* `MX` (value: `"MX"`)
+
+* `AU` (value: `"AU"`)
+
+* `NZ` (value: `"NZ"`)
+
+
+
+
diff --git a/docs/AppStoreAppSupportInfo.md b/docs/AppStoreAppSupportInfo.md
new file mode 100644
index 00000000..c00d3452
--- /dev/null
+++ b/docs/AppStoreAppSupportInfo.md
@@ -0,0 +1,14 @@
+# Flipdish.AppStoreAppSupportInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PrivacyPolicy** | **String** | | [optional]
+**TermsOfUse** | **String** | | [optional]
+**CompanyWebsite** | **String** | | [optional]
+**LearnMore** | **String** | | [optional]
+**InstallationMessage** | **String** | | [optional]
+**SupportEmail** | **String** | | [optional]
+
+
diff --git a/docs/AppStoreConfigCreatedEvent.md b/docs/AppStoreConfigCreatedEvent.md
new file mode 100644
index 00000000..aa73f566
--- /dev/null
+++ b/docs/AppStoreConfigCreatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.AppStoreConfigCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**AppStoreAppId** | **String** | App Store App Id | [optional]
+**AppStoreAppConfigurationId** | **String** | App Store Configuration Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/AppStoreConfigDeletedEvent.md b/docs/AppStoreConfigDeletedEvent.md
new file mode 100644
index 00000000..9d621b88
--- /dev/null
+++ b/docs/AppStoreConfigDeletedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.AppStoreConfigDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**AppStoreAppId** | **String** | App Store Id | [optional]
+**AppStoreAppConfigurationId** | **String** | App Store Configuration Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/AppStoreConfigUpdatedEvent.md b/docs/AppStoreConfigUpdatedEvent.md
new file mode 100644
index 00000000..bec8c73c
--- /dev/null
+++ b/docs/AppStoreConfigUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.AppStoreConfigUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**AppStoreAppId** | **String** | App Store Id | [optional]
+**AppStoreAppConfiguration** | [**UpdateAppStoreAppConfigurationWebhookDTO**](UpdateAppStoreAppConfigurationWebhookDTO.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/AppStoreConfigurationsApi.md b/docs/AppStoreConfigurationsApi.md
new file mode 100644
index 00000000..5dd19e47
--- /dev/null
+++ b/docs/AppStoreConfigurationsApi.md
@@ -0,0 +1,470 @@
+# Flipdish.AppStoreConfigurationsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**appStoreConfigurationsAppStoreHandleOauthResponseCode**](AppStoreConfigurationsApi.md#appStoreConfigurationsAppStoreHandleOauthResponseCode) | **GET** /api/v1.0/appstore/oauthresponse/{appStoreAppId}/responsecode |
+[**createAppStoreConfig**](AppStoreConfigurationsApi.md#createAppStoreConfig) | **POST** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config |
+[**deleteAppStoreConfig**](AppStoreConfigurationsApi.md#deleteAppStoreConfig) | **DELETE** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId} |
+[**executeConfigurationAction**](AppStoreConfigurationsApi.md#executeConfigurationAction) | **POST** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}/action |
+[**getAppStoreConfig**](AppStoreConfigurationsApi.md#getAppStoreConfig) | **GET** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId} |
+[**getConfiguredAppSingleApp**](AppStoreConfigurationsApi.md#getConfiguredAppSingleApp) | **GET** /api/v1.0/{appId}/appstore/apps/{appStoreAppId} |
+[**getConfiguredApps**](AppStoreConfigurationsApi.md#getConfiguredApps) | **GET** /api/v1.0/{appId}/appstore/apps |
+[**updateAppStoreConfig**](AppStoreConfigurationsApi.md#updateAppStoreConfig) | **PUT** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId} |
+[**updateAppStoreConfigSettingValues**](AppStoreConfigurationsApi.md#updateAppStoreConfigSettingValues) | **POST** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}/updatesettings |
+
+
+
+## appStoreConfigurationsAppStoreHandleOauthResponseCode
+
+> Object appStoreConfigurationsAppStoreHandleOauthResponseCode(appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.appStoreConfigurationsAppStoreHandleOauthResponseCode(appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createAppStoreConfig
+
+> RestApiResultAppStoreAppConfiguration createAppStoreConfig(appId, appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.createAppStoreConfig(appId, appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+[**RestApiResultAppStoreAppConfiguration**](RestApiResultAppStoreAppConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## deleteAppStoreConfig
+
+> RestApiStringResult deleteAppStoreConfig(appId, appStoreAppId, configId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let configId = "configId_example"; // String |
+apiInstance.deleteAppStoreConfig(appId, appStoreAppId, configId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **configId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## executeConfigurationAction
+
+> RestApiResultExecuteConfigurationActionResult executeConfigurationAction(appId, appStoreAppId, configId, executeConfigurationActionRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let configId = "configId_example"; // String |
+let executeConfigurationActionRequest = new Flipdish.ExecuteConfigurationActionRequest(); // ExecuteConfigurationActionRequest |
+apiInstance.executeConfigurationAction(appId, appStoreAppId, configId, executeConfigurationActionRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **configId** | **String**| |
+ **executeConfigurationActionRequest** | [**ExecuteConfigurationActionRequest**](ExecuteConfigurationActionRequest.md)| |
+
+### Return type
+
+[**RestApiResultExecuteConfigurationActionResult**](RestApiResultExecuteConfigurationActionResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getAppStoreConfig
+
+> RestApiResultAppStoreAppConfiguration getAppStoreConfig(appId, appStoreAppId, configId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let configId = "configId_example"; // String |
+apiInstance.getAppStoreConfig(appId, appStoreAppId, configId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **configId** | **String**| |
+
+### Return type
+
+[**RestApiResultAppStoreAppConfiguration**](RestApiResultAppStoreAppConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getConfiguredAppSingleApp
+
+> RestApiArrayResultAppStoreAppConfigurationSummary getConfiguredAppSingleApp(appId, appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.getConfiguredAppSingleApp(appId, appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultAppStoreAppConfigurationSummary**](RestApiArrayResultAppStoreAppConfigurationSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getConfiguredApps
+
+> RestApiArrayResultAppStoreAppSummary getConfiguredApps(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+apiInstance.getConfiguredApps(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultAppStoreAppSummary**](RestApiArrayResultAppStoreAppSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateAppStoreConfig
+
+> updateAppStoreConfig(appId, appStoreAppId, configId, updateAppStoreAppConfiguration)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let configId = "configId_example"; // String |
+let updateAppStoreAppConfiguration = new Flipdish.UpdateAppStoreAppConfiguration(); // UpdateAppStoreAppConfiguration |
+apiInstance.updateAppStoreConfig(appId, appStoreAppId, configId, updateAppStoreAppConfiguration, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **configId** | **String**| |
+ **updateAppStoreAppConfiguration** | [**UpdateAppStoreAppConfiguration**](UpdateAppStoreAppConfiguration.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## updateAppStoreConfigSettingValues
+
+> updateAppStoreConfigSettingValues(appId, appStoreAppId, configId, updateAppStoreAppConfigurationValues)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreConfigurationsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let configId = "configId_example"; // String |
+let updateAppStoreAppConfigurationValues = new Flipdish.UpdateAppStoreAppConfigurationValuesBatch(); // UpdateAppStoreAppConfigurationValuesBatch |
+apiInstance.updateAppStoreConfigSettingValues(appId, appStoreAppId, configId, updateAppStoreAppConfigurationValues, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **configId** | **String**| |
+ **updateAppStoreAppConfigurationValues** | [**UpdateAppStoreAppConfigurationValuesBatch**](UpdateAppStoreAppConfigurationValuesBatch.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
diff --git a/docs/AppStoreDeveloperApi.md b/docs/AppStoreDeveloperApi.md
new file mode 100644
index 00000000..cb56098f
--- /dev/null
+++ b/docs/AppStoreDeveloperApi.md
@@ -0,0 +1,416 @@
+# Flipdish.AppStoreDeveloperApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**appVerificationUpdate**](AppStoreDeveloperApi.md#appVerificationUpdate) | **PUT** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/verification |
+[**createAppStoreApp**](AppStoreDeveloperApi.md#createAppStoreApp) | **POST** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps |
+[**deleteAppStoreApp**](AppStoreDeveloperApi.md#deleteAppStoreApp) | **DELETE** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId} |
+[**getAppExternalProduct**](AppStoreDeveloperApi.md#getAppExternalProduct) | **GET** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product |
+[**getExternalFunctionSigningKey**](AppStoreDeveloperApi.md#getExternalFunctionSigningKey) | **GET** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_function_signing_key |
+[**updateAppStoreApp**](AppStoreDeveloperApi.md#updateAppStoreApp) | **PUT** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId} |
+[**updateExternalProduct**](AppStoreDeveloperApi.md#updateExternalProduct) | **PUT** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product |
+[**uploadAppStoreAppLogo**](AppStoreDeveloperApi.md#uploadAppStoreAppLogo) | **POST** /api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/logo |
+
+
+
+## appVerificationUpdate
+
+> appVerificationUpdate(oauthAppId, appStoreAppId, verificationStatus)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let verificationStatus = "verificationStatus_example"; // String |
+apiInstance.appVerificationUpdate(oauthAppId, appStoreAppId, verificationStatus, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **verificationStatus** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Data, application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## createAppStoreApp
+
+> RestApiResultAppStoreApp createAppStoreApp(oauthAppId, createAppStoreApp)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let createAppStoreApp = new Flipdish.CreateAppStoreApp(); // CreateAppStoreApp |
+apiInstance.createAppStoreApp(oauthAppId, createAppStoreApp, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **createAppStoreApp** | [**CreateAppStoreApp**](CreateAppStoreApp.md)| |
+
+### Return type
+
+[**RestApiResultAppStoreApp**](RestApiResultAppStoreApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## deleteAppStoreApp
+
+> RestApiStringResult deleteAppStoreApp(oauthAppId, appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.deleteAppStoreApp(oauthAppId, appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getAppExternalProduct
+
+> getAppExternalProduct(oauthAppId, appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.getAppExternalProduct(oauthAppId, appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getExternalFunctionSigningKey
+
+> RestApiStringResult getExternalFunctionSigningKey(oauthAppId, appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.getExternalFunctionSigningKey(oauthAppId, appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## updateAppStoreApp
+
+> updateAppStoreApp(oauthAppId, appStoreAppId, appStoreApp)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let appStoreApp = new Flipdish.UpdateAppStoreApp(); // UpdateAppStoreApp |
+apiInstance.updateAppStoreApp(oauthAppId, appStoreAppId, appStoreApp, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **appStoreApp** | [**UpdateAppStoreApp**](UpdateAppStoreApp.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## updateExternalProduct
+
+> updateExternalProduct(oauthAppId, appStoreAppId, appStoreAppExternalProduct)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let appStoreAppExternalProduct = new Flipdish.UpdateAppStoreAppExternalProduct(); // UpdateAppStoreAppExternalProduct |
+apiInstance.updateExternalProduct(oauthAppId, appStoreAppId, appStoreAppExternalProduct, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **appStoreAppExternalProduct** | [**UpdateAppStoreAppExternalProduct**](UpdateAppStoreAppExternalProduct.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Data, application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## uploadAppStoreAppLogo
+
+> uploadAppStoreAppLogo(oauthAppId, appStoreAppId, Image)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreDeveloperApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+let Image = "/path/to/file"; // File | App Store App Logo
+apiInstance.uploadAppStoreAppLogo(oauthAppId, appStoreAppId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appStoreAppId** | **String**| |
+ **Image** | **File**| App Store App Logo |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/AppStoreEntitlementsApi.md b/docs/AppStoreEntitlementsApi.md
new file mode 100644
index 00000000..0b85f518
--- /dev/null
+++ b/docs/AppStoreEntitlementsApi.md
@@ -0,0 +1,58 @@
+# Flipdish.AppStoreEntitlementsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getAppStoreAppEntitlements**](AppStoreEntitlementsApi.md#getAppStoreAppEntitlements) | **GET** /api/v1.0/{appId}/appstore/apps/{appStoreAppId}/entitlements |
+
+
+
+## getAppStoreAppEntitlements
+
+> RestApiResultAppStoreAppEntitlements getAppStoreAppEntitlements(appId, appStoreAppId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppStoreEntitlementsApi();
+let appId = "appId_example"; // String |
+let appStoreAppId = "appStoreAppId_example"; // String |
+apiInstance.getAppStoreAppEntitlements(appId, appStoreAppId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreAppId** | **String**| |
+
+### Return type
+
+[**RestApiResultAppStoreAppEntitlements**](RestApiResultAppStoreAppEntitlements.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/AppStoreSubscriptionChangeJobUpdatedEvent.md b/docs/AppStoreSubscriptionChangeJobUpdatedEvent.md
new file mode 100644
index 00000000..a6150a7f
--- /dev/null
+++ b/docs/AppStoreSubscriptionChangeJobUpdatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.AppStoreSubscriptionChangeJobUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**AppStoreAppId** | **String** | App Store Id | [optional]
+**Status** | **String** | Status | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/AppUpdatedEvent.md b/docs/AppUpdatedEvent.md
new file mode 100644
index 00000000..1578aaed
--- /dev/null
+++ b/docs/AppUpdatedEvent.md
@@ -0,0 +1,21 @@
+# Flipdish.AppUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**Changes** | **String** | A summary of changes made | [optional]
+**AppName** | **String** | App Name | [optional]
+**CountryId** | **String** | Country Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**App** | [**App**](App.md) | | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/AppsApi.md b/docs/AppsApi.md
new file mode 100644
index 00000000..7d11b159
--- /dev/null
+++ b/docs/AppsApi.md
@@ -0,0 +1,950 @@
+# Flipdish.AppsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**appsSetPropertyId**](AppsApi.md#appsSetPropertyId) | **POST** /api/v1.0/apps/{appId}/orgId/{orgId} |
+[**createApp**](AppsApi.md#createApp) | **POST** /api/v1.0/apps |
+[**getApp**](AppsApi.md#getApp) | **GET** /api/v1.0/apps/{appId} |
+[**getAppHostnameStatus**](AppsApi.md#getAppHostnameStatus) | **GET** /api/v1.0/apps/{appId}/hostnamestatus |
+[**getAppName**](AppsApi.md#getAppName) | **GET** /api/v1.0/apps/{appId}/name |
+[**getApps**](AppsApi.md#getApps) | **GET** /api/v1.0/apps |
+[**getCompliance**](AppsApi.md#getCompliance) | **GET** /api/v1.0/apps/{appId}/compliance |
+[**getPanaceaVanityUrl**](AppsApi.md#getPanaceaVanityUrl) | **GET** /api/v1.0/apps/{appId}/panacea/url |
+[**getSupportedCountries**](AppsApi.md#getSupportedCountries) | **GET** /api/v1.0/apps/supportedcountries |
+[**isPanaceaVanityUrlAvailable**](AppsApi.md#isPanaceaVanityUrlAvailable) | **GET** /api/v1.0/apps/{appId}/panacea/url/available |
+[**lookupByWhitelabelId**](AppsApi.md#lookupByWhitelabelId) | **GET** /api/v1.0/apps/{whitelabelId}/lookup |
+[**setAppConfig**](AppsApi.md#setAppConfig) | **POST** /api/v1.0/apps/{appId}/config |
+[**setAppHostname**](AppsApi.md#setAppHostname) | **POST** /api/v1.0/apps/{appId}/hostname |
+[**setAppLanguages**](AppsApi.md#setAppLanguages) | **POST** /api/v1.0/apps/{appId}/config/languages |
+[**setAppStoreName**](AppsApi.md#setAppStoreName) | **POST** /api/v1.0/apps/{appId}/appstorename |
+[**setCompliance**](AppsApi.md#setCompliance) | **POST** /api/v1.0/apps/{appId}/compliance |
+[**setPanaceaVanityUrl**](AppsApi.md#setPanaceaVanityUrl) | **POST** /api/v1.0/apps/{appId}/panacea/url |
+[**toggleNextGenWeb**](AppsApi.md#toggleNextGenWeb) | **POST** /api/v1.0/apps/{appId}/nextgenweb |
+[**uploadAppLogo**](AppsApi.md#uploadAppLogo) | **POST** /api/v1.0/apps/{appId}/logo |
+
+
+
+## appsSetPropertyId
+
+> Object appsSetPropertyId(appId, orgId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let orgId = "orgId_example"; // String |
+apiInstance.appsSetPropertyId(appId, orgId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **orgId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createApp
+
+> RestApiStringResult createApp(parameters)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let parameters = new Flipdish.CreateAppParameters(); // CreateAppParameters |
+apiInstance.createApp(parameters, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **parameters** | [**CreateAppParameters**](CreateAppParameters.md)| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getApp
+
+> RestApiResultApp getApp(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getApp(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultApp**](RestApiResultApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getAppHostnameStatus
+
+> RestApiResultDnsRecordInformation getAppHostnameStatus(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getAppHostnameStatus(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultDnsRecordInformation**](RestApiResultDnsRecordInformation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getAppName
+
+> RestApiStringResult getAppName(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getAppName(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getApps
+
+> RestApiPaginationResultApp getApps(opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let opts = {
+ 'nameFilter': "nameFilter_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getApps(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **nameFilter** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultApp**](RestApiPaginationResultApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getCompliance
+
+> RestApiResultAppCompliance getCompliance(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getCompliance(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultAppCompliance**](RestApiResultAppCompliance.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPanaceaVanityUrl
+
+> RestApiStringResult getPanaceaVanityUrl(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getPanaceaVanityUrl(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getSupportedCountries
+
+> RestApiArrayResultSupportedCountry getSupportedCountries()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+apiInstance.getSupportedCountries((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiArrayResultSupportedCountry**](RestApiArrayResultSupportedCountry.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## isPanaceaVanityUrlAvailable
+
+> RestApiStringResult isPanaceaVanityUrlAvailable(vanityUrl, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let vanityUrl = "vanityUrl_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.isPanaceaVanityUrlAvailable(vanityUrl, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **vanityUrl** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## lookupByWhitelabelId
+
+> AppLookup lookupByWhitelabelId(whitelabelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let whitelabelId = 56; // Number |
+apiInstance.lookupByWhitelabelId(whitelabelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **whitelabelId** | **Number**| |
+
+### Return type
+
+[**AppLookup**](AppLookup.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setAppConfig
+
+> RestApiResultApp setAppConfig(appId, appConfigUpdate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let appConfigUpdate = new Flipdish.AppConfigUpdateModel(); // AppConfigUpdateModel |
+apiInstance.setAppConfig(appId, appConfigUpdate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appConfigUpdate** | [**AppConfigUpdateModel**](AppConfigUpdateModel.md)| |
+
+### Return type
+
+[**RestApiResultApp**](RestApiResultApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setAppHostname
+
+> RestApiStringResult setAppHostname(appId, hostname, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let hostname = "hostname_example"; // String |
+let opts = {
+ 'isEmbed': true // Boolean |
+};
+apiInstance.setAppHostname(appId, hostname, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **hostname** | **String**| |
+ **isEmbed** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setAppLanguages
+
+> RestApiResultApp setAppLanguages(appId, languages)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let languages = [new Flipdish.Language()]; // [Language] |
+apiInstance.setAppLanguages(appId, languages, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **languages** | [**[Language]**](Language.md)| |
+
+### Return type
+
+[**RestApiResultApp**](RestApiResultApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setAppStoreName
+
+> setAppStoreName(appId, appStoreName)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let appStoreName = "appStoreName_example"; // String |
+apiInstance.setAppStoreName(appId, appStoreName, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appStoreName** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setCompliance
+
+> RestApiResultAppCompliance setCompliance(appId, complianceType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let complianceType = "complianceType_example"; // String |
+apiInstance.setCompliance(appId, complianceType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **complianceType** | **String**| |
+
+### Return type
+
+[**RestApiResultAppCompliance**](RestApiResultAppCompliance.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setPanaceaVanityUrl
+
+> RestApiStringResult setPanaceaVanityUrl(appId, vanityUrl)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let vanityUrl = "vanityUrl_example"; // String |
+apiInstance.setPanaceaVanityUrl(appId, vanityUrl, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **vanityUrl** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## toggleNextGenWeb
+
+> RestApiStringResult toggleNextGenWeb(appId, hostname, vanityUrl, isNextGenWeb)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let hostname = "hostname_example"; // String |
+let vanityUrl = "vanityUrl_example"; // String |
+let isNextGenWeb = true; // Boolean |
+apiInstance.toggleNextGenWeb(appId, hostname, vanityUrl, isNextGenWeb, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **hostname** | **String**| |
+ **vanityUrl** | **String**| |
+ **isNextGenWeb** | **Boolean**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## uploadAppLogo
+
+> uploadAppLogo(appId, Image)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AppsApi();
+let appId = "appId_example"; // String |
+let Image = "/path/to/file"; // File | App Logo
+apiInstance.uploadAppLogo(appId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **Image** | **File**| App Logo |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/AssignedBankAccount.md b/docs/AssignedBankAccount.md
new file mode 100644
index 00000000..f9937062
--- /dev/null
+++ b/docs/AssignedBankAccount.md
@@ -0,0 +1,10 @@
+# Flipdish.AssignedBankAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id of Bank Account | [optional]
+**BankAccountName** | **String** | Name of Bank Account | [optional]
+
+
diff --git a/docs/AuditLogFieldChangeInformation.md b/docs/AuditLogFieldChangeInformation.md
new file mode 100644
index 00000000..22e81ccb
--- /dev/null
+++ b/docs/AuditLogFieldChangeInformation.md
@@ -0,0 +1,13 @@
+# Flipdish.AuditLogFieldChangeInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Path** | **String** | Path (hierarchy) | [optional]
+**Name** | **String** | Name of field | [optional]
+**Key** | **String** | Key (code) of field | [optional]
+**OldValue** | **String** | Old value | [optional]
+**NewValue** | **String** | New value | [optional]
+
+
diff --git a/docs/AuditLogsApi.md b/docs/AuditLogsApi.md
new file mode 100644
index 00000000..ca89fc7c
--- /dev/null
+++ b/docs/AuditLogsApi.md
@@ -0,0 +1,108 @@
+# Flipdish.AuditLogsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addOrderAuditLog**](AuditLogsApi.md#addOrderAuditLog) | **POST** /api/v1.0/auditlogs/orders/{orderId} |
+[**addStoreAuditLogEvent**](AuditLogsApi.md#addStoreAuditLogEvent) | **POST** /api/v1.0/auditlogs/stores/{storeId} |
+
+
+
+## addOrderAuditLog
+
+> addOrderAuditLog(orderId, externalEventCreate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AuditLogsApi();
+let orderId = 56; // Number |
+let externalEventCreate = [new Flipdish.ExternalStoreAuditLog()]; // [ExternalStoreAuditLog] |
+apiInstance.addOrderAuditLog(orderId, externalEventCreate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+ **externalEventCreate** | [**[ExternalStoreAuditLog]**](ExternalStoreAuditLog.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
+
+## addStoreAuditLogEvent
+
+> addStoreAuditLogEvent(storeId, externalEventCreate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AuditLogsApi();
+let storeId = 56; // Number |
+let externalEventCreate = [new Flipdish.ExternalStoreAuditLog()]; // [ExternalStoreAuditLog] |
+apiInstance.addStoreAuditLogEvent(storeId, externalEventCreate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **externalEventCreate** | [**[ExternalStoreAuditLog]**](ExternalStoreAuditLog.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/AuthorizationTokensApi.md b/docs/AuthorizationTokensApi.md
new file mode 100644
index 00000000..f20214ea
--- /dev/null
+++ b/docs/AuthorizationTokensApi.md
@@ -0,0 +1,114 @@
+# Flipdish.AuthorizationTokensApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getAuthorizationTokens**](AuthorizationTokensApi.md#getAuthorizationTokens) | **GET** /api/v1.0/{appId}/authorizationtokens/{oauthAppId} |
+[**revokeToken**](AuthorizationTokensApi.md#revokeToken) | **DELETE** /api/v1.0/{appId}/authorizationtokens/{key} |
+
+
+
+## getAuthorizationTokens
+
+> RestApiPaginationResultOAuthTokenModel getAuthorizationTokens(oauthAppId, appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AuthorizationTokensApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getAuthorizationTokens(oauthAppId, appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultOAuthTokenModel**](RestApiPaginationResultOAuthTokenModel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## revokeToken
+
+> revokeToken(key, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.AuthorizationTokensApi();
+let key = "key_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.revokeToken(key, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **key** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
diff --git a/docs/BalanceDetails.md b/docs/BalanceDetails.md
new file mode 100644
index 00000000..e53c95ea
--- /dev/null
+++ b/docs/BalanceDetails.md
@@ -0,0 +1,10 @@
+# Flipdish.BalanceDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OpeningBalance** | **Number** | | [optional]
+**ClosingBalance** | **Number** | | [optional]
+
+
diff --git a/docs/BankAccount.md b/docs/BankAccount.md
new file mode 100644
index 00000000..af8634a6
--- /dev/null
+++ b/docs/BankAccount.md
@@ -0,0 +1,37 @@
+# Flipdish.BankAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id of this account | [optional]
+**AccountName** | **String** | Name of this account | [optional]
+**Iban** | **String** | IBAN of this account | [optional]
+**Swift** | **String** | SWIFT of this bank account | [optional]
+**PopulatedAccountFields** | [**[AccountFieldKeyValuePair]**](AccountFieldKeyValuePair.md) | A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields should be ignored. | [optional]
+**AccountState** | **String** | Status of Account | [optional]
+**StoreNames** | **[String]** | Store Names that are attached to this account | [optional]
+**StoreIds** | **[Number]** | Store Ids that are attached to this account | [optional]
+**BankAddress** | **String** | Address lf the bank | [optional]
+**BankCountryCode** | **String** | CountryCode of the Bank Account | [optional]
+**AccountHolderAddress** | **String** | Account Holders Address | [optional]
+**AccountHolderCountryCode** | **String** | Account Holders Country Code | [optional]
+**VatNumber** | **String** | Account Holders Vat Number | [optional]
+**StripeAccountId** | **String** | Stripe Id of the connected account | [optional]
+
+
+
+## Enum: AccountStateEnum
+
+
+* `Unverified` (value: `"Unverified"`)
+
+* `AwatingVerification` (value: `"AwatingVerification"`)
+
+* `Verified` (value: `"Verified"`)
+
+* `Grandfathered` (value: `"Grandfathered"`)
+
+
+
+
diff --git a/docs/BankAccountApi.md b/docs/BankAccountApi.md
new file mode 100644
index 00000000..f28e1038
--- /dev/null
+++ b/docs/BankAccountApi.md
@@ -0,0 +1,460 @@
+# Flipdish.BankAccountApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**attachBankAccountToStore**](BankAccountApi.md#attachBankAccountToStore) | **POST** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/store/{storeId} |
+[**createBankAccount**](BankAccountApi.md#createBankAccount) | **POST** /api/v1.0/{appId}/bankaccounts |
+[**deleteBankAccount**](BankAccountApi.md#deleteBankAccount) | **DELETE** /api/v1.0/{appId}/bankaccounts/{bankAccountId} |
+[**getBankAccountById**](BankAccountApi.md#getBankAccountById) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId} |
+[**getBankAccounts**](BankAccountApi.md#getBankAccounts) | **GET** /api/v1.0/{appId}/bankaccounts |
+[**getCountriesWithFieldDefinitions**](BankAccountApi.md#getCountriesWithFieldDefinitions) | **GET** /api/v1.0/{appId}/bankaccounts/countries-field-definitions |
+[**getFieldDefinitions**](BankAccountApi.md#getFieldDefinitions) | **GET** /api/v1.0/{appId}/bankaccounts/field-definitions |
+[**updateBankAccount**](BankAccountApi.md#updateBankAccount) | **POST** /api/v1.0/{appId}/bankaccounts/{bankAccountId} |
+[**updateBankAccountState**](BankAccountApi.md#updateBankAccountState) | **POST** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/state/{state} |
+
+
+
+## attachBankAccountToStore
+
+> attachBankAccountToStore(appId, bankAccountId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let storeId = 56; // Number |
+apiInstance.attachBankAccountToStore(appId, bankAccountId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createBankAccount
+
+> RestApiResultBankAccountDetail createBankAccount(appId, account)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+let account = new Flipdish.BankAccountCreate(); // BankAccountCreate |
+apiInstance.createBankAccount(appId, account, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **account** | [**BankAccountCreate**](BankAccountCreate.md)| |
+
+### Return type
+
+[**RestApiResultBankAccountDetail**](RestApiResultBankAccountDetail.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteBankAccount
+
+> deleteBankAccount(appId, bankAccountId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+apiInstance.deleteBankAccount(appId, bankAccountId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getBankAccountById
+
+> RestApiResultBankAccountDetail getBankAccountById(bankAccountId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let bankAccountId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.getBankAccountById(bankAccountId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bankAccountId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultBankAccountDetail**](RestApiResultBankAccountDetail.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getBankAccounts
+
+> RestApiArrayResultBankAccountSummary getBankAccounts(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+apiInstance.getBankAccounts(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultBankAccountSummary**](RestApiArrayResultBankAccountSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getCountriesWithFieldDefinitions
+
+> RestApiArrayResultCountryWithAccountFieldsDefinitions getCountriesWithFieldDefinitions(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+apiInstance.getCountriesWithFieldDefinitions(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultCountryWithAccountFieldsDefinitions**](RestApiArrayResultCountryWithAccountFieldsDefinitions.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getFieldDefinitions
+
+> RestApiResultAccountFieldsDefinitions getFieldDefinitions(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+apiInstance.getFieldDefinitions(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultAccountFieldsDefinitions**](RestApiResultAccountFieldsDefinitions.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateBankAccount
+
+> updateBankAccount(appId, bankAccountId, account)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let account = new Flipdish.BankAccountCreate(); // BankAccountCreate |
+apiInstance.updateBankAccount(appId, bankAccountId, account, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **account** | [**BankAccountCreate**](BankAccountCreate.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateBankAccountState
+
+> updateBankAccountState(appId, bankAccountId, state, reason)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.BankAccountApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let state = "state_example"; // String |
+let reason = "reason_example"; // String |
+apiInstance.updateBankAccountState(appId, bankAccountId, state, reason, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **state** | **String**| |
+ **reason** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/BankAccountAssignedEvent.md b/docs/BankAccountAssignedEvent.md
new file mode 100644
index 00000000..c02ea0fa
--- /dev/null
+++ b/docs/BankAccountAssignedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.BankAccountAssignedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrgId** | **String** | Organisation Id | [optional]
+**BankAccount** | [**BankAccount**](BankAccount.md) | | [optional]
+**Description** | **String** | Event description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/BankAccountCreate.md b/docs/BankAccountCreate.md
new file mode 100644
index 00000000..17035a07
--- /dev/null
+++ b/docs/BankAccountCreate.md
@@ -0,0 +1,271 @@
+# Flipdish.BankAccountCreate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BankAddress** | **String** | Address lf the bank | [optional]
+**BankCountryCode** | **String** | CountryCode of the Bank Account | [optional]
+**AccountHolderAddress** | **String** | Account Holders Address | [optional]
+**AccountHolderCountryCode** | **String** | Account Holders Country Code | [optional]
+**VatNumber** | **String** | Account Holders Vat Number | [optional]
+**CurrencyCode** | **String** | Currency of Account | [optional]
+**StoreIds** | **[Number]** | List of stores to attach to Account | [optional]
+**BankName** | **String** | Name of Bank | [optional]
+**AccountName** | **String** | Name of this account | [optional]
+**Iban** | **String** | IBAN of this account | [optional]
+**Swift** | **String** | SWIFT of this bank account | [optional]
+**NationalClearingCode** | **String** | National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ) | [optional]
+**PopulatedAccountFields** | [**[AccountFieldKeyValuePair]**](AccountFieldKeyValuePair.md) | A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored. | [optional]
+**RejectionReason** | **String** | Reason for Rejection | [optional]
+**BusinessType** | **String** | Business Type | [optional]
+
+
+
+## Enum: CurrencyCodeEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: BusinessTypeEnum
+
+
+* `Individual` (value: `"Individual"`)
+
+* `Company` (value: `"Company"`)
+
+* `NonProfit` (value: `"NonProfit"`)
+
+* `GovernmentEntity` (value: `"GovernmentEntity"`)
+
+
+
+
diff --git a/docs/BankAccountCreatedEvent.md b/docs/BankAccountCreatedEvent.md
new file mode 100644
index 00000000..9314680c
--- /dev/null
+++ b/docs/BankAccountCreatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.BankAccountCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrgId** | **String** | Organisation Id | [optional]
+**BankAccount** | [**BankAccount**](BankAccount.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/BankAccountDeletedEvent.md b/docs/BankAccountDeletedEvent.md
new file mode 100644
index 00000000..b0c98f9b
--- /dev/null
+++ b/docs/BankAccountDeletedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.BankAccountDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrgId** | **String** | Organisation Id | [optional]
+**BankAccount** | [**BankAccount**](BankAccount.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/BankAccountDetail.md b/docs/BankAccountDetail.md
new file mode 100644
index 00000000..aeb71ac4
--- /dev/null
+++ b/docs/BankAccountDetail.md
@@ -0,0 +1,290 @@
+# Flipdish.BankAccountDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id of this account | [optional]
+**StoreNames** | **[String]** | Store Names that are attached to this account | [optional]
+**AccountState** | **String** | Status of Account | [optional]
+**StripeConnectedAccountInfo** | [**StripeConnectedAccountInfo**](StripeConnectedAccountInfo.md) | | [optional]
+**BankAddress** | **String** | Address lf the bank | [optional]
+**BankCountryCode** | **String** | CountryCode of the Bank Account | [optional]
+**AccountHolderAddress** | **String** | Account Holders Address | [optional]
+**AccountHolderCountryCode** | **String** | Account Holders Country Code | [optional]
+**VatNumber** | **String** | Account Holders Vat Number | [optional]
+**CurrencyCode** | **String** | Currency of Account | [optional]
+**StoreIds** | **[Number]** | List of stores to attach to Account | [optional]
+**BankName** | **String** | Name of Bank | [optional]
+**AccountName** | **String** | Name of this account | [optional]
+**Iban** | **String** | IBAN of this account | [optional]
+**Swift** | **String** | SWIFT of this bank account | [optional]
+**NationalClearingCode** | **String** | National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ) | [optional]
+**PopulatedAccountFields** | [**[AccountFieldKeyValuePair]**](AccountFieldKeyValuePair.md) | A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored. | [optional]
+**RejectionReason** | **String** | Reason for Rejection | [optional]
+**BusinessType** | **String** | Business Type | [optional]
+
+
+
+## Enum: AccountStateEnum
+
+
+* `Unverified` (value: `"Unverified"`)
+
+* `AwatingVerification` (value: `"AwatingVerification"`)
+
+* `Verified` (value: `"Verified"`)
+
+* `Grandfathered` (value: `"Grandfathered"`)
+
+
+
+
+
+## Enum: CurrencyCodeEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: BusinessTypeEnum
+
+
+* `Individual` (value: `"Individual"`)
+
+* `Company` (value: `"Company"`)
+
+* `NonProfit` (value: `"NonProfit"`)
+
+* `GovernmentEntity` (value: `"GovernmentEntity"`)
+
+
+
+
diff --git a/docs/BankAccountDetailsUpdateRequest.md b/docs/BankAccountDetailsUpdateRequest.md
new file mode 100644
index 00000000..82bc8d7e
--- /dev/null
+++ b/docs/BankAccountDetailsUpdateRequest.md
@@ -0,0 +1,35 @@
+# Flipdish.BankAccountDetailsUpdateRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BankAddress** | **String** | Address of the bank account | [optional]
+**AccountHolderAddress** | **String** | Address of the payee | [optional]
+**VatNumber** | **String** | Account Holders Vat Number | [optional]
+**StoreIds** | **[Number]** | List of stores to attach to Account | [optional]
+**BankName** | **String** | Name of Bank | [optional]
+**AccountName** | **String** | Name of this account | [optional]
+**Iban** | **String** | IBAN of this account | [optional]
+**Swift** | **String** | SWIFT of this bank account | [optional]
+**NationalClearingCode** | **String** | National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ) | [optional]
+**PopulatedAccountFields** | [**[AccountFieldKeyValuePair]**](AccountFieldKeyValuePair.md) | A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored. | [optional]
+**RejectionReason** | **String** | Reason for Rejection | [optional]
+**BusinessType** | **String** | Business Type | [optional]
+
+
+
+## Enum: BusinessTypeEnum
+
+
+* `Individual` (value: `"Individual"`)
+
+* `Company` (value: `"Company"`)
+
+* `NonProfit` (value: `"NonProfit"`)
+
+* `GovernmentEntity` (value: `"GovernmentEntity"`)
+
+
+
+
diff --git a/docs/BankAccountSummary.md b/docs/BankAccountSummary.md
new file mode 100644
index 00000000..3901ff79
--- /dev/null
+++ b/docs/BankAccountSummary.md
@@ -0,0 +1,51 @@
+# Flipdish.BankAccountSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id of this account | [optional]
+**StoreNames** | **[String]** | Store Names that are attached to this account | [optional]
+**StoreIds** | **[Number]** | Store Ids that are attached to this account | [optional]
+**AccountState** | **String** | Status of Account | [optional]
+**CurrencyCode** | **String** | Currency of Account | [optional]
+**StripeConnectedAccountInfo** | [**StripeConnectedAccountInfo**](StripeConnectedAccountInfo.md) | | [optional]
+**AccountName** | **String** | Name of this account | [optional]
+**Iban** | **String** | IBAN of this account | [optional]
+**Swift** | **String** | SWIFT of this bank account | [optional]
+**NationalClearingCode** | **String** | National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ) | [optional]
+**PopulatedAccountFields** | [**[AccountFieldKeyValuePair]**](AccountFieldKeyValuePair.md) | A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored. | [optional]
+**RejectionReason** | **String** | Reason for Rejection | [optional]
+**BusinessType** | **String** | Business Type | [optional]
+
+
+
+## Enum: AccountStateEnum
+
+
+* `Unverified` (value: `"Unverified"`)
+
+* `AwatingVerification` (value: `"AwatingVerification"`)
+
+* `Verified` (value: `"Verified"`)
+
+* `Grandfathered` (value: `"Grandfathered"`)
+
+
+
+
+
+## Enum: BusinessTypeEnum
+
+
+* `Individual` (value: `"Individual"`)
+
+* `Company` (value: `"Company"`)
+
+* `NonProfit` (value: `"NonProfit"`)
+
+* `GovernmentEntity` (value: `"GovernmentEntity"`)
+
+
+
+
diff --git a/docs/BankAccountUpdatedEvent.md b/docs/BankAccountUpdatedEvent.md
new file mode 100644
index 00000000..42256fd3
--- /dev/null
+++ b/docs/BankAccountUpdatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.BankAccountUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrgId** | **String** | Organisation Id | [optional]
+**BankAccount** | [**BankAccount**](BankAccount.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/BluetoothTerminalStatus.md b/docs/BluetoothTerminalStatus.md
new file mode 100644
index 00000000..93cad529
--- /dev/null
+++ b/docs/BluetoothTerminalStatus.md
@@ -0,0 +1,49 @@
+# Flipdish.BluetoothTerminalStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SerialNumber** | **String** | Serial Number | [optional]
+**SoftwareVersion** | **String** | Software Version | [optional]
+**DeviceType** | **String** | Device Type | [optional]
+**Status** | **String** | Device Status | [optional]
+**BatteryLevel** | **Number** | Indication of the battery level from 0 to 1 | [optional]
+**UpdateTime** | **Date** | Last time the status was updated | [optional]
+**ReaderId** | **String** | ReaderId for Stripe Terminal | [optional]
+
+
+
+## Enum: DeviceTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
+
+## Enum: StatusEnum
+
+
+* `Not_Connected` (value: `"Not_Connected"`)
+
+* `Connecting` (value: `"Connecting"`)
+
+* `Connected` (value: `"Connected"`)
+
+* `Online` (value: `"Online"`)
+
+* `Offline` (value: `"Offline"`)
+
+
+
+
diff --git a/docs/BusinessHoursOverride.md b/docs/BusinessHoursOverride.md
new file mode 100644
index 00000000..5ff8a894
--- /dev/null
+++ b/docs/BusinessHoursOverride.md
@@ -0,0 +1,37 @@
+# Flipdish.BusinessHoursOverride
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BusinessHoursOverrideId** | **Number** | Unique identifier | [optional]
+**DeliveryType** | **String** | Delivery or Pickup | [optional]
+**StartTime** | **Date** | Date and time in ISO 8601 format. |
+**EndTime** | **Date** | Date and time in ISO 8601 format. |
+**Type** | **String** | Open, Closed or ClosedAllowPreOrders | [optional]
+
+
+
+## Enum: DeliveryTypeEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
+
+## Enum: TypeEnum
+
+
+* `Open` (value: `"Open"`)
+
+* `Closed` (value: `"Closed"`)
+
+* `ClosedAllowPreOrders` (value: `"ClosedAllowPreOrders"`)
+
+
+
+
diff --git a/docs/BusinessHoursOverrideBase.md b/docs/BusinessHoursOverrideBase.md
new file mode 100644
index 00000000..ff73def9
--- /dev/null
+++ b/docs/BusinessHoursOverrideBase.md
@@ -0,0 +1,36 @@
+# Flipdish.BusinessHoursOverrideBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryType** | **String** | Delivery or Pickup | [optional]
+**StartTime** | **Date** | Date and time in ISO 8601 format. |
+**EndTime** | **Date** | Date and time in ISO 8601 format. |
+**Type** | **String** | Open, Closed or ClosedAllowPreOrders | [optional]
+
+
+
+## Enum: DeliveryTypeEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
+
+## Enum: TypeEnum
+
+
+* `Open` (value: `"Open"`)
+
+* `Closed` (value: `"Closed"`)
+
+* `ClosedAllowPreOrders` (value: `"ClosedAllowPreOrders"`)
+
+
+
+
diff --git a/docs/BusinessHoursPeriod.md b/docs/BusinessHoursPeriod.md
new file mode 100644
index 00000000..c2dbd0ea
--- /dev/null
+++ b/docs/BusinessHoursPeriod.md
@@ -0,0 +1,37 @@
+# Flipdish.BusinessHoursPeriod
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Early** | [**Range**](Range.md) | | [optional]
+**Late** | [**Range**](Range.md) | | [optional]
+**Ranges** | [**[Range]**](Range.md) | Ranges | [optional]
+**DayOfWeek** | **String** | Day of week | [optional]
+**StartTime** | **String** | Start time | [optional]
+**Period** | **String** | Period | [optional]
+**StartTimeEarly** | **String** | Start time early | [optional]
+**PeriodEarly** | **String** | Period early | [optional]
+
+
+
+## Enum: DayOfWeekEnum
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/BusinessHoursPeriodBase.md b/docs/BusinessHoursPeriodBase.md
new file mode 100644
index 00000000..9d9610aa
--- /dev/null
+++ b/docs/BusinessHoursPeriodBase.md
@@ -0,0 +1,34 @@
+# Flipdish.BusinessHoursPeriodBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DayOfWeek** | **String** | Day of week | [optional]
+**StartTime** | **String** | Start time | [optional]
+**Period** | **String** | Period | [optional]
+**StartTimeEarly** | **String** | Start time early | [optional]
+**PeriodEarly** | **String** | Period early | [optional]
+
+
+
+## Enum: DayOfWeekEnum
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/CampaignStatistics.md b/docs/CampaignStatistics.md
new file mode 100644
index 00000000..702c152f
--- /dev/null
+++ b/docs/CampaignStatistics.md
@@ -0,0 +1,13 @@
+# Flipdish.CampaignStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VouchersIssued** | **Number** | Deprecated. Number of issued vouchers. This field is always zero. | [optional]
+**VouchersRedeemed** | **Number** | Deprecated. Number of redeemed vouchers. This field is always zero. This field is always zero. | [optional]
+**Conversion** | **Number** | Deprecated. Conversion of campaign (VouchersIssued / VouchersRedeemed). This field is always zero. | [optional]
+**SalesGenerated** | **Number** | Deprecated. Sales generated by campaign (TotalAmount - FeeChargedToCustomer ie. the discounted sale value). This field is always zero. | [optional]
+**ReturnOfInvestment** | **Number** | Deprecated. Return of investment of campaign (TotalAmount / DiscountAmount). This field is always zero. | [optional]
+
+
diff --git a/docs/CampaignsApi.md b/docs/CampaignsApi.md
new file mode 100644
index 00000000..d2570d34
--- /dev/null
+++ b/docs/CampaignsApi.md
@@ -0,0 +1,510 @@
+# Flipdish.CampaignsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createLoyaltyCampaign**](CampaignsApi.md#createLoyaltyCampaign) | **POST** /api/v1.0/{appId}/campaigns/loyalty |
+[**createRetentionCampaign**](CampaignsApi.md#createRetentionCampaign) | **POST** /api/v1.0/{appId}/campaigns/retention |
+[**getLoyaltyCampaignsForApp**](CampaignsApi.md#getLoyaltyCampaignsForApp) | **GET** /api/v1.0/{appId}/campaigns/loyalty |
+[**getLoyaltyCampaignsForStore**](CampaignsApi.md#getLoyaltyCampaignsForStore) | **GET** /api/v1.0/{appId}/campaigns/loyalty/{storeId} |
+[**getRetentionCampaignsForApp**](CampaignsApi.md#getRetentionCampaignsForApp) | **GET** /api/v1.0/{appId}/campaigns/retention |
+[**getRetentionCampaignsForStore**](CampaignsApi.md#getRetentionCampaignsForStore) | **GET** /api/v1.0/{appId}/campaigns/retention/{storeId} |
+[**getStoreList**](CampaignsApi.md#getStoreList) | **GET** /api/v1.0/{appId}/campaigns/stores |
+[**removeCampaign**](CampaignsApi.md#removeCampaign) | **DELETE** /api/v1.0/{appId}/campaigns/{campaignId} |
+[**updateLoyaltyCampaign**](CampaignsApi.md#updateLoyaltyCampaign) | **POST** /api/v1.0/{appId}/campaigns/loyalty/{campaignId} |
+[**updateRetentionCampaign**](CampaignsApi.md#updateRetentionCampaign) | **POST** /api/v1.0/{appId}/campaigns/retention/{campaignId} |
+
+
+
+## createLoyaltyCampaign
+
+> RestApiResultLoyaltyCampaign createLoyaltyCampaign(appId, campaign)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let campaign = new Flipdish.LoyaltyCampaignBase(); // LoyaltyCampaignBase |
+apiInstance.createLoyaltyCampaign(appId, campaign, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **campaign** | [**LoyaltyCampaignBase**](LoyaltyCampaignBase.md)| |
+
+### Return type
+
+[**RestApiResultLoyaltyCampaign**](RestApiResultLoyaltyCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## createRetentionCampaign
+
+> RestApiResultRetentionCampaign createRetentionCampaign(appId, campaign)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let campaign = new Flipdish.RetentionCampaignBase(); // RetentionCampaignBase |
+apiInstance.createRetentionCampaign(appId, campaign, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **campaign** | [**RetentionCampaignBase**](RetentionCampaignBase.md)| |
+
+### Return type
+
+[**RestApiResultRetentionCampaign**](RestApiResultRetentionCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getLoyaltyCampaignsForApp
+
+> RestApiArrayResultLoyaltyCampaign getLoyaltyCampaignsForApp(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+apiInstance.getLoyaltyCampaignsForApp(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultLoyaltyCampaign**](RestApiArrayResultLoyaltyCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getLoyaltyCampaignsForStore
+
+> RestApiArrayResultLoyaltyCampaign getLoyaltyCampaignsForStore(appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.getLoyaltyCampaignsForStore(appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultLoyaltyCampaign**](RestApiArrayResultLoyaltyCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getRetentionCampaignsForApp
+
+> RestApiArrayResultRetentionCampaign getRetentionCampaignsForApp(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+apiInstance.getRetentionCampaignsForApp(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultRetentionCampaign**](RestApiArrayResultRetentionCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getRetentionCampaignsForStore
+
+> RestApiArrayResultRetentionCampaign getRetentionCampaignsForStore(appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.getRetentionCampaignsForStore(appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultRetentionCampaign**](RestApiArrayResultRetentionCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getStoreList
+
+> RestApiArrayResultStoreListItem getStoreList(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'onlyPublished': true // Boolean |
+};
+apiInstance.getStoreList(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **onlyPublished** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultStoreListItem**](RestApiArrayResultStoreListItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## removeCampaign
+
+> removeCampaign(appId, campaignId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let campaignId = 56; // Number |
+apiInstance.removeCampaign(appId, campaignId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **campaignId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## updateLoyaltyCampaign
+
+> RestApiResultLoyaltyCampaign updateLoyaltyCampaign(appId, campaignId, campaign)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let campaignId = 56; // Number |
+let campaign = new Flipdish.LoyaltyCampaignBase(); // LoyaltyCampaignBase |
+apiInstance.updateLoyaltyCampaign(appId, campaignId, campaign, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **campaignId** | **Number**| |
+ **campaign** | [**LoyaltyCampaignBase**](LoyaltyCampaignBase.md)| |
+
+### Return type
+
+[**RestApiResultLoyaltyCampaign**](RestApiResultLoyaltyCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## updateRetentionCampaign
+
+> RestApiResultRetentionCampaign updateRetentionCampaign(appId, campaignId, campaign)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CampaignsApi();
+let appId = "appId_example"; // String |
+let campaignId = 56; // Number |
+let campaign = new Flipdish.RetentionCampaignBase(); // RetentionCampaignBase |
+apiInstance.updateRetentionCampaign(appId, campaignId, campaign, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **campaignId** | **Number**| |
+ **campaign** | [**RetentionCampaignBase**](RetentionCampaignBase.md)| |
+
+### Return type
+
+[**RestApiResultRetentionCampaign**](RestApiResultRetentionCampaign.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/CancellationToken.md b/docs/CancellationToken.md
new file mode 100644
index 00000000..df62a8a7
--- /dev/null
+++ b/docs/CancellationToken.md
@@ -0,0 +1,11 @@
+# Flipdish.CancellationToken
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsCancellationRequested** | **Boolean** | | [optional] [readonly]
+**CanBeCanceled** | **Boolean** | | [optional] [readonly]
+**WaitHandle** | [**WaitHandle**](WaitHandle.md) | | [optional]
+
+
diff --git a/docs/CardReader.md b/docs/CardReader.md
new file mode 100644
index 00000000..2b3b53c8
--- /dev/null
+++ b/docs/CardReader.md
@@ -0,0 +1,16 @@
+# Flipdish.CardReader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | Stripe reader id | [optional]
+**DeviceSoftwareVersion** | **String** | Software version | [optional]
+**SerialNumber** | **String** | Device serial number | [optional]
+**Status** | **String** | Device status online or offline | [optional]
+**RegistrationCode** | **String** | Registration code | [optional]
+**DeviceType** | **String** | Device type | [optional]
+**Deleted** | **Boolean** | Indicates that the reader is deleted or not | [optional]
+**Action** | [**ReaderActionStateInfo**](ReaderActionStateInfo.md) | | [optional]
+
+
diff --git a/docs/CardReaderRegistrationRequest.md b/docs/CardReaderRegistrationRequest.md
new file mode 100644
index 00000000..c14b32ee
--- /dev/null
+++ b/docs/CardReaderRegistrationRequest.md
@@ -0,0 +1,10 @@
+# Flipdish.CardReaderRegistrationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RegistrationCode** | **String** | The reader registration code |
+**KioskDeviceId** | **String** | The kiosk device id | [optional]
+
+
diff --git a/docs/CardReadersApi.md b/docs/CardReadersApi.md
new file mode 100644
index 00000000..8907093b
--- /dev/null
+++ b/docs/CardReadersApi.md
@@ -0,0 +1,666 @@
+# Flipdish.CardReadersApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**cancelCurrentlyInitiatedBluetoothDeviceUpdate**](CardReadersApi.md#cancelCurrentlyInitiatedBluetoothDeviceUpdate) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/cancelUpdate |
+[**cancelReaderAction**](CardReadersApi.md#cancelReaderAction) | **POST** /api/v1.0/{appId}/payments/terminals/stripe/{readerId}/cancel_action |
+[**cardReadersGetReader**](CardReadersApi.md#cardReadersGetReader) | **GET** /api/v1.0/{appId}/payments/terminals/stripe/{readerId} |
+[**generateStripeTerminalLocation**](CardReadersApi.md#generateStripeTerminalLocation) | **POST** /api/v1.0/{appId}/stripeterminal/location |
+[**getBluetoothTerminalStatus**](CardReadersApi.md#getBluetoothTerminalStatus) | **GET** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/status |
+[**getStripeConnectionToken**](CardReadersApi.md#getStripeConnectionToken) | **GET** /api/v1.0/{appId}/stripeterminal/connectiontoken |
+[**initiateBluetoothTerminalDeviceUpdateCheck**](CardReadersApi.md#initiateBluetoothTerminalDeviceUpdateCheck) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/checkForUpdate |
+[**initiateKioskBluetoothPairingMode**](CardReadersApi.md#initiateKioskBluetoothPairingMode) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/pair |
+[**initiateKioskBluetoothUpdateInstall**](CardReadersApi.md#initiateKioskBluetoothUpdateInstall) | **POST** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/installUpdate |
+[**initiateReaderProcessPaymentIntent**](CardReadersApi.md#initiateReaderProcessPaymentIntent) | **POST** /api/v1.0/{appId}/payments/terminals/stripe/{readerId}/processPaymentIntent |
+[**registerStripeTerminal**](CardReadersApi.md#registerStripeTerminal) | **POST** /api/v1.0/{appId}/payments/terminals/stripe/register |
+[**unRegisterTerminal**](CardReadersApi.md#unRegisterTerminal) | **DELETE** /api/v1.0/{appId}/payments/terminals/stripe/unregister |
+[**unpairCurrentlyPairedBluetoothDevice**](CardReadersApi.md#unpairCurrentlyPairedBluetoothDevice) | **DELETE** /api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/unpair |
+
+
+
+## cancelCurrentlyInitiatedBluetoothDeviceUpdate
+
+> cancelCurrentlyInitiatedBluetoothDeviceUpdate(appId, deviceId, terminalType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let terminalType = "terminalType_example"; // String |
+apiInstance.cancelCurrentlyInitiatedBluetoothDeviceUpdate(appId, deviceId, terminalType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **terminalType** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## cancelReaderAction
+
+> RestApiResultCardReader cancelReaderAction(readerId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let readerId = "readerId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.cancelReaderAction(readerId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **readerId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultCardReader**](RestApiResultCardReader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## cardReadersGetReader
+
+> RestApiResultCardReader cardReadersGetReader(readerId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let readerId = "readerId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.cardReadersGetReader(readerId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **readerId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultCardReader**](RestApiResultCardReader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## generateStripeTerminalLocation
+
+> RestApiResultStripeTerminalLocation generateStripeTerminalLocation(appId, geoPointRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let geoPointRequest = new Flipdish.GeoPointRequest(); // GeoPointRequest |
+apiInstance.generateStripeTerminalLocation(appId, geoPointRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **geoPointRequest** | [**GeoPointRequest**](GeoPointRequest.md)| |
+
+### Return type
+
+[**RestApiResultStripeTerminalLocation**](RestApiResultStripeTerminalLocation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getBluetoothTerminalStatus
+
+> RestApiResultBluetoothTerminalStatus getBluetoothTerminalStatus(appId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.getBluetoothTerminalStatus(appId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiResultBluetoothTerminalStatus**](RestApiResultBluetoothTerminalStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStripeConnectionToken
+
+> RestApiResultStripeTerminalConnectionToken getStripeConnectionToken(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+apiInstance.getStripeConnectionToken(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultStripeTerminalConnectionToken**](RestApiResultStripeTerminalConnectionToken.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## initiateBluetoothTerminalDeviceUpdateCheck
+
+> initiateBluetoothTerminalDeviceUpdateCheck(appId, deviceId, terminalType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let terminalType = "terminalType_example"; // String |
+apiInstance.initiateBluetoothTerminalDeviceUpdateCheck(appId, deviceId, terminalType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **terminalType** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## initiateKioskBluetoothPairingMode
+
+> initiateKioskBluetoothPairingMode(appId, deviceId, terminalType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let terminalType = "terminalType_example"; // String |
+apiInstance.initiateKioskBluetoothPairingMode(appId, deviceId, terminalType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **terminalType** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## initiateKioskBluetoothUpdateInstall
+
+> initiateKioskBluetoothUpdateInstall(appId, deviceId, terminalType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let terminalType = "terminalType_example"; // String |
+apiInstance.initiateKioskBluetoothUpdateInstall(appId, deviceId, terminalType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **terminalType** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## initiateReaderProcessPaymentIntent
+
+> RestApiResultCardReader initiateReaderProcessPaymentIntent(readerId, appId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let readerId = "readerId_example"; // String |
+let appId = "appId_example"; // String |
+let request = new Flipdish.ProcessPaymentIntentRequest(); // ProcessPaymentIntentRequest |
+apiInstance.initiateReaderProcessPaymentIntent(readerId, appId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **readerId** | **String**| |
+ **appId** | **String**| |
+ **request** | [**ProcessPaymentIntentRequest**](ProcessPaymentIntentRequest.md)| |
+
+### Return type
+
+[**RestApiResultCardReader**](RestApiResultCardReader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## registerStripeTerminal
+
+> RestApiResultCardReader registerStripeTerminal(appId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let request = new Flipdish.CardReaderRegistrationRequest(); // CardReaderRegistrationRequest |
+apiInstance.registerStripeTerminal(appId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **request** | [**CardReaderRegistrationRequest**](CardReaderRegistrationRequest.md)| |
+
+### Return type
+
+[**RestApiResultCardReader**](RestApiResultCardReader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## unRegisterTerminal
+
+> RestApiResultCardReader unRegisterTerminal(appId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let request = new Flipdish.UnRegisterCardReaderRequest(); // UnRegisterCardReaderRequest |
+apiInstance.unRegisterTerminal(appId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **request** | [**UnRegisterCardReaderRequest**](UnRegisterCardReaderRequest.md)| |
+
+### Return type
+
+[**RestApiResultCardReader**](RestApiResultCardReader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## unpairCurrentlyPairedBluetoothDevice
+
+> unpairCurrentlyPairedBluetoothDevice(appId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CardReadersApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.unpairCurrentlyPairedBluetoothDevice(appId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/CatalogChangesApi.md b/docs/CatalogChangesApi.md
new file mode 100644
index 00000000..006edd82
--- /dev/null
+++ b/docs/CatalogChangesApi.md
@@ -0,0 +1,168 @@
+# Flipdish.CatalogChangesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getPendingMenuChanges**](CatalogChangesApi.md#getPendingMenuChanges) | **GET** /api/v1.0/{appId}/menus/catalog-changes | Get menu pending changes from Catalog groups and items
+[**getPendingMenuChangesSummaries**](CatalogChangesApi.md#getPendingMenuChangesSummaries) | **GET** /api/v1.0/{appId}/menus/catalog-changes/summaries | Get menu pending changes summaries by appId
+[**publishPendingMenuChanges**](CatalogChangesApi.md#publishPendingMenuChanges) | **POST** /api/v1.0/{appId}/menus/catalog-changes/publish | Update menus with the pending changes from Catalog groups and items
+
+
+
+## getPendingMenuChanges
+
+> RestApiPaginationResultPendingMenuChanges getPendingMenuChanges(appId, opts)
+
+Get menu pending changes from Catalog groups and items
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogChangesApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'menuId': 56, // Number |
+ 'catalogItemId': "catalogItemId_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getPendingMenuChanges(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **menuId** | **Number**| | [optional]
+ **catalogItemId** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPendingMenuChanges**](RestApiPaginationResultPendingMenuChanges.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPendingMenuChangesSummaries
+
+> RestApiArrayResultPendingMenuChangesSummaries getPendingMenuChangesSummaries(appId)
+
+Get menu pending changes summaries by appId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogChangesApi();
+let appId = "appId_example"; // String |
+apiInstance.getPendingMenuChangesSummaries(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultPendingMenuChangesSummaries**](RestApiArrayResultPendingMenuChangesSummaries.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## publishPendingMenuChanges
+
+> publishPendingMenuChanges(appId, publishMenuChanges)
+
+Update menus with the pending changes from Catalog groups and items
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogChangesApi();
+let appId = "appId_example"; // String |
+let publishMenuChanges = new Flipdish.PublishMenuChanges(); // PublishMenuChanges |
+apiInstance.publishPendingMenuChanges(appId, publishMenuChanges, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **publishMenuChanges** | [**PublishMenuChanges**](PublishMenuChanges.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/CatalogGroupArchivedEvent.md b/docs/CatalogGroupArchivedEvent.md
new file mode 100644
index 00000000..fb470387
--- /dev/null
+++ b/docs/CatalogGroupArchivedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CatalogGroupArchivedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Group** | [**Group**](Group.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CatalogGroupCreatedEvent.md b/docs/CatalogGroupCreatedEvent.md
new file mode 100644
index 00000000..738848aa
--- /dev/null
+++ b/docs/CatalogGroupCreatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CatalogGroupCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Group** | [**Group**](Group.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CatalogGroupReference.md b/docs/CatalogGroupReference.md
new file mode 100644
index 00000000..4174b228
--- /dev/null
+++ b/docs/CatalogGroupReference.md
@@ -0,0 +1,21 @@
+# Flipdish.CatalogGroupReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Group** | [**Group**](Group.md) | | [optional]
+**CatalogGroupId** | **String** | Identifier of the ProductId to use as SubProduct |
+**CatalogItemId** | **String** | Identifier of the ProductId to use as SubProduct | [optional]
+**GroupType** | **String** | Type of the SupProduct |
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/CatalogGroupUpdatedEvent.md b/docs/CatalogGroupUpdatedEvent.md
new file mode 100644
index 00000000..27170c47
--- /dev/null
+++ b/docs/CatalogGroupUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CatalogGroupUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Group** | [**Group**](Group.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CatalogGroupsApi.md b/docs/CatalogGroupsApi.md
new file mode 100644
index 00000000..e63bd02e
--- /dev/null
+++ b/docs/CatalogGroupsApi.md
@@ -0,0 +1,330 @@
+# Flipdish.CatalogGroupsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**archiveGroup**](CatalogGroupsApi.md#archiveGroup) | **POST** /api/v1.0/{appId}/catalog/groups/{catalogItemId}/archive | Archive Catalog Group
+[**createGroup**](CatalogGroupsApi.md#createGroup) | **POST** /api/v1.0/{appId}/catalog/groups | Create a Catalog Group
+[**duplicateGroup**](CatalogGroupsApi.md#duplicateGroup) | **POST** /api/v1.0/{appId}/catalog/groups/{catalogItemId}/duplicate | Duplicate Catalog Group
+[**getGroupById**](CatalogGroupsApi.md#getGroupById) | **GET** /api/v1.0/{appId}/catalog/groups/{catalogItemId} | Get group by Id
+[**getGroups**](CatalogGroupsApi.md#getGroups) | **GET** /api/v1.0/{appId}/catalog/groups | Get paginated groups by app name id filtered by types
+[**updateGroup**](CatalogGroupsApi.md#updateGroup) | **POST** /api/v1.0/{appId}/catalog/groups/{catalogItemId} | Update Catalog Group
+
+
+
+## archiveGroup
+
+> archiveGroup(appId, catalogItemId)
+
+Archive Catalog Group
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogGroupsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.archiveGroup(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createGroup
+
+> RestApiResultGroup createGroup(appId, createGroup)
+
+Create a Catalog Group
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogGroupsApi();
+let appId = "appId_example"; // String |
+let createGroup = new Flipdish.CreateGroup(); // CreateGroup |
+apiInstance.createGroup(appId, createGroup, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **createGroup** | [**CreateGroup**](CreateGroup.md)| |
+
+### Return type
+
+[**RestApiResultGroup**](RestApiResultGroup.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, MinSelectCount, MaxSelectCount, Products, GroupType, Sku, Name, AutogenerateDisplayText, ImageFileName
+
+
+## duplicateGroup
+
+> duplicateGroup(appId, catalogItemId)
+
+Duplicate Catalog Group
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogGroupsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.duplicateGroup(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getGroupById
+
+> Group getGroupById(appId, catalogItemId)
+
+Get group by Id
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogGroupsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.getGroupById(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+[**Group**](Group.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, CatalogGroupId, CatalogItemId, IsArchived, MinSelectCount, Products, GroupType, Sku, Name, AutogenerateDisplayText, ImageFileName
+
+
+## getGroups
+
+> RestApiPaginationResultGroup getGroups(appId, groupTypes, opts)
+
+Get paginated groups by app name id filtered by types
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogGroupsApi();
+let appId = "appId_example"; // String |
+let groupTypes = ["null"]; // [String] |
+let opts = {
+ 'searchTerm': "searchTerm_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getGroups(appId, groupTypes, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **groupTypes** | [**[String]**](String.md)| |
+ **searchTerm** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultGroup**](RestApiPaginationResultGroup.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateGroup
+
+> updateGroup(appId, catalogItemId, updateGroup)
+
+Update Catalog Group
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogGroupsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+let updateGroup = new Flipdish.UpdateGroup(); // UpdateGroup |
+apiInstance.updateGroup(appId, catalogItemId, updateGroup, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+ **updateGroup** | [**UpdateGroup**](UpdateGroup.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/CatalogImage.md b/docs/CatalogImage.md
new file mode 100644
index 00000000..a5ad31a5
--- /dev/null
+++ b/docs/CatalogImage.md
@@ -0,0 +1,9 @@
+# Flipdish.CatalogImage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ImageUri** | **String** | Unique catalog Item id | [optional]
+
+
diff --git a/docs/CatalogImagesApi.md b/docs/CatalogImagesApi.md
new file mode 100644
index 00000000..ff7fc521
--- /dev/null
+++ b/docs/CatalogImagesApi.md
@@ -0,0 +1,60 @@
+# Flipdish.CatalogImagesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**uploadCatalogImage**](CatalogImagesApi.md#uploadCatalogImage) | **POST** /api/v1.0/{appId}/catalog/images | Upload a Catalog Image
+
+
+
+## uploadCatalogImage
+
+> CatalogImage uploadCatalogImage(appId, Image)
+
+Upload a Catalog Image
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogImagesApi();
+let appId = "appId_example"; // String |
+let Image = "/path/to/file"; // File | Catalog image
+apiInstance.uploadCatalogImage(appId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **Image** | **File**| Catalog image |
+
+### Return type
+
+[**CatalogImage**](CatalogImage.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, ImageUri
+
diff --git a/docs/CatalogItem.md b/docs/CatalogItem.md
new file mode 100644
index 00000000..978ebbf6
--- /dev/null
+++ b/docs/CatalogItem.md
@@ -0,0 +1,30 @@
+# Flipdish.CatalogItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Unique catalog Item id | [optional]
+**IsArchived** | **Boolean** | Returns true if the item is archived | [optional]
+**Groups** | [**[CatalogGroupReference]**](CatalogGroupReference.md) | Collection of groups associated with this item | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+**ItemType** | **String** | Type of item (Product, Modifier, etc) |
+**Sku** | **String** | Stock Keeping Unit (SKU) |
+**Name** | **String** | Item name |
+**Description** | **String** | Item description | [optional]
+**Price** | **Number** | Item price |
+**ImageFileName** | **String** | Image File Name | [optional]
+**Alcohol** | **Boolean** | item contains alcohol | [optional]
+
+
+
+## Enum: ItemTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/CatalogItemArchivedEvent.md b/docs/CatalogItemArchivedEvent.md
new file mode 100644
index 00000000..057b260d
--- /dev/null
+++ b/docs/CatalogItemArchivedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CatalogItemArchivedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**CatalogItem** | [**CatalogItem**](CatalogItem.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CatalogItemCreatedEvent.md b/docs/CatalogItemCreatedEvent.md
new file mode 100644
index 00000000..6efec4b3
--- /dev/null
+++ b/docs/CatalogItemCreatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CatalogItemCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**CatalogItem** | [**CatalogItem**](CatalogItem.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CatalogItemUpdatedEvent.md b/docs/CatalogItemUpdatedEvent.md
new file mode 100644
index 00000000..6f6efb9b
--- /dev/null
+++ b/docs/CatalogItemUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CatalogItemUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**CatalogItem** | [**CatalogItem**](CatalogItem.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CatalogItemsApi.md b/docs/CatalogItemsApi.md
new file mode 100644
index 00000000..a266b7b2
--- /dev/null
+++ b/docs/CatalogItemsApi.md
@@ -0,0 +1,330 @@
+# Flipdish.CatalogItemsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**archiveCatalogItem**](CatalogItemsApi.md#archiveCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items/{catalogItemId}/archive | Archive Catalog Item
+[**createCatalogItem**](CatalogItemsApi.md#createCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items | Create a Catalog Item
+[**duplicateCatalogItem**](CatalogItemsApi.md#duplicateCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items/{catalogItemId}/duplicate | Duplicate Catalog Item
+[**getCatalogItemById**](CatalogItemsApi.md#getCatalogItemById) | **GET** /api/v1.0/{appId}/catalog/items/{catalogItemId} | Get item by Id
+[**getItems**](CatalogItemsApi.md#getItems) | **GET** /api/v1.0/{appId}/catalog/items | Get paginated items by app name id filtered by types
+[**updateCatalogItem**](CatalogItemsApi.md#updateCatalogItem) | **POST** /api/v1.0/{appId}/catalog/items/{catalogItemId} | Update Catalog Item
+
+
+
+## archiveCatalogItem
+
+> archiveCatalogItem(appId, catalogItemId)
+
+Archive Catalog Item
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogItemsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.archiveCatalogItem(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createCatalogItem
+
+> RestApiResultCatalogItem createCatalogItem(appId, createCatalogItem)
+
+Create a Catalog Item
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogItemsApi();
+let appId = "appId_example"; // String |
+let createCatalogItem = new Flipdish.CreateCatalogItem(); // CreateCatalogItem |
+apiInstance.createCatalogItem(appId, createCatalogItem, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **createCatalogItem** | [**CreateCatalogItem**](CreateCatalogItem.md)| |
+
+### Return type
+
+[**RestApiResultCatalogItem**](RestApiResultCatalogItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, CatalogItemId, IsArchived, Groups, ItemType, Sku, Name, Description, Price, ImageFileName, Alcohol
+
+
+## duplicateCatalogItem
+
+> duplicateCatalogItem(appId, catalogItemId)
+
+Duplicate Catalog Item
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogItemsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.duplicateCatalogItem(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getCatalogItemById
+
+> CatalogItem getCatalogItemById(appId, catalogItemId)
+
+Get item by Id
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogItemsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.getCatalogItemById(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+[**CatalogItem**](CatalogItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, CatalogItemId, IsArchived, Groups, ItemType, Sku, Name, Description, Price, ImageFileName, Alcohol
+
+
+## getItems
+
+> RestApiPaginationResultCatalogItem getItems(appId, itemTypes, opts)
+
+Get paginated items by app name id filtered by types
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogItemsApi();
+let appId = "appId_example"; // String |
+let itemTypes = ["null"]; // [String] |
+let opts = {
+ 'searchTerm': "searchTerm_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getItems(appId, itemTypes, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **itemTypes** | [**[String]**](String.md)| |
+ **searchTerm** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultCatalogItem**](RestApiPaginationResultCatalogItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateCatalogItem
+
+> updateCatalogItem(appId, catalogItemId, updateCatalogItem)
+
+Update Catalog Item
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogItemsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+let updateCatalogItem = new Flipdish.UpdateCatalogItem(); // UpdateCatalogItem |
+apiInstance.updateCatalogItem(appId, catalogItemId, updateCatalogItem, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+ **updateCatalogItem** | [**UpdateCatalogItem**](UpdateCatalogItem.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/CatalogProductsApi.md b/docs/CatalogProductsApi.md
new file mode 100644
index 00000000..e5012f22
--- /dev/null
+++ b/docs/CatalogProductsApi.md
@@ -0,0 +1,330 @@
+# Flipdish.CatalogProductsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**archiveProduct**](CatalogProductsApi.md#archiveProduct) | **POST** /api/v1.0/{appId}/catalog/products/{catalogItemId}/archive | Archive Product
+[**createProduct**](CatalogProductsApi.md#createProduct) | **POST** /api/v1.0/{appId}/catalog/products | Create a Product
+[**duplicateProduct**](CatalogProductsApi.md#duplicateProduct) | **POST** /api/v1.0/{appId}/catalog/products/{catalogItemId}/duplicate | Duplicate Product
+[**getProductById**](CatalogProductsApi.md#getProductById) | **GET** /api/v1.0/{appId}/catalog/products/{catalogItemId} | Get Product by Id
+[**getProducts**](CatalogProductsApi.md#getProducts) | **GET** /api/v1.0/{appId}/catalog/products | Get paginated products by app name id filtered by types
+[**updateProduct**](CatalogProductsApi.md#updateProduct) | **POST** /api/v1.0/{appId}/catalog/products/{catalogItemId} | Update Product
+
+
+
+## archiveProduct
+
+> archiveProduct(appId, catalogItemId)
+
+Archive Product
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogProductsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.archiveProduct(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createProduct
+
+> RestApiResultProduct createProduct(appId, createProduct)
+
+Create a Product
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogProductsApi();
+let appId = "appId_example"; // String |
+let createProduct = new Flipdish.CreateProduct(); // CreateProduct |
+apiInstance.createProduct(appId, createProduct, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **createProduct** | [**CreateProduct**](CreateProduct.md)| |
+
+### Return type
+
+[**RestApiResultProduct**](RestApiResultProduct.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, CatalogItemId, IsArchived, Groups, ProductType, Sku, Name, Description, Price, ImageFileName, Alcohol
+
+
+## duplicateProduct
+
+> duplicateProduct(appId, catalogItemId)
+
+Duplicate Product
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogProductsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.duplicateProduct(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getProductById
+
+> Product getProductById(appId, catalogItemId)
+
+Get Product by Id
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogProductsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+apiInstance.getProductById(appId, catalogItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+
+### Return type
+
+[**Product**](Product.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, CatalogItemId, IsArchived, Groups, ProductType, Sku, Name, Description, Price, ImageFileName, Alcohol
+
+
+## getProducts
+
+> RestApiPaginationResultProduct getProducts(appId, productTypes, opts)
+
+Get paginated products by app name id filtered by types
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogProductsApi();
+let appId = "appId_example"; // String |
+let productTypes = ["null"]; // [String] |
+let opts = {
+ 'searchTerm': "searchTerm_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getProducts(appId, productTypes, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **productTypes** | [**[String]**](String.md)| |
+ **searchTerm** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultProduct**](RestApiPaginationResultProduct.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateProduct
+
+> updateProduct(appId, catalogItemId, updateProduct)
+
+Update Product
+
+[BETA - this endpoint is under development, do not use it in your production system]
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CatalogProductsApi();
+let appId = "appId_example"; // String |
+let catalogItemId = "catalogItemId_example"; // String |
+let updateProduct = new Flipdish.UpdateProduct(); // UpdateProduct |
+apiInstance.updateProduct(appId, catalogItemId, updateProduct, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **catalogItemId** | **String**| |
+ **updateProduct** | [**UpdateProduct**](UpdateProduct.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/CertificateCreatedEvent.md b/docs/CertificateCreatedEvent.md
new file mode 100644
index 00000000..4ff1dc61
--- /dev/null
+++ b/docs/CertificateCreatedEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.CertificateCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Hostname** | **String** | Description | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CertificateRenewedEvent.md b/docs/CertificateRenewedEvent.md
new file mode 100644
index 00000000..665ef724
--- /dev/null
+++ b/docs/CertificateRenewedEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.CertificateRenewedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Hostname** | **String** | Description | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/ChangePasswordModel.md b/docs/ChangePasswordModel.md
new file mode 100644
index 00000000..39e8a539
--- /dev/null
+++ b/docs/ChangePasswordModel.md
@@ -0,0 +1,10 @@
+# Flipdish.ChangePasswordModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OldPassword** | **String** | Old password |
+**NewPassword** | **String** | New password |
+
+
diff --git a/docs/Channel.md b/docs/Channel.md
new file mode 100644
index 00000000..b225f308
--- /dev/null
+++ b/docs/Channel.md
@@ -0,0 +1,25 @@
+# Flipdish.Channel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ChannelId** | **Number** | Channel Id | [optional]
+**TranslationKey** | **String** | Channel TranslationKey | [optional]
+**Source** | **String** | Channel Source | [optional]
+**LogoUri** | **String** | Channel Logo URl | [optional]
+**Available** | **Boolean** | Channel is Available or not | [optional]
+**MaintainedExternally** | **Boolean** | Channel is Maintained Externally or not | [optional]
+
+
+
+## Enum: SourceEnum
+
+
+* `Internal` (value: `"Internal"`)
+
+* `External` (value: `"External"`)
+
+
+
+
diff --git a/docs/ChannelStoresUpdatedEvent.md b/docs/ChannelStoresUpdatedEvent.md
new file mode 100644
index 00000000..5b3e453e
--- /dev/null
+++ b/docs/ChannelStoresUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.ChannelStoresUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**ChannelId** | **Number** | ID of the channel | [optional]
+**StoreIds** | **[Number]** | List of store ids | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/ChannelsApi.md b/docs/ChannelsApi.md
new file mode 100644
index 00000000..62031729
--- /dev/null
+++ b/docs/ChannelsApi.md
@@ -0,0 +1,610 @@
+# Flipdish.ChannelsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**assignAppIdToSalesChannel**](ChannelsApi.md#assignAppIdToSalesChannel) | **POST** /api/v1.0/{appId}/channels/{channelId}/assign-appId |
+[**assignStoreToChannel**](ChannelsApi.md#assignStoreToChannel) | **POST** /api/v1.0/{appId}/channels/assign-store |
+[**attachStoreToSalesChannel**](ChannelsApi.md#attachStoreToSalesChannel) | **POST** /api/v1.0/{appId}/channels/{channelId}/stores/{storeId} |
+[**detachAllStoresFromSalesChannel**](ChannelsApi.md#detachAllStoresFromSalesChannel) | **DELETE** /api/v1.0/{appId}/channels/{channelId}/stores |
+[**detachStoreFromSalesChannel**](ChannelsApi.md#detachStoreFromSalesChannel) | **DELETE** /api/v1.0/{appId}/channels/{channelId}/stores/{storeId} |
+[**getAssignedChannels**](ChannelsApi.md#getAssignedChannels) | **GET** /api/v1.0/{appId}/channels/assigned-channels |
+[**getAvailableChannels**](ChannelsApi.md#getAvailableChannels) | **GET** /api/v1.0/{appId}/channels/available-channels |
+[**getChannel**](ChannelsApi.md#getChannel) | **GET** /api/v1.0/{appId}/channels/{id} |
+[**getChannels**](ChannelsApi.md#getChannels) | **GET** /api/v1.0/{appId}/channels |
+[**getStoresAssignedToChannel**](ChannelsApi.md#getStoresAssignedToChannel) | **GET** /api/v1.0/{appId}/channels/{channelId}/assigned-stores |
+[**getStoresBySalesChannel**](ChannelsApi.md#getStoresBySalesChannel) | **GET** /api/v1.0/{appId}/channels/{channelId}/stores |
+[**unassignStoreFromChannel**](ChannelsApi.md#unassignStoreFromChannel) | **DELETE** /api/v1.0/{appId}/channels/unassign-store |
+
+
+
+## assignAppIdToSalesChannel
+
+> Object assignAppIdToSalesChannel(appId, channelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+apiInstance.assignAppIdToSalesChannel(appId, channelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## assignStoreToChannel
+
+> Object assignStoreToChannel(storeId, appId, channelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let storeId = 56; // Number |
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+apiInstance.assignStoreToChannel(storeId, appId, channelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## attachStoreToSalesChannel
+
+> Object attachStoreToSalesChannel(appId, channelId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+let storeId = 56; // Number |
+apiInstance.attachStoreToSalesChannel(appId, channelId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## detachAllStoresFromSalesChannel
+
+> Object detachAllStoresFromSalesChannel(appId, channelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+apiInstance.detachAllStoresFromSalesChannel(appId, channelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## detachStoreFromSalesChannel
+
+> Object detachStoreFromSalesChannel(appId, channelId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+let storeId = 56; // Number |
+apiInstance.detachStoreFromSalesChannel(appId, channelId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getAssignedChannels
+
+> RestApiArrayResultChannel getAssignedChannels(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+apiInstance.getAssignedChannels(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultChannel**](RestApiArrayResultChannel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getAvailableChannels
+
+> RestApiArrayResultChannel getAvailableChannels(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+apiInstance.getAvailableChannels(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultChannel**](RestApiArrayResultChannel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getChannel
+
+> RestApiResultChannel getChannel(id, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let id = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.getChannel(id, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultChannel**](RestApiResultChannel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getChannels
+
+> RestApiArrayResultChannel getChannels(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+apiInstance.getChannels(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultChannel**](RestApiArrayResultChannel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getStoresAssignedToChannel
+
+> RestApiArrayResultStoreChannelAssignment getStoresAssignedToChannel(appId, channelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+apiInstance.getStoresAssignedToChannel(appId, channelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultStoreChannelAssignment**](RestApiArrayResultStoreChannelAssignment.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getStoresBySalesChannel
+
+> Response getStoresBySalesChannel(appId, channelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+apiInstance.getStoresBySalesChannel(appId, channelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+
+### Return type
+
+[**Response**](Response.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## unassignStoreFromChannel
+
+> Object unassignStoreFromChannel(storeId, appId, channelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ChannelsApi();
+let storeId = 56; // Number |
+let appId = "appId_example"; // String |
+let channelId = 56; // Number |
+apiInstance.unassignStoreFromChannel(storeId, appId, channelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **appId** | **String**| |
+ **channelId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/ChargebackDetails.md b/docs/ChargebackDetails.md
new file mode 100644
index 00000000..57f430c0
--- /dev/null
+++ b/docs/ChargebackDetails.md
@@ -0,0 +1,13 @@
+# Flipdish.ChargebackDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ChargebackAmount** | **Number** | Chargeback amount | [optional]
+**PosSalesChargebackAmount** | **Number** | POS Chargeback amount | [optional]
+**ChargebackRefundedFees** | **Number** | Chargeback refunded feeds | [optional]
+**ChargebacksCount** | **Number** | Number of chargebacks | [optional]
+**TotalChargebackCost** | **Number** | Total amount | [optional]
+
+
diff --git a/docs/ClientDevice.md b/docs/ClientDevice.md
new file mode 100644
index 00000000..23384eed
--- /dev/null
+++ b/docs/ClientDevice.md
@@ -0,0 +1,11 @@
+# Flipdish.ClientDevice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceModel** | **String** | Device Model | [optional]
+**DeviceId** | **String** | Device Id | [optional]
+**DeviceName** | **String** | Device Name | [optional]
+
+
diff --git a/docs/ClientDeviceAssignEnrolledDevice.md b/docs/ClientDeviceAssignEnrolledDevice.md
new file mode 100644
index 00000000..1f17715b
--- /dev/null
+++ b/docs/ClientDeviceAssignEnrolledDevice.md
@@ -0,0 +1,10 @@
+# Flipdish.ClientDeviceAssignEnrolledDevice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceModel** | **String** | Device Model | [optional]
+**PinCode** | **String** | Pin Code | [optional]
+
+
diff --git a/docs/ClientDeviceEnroll.md b/docs/ClientDeviceEnroll.md
new file mode 100644
index 00000000..dd79a47f
--- /dev/null
+++ b/docs/ClientDeviceEnroll.md
@@ -0,0 +1,11 @@
+# Flipdish.ClientDeviceEnroll
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceModel** | **String** | Device model | [optional]
+**DeviceId** | **String** | Device Id | [optional]
+**DeviceName** | **String** | Device Name | [optional]
+
+
diff --git a/docs/ClientDeviceEnrollmentResult.md b/docs/ClientDeviceEnrollmentResult.md
new file mode 100644
index 00000000..43aaf998
--- /dev/null
+++ b/docs/ClientDeviceEnrollmentResult.md
@@ -0,0 +1,9 @@
+# Flipdish.ClientDeviceEnrollmentResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PinCode** | **String** | PIN Code for assigning | [optional]
+
+
diff --git a/docs/ClientDeviceSummary.md b/docs/ClientDeviceSummary.md
new file mode 100644
index 00000000..e3b0ef6f
--- /dev/null
+++ b/docs/ClientDeviceSummary.md
@@ -0,0 +1,11 @@
+# Flipdish.ClientDeviceSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceModel** | **String** | Device Model | [optional]
+**DeviceId** | **String** | Device Id | [optional]
+**DeviceName** | **String** | Device Name | [optional]
+
+
diff --git a/docs/ClientsApi.md b/docs/ClientsApi.md
new file mode 100644
index 00000000..8b255d34
--- /dev/null
+++ b/docs/ClientsApi.md
@@ -0,0 +1,156 @@
+# Flipdish.ClientsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getClient**](ClientsApi.md#getClient) | **GET** /api/v1.0/clients/{clientId} |
+[**setSalesForceContactId**](ClientsApi.md#setSalesForceContactId) | **POST** /api/v1.0/clients/{clientId}/salesforcecontactid |
+[**setStripeCustomerId**](ClientsApi.md#setStripeCustomerId) | **POST** /api/v1.0/clients/{clientId}/stripecustomerid |
+
+
+
+## getClient
+
+> getClient(clientId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ClientsApi();
+let clientId = 56; // Number |
+apiInstance.getClient(clientId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **clientId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setSalesForceContactId
+
+> setSalesForceContactId(clientId, salesForceContactId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ClientsApi();
+let clientId = 56; // Number |
+let salesForceContactId = "salesForceContactId_example"; // String |
+apiInstance.setSalesForceContactId(clientId, salesForceContactId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **clientId** | **Number**| |
+ **salesForceContactId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setStripeCustomerId
+
+> setStripeCustomerId(clientId, stripeCustomerId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ClientsApi();
+let clientId = 56; // Number |
+let stripeCustomerId = "stripeCustomerId_example"; // String |
+apiInstance.setStripeCustomerId(clientId, stripeCustomerId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **clientId** | **Number**| |
+ **stripeCustomerId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/ConfiguredStore.md b/docs/ConfiguredStore.md
new file mode 100644
index 00000000..849c10c7
--- /dev/null
+++ b/docs/ConfiguredStore.md
@@ -0,0 +1,10 @@
+# Flipdish.ConfiguredStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | | [optional]
+**Name** | **String** | | [optional]
+
+
diff --git a/docs/ContentSecurityPolicyApi.md b/docs/ContentSecurityPolicyApi.md
new file mode 100644
index 00000000..ddaed940
--- /dev/null
+++ b/docs/ContentSecurityPolicyApi.md
@@ -0,0 +1,56 @@
+# Flipdish.ContentSecurityPolicyApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**contentSecurityPolicyReport**](ContentSecurityPolicyApi.md#contentSecurityPolicyReport) | **POST** /api/v1.0/csp/report |
+
+
+
+## contentSecurityPolicyReport
+
+> Object contentSecurityPolicyReport(request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ContentSecurityPolicyApi();
+let request = new Flipdish.CspReportRequest(); // CspReportRequest |
+apiInstance.contentSecurityPolicyReport(request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **request** | [**CspReportRequest**](CspReportRequest.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/Coordinates.md b/docs/Coordinates.md
new file mode 100644
index 00000000..cb5af042
--- /dev/null
+++ b/docs/Coordinates.md
@@ -0,0 +1,10 @@
+# Flipdish.Coordinates
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Latitude** | **Number** | Latitude | [optional]
+**Longitude** | **Number** | Longitude | [optional]
+
+
diff --git a/docs/CountryFormResponse.md b/docs/CountryFormResponse.md
new file mode 100644
index 00000000..d8c6b6ec
--- /dev/null
+++ b/docs/CountryFormResponse.md
@@ -0,0 +1,10 @@
+# Flipdish.CountryFormResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Value** | **String** | ISO two letter code. | [optional]
+**Label** | **String** | Label | [optional]
+
+
diff --git a/docs/CountryWithAccountFieldsDefinitions.md b/docs/CountryWithAccountFieldsDefinitions.md
new file mode 100644
index 00000000..7051931e
--- /dev/null
+++ b/docs/CountryWithAccountFieldsDefinitions.md
@@ -0,0 +1,12 @@
+# Flipdish.CountryWithAccountFieldsDefinitions
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CountryCode** | **String** | Country 2-letter ISO code | [optional]
+**DisplayName** | **String** | Display name of the country | [optional]
+**SupportType** | **String** | Country support type (supported-by-stripe-cc, supported-by-flipdish,not-supported) | [optional]
+**FieldDefinitions** | [**[AccountFieldDefinition]**](AccountFieldDefinition.md) | Bank Account field definitions | [optional]
+
+
diff --git a/docs/CreateAccountModel.md b/docs/CreateAccountModel.md
new file mode 100644
index 00000000..535968ea
--- /dev/null
+++ b/docs/CreateAccountModel.md
@@ -0,0 +1,14 @@
+# Flipdish.CreateAccountModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email address |
+**StoreName** | **String** | Store name |
+**LanguageId** | **String** | LanguageId | [optional]
+**Rid** | **Number** | Referral ID | [optional]
+**Cid** | **String** | Campaign ID | [optional]
+**RecaptchaToken** | **String** | Google Recaptcha Token | [optional]
+
+
diff --git a/docs/CreateAppParameters.md b/docs/CreateAppParameters.md
new file mode 100644
index 00000000..d803695e
--- /dev/null
+++ b/docs/CreateAppParameters.md
@@ -0,0 +1,9 @@
+# Flipdish.CreateAppParameters
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | The name of the brand that this app/white-label represents. | [optional]
+
+
diff --git a/docs/CreateAppStoreApp.md b/docs/CreateAppStoreApp.md
new file mode 100644
index 00000000..97769506
--- /dev/null
+++ b/docs/CreateAppStoreApp.md
@@ -0,0 +1,148 @@
+# Flipdish.CreateAppStoreApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Details** | **String** | |
+**ConfigurationType** | **String** | |
+**StoreSelectorType** | **String** | |
+**FieldGroups** | [**[FieldGroup]**](FieldGroup.md) | | [optional]
+**SetupInstructions** | **String** | | [optional]
+**ExternalSetupLink** | **String** | | [optional]
+**TeammateAppAccessLevel** | **String** | | [optional]
+**PermissionsType** | **String** | |
+**Support** | [**AppStoreAppSupportInfo**](AppStoreAppSupportInfo.md) | | [optional]
+**ExternalFunctionActionUrl** | **String** | | [optional]
+**ExternalFunctionSignatureKey** | **String** | | [optional]
+**IsPaid** | **Boolean** | | [optional]
+**Name** | **String** | |
+**Description** | **String** | |
+**IsEnabled** | **Boolean** | | [optional]
+**Categories** | **[String]** | |
+**Countries** | **[String]** | |
+**DeveloperName** | **String** | | [optional]
+
+
+
+## Enum: ConfigurationTypeEnum
+
+
+* `ExternalLink` (value: `"ExternalLink"`)
+
+* `FlipdishHosted` (value: `"FlipdishHosted"`)
+
+
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
+
+## Enum: TeammateAppAccessLevelEnum
+
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+
+
+
+
+## Enum: PermissionsTypeEnum
+
+
+* `Teammate` (value: `"Teammate"`)
+
+
+
+
+
+## Enum: [CategoriesEnum]
+
+
+* `PointOfSale` (value: `"PointOfSale"`)
+
+* `DeliveryAndLogistics` (value: `"DeliveryAndLogistics"`)
+
+* `CRM` (value: `"CRM"`)
+
+* `GiftCard` (value: `"GiftCard"`)
+
+* `Accounting` (value: `"Accounting"`)
+
+* `LoyaltyAndMarketing` (value: `"LoyaltyAndMarketing"`)
+
+* `Other` (value: `"Other"`)
+
+
+
+
+
+## Enum: [CountriesEnum]
+
+
+* `GB` (value: `"GB"`)
+
+* `IE` (value: `"IE"`)
+
+* `FR` (value: `"FR"`)
+
+* `ES` (value: `"ES"`)
+
+* `PT` (value: `"PT"`)
+
+* `IT` (value: `"IT"`)
+
+* `DE` (value: `"DE"`)
+
+* `PL` (value: `"PL"`)
+
+* `BE` (value: `"BE"`)
+
+* `LU` (value: `"LU"`)
+
+* `NL` (value: `"NL"`)
+
+* `US` (value: `"US"`)
+
+* `CA` (value: `"CA"`)
+
+* `BG` (value: `"BG"`)
+
+* `MX` (value: `"MX"`)
+
+* `AU` (value: `"AU"`)
+
+* `NZ` (value: `"NZ"`)
+
+
+
+
diff --git a/docs/CreateBasicAccountModel.md b/docs/CreateBasicAccountModel.md
new file mode 100644
index 00000000..90e5abd7
--- /dev/null
+++ b/docs/CreateBasicAccountModel.md
@@ -0,0 +1,10 @@
+# Flipdish.CreateBasicAccountModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreName** | **String** | Store name |
+**LanguageId** | **String** | LanguageId | [optional]
+
+
diff --git a/docs/CreateCatalogGroupReference.md b/docs/CreateCatalogGroupReference.md
new file mode 100644
index 00000000..185efa0c
--- /dev/null
+++ b/docs/CreateCatalogGroupReference.md
@@ -0,0 +1,20 @@
+# Flipdish.CreateCatalogGroupReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogGroupId** | **String** | Identifier of the ProductId to use as SubProduct |
+**CatalogItemId** | **String** | Identifier of the ProductId to use as SubProduct | [optional]
+**GroupType** | **String** | Type of the SupProduct |
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/CreateCatalogItem.md b/docs/CreateCatalogItem.md
new file mode 100644
index 00000000..41b4b0c0
--- /dev/null
+++ b/docs/CreateCatalogItem.md
@@ -0,0 +1,28 @@
+# Flipdish.CreateCatalogItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Groups** | [**[CreateCatalogGroupReference]**](CreateCatalogGroupReference.md) | Collection of groups associated with this item | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+**ItemType** | **String** | Type of item (Product, Modifier, etc) |
+**Sku** | **String** | Stock Keeping Unit (SKU) |
+**Name** | **String** | Item name |
+**Description** | **String** | Item description | [optional]
+**Price** | **Number** | Item price |
+**ImageFileName** | **String** | Image File Name | [optional]
+**Alcohol** | **Boolean** | item contains alcohol | [optional]
+
+
+
+## Enum: ItemTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/CreateFulfillmentStatesConfiguration.md b/docs/CreateFulfillmentStatesConfiguration.md
new file mode 100644
index 00000000..0b29950d
--- /dev/null
+++ b/docs/CreateFulfillmentStatesConfiguration.md
@@ -0,0 +1,26 @@
+# Flipdish.CreateFulfillmentStatesConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreIds** | **[Number]** | Stores id's | [optional]
+**StoreSelectorType** | **String** | Store Selector Type | [optional]
+**States** | [**[FulfillmentStatusConfigurationItem]**](FulfillmentStatusConfigurationItem.md) | Settings | [optional]
+**AutomaticTransitionsEnabled** | **Boolean** | Enable automatic transitions | [optional]
+**Name** | **String** | Name | [optional]
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
diff --git a/docs/CreateFullMenu.md b/docs/CreateFullMenu.md
new file mode 100644
index 00000000..afe0a658
--- /dev/null
+++ b/docs/CreateFullMenu.md
@@ -0,0 +1,38 @@
+# Flipdish.CreateFullMenu
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name of Menu, only shown in portal | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuSections** | [**[CreateFullMenuSection]**](CreateFullMenuSection.md) | Menu sections (starters, main etc) | [optional]
+**TaxRates** | [**[CreateMenuTaxRate]**](CreateMenuTaxRate.md) | Menu tax rates | [optional]
+**DisplaySectionLinks** | **Boolean** | Display menu section link on UI | [optional]
+**MenuSectionBehaviour** | **String** | Menu section behaviour | [optional]
+**TaxType** | **String** | Tax type | [optional]
+**IsIntegrated** | **Boolean** | Flag to indicate if the menu is integrated (contains metadata) | [optional]
+
+
+
+## Enum: MenuSectionBehaviourEnum
+
+
+* `ExpandSingle` (value: `"ExpandSingle"`)
+
+* `ExpandMultiple` (value: `"ExpandMultiple"`)
+
+
+
+
+
+## Enum: TaxTypeEnum
+
+
+* `IncludedInBasePrice` (value: `"IncludedInBasePrice"`)
+
+* `ExcludedFromBasePrice` (value: `"ExcludedFromBasePrice"`)
+
+
+
+
diff --git a/docs/CreateFullMenuItemOptionSet.md b/docs/CreateFullMenuItemOptionSet.md
new file mode 100644
index 00000000..05d19a17
--- /dev/null
+++ b/docs/CreateFullMenuItemOptionSet.md
@@ -0,0 +1,32 @@
+# Flipdish.CreateFullMenuItemOptionSet
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemOptionSetId** | **Number** | Menu item option set identifier | [optional]
+**MenuItemOptionSetItems** | [**[CreateFullMenuItemOptionSetItem]**](CreateFullMenuItemOptionSetItem.md) | Option set items | [optional]
+**Name** | **String** | Menu item option set name | [optional]
+**IsMasterOptionSet** | **Boolean** | Is master option set. This can affect the layout of the options in the menu displayed to the customer. Usually it is true if the option could be considerd a standalone item as opposed to an addition (\"with ketchup\") or modifier (\"large\"). | [optional]
+**DisplayOrder** | **Number** | Display order. Displayed in ascending order. | [optional]
+**MinSelectCount** | **Number** | Minimum items must be selected | [optional]
+**MaxSelectCount** | **Number** | Maximum number of items can be selected | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/CreateFullMenuItemOptionSetItem.md b/docs/CreateFullMenuItemOptionSetItem.md
new file mode 100644
index 00000000..1582bc92
--- /dev/null
+++ b/docs/CreateFullMenuItemOptionSetItem.md
@@ -0,0 +1,35 @@
+# Flipdish.CreateFullMenuItemOptionSetItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemOptionSetItemId** | **Number** | Menu item option set item identifier | [optional]
+**Metadata** | [**[CreateMetadata]**](CreateMetadata.md) | List of metadata | [optional]
+**TaxRateName** | **String** | Tax rate name | [optional]
+**NextMenuItemOptionSetId** | **Number** | if null, next option set is next. if -1, this is the final option set | [optional]
+**Name** | **String** | Name | [optional]
+**Price** | **Number** | Price | [optional]
+**DepositReturnFee** | **Number** | An optional fee that can be added to the price of the item. | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**DisplayOrder** | **Number** | Display order. Displayed in ascending order. | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/CreateFullMenuSection.md b/docs/CreateFullMenuSection.md
new file mode 100644
index 00000000..23665387
--- /dev/null
+++ b/docs/CreateFullMenuSection.md
@@ -0,0 +1,18 @@
+# Flipdish.CreateFullMenuSection
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuSectionAvailability** | [**MenuSectionAvailability**](MenuSectionAvailability.md) | | [optional]
+**MenuItems** | [**[CreateFullMenuSectionItem]**](CreateFullMenuSectionItem.md) | Menu items | [optional]
+**Name** | **String** | Name | [optional]
+**Description** | **String** | Description | [optional]
+**DisplayOrder** | **Number** | Display order | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**IsHiddenFromCustomers** | **Boolean** | Is hidden from customer. Perhaps when the item is out of stock. | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuSectionId** | **Number** | Menu Section Id | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
diff --git a/docs/CreateFullMenuSectionItem.md b/docs/CreateFullMenuSectionItem.md
new file mode 100644
index 00000000..e9e7d2c2
--- /dev/null
+++ b/docs/CreateFullMenuSectionItem.md
@@ -0,0 +1,56 @@
+# Flipdish.CreateFullMenuSectionItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemOptionSets** | [**[CreateFullMenuItemOptionSet]**](CreateFullMenuItemOptionSet.md) | Menu item option sets | [optional]
+**Metadata** | [**[CreateMetadata]**](CreateMetadata.md) | List of metadata | [optional]
+**TaxRateName** | **String** | Tax rate name | [optional]
+**Name** | **String** | Menu item name (like \"Korma\") | [optional]
+**Description** | **String** | Description (like \"A lovely dish from the east\") | [optional]
+**SpicinessRating** | **String** | Spiciness rating | [optional]
+**Price** | **Number** | Price - this is only used when there is no master option set and should be set to 0 if a master option set exists. | [optional]
+**DepositReturnFee** | **Number** | An optional fee that can be added to the price of the item. | [optional]
+**DisplayOrder** | **Number** | Display order | [optional]
+**Alcohol** | **Boolean** | To be set true if the item or an option of the item contains an alcoholic drink. | [optional]
+**IsAvailable** | **Boolean** | True if we accept orders for this item still | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**DisableVouchers** | **Boolean** | If true, then vouchers won't be applied for this item | [optional]
+**ImageName** | **String** | Image url | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuItemId** | **Number** | Menu Item Id | [optional]
+**ExcludeFromVoucherDiscounting** | **Boolean** | If true, the item is excluded from voucher discount calculations | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
+
+## Enum: SpicinessRatingEnum
+
+
+* `NotRated` (value: `"NotRated"`)
+
+* `Mild` (value: `"Mild"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Hot` (value: `"Hot"`)
+
+
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/CreateGroup.md b/docs/CreateGroup.md
new file mode 100644
index 00000000..0583076e
--- /dev/null
+++ b/docs/CreateGroup.md
@@ -0,0 +1,26 @@
+# Flipdish.CreateGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MinSelectCount** | **Number** | Minimum number of items that the user has to select | [optional]
+**MaxSelectCount** | **Number** | Maximum number of items that the user has to select | [optional]
+**Products** | [**[CreateProductReference]**](CreateProductReference.md) | Collection of items associated with this group | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+**GroupType** | **String** | Type of group (ModifierGroup, etc) |
+**Sku** | **String** | Stock Keeping Unit (SKU) |
+**Name** | **String** | Group name |
+**AutogenerateDisplayText** | **Boolean** | Autogenerate display text in ordering applications | [optional]
+**ImageFileName** | **String** | Image File Name | [optional]
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/CreateGroupReference.md b/docs/CreateGroupReference.md
new file mode 100644
index 00000000..f24328d2
--- /dev/null
+++ b/docs/CreateGroupReference.md
@@ -0,0 +1,19 @@
+# Flipdish.CreateGroupReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Identifier of the ProductId to use as SubProduct |
+**GroupType** | **String** | Type of the SupProduct |
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/CreateLocation.md b/docs/CreateLocation.md
new file mode 100644
index 00000000..65a5003f
--- /dev/null
+++ b/docs/CreateLocation.md
@@ -0,0 +1,12 @@
+# Flipdish.CreateLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationId** | **Number** | Location Id | [optional]
+**LocationName** | **String** | Descriptive LocationArea name | [optional]
+**DisplayOrder** | **Number** | The order that the Location should be displayed on the screen | [optional]
+**ExternalLocationId** | **String** | Id of the Location on an external system | [optional]
+
+
diff --git a/docs/CreateLocationArea.md b/docs/CreateLocationArea.md
new file mode 100644
index 00000000..8ce6a391
--- /dev/null
+++ b/docs/CreateLocationArea.md
@@ -0,0 +1,9 @@
+# Flipdish.CreateLocationArea
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationAreaName** | **String** | Descriptive LocationArea name |
+
+
diff --git a/docs/CreateMenuSectionItemFromCatalogItems.md b/docs/CreateMenuSectionItemFromCatalogItems.md
new file mode 100644
index 00000000..2ab74855
--- /dev/null
+++ b/docs/CreateMenuSectionItemFromCatalogItems.md
@@ -0,0 +1,9 @@
+# Flipdish.CreateMenuSectionItemFromCatalogItems
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuCatalogItems** | [**[MenuCatalogItem]**](MenuCatalogItem.md) | List of CatalogItems to add to the section |
+
+
diff --git a/docs/CreateMenuTaxRate.md b/docs/CreateMenuTaxRate.md
new file mode 100644
index 00000000..0b706053
--- /dev/null
+++ b/docs/CreateMenuTaxRate.md
@@ -0,0 +1,10 @@
+# Flipdish.CreateMenuTaxRate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name of Tax Rate | [optional]
+**Rate** | **Number** | In Percentage | [optional]
+
+
diff --git a/docs/CreateMetadata.md b/docs/CreateMetadata.md
new file mode 100644
index 00000000..a2192eb9
--- /dev/null
+++ b/docs/CreateMetadata.md
@@ -0,0 +1,11 @@
+# Flipdish.CreateMetadata
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store identifier | [optional]
+**Key** | **String** | Metadata key (Unique identifier) | [optional]
+**Value** | **String** | Metadata value | [optional]
+
+
diff --git a/docs/CreateMetafieldDefinition.md b/docs/CreateMetafieldDefinition.md
new file mode 100644
index 00000000..0bb3316c
--- /dev/null
+++ b/docs/CreateMetafieldDefinition.md
@@ -0,0 +1,55 @@
+# Flipdish.CreateMetafieldDefinition
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsReadOnly** | **Boolean** | Indicates if a definition can be edited or not | [optional]
+**OwnerEntity** | **String** | The Metafield will extend the specified {Flipdish.Metafields.PublicModels.V1.MetafieldDefinitionBase.OwnerEntity} | [optional]
+**Key** | **String** | Key of the metafield. The key must have two parts, separated by a dot. The first part acts as a category, for organizational purposes. The parts can be composed of lowercase letters, numbers, hyphen and underscore |
+**ValueType** | **String** | The excepted type for the Value field | [optional]
+**Name** | **String** | Field Name |
+**Description** | **String** | Field Description | [optional]
+**Behaviors** | **[String]** | Enable Metafield Behaviors | [optional]
+**MetafieldDefinitionRecommendationId** | **Number** | Metafield Recommendation Id | [optional]
+
+
+
+## Enum: OwnerEntityEnum
+
+
+* `CatalogItem` (value: `"CatalogItem"`)
+
+* `CatalogGroup` (value: `"CatalogGroup"`)
+
+* `Menu` (value: `"Menu"`)
+
+
+
+
+
+## Enum: ValueTypeEnum
+
+
+* `Boolean` (value: `"Boolean"`)
+
+* `Json` (value: `"Json"`)
+
+* `SingleLineString` (value: `"SingleLineString"`)
+
+* `MultiLineString` (value: `"MultiLineString"`)
+
+
+
+
+
+## Enum: [BehaviorsEnum]
+
+
+* `SendToOrder` (value: `"SendToOrder"`)
+
+* `SendToMenu` (value: `"SendToMenu"`)
+
+
+
+
diff --git a/docs/CreatePayGreenConfigurationRequest.md b/docs/CreatePayGreenConfigurationRequest.md
new file mode 100644
index 00000000..27ae7eaa
--- /dev/null
+++ b/docs/CreatePayGreenConfigurationRequest.md
@@ -0,0 +1,12 @@
+# Flipdish.CreatePayGreenConfigurationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**PayGreenId** | **String** | | [optional]
+**PayGreenPrivateKey** | **String** | | [optional]
+**AssignedStores** | **[Number]** | | [optional]
+
+
diff --git a/docs/CreateProduct.md b/docs/CreateProduct.md
new file mode 100644
index 00000000..fd6d0932
--- /dev/null
+++ b/docs/CreateProduct.md
@@ -0,0 +1,28 @@
+# Flipdish.CreateProduct
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Groups** | [**[CreateGroupReference]**](CreateGroupReference.md) | Collection of groups associated with this item | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+**ProductType** | **String** | Type of item (Product, Modifier, etc) |
+**Sku** | **String** | Stock Keeping Unit (SKU) |
+**Name** | **String** | Product name |
+**Description** | **String** | Product description | [optional]
+**Price** | **Number** | Product price |
+**ImageFileName** | **String** | Image File Name | [optional]
+**Alcohol** | **Boolean** | Product contains alcohol | [optional]
+
+
+
+## Enum: ProductTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/CreateProductReference.md b/docs/CreateProductReference.md
new file mode 100644
index 00000000..6d6074d5
--- /dev/null
+++ b/docs/CreateProductReference.md
@@ -0,0 +1,22 @@
+# Flipdish.CreateProductReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Identifier of the CatalogItemId to use as SubProduct |
+**ProductType** | **String** | Type of the SupProduct |
+**PreselectedQuantity** | **Number** | Quantity of the modifier that will be set when the parent product is placed in the basket | [optional]
+
+
+
+## Enum: ProductTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/CreatePromotion.md b/docs/CreatePromotion.md
new file mode 100644
index 00000000..5bea33a8
--- /dev/null
+++ b/docs/CreatePromotion.md
@@ -0,0 +1,10 @@
+# Flipdish.CreatePromotion
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Promotion Name | [optional]
+**MenuItemPublicIds** | **[String]** | Promotion Menu Item Awards | [optional]
+
+
diff --git a/docs/CreateTeammate.md b/docs/CreateTeammate.md
new file mode 100644
index 00000000..faebaa94
--- /dev/null
+++ b/docs/CreateTeammate.md
@@ -0,0 +1,46 @@
+# Flipdish.CreateTeammate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email address | [optional]
+**AppAccessLevel** | **String** | App access level | [optional]
+**HasAccessToAllStores** | **Boolean** | The user has access to all stores for the app (including new stores that added later) | [optional]
+**StoreIds** | **[Number]** | Store IDs the user has access to (if HasAccessToAllStores is false) | [optional]
+**PropertyIds** | **[String]** | Property Ids the user has access to (if HasAccessToAllStores is false) | [optional]
+
+
+
+## Enum: AppAccessLevelEnum
+
+
+* `None` (value: `"None"`)
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+* `Onboarding` (value: `"Onboarding"`)
+
+* `Support` (value: `"Support"`)
+
+
+
+
diff --git a/docs/CreateVoucher.md b/docs/CreateVoucher.md
new file mode 100644
index 00000000..47e43a4c
--- /dev/null
+++ b/docs/CreateVoucher.md
@@ -0,0 +1,94 @@
+# Flipdish.CreateVoucher
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherType** | **String** | Voucher Type | [optional]
+**Promotion** | [**CreatePromotion**](CreatePromotion.md) | | [optional]
+**CreditNoteDetails** | [**CreditNoteDetails**](CreditNoteDetails.md) | | [optional]
+**LumpDiscountDetails** | [**LumpDiscountDetails**](LumpDiscountDetails.md) | | [optional]
+**PercentDiscountDetails** | [**PercentDiscountDetails**](PercentDiscountDetails.md) | | [optional]
+**Code** | **String** | Voucher Code | [optional]
+**Description** | **String** | Voucher Description (Visible on printout) | [optional]
+**Stores** | **[Number]** | Stores that this voucher applies to | [optional]
+**ValidOnOrdersOver** | **Number** | Valid on orders on or above | [optional]
+**TakesPriority** | **Boolean** | Takes priority | [optional]
+**IsEnabled** | **Boolean** | Is voucher enabled | [optional]
+**IsAutomaticallyApplied** | **Boolean** | Is voucher automatically applied | [optional]
+**IncludeDeliveryFee** | **Boolean** | Include delivery fees | [optional]
+**IsValidForDeliveryOrders** | **Boolean** | Valid for delivery orders | [optional]
+**IsValidForPickupOrders** | **Boolean** | Valid for pickup orders | [optional]
+**IsValidForOrdersPayedOnline** | **Boolean** | Valid for orders payed online | [optional]
+**IsValidForOrdersPayedByCash** | **Boolean** | Valid for orders payed in cash | [optional]
+**IsValidForFirstOrderOnly** | **Boolean** | Valid only on the first order by the customer | [optional]
+**IsValidOncePerCustomer** | **Boolean** | Valid once per customer | [optional]
+**IsValidOnlyOnce** | **Boolean** | Valid only once, by any customer (once used cannot be used again by any other customer) | [optional]
+**IsDiscoverable** | **Boolean** | Enables the voucher to be offered in the Voucher Discoverability feature | [optional]
+**ForceDiscount** | **Boolean** | Force the discount to be applied which bypasses some menu restrictions | [optional]
+**StartDate** | **Date** | Voucher Starts On (Time in UTC) | [optional]
+**ExpiryDate** | **Date** | Voucher Expires On (Time in UTC) | [optional]
+**ChannelRestrictions** | **[String]** | Limit the channels this voucher can be used on | [optional]
+**ValidityPeriods** | [**[ValidityPeriod]**](ValidityPeriod.md) | Periods in which the voucher is valid. An empty list means the voucher is valid at all times. When updating the voucher, if this is set to null, the validity periods won't be updated. | [optional]
+**VoucherSubType** | **String** | Voucher Subtype | [optional]
+**CustomerId** | **Number** | Customer UserID | [optional]
+**MaxRedemptions** | **Number** | Maximum number of times the voucher can be redeemed (used) | [optional]
+
+
+
+## Enum: VoucherTypeEnum
+
+
+* `PercentageDiscount` (value: `"PercentageDiscount"`)
+
+* `LumpDiscount` (value: `"LumpDiscount"`)
+
+* `AddItem` (value: `"AddItem"`)
+
+* `CreditNote` (value: `"CreditNote"`)
+
+* `FreeDelivery` (value: `"FreeDelivery"`)
+
+
+
+
+
+## Enum: [ChannelRestrictionsEnum]
+
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
+
+## Enum: VoucherSubTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `SignUp` (value: `"SignUp"`)
+
+* `Loyalty` (value: `"Loyalty"`)
+
+* `Loyalty25` (value: `"Loyalty25"`)
+
+* `Retention` (value: `"Retention"`)
+
+* `SecondaryRetention` (value: `"SecondaryRetention"`)
+
+* `Custom` (value: `"Custom"`)
+
+
+
+
diff --git a/docs/CreatedMenuSectionItems.md b/docs/CreatedMenuSectionItems.md
new file mode 100644
index 00000000..caafe9ce
--- /dev/null
+++ b/docs/CreatedMenuSectionItems.md
@@ -0,0 +1,9 @@
+# Flipdish.CreatedMenuSectionItems
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuSectionItems** | [**[MenuSectionItem]**](MenuSectionItem.md) | Created Menu Section Items | [optional]
+
+
diff --git a/docs/CreditNoteDetails.md b/docs/CreditNoteDetails.md
new file mode 100644
index 00000000..40bc8d7c
--- /dev/null
+++ b/docs/CreditNoteDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.CreditNoteDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RemainingCredit** | **Number** | Remaining credit | [optional]
+
+
diff --git a/docs/CrossSellApi.md b/docs/CrossSellApi.md
new file mode 100644
index 00000000..4f0ba663
--- /dev/null
+++ b/docs/CrossSellApi.md
@@ -0,0 +1,64 @@
+# Flipdish.CrossSellApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getCrossSellMenuItems**](CrossSellApi.md#getCrossSellMenuItems) | **GET** /api/v1.0/{appId}/crossSell/menuItems |
+
+
+
+## getCrossSellMenuItems
+
+> RestApiResultCrossSellMenuItems getCrossSellMenuItems(menuId, menuItemId, limit, totalValue, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CrossSellApi();
+let menuId = 56; // Number |
+let menuItemId = [null]; // [Number] |
+let limit = 56; // Number |
+let totalValue = 3.4; // Number |
+let appId = "appId_example"; // String |
+apiInstance.getCrossSellMenuItems(menuId, menuItemId, limit, totalValue, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| |
+ **menuItemId** | [**[Number]**](Number.md)| |
+ **limit** | **Number**| |
+ **totalValue** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultCrossSellMenuItems**](RestApiResultCrossSellMenuItems.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/CrossSellMenuItems.md b/docs/CrossSellMenuItems.md
new file mode 100644
index 00000000..b3e155d6
--- /dev/null
+++ b/docs/CrossSellMenuItems.md
@@ -0,0 +1,9 @@
+# Flipdish.CrossSellMenuItems
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemIds** | **[Number]** | Menu Item Id's | [optional]
+
+
diff --git a/docs/CspReport.md b/docs/CspReport.md
new file mode 100644
index 00000000..b4e1fd5d
--- /dev/null
+++ b/docs/CspReport.md
@@ -0,0 +1,15 @@
+# Flipdish.CspReport
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Document_uri** | **String** | | [optional]
+**Referrer** | **String** | | [optional]
+**Violated_directive** | **String** | | [optional]
+**Effective_directive** | **String** | | [optional]
+**Original_policy** | **String** | | [optional]
+**Blocked_uri** | **String** | | [optional]
+**Status_code** | **Number** | | [optional]
+
+
diff --git a/docs/CspReportRequest.md b/docs/CspReportRequest.md
new file mode 100644
index 00000000..52ed473d
--- /dev/null
+++ b/docs/CspReportRequest.md
@@ -0,0 +1,9 @@
+# Flipdish.CspReportRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Csp_report** | [**CspReport**](CspReport.md) | | [optional]
+
+
diff --git a/docs/CurrencyData.md b/docs/CurrencyData.md
new file mode 100644
index 00000000..fccd1148
--- /dev/null
+++ b/docs/CurrencyData.md
@@ -0,0 +1,243 @@
+# Flipdish.CurrencyData
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Currency** | **String** | Currency | [optional]
+**Value** | **Number** | Value | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/Customer.md b/docs/Customer.md
new file mode 100644
index 00000000..0d01510c
--- /dev/null
+++ b/docs/Customer.md
@@ -0,0 +1,15 @@
+# Flipdish.Customer
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CustomerId** | **Number** | Id of the customer | [optional]
+**Name** | **String** | Customer name | [optional]
+**RegistrationDate** | **Date** | Customer registration date | [optional]
+**PhoneNumber** | **String** | Phone Number in international format | [optional]
+**CashOrdersEnabled** | **Boolean** | Customer can place cash orders | [optional]
+**CardOrdersEnabled** | **Boolean** | Customer can place card orders | [optional]
+**MarketingEnabled** | **Boolean** | Customer can receive marketing | [optional]
+
+
diff --git a/docs/CustomerConsentUpdatedEvent.md b/docs/CustomerConsentUpdatedEvent.md
new file mode 100644
index 00000000..7ecf94fd
--- /dev/null
+++ b/docs/CustomerConsentUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.CustomerConsentUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**Enabled** | **Boolean** | Enabled | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CustomerCreateModel.md b/docs/CustomerCreateModel.md
new file mode 100644
index 00000000..c88d89e3
--- /dev/null
+++ b/docs/CustomerCreateModel.md
@@ -0,0 +1,40 @@
+# Flipdish.CustomerCreateModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PhoneNumber** | **String** | Customer Phone Number | [optional]
+**AppType** | **String** | Customer AppType | [optional]
+**Name** | **String** | Customer Name | [optional]
+
+
+
+## Enum: AppTypeEnum
+
+
+* `Unknown` (value: `"Unknown"`)
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `TelephoneCall` (value: `"TelephoneCall"`)
+
+* `Sms` (value: `"Sms"`)
+
+* `PwaAndroid` (value: `"PwaAndroid"`)
+
+* `PwaIos` (value: `"PwaIos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
diff --git a/docs/CustomerCreatedEvent.md b/docs/CustomerCreatedEvent.md
new file mode 100644
index 00000000..13bfa029
--- /dev/null
+++ b/docs/CustomerCreatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.CustomerCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/CustomerDeliveryTrackingOrder.md b/docs/CustomerDeliveryTrackingOrder.md
new file mode 100644
index 00000000..738a0356
--- /dev/null
+++ b/docs/CustomerDeliveryTrackingOrder.md
@@ -0,0 +1,260 @@
+# Flipdish.CustomerDeliveryTrackingOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | Order Id | [optional]
+**Address** | **String** | Pretified address string in country format | [optional]
+**DeliveryNotes** | **String** | Delivery Notes | [optional]
+**StorePhoneNumber** | **String** | Phone number of the store | [optional]
+**AppIconUrl** | **String** | App Icon of the store | [optional]
+**OrderTrackingCode** | **String** | Order Tracking Code | [optional]
+**PaymentMethodDescription** | **String** | Payment method description i.e Cash/Card/iDeal/Paypal | [optional]
+**LastFourDigits** | **String** | Last 4 digits of the card if applicable otherwise null | [optional]
+**OrderLines** | [**[CustomerDeliveryTrackingOrderLine]**](CustomerDeliveryTrackingOrderLine.md) | Order lines of the order | [optional]
+**TotalAmount** | **Number** | Total amount for the order including tax | [optional]
+**Currency** | **String** | Currency | [optional]
+**Latitude** | **Number** | Customer Location Latitude | [optional]
+**Longitude** | **Number** | Customer Location Longitude | [optional]
+**Placed** | **Date** | Order placed time | [optional]
+**RequestedFor** | **Date** | Order requested for | [optional]
+**DriverId** | **Number** | Driver Id | [optional]
+**DriverName** | **String** | Driver Name | [optional]
+**DriverImage** | **String** | Driver Image | [optional]
+**EstimatedMinutesForDelivery** | **Number** | | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/CustomerDeliveryTrackingOrderLine.md b/docs/CustomerDeliveryTrackingOrderLine.md
new file mode 100644
index 00000000..ec3d7faa
--- /dev/null
+++ b/docs/CustomerDeliveryTrackingOrderLine.md
@@ -0,0 +1,10 @@
+# Flipdish.CustomerDeliveryTrackingOrderLine
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ItemName** | **String** | Item name from the order | [optional]
+**SelectedOptions** | **[String]** | Selected option names | [optional]
+
+
diff --git a/docs/CustomerMessages.md b/docs/CustomerMessages.md
new file mode 100644
index 00000000..919ded97
--- /dev/null
+++ b/docs/CustomerMessages.md
@@ -0,0 +1,10 @@
+# Flipdish.CustomerMessages
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryMenuMessage** | **String** | Delivery menu message | [optional]
+**PickupMenuMessage** | **String** | Pickup menu message | [optional]
+
+
diff --git a/docs/CustomerSummary.md b/docs/CustomerSummary.md
new file mode 100644
index 00000000..d2451093
--- /dev/null
+++ b/docs/CustomerSummary.md
@@ -0,0 +1,14 @@
+# Flipdish.CustomerSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Customer identifier | [optional]
+**Name** | **String** | Customer name | [optional]
+**EmailAddress** | **String** | Customer email address | [optional]
+**PhoneNumberLocalFormat** | **String** | Customer local phone number | [optional]
+**PhoneNumber** | **String** | Customer phone number | [optional]
+**LanguagePreference** | **String** | Preferred language of the consumer | [optional]
+
+
diff --git a/docs/CustomerUpdateModel.md b/docs/CustomerUpdateModel.md
new file mode 100644
index 00000000..4eb2994a
--- /dev/null
+++ b/docs/CustomerUpdateModel.md
@@ -0,0 +1,11 @@
+# Flipdish.CustomerUpdateModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CashOrdersEnabled** | **Boolean** | Customer can place cash orders | [optional]
+**CardOrdersEnabled** | **Boolean** | Customer can place card orders | [optional]
+**MarketingEnabled** | **Boolean** | Customer can receive marketing | [optional]
+
+
diff --git a/docs/CustomerUpdatedEvent.md b/docs/CustomerUpdatedEvent.md
new file mode 100644
index 00000000..b7e47db3
--- /dev/null
+++ b/docs/CustomerUpdatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.CustomerUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/Customers.md b/docs/Customers.md
new file mode 100644
index 00000000..018b8e3c
--- /dev/null
+++ b/docs/Customers.md
@@ -0,0 +1,9 @@
+# Flipdish.Customers
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Items** | [**[Customer]**](Customer.md) | List of customers | [optional]
+
+
diff --git a/docs/CustomersApi.md b/docs/CustomersApi.md
new file mode 100644
index 00000000..cff2a6e9
--- /dev/null
+++ b/docs/CustomersApi.md
@@ -0,0 +1,210 @@
+# Flipdish.CustomersApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createCustomer**](CustomersApi.md#createCustomer) | **POST** /api/v1.0/{appId}/customers |
+[**getCustomerById**](CustomersApi.md#getCustomerById) | **GET** /api/v1.0/{appId}/customers/{customerId} |
+[**getCustomers**](CustomersApi.md#getCustomers) | **GET** /api/v1.0/{appId}/customers |
+[**updateCustomerById**](CustomersApi.md#updateCustomerById) | **POST** /api/v1.0/{appId}/customers/{customerId} |
+
+
+
+## createCustomer
+
+> RestApiResultCustomer createCustomer(appId, customerCreateModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CustomersApi();
+let appId = "appId_example"; // String |
+let customerCreateModel = new Flipdish.CustomerCreateModel(); // CustomerCreateModel |
+apiInstance.createCustomer(appId, customerCreateModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **customerCreateModel** | [**CustomerCreateModel**](CustomerCreateModel.md)| |
+
+### Return type
+
+[**RestApiResultCustomer**](RestApiResultCustomer.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getCustomerById
+
+> RestApiResultCustomer getCustomerById(appId, customerId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CustomersApi();
+let appId = "appId_example"; // String |
+let customerId = 56; // Number |
+apiInstance.getCustomerById(appId, customerId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **customerId** | **Number**| |
+
+### Return type
+
+[**RestApiResultCustomer**](RestApiResultCustomer.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getCustomers
+
+> RestApiResultCustomers getCustomers(appId, phoneNumber)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CustomersApi();
+let appId = "appId_example"; // String |
+let phoneNumber = "phoneNumber_example"; // String |
+apiInstance.getCustomers(appId, phoneNumber, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **phoneNumber** | **String**| |
+
+### Return type
+
+[**RestApiResultCustomers**](RestApiResultCustomers.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## updateCustomerById
+
+> RestApiResultCustomer updateCustomerById(appId, customerId, updateCustomer)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.CustomersApi();
+let appId = "appId_example"; // String |
+let customerId = 56; // Number |
+let updateCustomer = new Flipdish.CustomerUpdateModel(); // CustomerUpdateModel |
+apiInstance.updateCustomerById(appId, customerId, updateCustomer, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **customerId** | **Number**| |
+ **updateCustomer** | [**CustomerUpdateModel**](CustomerUpdateModel.md)| |
+
+### Return type
+
+[**RestApiResultCustomer**](RestApiResultCustomer.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/DashboardEmbed.md b/docs/DashboardEmbed.md
new file mode 100644
index 00000000..e674c7c1
--- /dev/null
+++ b/docs/DashboardEmbed.md
@@ -0,0 +1,9 @@
+# Flipdish.DashboardEmbed
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EmbedUrl** | **String** | SSO URL generated by Flipdish to embed Looker dashboard | [optional]
+
+
diff --git a/docs/DeliveryLocation.md b/docs/DeliveryLocation.md
new file mode 100644
index 00000000..2666245e
--- /dev/null
+++ b/docs/DeliveryLocation.md
@@ -0,0 +1,15 @@
+# Flipdish.DeliveryLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
+**Building** | **String** | Building | [optional]
+**Street** | **String** | Street | [optional]
+**Town** | **String** | Town | [optional]
+**PostCode** | **String** | Post code | [optional]
+**DeliveryInstructions** | **String** | Delivery instructions | [optional]
+**PrettyAddressString** | **String** | Formatted, pretty address string | [optional]
+
+
diff --git a/docs/DeliveryZone.md b/docs/DeliveryZone.md
new file mode 100644
index 00000000..ce5facea
--- /dev/null
+++ b/docs/DeliveryZone.md
@@ -0,0 +1,14 @@
+# Flipdish.DeliveryZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Delivery Fee Area Id | [optional]
+**FeeChargedToStore** | **Number** | Delivery Fee charged to store | [optional]
+**DeliveryFee** | **Number** | Delivery fee (will not be set below 0) | [optional]
+**MinimumDeliveryOrderAmount** | **Number** | Minimum delivery order amount (will not be set below 0) | [optional]
+**WellKnownText** | **String** | Spatial data in Well Known Text format We also support CIRCLE((0 0, 200)) - (centerLong centerLat, radius in m) | [optional]
+**IsEnabled** | **Boolean** | Is delivery zone enabled | [optional]
+
+
diff --git a/docs/DeliveryZoneApi.md b/docs/DeliveryZoneApi.md
new file mode 100644
index 00000000..36c6bd66
--- /dev/null
+++ b/docs/DeliveryZoneApi.md
@@ -0,0 +1,208 @@
+# Flipdish.DeliveryZoneApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addDeliveryZone**](DeliveryZoneApi.md#addDeliveryZone) | **POST** /api/v1.0/stores/{storeId}/deliveryzones |
+[**getDeliveryZones**](DeliveryZoneApi.md#getDeliveryZones) | **GET** /api/v1.0/stores/{storeId}/deliveryzones |
+[**removeDeliveryZone**](DeliveryZoneApi.md#removeDeliveryZone) | **DELETE** /api/v1.0/stores/{storeId}/deliveryzones/{deliveryZoneId} |
+[**updateDeliveryZone**](DeliveryZoneApi.md#updateDeliveryZone) | **POST** /api/v1.0/stores/{storeId}/deliveryzones/{deliveryZoneId} |
+
+
+
+## addDeliveryZone
+
+> RestApiResultDeliveryZone addDeliveryZone(storeId, deliveryZoneBase)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeliveryZoneApi();
+let storeId = 56; // Number |
+let deliveryZoneBase = new Flipdish.DeliveryZoneBase(); // DeliveryZoneBase |
+apiInstance.addDeliveryZone(storeId, deliveryZoneBase, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryZoneBase** | [**DeliveryZoneBase**](DeliveryZoneBase.md)| |
+
+### Return type
+
+[**RestApiResultDeliveryZone**](RestApiResultDeliveryZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getDeliveryZones
+
+> RestApiArrayResultDeliveryZone getDeliveryZones(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeliveryZoneApi();
+let storeId = 56; // Number |
+apiInstance.getDeliveryZones(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultDeliveryZone**](RestApiArrayResultDeliveryZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## removeDeliveryZone
+
+> removeDeliveryZone(storeId, deliveryZoneId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeliveryZoneApi();
+let storeId = 56; // Number |
+let deliveryZoneId = 56; // Number |
+apiInstance.removeDeliveryZone(storeId, deliveryZoneId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryZoneId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateDeliveryZone
+
+> RestApiResultDeliveryZone updateDeliveryZone(storeId, deliveryZoneId, deliveryZone)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeliveryZoneApi();
+let storeId = 56; // Number |
+let deliveryZoneId = 56; // Number |
+let deliveryZone = new Flipdish.DeliveryZoneBase(); // DeliveryZoneBase |
+apiInstance.updateDeliveryZone(storeId, deliveryZoneId, deliveryZone, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryZoneId** | **Number**| |
+ **deliveryZone** | [**DeliveryZoneBase**](DeliveryZoneBase.md)| |
+
+### Return type
+
+[**RestApiResultDeliveryZone**](RestApiResultDeliveryZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/DeliveryZoneBase.md b/docs/DeliveryZoneBase.md
new file mode 100644
index 00000000..3c86fda0
--- /dev/null
+++ b/docs/DeliveryZoneBase.md
@@ -0,0 +1,12 @@
+# Flipdish.DeliveryZoneBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryFee** | **Number** | Delivery fee (will not be set below 0) | [optional]
+**MinimumDeliveryOrderAmount** | **Number** | Minimum delivery order amount (will not be set below 0) | [optional]
+**WellKnownText** | **String** | Spatial data in Well Known Text format We also support CIRCLE((0 0, 200)) - (centerLong centerLat, radius in m) | [optional]
+**IsEnabled** | **Boolean** | Is delivery zone enabled | [optional]
+
+
diff --git a/docs/DeliveryZoneCreatedEvent.md b/docs/DeliveryZoneCreatedEvent.md
new file mode 100644
index 00000000..f544af35
--- /dev/null
+++ b/docs/DeliveryZoneCreatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.DeliveryZoneCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**DeliveryZone** | [**DeliveryZone**](DeliveryZone.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/DeliveryZoneDeletedEvent.md b/docs/DeliveryZoneDeletedEvent.md
new file mode 100644
index 00000000..a15afa06
--- /dev/null
+++ b/docs/DeliveryZoneDeletedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.DeliveryZoneDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**DeliveryZone** | [**DeliveryZone**](DeliveryZone.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/DeliveryZoneUpdatedEvent.md b/docs/DeliveryZoneUpdatedEvent.md
new file mode 100644
index 00000000..23f52fe8
--- /dev/null
+++ b/docs/DeliveryZoneUpdatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.DeliveryZoneUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**DeliveryZone** | [**DeliveryZone**](DeliveryZone.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/DepositReturnFeesSummary.md b/docs/DepositReturnFeesSummary.md
new file mode 100644
index 00000000..96cb635a
--- /dev/null
+++ b/docs/DepositReturnFeesSummary.md
@@ -0,0 +1,11 @@
+# Flipdish.DepositReturnFeesSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **Number** | | [optional]
+**Fee** | **Number** | | [optional]
+**Total** | **Number** | | [optional]
+
+
diff --git a/docs/DeviceApi.md b/docs/DeviceApi.md
new file mode 100644
index 00000000..adec41b0
--- /dev/null
+++ b/docs/DeviceApi.md
@@ -0,0 +1,214 @@
+# Flipdish.DeviceApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**assignDevice**](DeviceApi.md#assignDevice) | **POST** /api/v1.0/{appId}/devices/assign |
+[**enrollDevice**](DeviceApi.md#enrollDevice) | **POST** /api/v1.0/{appId}/devices/enroll |
+[**getDeviceDetails**](DeviceApi.md#getDeviceDetails) | **GET** /api/v1.0/{appId}/devices/device/{deviceModel}/{deviceId} |
+[**searchDevices**](DeviceApi.md#searchDevices) | **GET** /api/v1.0/{appId}/devices/search |
+
+
+
+## assignDevice
+
+> RestApiResultClientDeviceEnrollmentResult assignDevice(appId, assignDeviceRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeviceApi();
+let appId = "appId_example"; // String |
+let assignDeviceRequest = new Flipdish.ClientDeviceAssignEnrolledDevice(); // ClientDeviceAssignEnrolledDevice |
+apiInstance.assignDevice(appId, assignDeviceRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **assignDeviceRequest** | [**ClientDeviceAssignEnrolledDevice**](ClientDeviceAssignEnrolledDevice.md)| |
+
+### Return type
+
+[**RestApiResultClientDeviceEnrollmentResult**](RestApiResultClientDeviceEnrollmentResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## enrollDevice
+
+> RestApiResultClientDeviceEnrollmentResult enrollDevice(appId, deviceEnrollmentRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeviceApi();
+let appId = "appId_example"; // String |
+let deviceEnrollmentRequest = new Flipdish.ClientDeviceEnroll(); // ClientDeviceEnroll |
+apiInstance.enrollDevice(appId, deviceEnrollmentRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceEnrollmentRequest** | [**ClientDeviceEnroll**](ClientDeviceEnroll.md)| |
+
+### Return type
+
+[**RestApiResultClientDeviceEnrollmentResult**](RestApiResultClientDeviceEnrollmentResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getDeviceDetails
+
+> RestApiResultClientDevice getDeviceDetails(appId, deviceModel, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeviceApi();
+let appId = "appId_example"; // String |
+let deviceModel = "deviceModel_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.getDeviceDetails(appId, deviceModel, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceModel** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiResultClientDevice**](RestApiResultClientDevice.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## searchDevices
+
+> RestApiArrayResultClientDeviceSummary searchDevices(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DeviceApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeId': 56, // Number |
+ 'deviceModel': "deviceModel_example" // String |
+};
+apiInstance.searchDevices(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| | [optional]
+ **deviceModel** | **String**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultClientDeviceSummary**](RestApiArrayResultClientDeviceSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/DeviceSettings.md b/docs/DeviceSettings.md
new file mode 100644
index 00000000..3e07142e
--- /dev/null
+++ b/docs/DeviceSettings.md
@@ -0,0 +1,11 @@
+# Flipdish.DeviceSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Volume** | **Number** | Gets or sets the device volume |
+**FontSize** | **Number** | Gets or sets the font size used on the device |
+**Brightness** | **Number** | Gets or sets the display brightness on the device |
+
+
diff --git a/docs/DnsRecordInformation.md b/docs/DnsRecordInformation.md
new file mode 100644
index 00000000..0d29e601
--- /dev/null
+++ b/docs/DnsRecordInformation.md
@@ -0,0 +1,11 @@
+# Flipdish.DnsRecordInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsCNameReady** | **Boolean** | indicates whether the CNAME record is ready or not. | [optional]
+**IsAReady** | **Boolean** | indicates whether the A record is ready or not. | [optional]
+**IsApiCNameReady** | **Boolean** | indicates whether the API CNAME record is ready or not. | [optional]
+
+
diff --git a/docs/DnsVerifiedEvent.md b/docs/DnsVerifiedEvent.md
new file mode 100644
index 00000000..9a36682a
--- /dev/null
+++ b/docs/DnsVerifiedEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.DnsVerifiedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Hostname** | **String** | Description | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/DriverLoginModel.md b/docs/DriverLoginModel.md
new file mode 100644
index 00000000..51cc3142
--- /dev/null
+++ b/docs/DriverLoginModel.md
@@ -0,0 +1,10 @@
+# Flipdish.DriverLoginModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PhoneNumber** | **String** | Phone number |
+**Code** | **String** | Code |
+
+
diff --git a/docs/DriverRequestLoginPinModel.md b/docs/DriverRequestLoginPinModel.md
new file mode 100644
index 00000000..5f0e3809
--- /dev/null
+++ b/docs/DriverRequestLoginPinModel.md
@@ -0,0 +1,9 @@
+# Flipdish.DriverRequestLoginPinModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PhoneNumber** | **String** | Email address |
+
+
diff --git a/docs/DriversApi.md b/docs/DriversApi.md
new file mode 100644
index 00000000..2b73fd41
--- /dev/null
+++ b/docs/DriversApi.md
@@ -0,0 +1,524 @@
+# Flipdish.DriversApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**driversAddDriverNotificationToken**](DriversApi.md#driversAddDriverNotificationToken) | **POST** /api/v1.0/drivers/token |
+[**driversDeleteDriverProfileImage**](DriversApi.md#driversDeleteDriverProfileImage) | **DELETE** /api/v1.0/drivers/profile/image |
+[**driversDriverLogin**](DriversApi.md#driversDriverLogin) | **POST** /api/v1.0/drivers/login |
+[**driversDriverRequestLoginCodeSms**](DriversApi.md#driversDriverRequestLoginCodeSms) | **POST** /api/v1.0/drivers/pin |
+[**driversGetDriverProfile**](DriversApi.md#driversGetDriverProfile) | **GET** /api/v1.0/drivers/profile |
+[**driversGetStoresForDriver**](DriversApi.md#driversGetStoresForDriver) | **GET** /api/v1.0/drivers/assignedstores |
+[**driversRemoveDriverNotificationToken**](DriversApi.md#driversRemoveDriverNotificationToken) | **DELETE** /api/v1.0/drivers/token |
+[**driversSetDriverPresenceForStore**](DriversApi.md#driversSetDriverPresenceForStore) | **POST** /api/v1.0/drivers/stores/{storeId}/presence/{presence} |
+[**driversSetDriverProfileImage**](DriversApi.md#driversSetDriverProfileImage) | **POST** /api/v1.0/drivers/profile/image |
+[**driversUpdateDeliveryTrackingStatus**](DriversApi.md#driversUpdateDeliveryTrackingStatus) | **POST** /api/v1.0/orders/{orderId}/tracking/{deliveryTrackingStatus} |
+[**driversUpdateDriverProfile**](DriversApi.md#driversUpdateDriverProfile) | **POST** /api/v1.0/drivers/profile |
+
+
+
+## driversAddDriverNotificationToken
+
+> Object driversAddDriverNotificationToken(updateDriverToken)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let updateDriverToken = new Flipdish.UpdateDriverNotificationToken(); // UpdateDriverNotificationToken |
+apiInstance.driversAddDriverNotificationToken(updateDriverToken, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **updateDriverToken** | [**UpdateDriverNotificationToken**](UpdateDriverNotificationToken.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversDeleteDriverProfileImage
+
+> Object driversDeleteDriverProfileImage()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+apiInstance.driversDeleteDriverProfileImage((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversDriverLogin
+
+> Object driversDriverLogin(driverLoginModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let driverLoginModel = new Flipdish.DriverLoginModel(); // DriverLoginModel |
+apiInstance.driversDriverLogin(driverLoginModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **driverLoginModel** | [**DriverLoginModel**](DriverLoginModel.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversDriverRequestLoginCodeSms
+
+> Object driversDriverRequestLoginCodeSms(driverRequestLoginPinModel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let driverRequestLoginPinModel = new Flipdish.DriverRequestLoginPinModel(); // DriverRequestLoginPinModel |
+apiInstance.driversDriverRequestLoginCodeSms(driverRequestLoginPinModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **driverRequestLoginPinModel** | [**DriverRequestLoginPinModel**](DriverRequestLoginPinModel.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversGetDriverProfile
+
+> Object driversGetDriverProfile()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+apiInstance.driversGetDriverProfile((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversGetStoresForDriver
+
+> Object driversGetStoresForDriver()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+apiInstance.driversGetStoresForDriver((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversRemoveDriverNotificationToken
+
+> Object driversRemoveDriverNotificationToken(removeDriverToken)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let removeDriverToken = new Flipdish.UpdateDriverNotificationToken(); // UpdateDriverNotificationToken |
+apiInstance.driversRemoveDriverNotificationToken(removeDriverToken, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **removeDriverToken** | [**UpdateDriverNotificationToken**](UpdateDriverNotificationToken.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversSetDriverPresenceForStore
+
+> Object driversSetDriverPresenceForStore(storeId, presence)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let storeId = 56; // Number |
+let presence = "presence_example"; // String |
+apiInstance.driversSetDriverPresenceForStore(storeId, presence, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **presence** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversSetDriverProfileImage
+
+> Object driversSetDriverProfileImage()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+apiInstance.driversSetDriverProfileImage((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversUpdateDeliveryTrackingStatus
+
+> Object driversUpdateDeliveryTrackingStatus(orderId, deliveryTrackingStatus)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let orderId = 56; // Number |
+let deliveryTrackingStatus = "deliveryTrackingStatus_example"; // String |
+apiInstance.driversUpdateDeliveryTrackingStatus(orderId, deliveryTrackingStatus, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+ **deliveryTrackingStatus** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## driversUpdateDriverProfile
+
+> Object driversUpdateDriverProfile(updateDriverProfile)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.DriversApi();
+let updateDriverProfile = new Flipdish.UpdateDriverProfileModel(); // UpdateDriverProfileModel |
+apiInstance.driversUpdateDriverProfile(updateDriverProfile, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **updateDriverProfile** | [**UpdateDriverProfileModel**](UpdateDriverProfileModel.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/DynamicFormField.md b/docs/DynamicFormField.md
new file mode 100644
index 00000000..0aa8c4af
--- /dev/null
+++ b/docs/DynamicFormField.md
@@ -0,0 +1,16 @@
+# Flipdish.DynamicFormField
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Identifier** | **String** | | [optional]
+**Label** | **String** | | [optional]
+**Placeholder** | **String** | | [optional]
+**Rules** | [**DynamicFormRules**](DynamicFormRules.md) | | [optional]
+**Mapping** | **{String: String}** | | [optional]
+**Modifiers** | **[String]** | | [optional]
+**Value** | **Object** | | [optional]
+**Scopes** | **String** | | [optional]
+
+
diff --git a/docs/DynamicFormFieldOption.md b/docs/DynamicFormFieldOption.md
new file mode 100644
index 00000000..227f50e5
--- /dev/null
+++ b/docs/DynamicFormFieldOption.md
@@ -0,0 +1,10 @@
+# Flipdish.DynamicFormFieldOption
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Display** | **String** | | [optional]
+**Value** | **String** | | [optional]
+
+
diff --git a/docs/DynamicFormRule.md b/docs/DynamicFormRule.md
new file mode 100644
index 00000000..97dca676
--- /dev/null
+++ b/docs/DynamicFormRule.md
@@ -0,0 +1,11 @@
+# Flipdish.DynamicFormRule
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Value** | **Object** | | [optional]
+**Message** | **String** | | [optional]
+**Scopes** | **String** | | [optional]
+
+
diff --git a/docs/DynamicFormRules.md b/docs/DynamicFormRules.md
new file mode 100644
index 00000000..ef5cf12f
--- /dev/null
+++ b/docs/DynamicFormRules.md
@@ -0,0 +1,13 @@
+# Flipdish.DynamicFormRules
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MaxLength** | [**DynamicFormRule**](DynamicFormRule.md) | | [optional]
+**MinLength** | [**DynamicFormRule**](DynamicFormRule.md) | | [optional]
+**Required** | [**DynamicFormRule**](DynamicFormRule.md) | | [optional]
+**Pattern** | [**DynamicFormRule**](DynamicFormRule.md) | | [optional]
+**Predefined** | [**[DynamicFormFieldOption]**](DynamicFormFieldOption.md) | | [optional]
+
+
diff --git a/docs/EmvNotificationEvent.md b/docs/EmvNotificationEvent.md
new file mode 100644
index 00000000..cee08830
--- /dev/null
+++ b/docs/EmvNotificationEvent.md
@@ -0,0 +1,25 @@
+# Flipdish.EmvNotificationEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Notification** | **String** | Notification Sent | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**TerminalId** | **String** | TerminalId | [optional]
+**Description** | **String** | Description | [optional]
+**ExpDate** | **String** | Expirey Date | [optional]
+**CardType** | **String** | Card Type | [optional]
+**PaymentMethod** | **String** | Payment Method | [optional]
+**AccountNumber** | **String** | Masked Account Number | [optional]
+**AuthCode** | **String** | Auth Code | [optional]
+**ProviderMessage** | **String** | Payment Provider Message | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/EmvTerminal.md b/docs/EmvTerminal.md
new file mode 100644
index 00000000..f31ea867
--- /dev/null
+++ b/docs/EmvTerminal.md
@@ -0,0 +1,14 @@
+# Flipdish.EmvTerminal
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EmvTerminalId** | **Number** | Flipdish Identifier of Terminal | [optional]
+**TerminalId** | **String** | External Identifier of Terminal | [optional]
+**Url** | **String** | URL at which terminal can be accessed | [optional]
+**Token** | **String** | TOKEN required to access terminal | [optional]
+**SoftwareHouseId** | **String** | Identifies us to Provider | [optional]
+**InstallerId** | **String** | Identifies installer of terminal | [optional]
+
+
diff --git a/docs/EmvTerminalWithAssignments.md b/docs/EmvTerminalWithAssignments.md
new file mode 100644
index 00000000..d5c45581
--- /dev/null
+++ b/docs/EmvTerminalWithAssignments.md
@@ -0,0 +1,14 @@
+# Flipdish.EmvTerminalWithAssignments
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EmvTerminalId** | **String** | Flipdish Internal identifier of the Terminal | [optional]
+**TerminalId** | **String** | External Identifier of the Terminal | [optional]
+**IsAssignedToHydraDevice** | **Boolean** | true if the terminal is assigned to a hydra device (e.g. a kiosk) | [optional]
+**HydraConfigId** | **Number** | hydra device id (null if the terminal is not assigned to any hydra device) | [optional]
+**HydraDeviceId** | **String** | external hydra device id (null if the terminal is not assigned to any hydra device) | [optional]
+**HydraName** | **String** | hydra device name (null if the terminal is not assigned to any hydra device) | [optional]
+
+
diff --git a/docs/EventSearchResult.md b/docs/EventSearchResult.md
new file mode 100644
index 00000000..19e48f8b
--- /dev/null
+++ b/docs/EventSearchResult.md
@@ -0,0 +1,149 @@
+# Flipdish.EventSearchResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppCreatedEvent** | [**[AppCreatedEvent]**](AppCreatedEvent.md) | App Created Event | [optional]
+**AppUpdatedEvent** | [**[AppUpdatedEvent]**](AppUpdatedEvent.md) | App Updated Event | [optional]
+**AnalyticsClientEvent** | [**[AnalyticsClientEvent]**](AnalyticsClientEvent.md) | Client Analytics events | [optional]
+**OrderAcceptedEvent** | [**[OrderAcceptedEvent]**](OrderAcceptedEvent.md) | Order accepted events | [optional]
+**OrderDispatchedEvent** | [**[OrderDispatchedEvent]**](OrderDispatchedEvent.md) | Order dispatched events | [optional]
+**OrderCustomerTrackingCreatedEvent** | [**[OrderCustomerTrackingCreatedEvent]**](OrderCustomerTrackingCreatedEvent.md) | Order delivery tracking created events | [optional]
+**OrderDeliveryTrackingStatusUpdatedEvent** | [**[OrderDeliveryTrackingStatusUpdatedEvent]**](OrderDeliveryTrackingStatusUpdatedEvent.md) | Order delivery tracking updated events | [optional]
+**OrderBatchPublishedEvent** | [**[OrderBatchPublishedEvent]**](OrderBatchPublishedEvent.md) | Order Batch published event | [optional]
+**OrderCreatedEvent** | [**[OrderCreatedEvent]**](OrderCreatedEvent.md) | Order created events | [optional]
+**OrderRatingUpdatedEvent** | [**[OrderRatingUpdatedEvent]**](OrderRatingUpdatedEvent.md) | Order rating updated events | [optional]
+**OrderRefundedEvent** | [**[OrderRefundedEvent]**](OrderRefundedEvent.md) | Order refunded events | [optional]
+**OrderRejectedEvent** | [**[OrderRejectedEvent]**](OrderRejectedEvent.md) | Order rejected events | [optional]
+**OrderTipUpdatedEvent** | [**[OrderTipUpdatedEvent]**](OrderTipUpdatedEvent.md) | Order tip updated events | [optional]
+**OrderTerminalNotifications** | [**[EmvNotificationEvent]**](EmvNotificationEvent.md) | Order Terminal Notification events | [optional]
+**StoreCreatedEvent** | [**[StoreCreatedEvent]**](StoreCreatedEvent.md) | Store created events | [optional]
+**StoreDeletedEvent** | [**[StoreDeletedEvent]**](StoreDeletedEvent.md) | Store deleted events | [optional]
+**StoreAddressUpdatedEvent** | [**[StoreAddressUpdatedEvent]**](StoreAddressUpdatedEvent.md) | Store address updated events | [optional]
+**StoreKioskSettingUpdatedEvent** | [**[StoreKioskSettingUpdatedEvent]**](StoreKioskSettingUpdatedEvent.md) | Store kiosk setting updated events | [optional]
+**DeliveryZoneCreatedEvent** | [**[DeliveryZoneCreatedEvent]**](DeliveryZoneCreatedEvent.md) | Store delivery zone created events | [optional]
+**DeliveryZoneUpdatedEvent** | [**[DeliveryZoneUpdatedEvent]**](DeliveryZoneUpdatedEvent.md) | Store delivery zone updated events | [optional]
+**DeliveryZoneDeletedEvent** | [**[DeliveryZoneDeletedEvent]**](DeliveryZoneDeletedEvent.md) | Store delivery zone deleted events | [optional]
+**StoreOpeningHoursUpdatedEvent** | [**[StoreOpeningHoursUpdatedEvent]**](StoreOpeningHoursUpdatedEvent.md) | Store opening hours updated events | [optional]
+**StoreMenuAssignedEvent** | [**[StoreMenuAssignedEvent]**](StoreMenuAssignedEvent.md) | Store opening hours updated events | [optional]
+**StoreBusinessHoursOverrideCreatedEvent** | [**[StoreBusinessHoursOverrideCreatedEvent]**](StoreBusinessHoursOverrideCreatedEvent.md) | Store business hours override created events | [optional]
+**StoreBusinessHoursOverrideDeletedEvent** | [**[StoreBusinessHoursOverrideDeletedEvent]**](StoreBusinessHoursOverrideDeletedEvent.md) | Store business hours override deleted events | [optional]
+**StoreArchivedEvent** | [**[StoreArchivedEvent]**](StoreArchivedEvent.md) | Store archived events | [optional]
+**StoreUnarchivedEvent** | [**[StoreUnarchivedEvent]**](StoreUnarchivedEvent.md) | Store unarchived events | [optional]
+**StorePublishedEvent** | [**[StorePublishedEvent]**](StorePublishedEvent.md) | Store published events | [optional]
+**StoreUnpublishedEvent** | [**[StoreUnpublishedEvent]**](StoreUnpublishedEvent.md) | Store unpublished events | [optional]
+**StoreUpdatedEvent** | [**[StoreUpdatedEvent]**](StoreUpdatedEvent.md) | Store updated events | [optional]
+**StorePreOrderConfigUpdatedEvent** | [**[StorePreOrderConfigUpdatedEvent]**](StorePreOrderConfigUpdatedEvent.md) | Store updated events | [optional]
+**StoreLogoCreatedEvent** | [**[StoreLogoCreatedEvent]**](StoreLogoCreatedEvent.md) | Store logo created events | [optional]
+**StoreLogoUpdatedEvent** | [**[StoreLogoUpdatedEvent]**](StoreLogoUpdatedEvent.md) | Store logo updated events | [optional]
+**StoreLogoDeletedEvent** | [**[StoreLogoDeletedEvent]**](StoreLogoDeletedEvent.md) | Store logo deleted events | [optional]
+**MenuCreatedEvent** | [**[MenuCreatedEvent]**](MenuCreatedEvent.md) | Menu created events | [optional]
+**MenuAsyncCreationCompletedEvent** | [**[MenuAsyncCreationCompletedEvent]**](MenuAsyncCreationCompletedEvent.md) | Menu async creation completed events | [optional]
+**MenuUpdatedEvent** | [**[MenuUpdatedEvent]**](MenuUpdatedEvent.md) | Menu updated events | [optional]
+**MenuUploadedEvent** | [**[MenuUploadedEvent]**](MenuUploadedEvent.md) | Menu uploaded events | [optional]
+**MenuBulkEditEvent** | [**[MenuBulkEditEvent]**](MenuBulkEditEvent.md) | Menu bulk events | [optional]
+**MenuSectionCreatedEvent** | [**[MenuSectionCreatedEvent]**](MenuSectionCreatedEvent.md) | Menu section created events | [optional]
+**MenuSectionUpdatedEvent** | [**[MenuSectionUpdatedEvent]**](MenuSectionUpdatedEvent.md) | Menu section updated events | [optional]
+**MenuSectionDeletedEvent** | [**[MenuSectionDeletedEvent]**](MenuSectionDeletedEvent.md) | Menu section deleted events | [optional]
+**MenuSectionItemCreatedEvent** | [**[MenuSectionItemCreatedEvent]**](MenuSectionItemCreatedEvent.md) | Menu section item created events | [optional]
+**MenuSectionItemUpdatedEvent** | [**[MenuSectionItemUpdatedEvent]**](MenuSectionItemUpdatedEvent.md) | Menu section item updated events | [optional]
+**MenuSectionItemDeletedEvent** | [**[MenuSectionItemDeletedEvent]**](MenuSectionItemDeletedEvent.md) | Menu section item deleted events | [optional]
+**MenuItemOptionSetCreatedEvent** | [**[MenuItemOptionSetCreatedEvent]**](MenuItemOptionSetCreatedEvent.md) | Menu item option set created events | [optional]
+**MenuItemOptionSetUpdatedEvent** | [**[MenuItemOptionSetUpdatedEvent]**](MenuItemOptionSetUpdatedEvent.md) | Menu item option set updated events | [optional]
+**MenuItemOptionSetDeletedEvent** | [**[MenuItemOptionSetDeletedEvent]**](MenuItemOptionSetDeletedEvent.md) | Menu item option set deleted events | [optional]
+**MenuItemOptionSetItemCreatedEvent** | [**[MenuItemOptionSetItemCreatedEvent]**](MenuItemOptionSetItemCreatedEvent.md) | Menu item option set item created events | [optional]
+**MenuItemOptionSetItemUpdatedEvent** | [**[MenuItemOptionSetItemUpdatedEvent]**](MenuItemOptionSetItemUpdatedEvent.md) | Menu item option set item updated events | [optional]
+**MenuItemOptionSetItemDeletedEvent** | [**[MenuItemOptionSetItemDeletedEvent]**](MenuItemOptionSetItemDeletedEvent.md) | Menu item option set item deleted events | [optional]
+**MenuCheckpointCreatedEvent** | [**[MenuCheckpointCreatedEvent]**](MenuCheckpointCreatedEvent.md) | Menu checkpoint created event | [optional]
+**StoreGroupCreatedEvent** | [**[StoreGroupCreatedEvent]**](StoreGroupCreatedEvent.md) | Store group created events | [optional]
+**StoreGroupUpdatedEvent** | [**[StoreGroupUpdatedEvent]**](StoreGroupUpdatedEvent.md) | Store group updated events | [optional]
+**StoreGroupDeletedEvent** | [**[StoreGroupDeletedEvent]**](StoreGroupDeletedEvent.md) | Store group deleted events | [optional]
+**CustomerCreatedEvent** | [**[CustomerCreatedEvent]**](CustomerCreatedEvent.md) | Customer created events | [optional]
+**CustomerUpdatedEvent** | [**[CustomerUpdatedEvent]**](CustomerUpdatedEvent.md) | Customer updated events | [optional]
+**CustomerConsentUpdatedEvent** | [**[CustomerConsentUpdatedEvent]**](CustomerConsentUpdatedEvent.md) | Customer consent updated events | [optional]
+**WebhookSubscriptionCreatedEvent** | [**[WebhookSubscriptionCreatedEvent]**](WebhookSubscriptionCreatedEvent.md) | Webhook subscription created events | [optional]
+**WebhookSubscriptionUpdatedEvent** | [**[WebhookSubscriptionUpdatedEvent]**](WebhookSubscriptionUpdatedEvent.md) | Webhook subscription updated events | [optional]
+**WebhookSubscriptionDeletedEvent** | [**[WebhookSubscriptionDeletedEvent]**](WebhookSubscriptionDeletedEvent.md) | Webhook subscription deleted events | [optional]
+**PrinterTurnedOnEvent** | [**[PrinterTurnedOnEvent]**](PrinterTurnedOnEvent.md) | Printer turned ON event | [optional]
+**PrinterTurnedOffEvent** | [**[PrinterTurnedOffEvent]**](PrinterTurnedOffEvent.md) | Printer turned OFF event | [optional]
+**PrinterAssignedToStoreEvent** | [**[PrinterAssignedToStoreEvent]**](PrinterAssignedToStoreEvent.md) | Printer assigned to store event | [optional]
+**PrinterUnassignedFromStoreEvent** | [**[PrinterUnassignedFromStoreEvent]**](PrinterUnassignedFromStoreEvent.md) | Printer unassigned from store event | [optional]
+**PhoneCallStartedEvent** | [**[PhoneCallStartedEvent]**](PhoneCallStartedEvent.md) | Phone call started event | [optional]
+**PhoneCallEndedEvent** | [**[PhoneCallEndedEvent]**](PhoneCallEndedEvent.md) | Phone call ended event | [optional]
+**TelephonyConfigUpdatedEvent** | [**[TelephonyConfigUpdatedEvent]**](TelephonyConfigUpdatedEvent.md) | Telephony config updated event | [optional]
+**ChannelStoresUpdatedEvent** | [**[ChannelStoresUpdatedEvent]**](ChannelStoresUpdatedEvent.md) | Channel stores updated event | [optional]
+**LoyaltyCampaignCreatedEvent** | [**[LoyaltyCampaignCreatedEvent]**](LoyaltyCampaignCreatedEvent.md) | Loyalty campaign created event | [optional]
+**LoyaltyCampaignDeletedEvent** | [**[LoyaltyCampaignDeletedEvent]**](LoyaltyCampaignDeletedEvent.md) | Loyalty campaign deleted event | [optional]
+**LoyaltyCampaignUpdatedEvent** | [**[LoyaltyCampaignUpdatedEvent]**](LoyaltyCampaignUpdatedEvent.md) | Loyalty campaign updated event | [optional]
+**RetentionCampaignCreatedEvent** | [**[RetentionCampaignCreatedEvent]**](RetentionCampaignCreatedEvent.md) | Retention campaign created event | [optional]
+**RetentionCampaignDeletedEvent** | [**[RetentionCampaignDeletedEvent]**](RetentionCampaignDeletedEvent.md) | Retention campaign deleted event | [optional]
+**RetentionCampaignUpdatedEvent** | [**[RetentionCampaignUpdatedEvent]**](RetentionCampaignUpdatedEvent.md) | Retention campaign updated event | [optional]
+**SmsReceivedEvent** | [**[SmsReceivedEvent]**](SmsReceivedEvent.md) | Sms received event | [optional]
+**UserLoginEvent** | [**[UserLoginEvent]**](UserLoginEvent.md) | User login event | [optional]
+**UserCreatedEvent** | [**[UserCreatedEvent]**](UserCreatedEvent.md) | User created event | [optional]
+**UserUpdatedEvent** | [**[UserUpdatedEvent]**](UserUpdatedEvent.md) | User updated event | [optional]
+**UserDeletedEvent** | [**[UserDeletedEvent]**](UserDeletedEvent.md) | User deleted event | [optional]
+**UserCreatedPasswordEvent** | [**[UserPasswordCreatedEvent]**](UserPasswordCreatedEvent.md) | User password created event | [optional]
+**UserAnsweredSignupQuestionsEvent** | [**[UserAnsweredSignupQuestionsEvent]**](UserAnsweredSignupQuestionsEvent.md) | User answered signup questions event | [optional]
+**VoucherCreatedEvent** | [**[VoucherCreatedEvent]**](VoucherCreatedEvent.md) | Voucher created event | [optional]
+**VoucherUpdatedEvent** | [**[VoucherUpdatedEvent]**](VoucherUpdatedEvent.md) | Voucher updated event | [optional]
+**VoucherDeletedEvent** | [**[VoucherDeletedEvent]**](VoucherDeletedEvent.md) | Voucher deleted event | [optional]
+**VoucherAppliedEvent** | [**[VoucherAppliedEvent]**](VoucherAppliedEvent.md) | Voucher applied event | [optional]
+**TeammateInviteSentEvent** | [**[TeammateInviteSentEvent]**](TeammateInviteSentEvent.md) | Teammate invite sent event | [optional]
+**TeammateInviteAcceptedEvent** | [**[TeammateInviteAcceptedEvent]**](TeammateInviteAcceptedEvent.md) | Teammate invite accepted event | [optional]
+**TeammateUpdatedEvent** | [**[TeammateUpdatedEvent]**](TeammateUpdatedEvent.md) | Teammate updated event | [optional]
+**TeammateDeletedEvent** | [**[TeammateDeletedEvent]**](TeammateDeletedEvent.md) | Teammate deleted event | [optional]
+**BankAccountCreatedEvent** | [**[BankAccountCreatedEvent]**](BankAccountCreatedEvent.md) | Bank account created event | [optional]
+**BankAccountUpdatedEvent** | [**[BankAccountUpdatedEvent]**](BankAccountUpdatedEvent.md) | Bank account updated event | [optional]
+**BankAccountDeletedEvent** | [**[BankAccountDeletedEvent]**](BankAccountDeletedEvent.md) | Bank account updated event | [optional]
+**BankAccountAssignedEvent** | [**[BankAccountAssignedEvent]**](BankAccountAssignedEvent.md) | Bank account assigned event | [optional]
+**HydraAssignedEvent** | [**[HydraAssignedEvent]**](HydraAssignedEvent.md) | Hydra assigned event | [optional]
+**HydraRequestResetEvent** | [**[HydraRequestResetEvent]**](HydraRequestResetEvent.md) | Hydra reset requested event | [optional]
+**HydraStoreAssignedEvent** | [**[HydraStoreAssignedEvent]**](HydraStoreAssignedEvent.md) | Hydra store assigned event | [optional]
+**HydraStoreUnassignedEvent** | [**[HydraStoreUnassignedEvent]**](HydraStoreUnassignedEvent.md) | Hydra store unassigned | [optional]
+**HydraSettingChangedEvent** | [**[HydraSettingChangedEvent]**](HydraSettingChangedEvent.md) | Hydra settings changed event | [optional]
+**HydraUnAssignedEvent** | [**[HydraUnAssignedEvent]**](HydraUnAssignedEvent.md) | Hydra un-assigned event | [optional]
+**HydraConnectionStatusChangedEvent** | [**[HydraConnectionStatusChangedEvent]**](HydraConnectionStatusChangedEvent.md) | Hydra connection state change | [optional]
+**KioskBluetoothPairingModeEvent** | [**[KioskBluetoothPairingModeEvent]**](KioskBluetoothPairingModeEvent.md) | Bluetooth Pairing Mode initiated | [optional]
+**KioskBluetoothUnpairingModeEvent** | [**[KioskBluetoothUnpairingModeEvent]**](KioskBluetoothUnpairingModeEvent.md) | Bluetooth Unpairing Mode initiated | [optional]
+**KioskBluetoothTerminalUnpairedEvent** | [**[KioskBluetoothTerminalUnpairedEvent]**](KioskBluetoothTerminalUnpairedEvent.md) | Bluetooth Terminal Unpaired with Kiosk | [optional]
+**KioskTerminalActionStateChangedEvent** | [**[KioskTerminalActionStateChangedEvent]**](KioskTerminalActionStateChangedEvent.md) | Terminal actionstate change | [optional]
+**KioskBluetoothTerminalUpdatedEvent** | [**[KioskBluetoothTerminalUpdatedEvent]**](KioskBluetoothTerminalUpdatedEvent.md) | Bluetooth Terminal Updated | [optional]
+**KioskBluetoothTerminalInitiateUpdateCheckEvent** | [**[KioskBluetoothTerminalInitiateUpdateCheckEvent]**](KioskBluetoothTerminalInitiateUpdateCheckEvent.md) | Trigger bluetooth payment terminal update checker | [optional]
+**KioskBluetoothInstallUpdateInitiateEvent** | [**[KioskBluetoothInstallUpdateInitiateEvent]**](KioskBluetoothInstallUpdateInitiateEvent.md) | Bluetooth Terminal Initiate Update | [optional]
+**KioskBluetoothTerminalCancelUpdateEvent** | [**[KioskBluetoothTerminalCancelUpdateEvent]**](KioskBluetoothTerminalCancelUpdateEvent.md) | Bluetooth Terminal Cancel Update Install | [optional]
+**KioskBluetoothTerminalFirmwareVersionStatusEvent** | [**[KioskBluetoothTerminalFirmwareVersionStatusEvent]**](KioskBluetoothTerminalFirmwareVersionStatusEvent.md) | Bluetooth Payment Terminal Firmware Version Status Info | [optional]
+**KioskBluetoothTerminalInstallationStatusEvent** | [**[KioskBluetoothTerminalInstallationStatusEvent]**](KioskBluetoothTerminalInstallationStatusEvent.md) | Bluetooth Terminal Update Installation Status | [optional]
+**PushNotificationScheduledEvent** | [**[PushNotificationScheduledEvent]**](PushNotificationScheduledEvent.md) | Push notification scheduled event | [optional]
+**PushNotificationSentEvent** | [**[PushNotificationSentEvent]**](PushNotificationSentEvent.md) | Push notification sent event | [optional]
+**PushNotificationDeletedEvent** | [**[PushNotificationDeletedEvent]**](PushNotificationDeletedEvent.md) | Push notification deleted event | [optional]
+**DnsVerifiedEvent** | [**[DnsVerifiedEvent]**](DnsVerifiedEvent.md) | DNS Verified | [optional]
+**CertificateCreatedEvent** | [**[CertificateCreatedEvent]**](CertificateCreatedEvent.md) | Certificate created | [optional]
+**CertificateRenewedEvent** | [**[CertificateRenewedEvent]**](CertificateRenewedEvent.md) | Certificate renewed | [optional]
+**WebsiteVanityUrlUpdatedEvent** | [**[WebsiteVanityUrlUpdatedEvent]**](WebsiteVanityUrlUpdatedEvent.md) | Panacea vanity url updated | [optional]
+**WebsiteUpdatedEvent** | [**[WebsiteUpdatedEvent]**](WebsiteUpdatedEvent.md) | Website updated | [optional]
+**OrderCapacityUpdatedEvent** | [**[OrderCapacityConfigUpdatedEvent]**](OrderCapacityConfigUpdatedEvent.md) | Order capacity config updated | [optional]
+**ExternalStoreEvent** | [**[ExternalStoreEvent]**](ExternalStoreEvent.md) | External event | [optional]
+**OrderFulfillmentStatusUpdatedEvent** | [**[OrderFulfillmentStatusUpdatedEvent]**](OrderFulfillmentStatusUpdatedEvent.md) | Fulfillment status updated event | [optional]
+**AppStoreConfigCreatedEvent** | [**[AppStoreConfigCreatedEvent]**](AppStoreConfigCreatedEvent.md) | App Store Config Created | [optional]
+**AppStoreConfigUpdatedEvent** | [**[AppStoreConfigUpdatedEvent]**](AppStoreConfigUpdatedEvent.md) | App Store Config Updated | [optional]
+**AppStoreConfigDeletedEvent** | [**[AppStoreConfigDeletedEvent]**](AppStoreConfigDeletedEvent.md) | App Store Config Deleted | [optional]
+**AppStoreSubscriptionChangeJobUpdatedEvent** | [**[AppStoreSubscriptionChangeJobUpdatedEvent]**](AppStoreSubscriptionChangeJobUpdatedEvent.md) | App Store Subscription Change Job Updated | [optional]
+**CatalogItemCreatedEvent** | [**[CatalogItemCreatedEvent]**](CatalogItemCreatedEvent.md) | Catalog Item Created | [optional]
+**CatalogItemUpdatedEvent** | [**[CatalogItemUpdatedEvent]**](CatalogItemUpdatedEvent.md) | Catalog Item Updated | [optional]
+**CatalogItemArchivedEvent** | [**[CatalogItemArchivedEvent]**](CatalogItemArchivedEvent.md) | Catalog Item Archived | [optional]
+**CatalogGroupCreatedEvent** | [**[CatalogGroupCreatedEvent]**](CatalogGroupCreatedEvent.md) | Catalog Group Created | [optional]
+**CatalogGroupUpdatedEvent** | [**[CatalogGroupUpdatedEvent]**](CatalogGroupUpdatedEvent.md) | Catalog Group Updated | [optional]
+**CatalogGroupArchivedEvent** | [**[CatalogGroupArchivedEvent]**](CatalogGroupArchivedEvent.md) | Catalog Group Archived | [optional]
+**StoreTipUpdatedEvent** | [**[StoreTipUpdatedEvent]**](StoreTipUpdatedEvent.md) | Store Tip Updated Event | [optional]
+**LocationAreaCreatedEvent** | [**[LocationAreaCreatedEvent]**](LocationAreaCreatedEvent.md) | LocationArea created event | [optional]
+**LocationAreaUpdatedEvent** | [**[LocationAreaUpdatedEvent]**](LocationAreaUpdatedEvent.md) | LocationArea updated event | [optional]
+**LocationCreatedEvent** | [**[LocationCreatedEvent]**](LocationCreatedEvent.md) | Location created event | [optional]
+**LocationDeletedEvent** | [**[LocationDeletedEvent]**](LocationDeletedEvent.md) | Location deleted event | [optional]
+**StoreServiceChargeUpdatedEvent** | [**[StoreServiceChargeUpdatedEvent]**](StoreServiceChargeUpdatedEvent.md) | Service Charge Updated Event | [optional]
+**MobileAppsSubmissionStatusUpdatedEvent** | [**[MobileAppsSubmissionStatusUpdatedEvent]**](MobileAppsSubmissionStatusUpdatedEvent.md) | Mobile Submission Status Updated Event | [optional]
+**MobileAppsSubmissionUpdatedEvent** | [**[MobileAppsSubmissionUpdatedEvent]**](MobileAppsSubmissionUpdatedEvent.md) | Mobile Submission Updated Event | [optional]
+**StoreFeeConfigUpdatedEvent** | [**[StoreFeeConfigUpdatedEvent]**](StoreFeeConfigUpdatedEvent.md) | Store Fee Config Updated Event | [optional]
+
+
diff --git a/docs/EventsApi.md b/docs/EventsApi.md
new file mode 100644
index 00000000..5218656e
--- /dev/null
+++ b/docs/EventsApi.md
@@ -0,0 +1,732 @@
+# Flipdish.EventsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getCustomerEvents**](EventsApi.md#getCustomerEvents) | **GET** /api/v1.0/{appId}/events/customer/{customerId} |
+[**getEvents**](EventsApi.md#getEvents) | **GET** /api/v1.0/{appId}/events |
+[**getEventsById**](EventsApi.md#getEventsById) | **GET** /api/v1.0/{appId}/events/{eventId} |
+[**getMenuEvents**](EventsApi.md#getMenuEvents) | **GET** /api/v1.0/{appId}/events/menu/{menuId} |
+[**getOrderEvents**](EventsApi.md#getOrderEvents) | **GET** /api/v1.0/{appId}/events/order/{orderId} |
+[**getOrderEventsByCustomer**](EventsApi.md#getOrderEventsByCustomer) | **GET** /api/v1.0/{appId}/events/order |
+[**getStoreEvents**](EventsApi.md#getStoreEvents) | **GET** /api/v1.0/{appId}/events/store/{storeId} |
+[**getUserEvents**](EventsApi.md#getUserEvents) | **GET** /api/v1.0/{appId}/events/user/{userId} |
+[**getWhiteLabelEvents**](EventsApi.md#getWhiteLabelEvents) | **GET** /api/v1.0/{appId}/events/whitelabel/{whitelabelId} |
+
+
+
+## getCustomerEvents
+
+> RestApiEventSearchPaginationResult getCustomerEvents(appId, customerId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let customerId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getCustomerEvents(appId, customerId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **customerId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getEvents
+
+> RestApiEventSearchPaginationResult getEvents(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'whiteLabelId': 56, // Number |
+ 'customerId': 56, // Number |
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getEvents(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **whiteLabelId** | **Number**| | [optional]
+ **customerId** | **Number**| | [optional]
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getEventsById
+
+> EventSearchResult getEventsById(eventId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let eventId = null; // String |
+let appId = "appId_example"; // String |
+apiInstance.getEventsById(eventId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **eventId** | [**String**](.md)| |
+ **appId** | **String**| |
+
+### Return type
+
+[**EventSearchResult**](EventSearchResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, AnalyticsClientEvent, OrderAcceptedEvent, OrderCustomerTrackingCreatedEvent, OrderDeliveryTrackingStatusUpdatedEvent, OrderBatchPublishedEvent, OrderCreatedEvent, OrderRatingUpdatedEvent, OrderRefundedEvent, OrderRejectedEvent, OrderTipUpdatedEvent, StoreCreatedEvent, StoreDeletedEvent, StoreAddressUpdatedEvent, StoreKioskSettingUpdatedEvent, DeliveryZoneCreatedEvent, DeliveryZoneUpdatedEvent, DeliveryZoneDeletedEvent, StoreOpeningHoursUpdatedEvent, StoreMenuAssignedEvent, StoreBusinessHoursOverrideCreatedEvent, StoreBusinessHoursOverrideDeletedEvent, StoreArchivedEvent, StoreUnarchivedEvent, StorePublishedEvent, StoreUnpublishedEvent, StoreUpdatedEvent, StorePreOrderConfigUpdatedEvent, StoreLogoCreatedEvent, StoreLogoUpdatedEvent, StoreLogoDeletedEvent, MenuCreatedEvent, MenuAsyncCreationCompletedEvent, MenuUpdatedEvent, MenuUploadedEvent, MenuBulkEditEvent, MenuCheckpointCreatedEvent, CustomerCreatedEvent, CustomerUpdatedEvent, CustomerConsentUpdatedEvent, WebhookSubscriptionCreatedEvent, WebhookSubscriptionUpdatedEvent, WebhookSubscriptionDeletedEvent, PrinterTurnedOnEvent, PrinterTurnedOffEvent, PrinterAssignedToStoreEvent, PrinterUnassignedFromStoreEvent, PhoneCallStartedEvent, PhoneCallEndedEvent, TelephonyConfigUpdatedEvent, LoyaltyCampaignCreatedEvent, LoyaltyCampaignDeletedEvent, LoyaltyCampaignUpdatedEvent, RetentionCampaignCreatedEvent, RetentionCampaignDeletedEvent, RetentionCampaignUpdatedEvent, SmsReceivedEvent, UserLoginEvent, UserCreatedEvent, UserUpdatedEvent, UserDeletedEvent, UserCreatedPasswordEvent, UserAnsweredSignupQuestionsEvent, VoucherCreatedEvent, VoucherUpdatedEvent, VoucherDeletedEvent, VoucherAppliedEvent, TeammateInviteSentEvent, TeammateInviteAcceptedEvent, TeammateUpdatedEvent, TeammateDeletedEvent, BankAccountCreatedEvent, BankAccountUpdatedEvent, BankAccountDeletedEvent, BankAccountAssignedEvent, HydraAssignedEvent, HydraRequestResetEvent, HydraSettingChangedEvent, HydraUnAssignedEvent, KioskBluetoothPairingModeEvent, KioskBluetoothUnpairingModeEvent, KioskBluetoothTerminalUnpairedEvent, KioskTerminalActionStateChangedEvent, KioskBluetoothTerminalUpdatedEvent, KioskBluetoothTerminalInitiateUpdateCheckEvent, KioskBluetoothInstallUpdateInitiateEvent, KioskBluetoothTerminalCancelUpdateEvent, KioskBluetoothTerminalFirmwareVersionStatusEvent, KioskBluetoothTerminalInstallationStatusEvent, PushNotificationScheduledEvent, PushNotificationSentEvent, PushNotificationDeletedEvent, DnsVerifiedEvent, CertificateCreatedEvent, CertificateRenewedEvent, WebsiteVanityUrlUpdatedEvent, WebsiteUpdatedEvent, OrderCapacityUpdatedEvent, ExternalStoreEvent, AppStoreConfigCreatedEvent, AppStoreConfigUpdatedEvent, AppStoreConfigDeletedEvent, AppStoreSubscriptionChangeJobUpdatedEvent, CatalogItemCreatedEvent, CatalogItemUpdatedEvent, CatalogItemArchivedEvent, CatalogGroupCreatedEvent, CatalogGroupUpdatedEvent, CatalogGroupArchivedEvent, StoreTipUpdatedEvent, LocationAreaCreatedEvent, LocationAreaUpdatedEvent, LocationCreatedEvent, LocationDeletedEvent, StoreServiceChargeUpdatedEvent, MobileAppsSubmissionStatusUpdatedEvent, MobileAppsSubmissionUpdatedEvent, StoreFeeConfigUpdatedEvent
+
+
+## getMenuEvents
+
+> RestApiEventSearchPaginationResult getMenuEvents(appId, menuId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let menuId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId2': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getMenuEvents(appId, menuId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **menuId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId2** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getOrderEvents
+
+> RestApiEventSearchPaginationResult getOrderEvents(appId, orderId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let orderId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId2': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getOrderEvents(appId, orderId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **orderId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId2** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getOrderEventsByCustomer
+
+> RestApiEventSearchPaginationResult getOrderEventsByCustomer(appId, customerId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let customerId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getOrderEventsByCustomer(appId, customerId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **customerId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getStoreEvents
+
+> RestApiEventSearchPaginationResult getStoreEvents(appId, storeId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId2': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getStoreEvents(appId, storeId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId2** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getUserEvents
+
+> RestApiEventSearchPaginationResult getUserEvents(appId, userId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let userId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId2': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getUserEvents(appId, userId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **userId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId2** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
+
+## getWhiteLabelEvents
+
+> RestApiEventSearchPaginationResult getWhiteLabelEvents(appId, whitelabelId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.EventsApi();
+let appId = "appId_example"; // String |
+let whitelabelId = 56; // Number |
+let opts = {
+ 'limit': 56, // Number | The maximum elements to return
+ 'page': 56, // Number | The index of the page to return, starting by 1
+ 'start': new Date("2013-10-20T19:20:30+01:00"), // Date | Start date
+ 'end': new Date("2013-10-20T19:20:30+01:00"), // Date | End date
+ 'orderId': 56, // Number | Events that have Order Id
+ 'storeId': 56, // Number | Events that have Store Id
+ 'storeIdList': [null], // [Number] | Events that have Store Id List
+ 'storeGroupId': 56, // Number | Events that have Store Group Id
+ 'userId': 56, // Number | Events that have User Id
+ 'menuId': 56, // Number | Events that have Menu Id
+ 'campaignId': 56, // Number | Events that have Campaign Id
+ 'userEmail': "userEmail_example", // String | Events that have User Email
+ 'userName': "userName_example", // String | Events that have User Name
+ 'voucherCode': "voucherCode_example", // String | Events that have voucher code
+ 'eventType': ["null"], // [String] | Events that have event type\\s
+ 'flipdishEventId': "flipdishEventId_example" // String | Unique Identifier of Event, if this is specified, all other criteria are ignored.
+};
+apiInstance.getWhiteLabelEvents(appId, whitelabelId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **whitelabelId** | **Number**| |
+ **limit** | **Number**| The maximum elements to return | [optional]
+ **page** | **Number**| The index of the page to return, starting by 1 | [optional]
+ **start** | **Date**| Start date | [optional]
+ **end** | **Date**| End date | [optional]
+ **orderId** | **Number**| Events that have Order Id | [optional]
+ **storeId** | **Number**| Events that have Store Id | [optional]
+ **storeIdList** | [**[Number]**](Number.md)| Events that have Store Id List | [optional]
+ **storeGroupId** | **Number**| Events that have Store Group Id | [optional]
+ **userId** | **Number**| Events that have User Id | [optional]
+ **menuId** | **Number**| Events that have Menu Id | [optional]
+ **campaignId** | **Number**| Events that have Campaign Id | [optional]
+ **userEmail** | **String**| Events that have User Email | [optional]
+ **userName** | **String**| Events that have User Name | [optional]
+ **voucherCode** | **String**| Events that have voucher code | [optional]
+ **eventType** | [**[String]**](String.md)| Events that have event type\\s | [optional]
+ **flipdishEventId** | **String**| Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+### Return type
+
+[**RestApiEventSearchPaginationResult**](RestApiEventSearchPaginationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Page, Limit, TotalRecordCount
+
diff --git a/docs/ExecuteConfigurationActionRequest.md b/docs/ExecuteConfigurationActionRequest.md
new file mode 100644
index 00000000..86d0d47b
--- /dev/null
+++ b/docs/ExecuteConfigurationActionRequest.md
@@ -0,0 +1,10 @@
+# Flipdish.ExecuteConfigurationActionRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **String** | | [optional]
+**Action** | **String** | | [optional]
+
+
diff --git a/docs/ExecuteConfigurationActionResult.md b/docs/ExecuteConfigurationActionResult.md
new file mode 100644
index 00000000..2fb8b125
--- /dev/null
+++ b/docs/ExecuteConfigurationActionResult.md
@@ -0,0 +1,25 @@
+# Flipdish.ExecuteConfigurationActionResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ErrorMessage** | **String** | | [optional]
+**InfoMessage** | **String** | | [optional]
+**RedirectUrl** | **String** | | [optional]
+**RedirectTarget** | **String** | | [optional]
+
+
+
+## Enum: RedirectTargetEnum
+
+
+* `Default` (value: `"Default"`)
+
+* `NewWindow` (value: `"NewWindow"`)
+
+* `Popup` (value: `"Popup"`)
+
+
+
+
diff --git a/docs/ExternalStoreAuditLog.md b/docs/ExternalStoreAuditLog.md
new file mode 100644
index 00000000..126be5d5
--- /dev/null
+++ b/docs/ExternalStoreAuditLog.md
@@ -0,0 +1,23 @@
+# Flipdish.ExternalStoreAuditLog
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ExternalCreateTime** | **Date** | The time of creation of the event | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**Description** | **String** | Description | [optional]
+**Source** | **String** | Identifies the source of the log | [optional]
+**Version** | **String** | Identifies the version of the {Flipdish.PublicModels.V1.AuditLogs.ExternalStoreAuditLog.Source} | [optional]
+**DescriptionFormat** | **String** | Description with format placeholders | [optional]
+**DescriptionFields** | **String** | Description with format placeholders | [optional]
+**DescriptionId** | **String** | Description | [optional]
+**Ref1** | **String** | Ref (reference field) | [optional]
+**Ref2** | **String** | Ref2 (reference field) | [optional]
+**Ref3** | **String** | Ref3 (reference field) | [optional]
+**Ref4** | **String** | Ref4 (reference field) | [optional]
+**OrderId** | **Number** | Order Id | [optional]
+**Tags** | **[String]** | Tags | [optional]
+**FieldChanges** | [**[AuditLogFieldChangeInformation]**](AuditLogFieldChangeInformation.md) | Field changes list | [optional]
+
+
diff --git a/docs/ExternalStoreEvent.md b/docs/ExternalStoreEvent.md
new file mode 100644
index 00000000..7f0542fe
--- /dev/null
+++ b/docs/ExternalStoreEvent.md
@@ -0,0 +1,28 @@
+# Flipdish.ExternalStoreEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**DescriptionFormat** | **String** | Description with format placeholders | [optional]
+**DescriptionFields** | **String** | Description with format placeholders | [optional]
+**DescriptionId** | **String** | Description | [optional]
+**Ref1** | **String** | Ref (reference field) | [optional]
+**Ref2** | **String** | Ref2 (reference field) | [optional]
+**Ref3** | **String** | Ref3 (reference field) | [optional]
+**Ref4** | **String** | Ref4 (reference field) | [optional]
+**OrderId** | **Number** | Order Id | [optional]
+**Tags** | **[String]** | Tags | [optional]
+**FieldChanges** | [**[FieldChangeInformation]**](FieldChangeInformation.md) | Field changes list | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/FeaturesApi.md b/docs/FeaturesApi.md
new file mode 100644
index 00000000..9b044b71
--- /dev/null
+++ b/docs/FeaturesApi.md
@@ -0,0 +1,108 @@
+# Flipdish.FeaturesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**disableFeatures**](FeaturesApi.md#disableFeatures) | **POST** /api/v1.0/{appId}/features/disable |
+[**enableFeatures**](FeaturesApi.md#enableFeatures) | **POST** /api/v1.0/{appId}/features/enable |
+
+
+
+## disableFeatures
+
+> RestApiStringArrayResult disableFeatures(appId, features)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FeaturesApi();
+let appId = "appId_example"; // String |
+let features = ["null"]; // [String] |
+apiInstance.disableFeatures(appId, features, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **features** | [**[String]**](String.md)| |
+
+### Return type
+
+[**RestApiStringArrayResult**](RestApiStringArrayResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## enableFeatures
+
+> RestApiStringArrayResult enableFeatures(appId, features)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FeaturesApi();
+let appId = "appId_example"; // String |
+let features = ["null"]; // [String] |
+apiInstance.enableFeatures(appId, features, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **features** | [**[String]**](String.md)| |
+
+### Return type
+
+[**RestApiStringArrayResult**](RestApiStringArrayResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/FeeSummary.md b/docs/FeeSummary.md
new file mode 100644
index 00000000..40416209
--- /dev/null
+++ b/docs/FeeSummary.md
@@ -0,0 +1,11 @@
+# Flipdish.FeeSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FeeAmount** | **Number** | Fee amount | [optional]
+**PercentageRate** | **Number** | Percentage rate | [optional]
+**PerTransactionFee** | **Number** | Per transaction fee | [optional]
+
+
diff --git a/docs/Field.md b/docs/Field.md
new file mode 100644
index 00000000..9e20c46e
--- /dev/null
+++ b/docs/Field.md
@@ -0,0 +1,45 @@
+# Flipdish.Field
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | |
+**Description** | **String** | |
+**Key** | **String** | |
+**Tooltip** | **String** | | [optional]
+**Position** | **Number** | |
+**DefaultValue** | **String** | | [optional]
+**ValidValues** | [**[ValidValue]**](ValidValue.md) | | [optional]
+**ValidationRegex** | **String** | | [optional]
+**FieldType** | **String** | |
+**IsFlipdishRestricted** | **Boolean** | | [optional]
+
+
+
+## Enum: FieldTypeEnum
+
+
+* `Text` (value: `"Text"`)
+
+* `TextArea` (value: `"TextArea"`)
+
+* `Integer` (value: `"Integer"`)
+
+* `Decimal` (value: `"Decimal"`)
+
+* `Date` (value: `"Date"`)
+
+* `DateTime` (value: `"DateTime"`)
+
+* `Time` (value: `"Time"`)
+
+* `Select` (value: `"Select"`)
+
+* `Boolean` (value: `"Boolean"`)
+
+* `ActionButton` (value: `"ActionButton"`)
+
+
+
+
diff --git a/docs/FieldChangeInformation.md b/docs/FieldChangeInformation.md
new file mode 100644
index 00000000..89660ba0
--- /dev/null
+++ b/docs/FieldChangeInformation.md
@@ -0,0 +1,13 @@
+# Flipdish.FieldChangeInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Path** | **String** | Path (hierarchy) | [optional]
+**Name** | **String** | Name of field | [optional]
+**Key** | **String** | Key (code) of field | [optional]
+**OldValue** | **String** | Old value | [optional]
+**NewValue** | **String** | New value | [optional]
+
+
diff --git a/docs/FieldGroup.md b/docs/FieldGroup.md
new file mode 100644
index 00000000..7744ca78
--- /dev/null
+++ b/docs/FieldGroup.md
@@ -0,0 +1,13 @@
+# Flipdish.FieldGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | |
+**Description** | **String** | | [optional]
+**Tooltip** | **String** | | [optional]
+**Position** | **Number** | |
+**Fields** | [**[Field]**](Field.md) | | [optional]
+
+
diff --git a/docs/FileCreationResult.md b/docs/FileCreationResult.md
new file mode 100644
index 00000000..711a1456
--- /dev/null
+++ b/docs/FileCreationResult.md
@@ -0,0 +1,10 @@
+# Flipdish.FileCreationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FileId** | **String** | | [optional]
+**Location** | **String** | | [optional]
+
+
diff --git a/docs/FileDownloadResult.md b/docs/FileDownloadResult.md
new file mode 100644
index 00000000..bafc1db9
--- /dev/null
+++ b/docs/FileDownloadResult.md
@@ -0,0 +1,9 @@
+# Flipdish.FileDownloadResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FileUrl** | **String** | URL of the file | [optional]
+
+
diff --git a/docs/FilesApi.md b/docs/FilesApi.md
new file mode 100644
index 00000000..3e9906b8
--- /dev/null
+++ b/docs/FilesApi.md
@@ -0,0 +1,58 @@
+# Flipdish.FilesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**downloadFile**](FilesApi.md#downloadFile) | **GET** /api/v1.0/{appId}/files/download/{fileId} |
+
+
+
+## downloadFile
+
+> RestApiResultFileDownloadResult downloadFile(appId, fileId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FilesApi();
+let appId = "appId_example"; // String |
+let fileId = "fileId_example"; // String |
+apiInstance.downloadFile(appId, fileId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **fileId** | **String**| |
+
+### Return type
+
+[**RestApiResultFileDownloadResult**](RestApiResultFileDownloadResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/FirebaseApp.md b/docs/FirebaseApp.md
new file mode 100644
index 00000000..73230d47
--- /dev/null
+++ b/docs/FirebaseApp.md
@@ -0,0 +1,12 @@
+# Flipdish.FirebaseApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WhitelabelId** | **Number** | | [optional]
+**PackageId** | **String** | | [optional]
+**FirebaseAppId** | **String** | | [optional]
+**FirebaseProjectId** | **String** | | [optional]
+
+
diff --git a/docs/FirebaseAppsApi.md b/docs/FirebaseAppsApi.md
new file mode 100644
index 00000000..3bd47022
--- /dev/null
+++ b/docs/FirebaseAppsApi.md
@@ -0,0 +1,152 @@
+# Flipdish.FirebaseAppsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**firebaseAppsAddFirebaseApp**](FirebaseAppsApi.md#firebaseAppsAddFirebaseApp) | **POST** /api/v1.0/FirebaseApp |
+[**firebaseAppsDeleteFirebaseApp**](FirebaseAppsApi.md#firebaseAppsDeleteFirebaseApp) | **DELETE** /api/v1.0/FirebaseApp/{whiteLabelId} |
+[**firebaseAppsGetFirebaseApp**](FirebaseAppsApi.md#firebaseAppsGetFirebaseApp) | **GET** /api/v1.0/FirebaseApp/{whitelabelId} |
+
+
+
+## firebaseAppsAddFirebaseApp
+
+> Object firebaseAppsAddFirebaseApp(firebaseApp)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FirebaseAppsApi();
+let firebaseApp = new Flipdish.FirebaseApp(); // FirebaseApp |
+apiInstance.firebaseAppsAddFirebaseApp(firebaseApp, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **firebaseApp** | [**FirebaseApp**](FirebaseApp.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## firebaseAppsDeleteFirebaseApp
+
+> Object firebaseAppsDeleteFirebaseApp(whiteLabelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FirebaseAppsApi();
+let whiteLabelId = 56; // Number |
+apiInstance.firebaseAppsDeleteFirebaseApp(whiteLabelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **whiteLabelId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## firebaseAppsGetFirebaseApp
+
+> Object firebaseAppsGetFirebaseApp(whitelabelId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FirebaseAppsApi();
+let whitelabelId = 56; // Number |
+apiInstance.firebaseAppsGetFirebaseApp(whitelabelId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **whitelabelId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/FlipdishEventBase.md b/docs/FlipdishEventBase.md
new file mode 100644
index 00000000..674bbc73
--- /dev/null
+++ b/docs/FlipdishEventBase.md
@@ -0,0 +1,15 @@
+# Flipdish.FlipdishEventBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/FlipdishFeesDetails.md b/docs/FlipdishFeesDetails.md
new file mode 100644
index 00000000..d3d2c9cb
--- /dev/null
+++ b/docs/FlipdishFeesDetails.md
@@ -0,0 +1,17 @@
+# Flipdish.FlipdishFeesDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OnlineSalesFees** | **Number** | Fees on online sales | [optional]
+**CashSalesFees** | **Number** | Fees on cash sales | [optional]
+**PosSalesFees** | **Number** | Fees of POS sales | [optional]
+**TotalSalesFees** | **Number** | Total online and cash sales | [optional]
+**OnlineSalesRefundedFees** | **Number** | Fees on refunds for online sales | [optional]
+**CashSalesRefundedFees** | **Number** | Fees on refunds for cash sales | [optional]
+**PosSalesRefundedFees** | **Number** | Fees on refunds for POS sales | [optional]
+**SalesFeesVat** | **Number** | VAT on sales fees | [optional]
+**TotalFees** | **Number** | Total fees | [optional]
+
+
diff --git a/docs/FpmApi.md b/docs/FpmApi.md
new file mode 100644
index 00000000..625efae7
--- /dev/null
+++ b/docs/FpmApi.md
@@ -0,0 +1,156 @@
+# Flipdish.FpmApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createFpmForStore**](FpmApi.md#createFpmForStore) | **POST** /api/v1.0/{storeId}/fpm |
+[**editFpmForStore**](FpmApi.md#editFpmForStore) | **POST** /api/v1.0/{storeId}/fpm/edit |
+[**getFpmForStore**](FpmApi.md#getFpmForStore) | **GET** /api/v1.0/{storeId}/fpm |
+
+
+
+## createFpmForStore
+
+> Object createFpmForStore(storeId, phoneNumber)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FpmApi();
+let storeId = 56; // Number |
+let phoneNumber = "phoneNumber_example"; // String |
+apiInstance.createFpmForStore(storeId, phoneNumber, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **phoneNumber** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, TelephonyConfigId, ApmEnabled, Type, ConsentEnabled, SendAppLinkSms, UseCustomAppLinkSmsMessage, UseCustomVoiceMessage, ResendApmMessageAfterDays
+
+
+## editFpmForStore
+
+> editFpmForStore(storeId, telephonyConfig)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FpmApi();
+let storeId = 56; // Number |
+let telephonyConfig = new Flipdish.TelephonyConfig(); // TelephonyConfig |
+apiInstance.editFpmForStore(storeId, telephonyConfig, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **telephonyConfig** | [**TelephonyConfig**](TelephonyConfig.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getFpmForStore
+
+> TelephonyConfig getFpmForStore(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FpmApi();
+let storeId = 56; // Number |
+apiInstance.getFpmForStore(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**TelephonyConfig**](TelephonyConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, TelephonyConfigId, ApmEnabled, Type, ConsentEnabled, SendAppLinkSms, UseCustomAppLinkSmsMessage, UseCustomVoiceMessage, ResendApmMessageAfterDays
+
diff --git a/docs/FulfillentStatusActionItem.md b/docs/FulfillentStatusActionItem.md
new file mode 100644
index 00000000..68bb5d58
--- /dev/null
+++ b/docs/FulfillentStatusActionItem.md
@@ -0,0 +1,10 @@
+# Flipdish.FulfillentStatusActionItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | Status Id | [optional]
+**Name** | **String** | Status Name | [optional]
+
+
diff --git a/docs/FulfillmentStateConfigurationApi.md b/docs/FulfillmentStateConfigurationApi.md
new file mode 100644
index 00000000..0111792f
--- /dev/null
+++ b/docs/FulfillmentStateConfigurationApi.md
@@ -0,0 +1,306 @@
+# Flipdish.FulfillmentStateConfigurationApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createFulfillmentStatesConfig**](FulfillmentStateConfigurationApi.md#createFulfillmentStatesConfig) | **POST** /api/v1.0/{appId}/fulfillment/configuration/states |
+[**deleteFulfillmentStatesConfig**](FulfillmentStateConfigurationApi.md#deleteFulfillmentStatesConfig) | **DELETE** /api/v1.0/{appId}/fulfillment/configuration/states/{configId} |
+[**getFulfillmentStatesConfiguration**](FulfillmentStateConfigurationApi.md#getFulfillmentStatesConfiguration) | **GET** /api/v1.0/{appId}/fulfillment/configuration/states/{configId} |
+[**getFulfillmentStatesConfigurationTemplate**](FulfillmentStateConfigurationApi.md#getFulfillmentStatesConfigurationTemplate) | **GET** /api/v1.0/{appId}/fulfillment/configuration/states_template |
+[**searchFulfillmentStatesConfigurations**](FulfillmentStateConfigurationApi.md#searchFulfillmentStatesConfigurations) | **GET** /api/v1.0/{appId}/fulfillment/configuration/states |
+[**updateFulfillmentStatesConfig**](FulfillmentStateConfigurationApi.md#updateFulfillmentStatesConfig) | **POST** /api/v1.0/{appId}/fulfillment/configuration/states/{configId} |
+
+
+
+## createFulfillmentStatesConfig
+
+> RestApiResultFulfillmentStatesConfiguration createFulfillmentStatesConfig(appId, fulfillmentStateConfiguration)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FulfillmentStateConfigurationApi();
+let appId = "appId_example"; // String |
+let fulfillmentStateConfiguration = new Flipdish.CreateFulfillmentStatesConfiguration(); // CreateFulfillmentStatesConfiguration |
+apiInstance.createFulfillmentStatesConfig(appId, fulfillmentStateConfiguration, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **fulfillmentStateConfiguration** | [**CreateFulfillmentStatesConfiguration**](CreateFulfillmentStatesConfiguration.md)| |
+
+### Return type
+
+[**RestApiResultFulfillmentStatesConfiguration**](RestApiResultFulfillmentStatesConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## deleteFulfillmentStatesConfig
+
+> RestApiStringResult deleteFulfillmentStatesConfig(appId, configId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FulfillmentStateConfigurationApi();
+let appId = "appId_example"; // String |
+let configId = "configId_example"; // String |
+apiInstance.deleteFulfillmentStatesConfig(appId, configId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **configId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getFulfillmentStatesConfiguration
+
+> FulfillmentStatesConfiguration getFulfillmentStatesConfiguration(appId, configId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FulfillmentStateConfigurationApi();
+let appId = "appId_example"; // String |
+let configId = "configId_example"; // String |
+apiInstance.getFulfillmentStatesConfiguration(appId, configId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **configId** | **String**| |
+
+### Return type
+
+[**FulfillmentStatesConfiguration**](FulfillmentStatesConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, States, StoreSelectorType, StoreIds, Name, Message, ErrorCode, StackTrace
+
+
+## getFulfillmentStatesConfigurationTemplate
+
+> FulfillmentStatesConfiguration getFulfillmentStatesConfigurationTemplate(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FulfillmentStateConfigurationApi();
+let appId = "appId_example"; // String |
+apiInstance.getFulfillmentStatesConfigurationTemplate(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**FulfillmentStatesConfiguration**](FulfillmentStatesConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, States, StoreSelectorType, StoreIds, Name, Message, ErrorCode, StackTrace
+
+
+## searchFulfillmentStatesConfigurations
+
+> RestApiArrayResultFulfillmentStatesConfigurationSummary searchFulfillmentStatesConfigurations(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FulfillmentStateConfigurationApi();
+let appId = "appId_example"; // String |
+apiInstance.searchFulfillmentStatesConfigurations(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultFulfillmentStatesConfigurationSummary**](RestApiArrayResultFulfillmentStatesConfigurationSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateFulfillmentStatesConfig
+
+> updateFulfillmentStatesConfig(appId, configId, updateFulfillmentStatesConfiguration)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.FulfillmentStateConfigurationApi();
+let appId = "appId_example"; // String |
+let configId = "configId_example"; // String |
+let updateFulfillmentStatesConfiguration = new Flipdish.UpdateFulfillmentStatesConfiguration(); // UpdateFulfillmentStatesConfiguration |
+apiInstance.updateFulfillmentStatesConfig(appId, configId, updateFulfillmentStatesConfiguration, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **configId** | **String**| |
+ **updateFulfillmentStatesConfiguration** | [**UpdateFulfillmentStatesConfiguration**](UpdateFulfillmentStatesConfiguration.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
diff --git a/docs/FulfillmentStatesConfiguration.md b/docs/FulfillmentStatesConfiguration.md
new file mode 100644
index 00000000..8113521d
--- /dev/null
+++ b/docs/FulfillmentStatesConfiguration.md
@@ -0,0 +1,28 @@
+# Flipdish.FulfillmentStatesConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**States** | [**[FulfillmentStatusConfigurationItem]**](FulfillmentStatusConfigurationItem.md) | States | [optional]
+**AutomaticTransitionsEnabled** | **Boolean** | Enable automatic transitions | [optional]
+**AppId** | **String** | AppId | [optional]
+**ConfigurationUid** | **String** | Configuration Uid | [optional]
+**StoreSelectorType** | **String** | Store Selector Type | [optional]
+**StoreIds** | **[Number]** | Store Ids | [optional]
+**Name** | **String** | Name | [optional]
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
diff --git a/docs/FulfillmentStatesConfigurationSummary.md b/docs/FulfillmentStatesConfigurationSummary.md
new file mode 100644
index 00000000..27c9afa0
--- /dev/null
+++ b/docs/FulfillmentStatesConfigurationSummary.md
@@ -0,0 +1,26 @@
+# Flipdish.FulfillmentStatesConfigurationSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppId** | **String** | AppId |
+**ConfigurationUid** | **String** | Configuration Uid | [optional]
+**Name** | **String** | Name | [optional]
+**StoreSelectorType** | **String** | Store selector type | [optional]
+**Stores** | [**[FulfillmentStatesConfiguredStore]**](FulfillmentStatesConfiguredStore.md) | Stores | [optional]
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
diff --git a/docs/FulfillmentStatesConfiguredStore.md b/docs/FulfillmentStatesConfiguredStore.md
new file mode 100644
index 00000000..bac06423
--- /dev/null
+++ b/docs/FulfillmentStatesConfiguredStore.md
@@ -0,0 +1,10 @@
+# Flipdish.FulfillmentStatesConfiguredStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store id | [optional]
+**Name** | **String** | Name of store | [optional]
+
+
diff --git a/docs/FulfillmentStatusConfigurationItem.md b/docs/FulfillmentStatusConfigurationItem.md
new file mode 100644
index 00000000..a0b386d4
--- /dev/null
+++ b/docs/FulfillmentStatusConfigurationItem.md
@@ -0,0 +1,51 @@
+# Flipdish.FulfillmentStatusConfigurationItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StatusId** | **String** | Status Id (no whitespaces) | [optional]
+**StatusName** | **String** | Status name | [optional]
+**Enabled** | **Boolean** | Is status enabled | [optional]
+**DisplayName** | **String** | The short status string that is displayed to users in apps, portal. If empty then Order Status Name is displayed instead | [optional]
+**Icon** | **String** | Icon/Image that represents that status visual | [optional]
+**PublicDescription** | **String** | A string which could be used in notification templates with a placeholder (SMS, email, push, web page with status) | [optional]
+**Internal** | **Boolean** | Is internal state (internal states not shown to customers) | [optional]
+**NextStatuses** | **[String]** | list of statuses that this status can move to (can be back or forth) | [optional]
+**DefaultNextStatus** | [**[NextStatusWithOrderType]**](NextStatusWithOrderType.md) | The default next status (on a dropdown or quick button on terminal or portal) | [optional]
+**ChangeType** | **String** | How will state change (manually or automated, including timed) | [optional]
+**IncludeInReports** | **Boolean** | Include in reports | [optional]
+**IsCustom** | **Boolean** | Is custom state. If not, then it's a system state | [optional]
+**OrderTypes** | **[String]** | If empty then applies to all ordertypes, otherwise a list of order types this state applies to | [optional]
+**Communication** | **Boolean** | Whether state should fire off a notification to the customer | [optional]
+**Image** | **String** | Image (image filename, relative, not absolute URL) | [optional]
+
+
+
+## Enum: ChangeTypeEnum
+
+
+* `Manual` (value: `"Manual"`)
+
+* `Automated` (value: `"Automated"`)
+
+* `Integrated` (value: `"Integrated"`)
+
+
+
+
+
+## Enum: [OrderTypesEnum]
+
+
+* `All` (value: `"All"`)
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Collection` (value: `"Collection"`)
+
+* `DineIn` (value: `"DineIn"`)
+
+
+
+
diff --git a/docs/GeoPointRequest.md b/docs/GeoPointRequest.md
new file mode 100644
index 00000000..af5a3969
--- /dev/null
+++ b/docs/GeoPointRequest.md
@@ -0,0 +1,10 @@
+# Flipdish.GeoPointRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Latitude** | **Number** | Kiosk device latitude | [optional]
+**Longitude** | **Number** | Kiosk device longitude | [optional]
+
+
diff --git a/docs/GetReceiptByOrderIdQueryResponse.md b/docs/GetReceiptByOrderIdQueryResponse.md
new file mode 100644
index 00000000..2630a97e
--- /dev/null
+++ b/docs/GetReceiptByOrderIdQueryResponse.md
@@ -0,0 +1,16 @@
+# Flipdish.GetReceiptByOrderIdQueryResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PreviousOrder** | [**PreviousOrder**](PreviousOrder.md) | | [optional]
+**DepositReturnFeesSummary** | [**[DepositReturnFeesSummary]**](DepositReturnFeesSummary.md) | | [optional]
+**TsRequestedForLocal** | **Date** | | [optional]
+**TsOrderPlacedLocal** | **Date** | | [optional]
+**LogoUrl** | **String** | | [optional]
+**Address** | **String** | | [optional]
+**VatNumber** | **String** | | [optional]
+**PaymentMethodDescription** | **String** | | [optional]
+
+
diff --git a/docs/GoogleAddress.md b/docs/GoogleAddress.md
new file mode 100644
index 00000000..e8105145
--- /dev/null
+++ b/docs/GoogleAddress.md
@@ -0,0 +1,11 @@
+# Flipdish.GoogleAddress
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Results** | [**[GoogleAddressResult]**](GoogleAddressResult.md) | | [optional]
+**Result** | [**GoogleAddressResult**](GoogleAddressResult.md) | | [optional]
+**Status** | **String** | | [optional]
+
+
diff --git a/docs/GoogleAddressComponent.md b/docs/GoogleAddressComponent.md
new file mode 100644
index 00000000..d3d1ce79
--- /dev/null
+++ b/docs/GoogleAddressComponent.md
@@ -0,0 +1,11 @@
+# Flipdish.GoogleAddressComponent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Long_name** | **String** | | [optional]
+**Short_name** | **String** | | [optional]
+**Types** | **[String]** | | [optional]
+
+
diff --git a/docs/GoogleAddressResult.md b/docs/GoogleAddressResult.md
new file mode 100644
index 00000000..7c311298
--- /dev/null
+++ b/docs/GoogleAddressResult.md
@@ -0,0 +1,13 @@
+# Flipdish.GoogleAddressResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Address_components** | [**[GoogleAddressComponent]**](GoogleAddressComponent.md) | | [optional]
+**Formatted_address** | **String** | | [optional]
+**Geometry** | [**GoogleGeometry**](GoogleGeometry.md) | | [optional]
+**Place_id** | **String** | | [optional]
+**Types** | **[String]** | | [optional]
+
+
diff --git a/docs/GoogleCoordinates.md b/docs/GoogleCoordinates.md
new file mode 100644
index 00000000..f358a6da
--- /dev/null
+++ b/docs/GoogleCoordinates.md
@@ -0,0 +1,10 @@
+# Flipdish.GoogleCoordinates
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Lat** | **Number** | | [optional]
+**Lng** | **Number** | | [optional]
+
+
diff --git a/docs/GoogleGeometry.md b/docs/GoogleGeometry.md
new file mode 100644
index 00000000..766b2562
--- /dev/null
+++ b/docs/GoogleGeometry.md
@@ -0,0 +1,11 @@
+# Flipdish.GoogleGeometry
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Location** | [**GoogleLocation**](GoogleLocation.md) | | [optional]
+**Location_type** | **String** | | [optional]
+**Viewport** | [**GoogleViewport**](GoogleViewport.md) | | [optional]
+
+
diff --git a/docs/GoogleLocation.md b/docs/GoogleLocation.md
new file mode 100644
index 00000000..0e1ac109
--- /dev/null
+++ b/docs/GoogleLocation.md
@@ -0,0 +1,10 @@
+# Flipdish.GoogleLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Lat** | **Number** | | [optional]
+**Lng** | **Number** | | [optional]
+
+
diff --git a/docs/GoogleViewport.md b/docs/GoogleViewport.md
new file mode 100644
index 00000000..a79b8412
--- /dev/null
+++ b/docs/GoogleViewport.md
@@ -0,0 +1,10 @@
+# Flipdish.GoogleViewport
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Northeast** | [**GoogleCoordinates**](GoogleCoordinates.md) | | [optional]
+**Southwest** | [**GoogleCoordinates**](GoogleCoordinates.md) | | [optional]
+
+
diff --git a/docs/Group.md b/docs/Group.md
new file mode 100644
index 00000000..41863e60
--- /dev/null
+++ b/docs/Group.md
@@ -0,0 +1,29 @@
+# Flipdish.Group
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogGroupId** | **String** | Unique catalog group id | [optional]
+**CatalogItemId** | **String** | Unique catalog item id | [optional]
+**IsArchived** | **Boolean** | Returns true if the group is archived | [optional]
+**MinSelectCount** | **Number** | Minimum number of items that the user has to select | [optional]
+**MaxSelectCount** | **Number** | Maximum number of items that the user has to select | [optional]
+**Products** | [**[ProductReference]**](ProductReference.md) | Collection of items associated with this product | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+**GroupType** | **String** | Type of group (ModifierGroup, etc) |
+**Sku** | **String** | Stock Keeping Unit (SKU) |
+**Name** | **String** | Group name |
+**AutogenerateDisplayText** | **Boolean** | Autogenerate display text in ordering applications | [optional]
+**ImageFileName** | **String** | Image File Name | [optional]
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/GroupReference.md b/docs/GroupReference.md
new file mode 100644
index 00000000..8d15cb1a
--- /dev/null
+++ b/docs/GroupReference.md
@@ -0,0 +1,20 @@
+# Flipdish.GroupReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Group** | [**Group**](Group.md) | | [optional]
+**CatalogItemId** | **String** | Identifier of the ProductId to use as SubProduct |
+**GroupType** | **String** | Type of the SupProduct |
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/GroupedCoordinates.md b/docs/GroupedCoordinates.md
new file mode 100644
index 00000000..de8b4391
--- /dev/null
+++ b/docs/GroupedCoordinates.md
@@ -0,0 +1,11 @@
+# Flipdish.GroupedCoordinates
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Latitude** | **Number** | Latitude of this coordinate | [optional]
+**Longitude** | **Number** | Longitude of this coordinate | [optional]
+**Count** | **Number** | Count of members in the group | [optional]
+
+
diff --git a/docs/HasPaymentMethodResponse.md b/docs/HasPaymentMethodResponse.md
new file mode 100644
index 00000000..b748c7a4
--- /dev/null
+++ b/docs/HasPaymentMethodResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.HasPaymentMethodResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**HasPaymentMethod** | **Boolean** | Has Payment Method |
+
+
diff --git a/docs/HeartbeatApi.md b/docs/HeartbeatApi.md
new file mode 100644
index 00000000..5f55b319
--- /dev/null
+++ b/docs/HeartbeatApi.md
@@ -0,0 +1,184 @@
+# Flipdish.HeartbeatApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**headHostname**](HeartbeatApi.md#headHostname) | **HEAD** /api/v1.0/heartbeat/Hostname |
+[**headPing**](HeartbeatApi.md#headPing) | **HEAD** /api/v1.0/heartbeat |
+[**hostname**](HeartbeatApi.md#hostname) | **GET** /api/v1.0/heartbeat/Hostname |
+[**ping**](HeartbeatApi.md#ping) | **GET** /api/v1.0/heartbeat |
+
+
+
+## headHostname
+
+> Object headHostname()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HeartbeatApi();
+apiInstance.headHostname((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## headPing
+
+> RestApiStringResult headPing()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HeartbeatApi();
+apiInstance.headPing((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## hostname
+
+> Object hostname()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HeartbeatApi();
+apiInstance.hostname((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## ping
+
+> RestApiStringResult ping()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HeartbeatApi();
+apiInstance.ping((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/HomeAction.md b/docs/HomeAction.md
new file mode 100644
index 00000000..8119af9d
--- /dev/null
+++ b/docs/HomeAction.md
@@ -0,0 +1,27 @@
+# Flipdish.HomeAction
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**HomeActionId** | **Number** | | [optional]
+**HomeActionType** | **String** | Type of Action | [optional]
+**Order** | **Number** | | [optional]
+**TitleKey** | **String** | | [optional]
+**ActionKey** | **String** | | [optional]
+**DescriptionKey** | **String** | | [optional]
+**Action** | **String** | | [optional]
+**Dismissible** | **Boolean** | | [optional]
+
+
+
+## Enum: HomeActionTypeEnum
+
+
+* `Portal` (value: `"Portal"`)
+
+* `External` (value: `"External"`)
+
+
+
+
diff --git a/docs/HomeApi.md b/docs/HomeApi.md
new file mode 100644
index 00000000..1bc71604
--- /dev/null
+++ b/docs/HomeApi.md
@@ -0,0 +1,200 @@
+# Flipdish.HomeApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**completeHomeAction**](HomeApi.md#completeHomeAction) | **POST** /api/v1.0/{appId}/home/{homeActionId} |
+[**getHomeActions**](HomeApi.md#getHomeActions) | **GET** /api/v1.0/{appId}/home |
+[**getHomeStatistics**](HomeApi.md#getHomeStatistics) | **GET** /api/v1.0/{appId}/home/stats |
+[**getOktaPortalFeatureFlag**](HomeApi.md#getOktaPortalFeatureFlag) | **GET** /api/v1.0/home/okta-portal |
+
+
+
+## completeHomeAction
+
+> Object completeHomeAction(appId, homeActionId, isDismissed)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HomeApi();
+let appId = "appId_example"; // String |
+let homeActionId = 56; // Number |
+let isDismissed = true; // Boolean |
+apiInstance.completeHomeAction(appId, homeActionId, isDismissed, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **homeActionId** | **Number**| |
+ **isDismissed** | **Boolean**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getHomeActions
+
+> RestApiArrayResultHomeAction getHomeActions(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HomeApi();
+let appId = "appId_example"; // String |
+apiInstance.getHomeActions(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultHomeAction**](RestApiArrayResultHomeAction.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getHomeStatistics
+
+> RestApiResultHomeStatistics getHomeStatistics(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HomeApi();
+let appId = "appId_example"; // String |
+apiInstance.getHomeStatistics(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultHomeStatistics**](RestApiResultHomeStatistics.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getOktaPortalFeatureFlag
+
+> RestApiResultOktaPortalFeatureFlag getOktaPortalFeatureFlag()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HomeApi();
+apiInstance.getOktaPortalFeatureFlag((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultOktaPortalFeatureFlag**](RestApiResultOktaPortalFeatureFlag.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/HomeStatistics.md b/docs/HomeStatistics.md
new file mode 100644
index 00000000..9f942d25
--- /dev/null
+++ b/docs/HomeStatistics.md
@@ -0,0 +1,9 @@
+# Flipdish.HomeStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TotalMoneySaved** | [**[CurrencyData]**](CurrencyData.md) | Money saved | [optional]
+
+
diff --git a/docs/HttpPostedFileBase.md b/docs/HttpPostedFileBase.md
new file mode 100644
index 00000000..256ddfdd
--- /dev/null
+++ b/docs/HttpPostedFileBase.md
@@ -0,0 +1,12 @@
+# Flipdish.HttpPostedFileBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ContentLength** | **Number** | | [optional] [readonly]
+**ContentType** | **String** | | [optional] [readonly]
+**FileName** | **String** | | [optional] [readonly]
+**InputStream** | [**Stream**](Stream.md) | | [optional]
+
+
diff --git a/docs/HydraApi.md b/docs/HydraApi.md
new file mode 100644
index 00000000..67816d0e
--- /dev/null
+++ b/docs/HydraApi.md
@@ -0,0 +1,1218 @@
+# Flipdish.HydraApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**assignEmv**](HydraApi.md#assignEmv) | **POST** /api/v1.0/{appId}/hydra/emvterminal/assign/{hydraConfigId}/{emvTerminalId} |
+[**attachStoreToKiosk**](HydraApi.md#attachStoreToKiosk) | **POST** /api/v1.0/{appId}/AttachStoreToKiosk/{deviceId}/store/{storeId} |
+[**attachStoreToTerminal**](HydraApi.md#attachStoreToTerminal) | **POST** /api/v1.0/{appId}/hydra/{deviceId}/attach/{storeId} |
+[**cancelEmvPayment**](HydraApi.md#cancelEmvPayment) | **POST** /api/v1.0/{appId}/hydra/cancelemvpayment/{orderId} |
+[**detachStoreFromTerminal**](HydraApi.md#detachStoreFromTerminal) | **POST** /api/v1.0/{appId}/hydra/{deviceId}/detach/{storeId} |
+[**getAblyToken**](HydraApi.md#getAblyToken) | **GET** /api/v1.0/hydra/ably_token |
+[**getAttachedDevice**](HydraApi.md#getAttachedDevice) | **GET** /api/v1.0/{appId}/hydra/{deviceType}/{deviceId} |
+[**getAttachedDevices**](HydraApi.md#getAttachedDevices) | **GET** /api/v1.0/{appId}/hydra/{deviceType}/list |
+[**getEMVTerminalDetails**](HydraApi.md#getEMVTerminalDetails) | **GET** /api/v1.0/{appId}/hydra/emvterminal |
+[**getEmvOrderState**](HydraApi.md#getEmvOrderState) | **GET** /api/v1.0/{appId}/hydra/emvorderstate/{orderId} |
+[**getKioskCashPaymentSettings**](HydraApi.md#getKioskCashPaymentSettings) | **GET** /api/v1.0/{appId}/kioskcashsettings/{deviceId} |
+[**getKioskSettings**](HydraApi.md#getKioskSettings) | **GET** /api/v1.0/{appId}/kiosksettings/{deviceId} |
+[**getRegistration**](HydraApi.md#getRegistration) | **GET** /api/v1.0/hydra/registration |
+[**getSettings**](HydraApi.md#getSettings) | **GET** /api/v1.0/hydra/settings |
+[**hydraCreateEmv**](HydraApi.md#hydraCreateEmv) | **POST** /api/v1.0/{appId}/emvterminals |
+[**hydraDeleteEmv**](HydraApi.md#hydraDeleteEmv) | **DELETE** /api/v1.0/{appId}/emvterminals/{id} |
+[**hydraDetachStoreFromKiosk**](HydraApi.md#hydraDetachStoreFromKiosk) | **DELETE** /api/v1.0/{appId}/DetachStoreFromKiosk/{deviceId}/store/{storeId} |
+[**hydraGetEmvsForAppId**](HydraApi.md#hydraGetEmvsForAppId) | **GET** /api/v1.0/{appId}/emvterminals |
+[**loginWithDeviceId**](HydraApi.md#loginWithDeviceId) | **POST** /api/v1.0/hydra/{deviceId}/login |
+[**register**](HydraApi.md#register) | **POST** /api/v1.0/{appId}/hydra/registration |
+[**unAssign**](HydraApi.md#unAssign) | **DELETE** /api/v1.0/{appId}/hydra/{deviceId}/registration |
+[**unassignEmv**](HydraApi.md#unassignEmv) | **POST** /api/v1.0/{appId}/hydra/emvterminal/unassign/{hydraConfigId} |
+[**updateKioskCashVisibilitySettings**](HydraApi.md#updateKioskCashVisibilitySettings) | **POST** /api/v1.0/{appId}/kioskupdatecashsettings |
+[**updateKioskSettings**](HydraApi.md#updateKioskSettings) | **POST** /api/v1.0/{appId}/kiosksettings/{deviceId} |
+
+
+
+## assignEmv
+
+> assignEmv(appId, hydraConfigId, emvTerminalId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let hydraConfigId = 56; // Number |
+let emvTerminalId = 56; // Number |
+apiInstance.assignEmv(appId, hydraConfigId, emvTerminalId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **hydraConfigId** | **Number**| |
+ **emvTerminalId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## attachStoreToKiosk
+
+> RestApiResultHydraStatus attachStoreToKiosk(appId, storeId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let deviceId = "deviceId_example"; // String |
+apiInstance.attachStoreToKiosk(appId, storeId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiResultHydraStatus**](RestApiResultHydraStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## attachStoreToTerminal
+
+> RestApiResultHydraStatus attachStoreToTerminal(appId, deviceId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.attachStoreToTerminal(appId, deviceId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultHydraStatus**](RestApiResultHydraStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## cancelEmvPayment
+
+> cancelEmvPayment(orderId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let orderId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.cancelEmvPayment(orderId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## detachStoreFromTerminal
+
+> RestApiResultHydraStatus detachStoreFromTerminal(appId, deviceId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.detachStoreFromTerminal(appId, deviceId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultHydraStatus**](RestApiResultHydraStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getAblyToken
+
+> getAblyToken()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+apiInstance.getAblyToken((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getAttachedDevice
+
+> RestApiResultHydraDeviceDetails getAttachedDevice(appId, deviceType, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceType = "deviceType_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.getAttachedDevice(appId, deviceType, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceType** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiResultHydraDeviceDetails**](RestApiResultHydraDeviceDetails.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getAttachedDevices
+
+> RestApiPaginationResultHydraDeviceDetails getAttachedDevices(appId, deviceType, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceType = "deviceType_example"; // String |
+let opts = {
+ 'pageIndex': 56, // Number |
+ 'pageSize': 56, // Number |
+ 'storeId': 56, // Number |
+ 'deviceName': "deviceName_example", // String |
+ 'deviceSerial': "deviceSerial_example" // String |
+};
+apiInstance.getAttachedDevices(appId, deviceType, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceType** | **String**| |
+ **pageIndex** | **Number**| | [optional]
+ **pageSize** | **Number**| | [optional]
+ **storeId** | **Number**| | [optional]
+ **deviceName** | **String**| | [optional]
+ **deviceSerial** | **String**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultHydraDeviceDetails**](RestApiPaginationResultHydraDeviceDetails.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getEMVTerminalDetails
+
+> RestApiResultPaymentTerminalDetails getEMVTerminalDetails(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+apiInstance.getEMVTerminalDetails(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultPaymentTerminalDetails**](RestApiResultPaymentTerminalDetails.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getEmvOrderState
+
+> RestApiResultPaymentTerminalTransactionDetails getEmvOrderState(orderId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let orderId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.getEmvOrderState(orderId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultPaymentTerminalTransactionDetails**](RestApiResultPaymentTerminalTransactionDetails.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getKioskCashPaymentSettings
+
+> RestApiArrayResultKioskCashPaymentSettings getKioskCashPaymentSettings(appId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.getKioskCashPaymentSettings(appId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultKioskCashPaymentSettings**](RestApiArrayResultKioskCashPaymentSettings.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getKioskSettings
+
+> RestApiResultKioskSettings getKioskSettings(appId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.getKioskSettings(appId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiResultKioskSettings**](RestApiResultKioskSettings.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getRegistration
+
+> RestApiResultHydraStatus getRegistration()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+apiInstance.getRegistration((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultHydraStatus**](RestApiResultHydraStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getSettings
+
+> RestApiResultHydraConfig getSettings()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+apiInstance.getSettings((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultHydraConfig**](RestApiResultHydraConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## hydraCreateEmv
+
+> Object hydraCreateEmv(appId, emv)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let emv = new Flipdish.EmvTerminal(); // EmvTerminal |
+apiInstance.hydraCreateEmv(appId, emv, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **emv** | [**EmvTerminal**](EmvTerminal.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## hydraDeleteEmv
+
+> Object hydraDeleteEmv(appId, id)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let id = 56; // Number |
+apiInstance.hydraDeleteEmv(appId, id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **id** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## hydraDetachStoreFromKiosk
+
+> RestApiResultHydraStatus hydraDetachStoreFromKiosk(appId, storeId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let deviceId = "deviceId_example"; // String |
+apiInstance.hydraDetachStoreFromKiosk(appId, storeId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+[**RestApiResultHydraStatus**](RestApiResultHydraStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## hydraGetEmvsForAppId
+
+> RestApiArrayResultEmvTerminalWithAssignments hydraGetEmvsForAppId(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+apiInstance.hydraGetEmvsForAppId(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultEmvTerminalWithAssignments**](RestApiArrayResultEmvTerminalWithAssignments.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## loginWithDeviceId
+
+> loginWithDeviceId(deviceId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let deviceId = "deviceId_example"; // String |
+let opts = {
+ 'hydraUserType': "hydraUserType_example", // String |
+ 'serialNumber': "serialNumber_example" // String |
+};
+apiInstance.loginWithDeviceId(deviceId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **deviceId** | **String**| |
+ **hydraUserType** | **String**| | [optional]
+ **serialNumber** | **String**| | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## register
+
+> RestApiResultHydraStatus register(appId, hydraRegistration)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let hydraRegistration = new Flipdish.HydraRegistrationRequest(); // HydraRegistrationRequest |
+apiInstance.register(appId, hydraRegistration, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **hydraRegistration** | [**HydraRegistrationRequest**](HydraRegistrationRequest.md)| |
+
+### Return type
+
+[**RestApiResultHydraStatus**](RestApiResultHydraStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## unAssign
+
+> unAssign(appId, deviceId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+apiInstance.unAssign(appId, deviceId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## unassignEmv
+
+> unassignEmv(appId, hydraConfigId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let hydraConfigId = 56; // Number |
+apiInstance.unassignEmv(appId, hydraConfigId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **hydraConfigId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateKioskCashVisibilitySettings
+
+> updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let isCashEnabled = true; // Boolean |
+apiInstance.updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **isCashEnabled** | **Boolean**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateKioskSettings
+
+> updateKioskSettings(appId, deviceId, settings)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.HydraApi();
+let appId = "appId_example"; // String |
+let deviceId = "deviceId_example"; // String |
+let settings = new Flipdish.KioskSettings(); // KioskSettings |
+apiInstance.updateKioskSettings(appId, deviceId, settings, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **deviceId** | **String**| |
+ **settings** | [**KioskSettings**](KioskSettings.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/HydraAssignedEvent.md b/docs/HydraAssignedEvent.md
new file mode 100644
index 00000000..1dffc309
--- /dev/null
+++ b/docs/HydraAssignedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.HydraAssignedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**HydraStatus** | [**HydraStatus**](HydraStatus.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/HydraConfig.md b/docs/HydraConfig.md
new file mode 100644
index 00000000..d65f87d8
--- /dev/null
+++ b/docs/HydraConfig.md
@@ -0,0 +1,28 @@
+# Flipdish.HydraConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MinimumVersion** | **String** | Minimum version |
+**PaymentOptions** | **[String]** | Payment options |
+**DeviceSettings** | [**DeviceSettings**](DeviceSettings.md) | |
+**Version** | **String** | Version of the device | [optional]
+**BuildNumber** | **String** | Build number of the device | [optional]
+**GitSha** | **String** | SHA of the commit | [optional]
+**GitBranch** | **String** | Build branch | [optional]
+
+
+
+## Enum: [PaymentOptionsEnum]
+
+
+* `Online` (value: `"Online"`)
+
+* `Emv` (value: `"Emv"`)
+
+* `Counter` (value: `"Counter"`)
+
+
+
+
diff --git a/docs/HydraConnectionStatusChangedEvent.md b/docs/HydraConnectionStatusChangedEvent.md
new file mode 100644
index 00000000..1db76537
--- /dev/null
+++ b/docs/HydraConnectionStatusChangedEvent.md
@@ -0,0 +1,31 @@
+# Flipdish.HydraConnectionStatusChangedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Hydra Device Id | [optional]
+**HydraDeviceStatus** | **String** | Hydra Device Status | [optional]
+**PollTime** | **Date** | Hydra Last Poll Time | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: HydraDeviceStatusEnum
+
+
+* `Online` (value: `"Online"`)
+
+* `PossiblyOffline` (value: `"PossiblyOffline"`)
+
+* `Offline` (value: `"Offline"`)
+
+
+
+
diff --git a/docs/HydraDeviceDetails.md b/docs/HydraDeviceDetails.md
new file mode 100644
index 00000000..0467700b
--- /dev/null
+++ b/docs/HydraDeviceDetails.md
@@ -0,0 +1,46 @@
+# Flipdish.HydraDeviceDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**HydraConfigId** | **Number** | Flipdish internal device identifier | [optional]
+**DeviceId** | **String** | Device Id | [optional]
+**SerialNumber** | **String** | Serial Number | [optional]
+**DeviceType** | **String** | Type of the device | [optional]
+**Status** | **String** | Status of the device | [optional]
+**DeviceName** | **String** | Device Name | [optional]
+**StoreNames** | [**[HydraStoreData]**](HydraStoreData.md) | Store Names | [optional]
+**LastPollUtc** | **Date** | Last poll time in UTC | [optional]
+**Version** | **String** | Version of the device | [optional]
+**BuildNumber** | **String** | Build number of the device | [optional]
+**GitSha** | **String** | SHA of the commit | [optional]
+**GitBranch** | **String** | Build branch | [optional]
+
+
+
+## Enum: DeviceTypeEnum
+
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Terminal` (value: `"Terminal"`)
+
+* `LegacyPrinter` (value: `"LegacyPrinter"`)
+
+
+
+
+
+## Enum: StatusEnum
+
+
+* `Online` (value: `"Online"`)
+
+* `PossiblyOffline` (value: `"PossiblyOffline"`)
+
+* `Offline` (value: `"Offline"`)
+
+
+
+
diff --git a/docs/HydraRegistrationRequest.md b/docs/HydraRegistrationRequest.md
new file mode 100644
index 00000000..38dfab6c
--- /dev/null
+++ b/docs/HydraRegistrationRequest.md
@@ -0,0 +1,11 @@
+# Flipdish.HydraRegistrationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreIds** | **[Number]** | Stores to assign the hydra |
+**DeviceName** | **String** | Hydra device name |
+**PinCode** | **Number** | 6 digit PIN code (not starting with zero). | [optional]
+
+
diff --git a/docs/HydraRequestResetEvent.md b/docs/HydraRequestResetEvent.md
new file mode 100644
index 00000000..c00d6ce5
--- /dev/null
+++ b/docs/HydraRequestResetEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.HydraRequestResetEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/HydraSettingChangedEvent.md b/docs/HydraSettingChangedEvent.md
new file mode 100644
index 00000000..baf74888
--- /dev/null
+++ b/docs/HydraSettingChangedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.HydraSettingChangedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**HydraConfig** | [**HydraConfig**](HydraConfig.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/HydraStatus.md b/docs/HydraStatus.md
new file mode 100644
index 00000000..6d81b5ad
--- /dev/null
+++ b/docs/HydraStatus.md
@@ -0,0 +1,27 @@
+# Flipdish.HydraStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppId** | **String** | |
+**StoreIds** | **[Number]** | Store to assign the hydra | [optional]
+**IsRegistered** | **Boolean** | The device has been already registered |
+**PinCode** | **Number** | 6 digit PIN code (not starting with zero). | [optional]
+**Images** | **[String]** | Hydra images (covers) | [optional]
+**UserType** | **String** | Hydra User Type | [optional]
+
+
+
+## Enum: UserTypeEnum
+
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Terminal` (value: `"Terminal"`)
+
+* `LegacyPrinter` (value: `"LegacyPrinter"`)
+
+
+
+
diff --git a/docs/HydraStoreAssignedEvent.md b/docs/HydraStoreAssignedEvent.md
new file mode 100644
index 00000000..c10a6b1d
--- /dev/null
+++ b/docs/HydraStoreAssignedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.HydraStoreAssignedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**StoreIds** | **[Number]** | Store\\s to assign hydra to | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/HydraStoreData.md b/docs/HydraStoreData.md
new file mode 100644
index 00000000..5d80dd86
--- /dev/null
+++ b/docs/HydraStoreData.md
@@ -0,0 +1,10 @@
+# Flipdish.HydraStoreData
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Id of the store | [optional]
+**StoreName** | **String** | Name of the store | [optional]
+
+
diff --git a/docs/HydraStoreUnassignedEvent.md b/docs/HydraStoreUnassignedEvent.md
new file mode 100644
index 00000000..5da6df92
--- /dev/null
+++ b/docs/HydraStoreUnassignedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.HydraStoreUnassignedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**StoreIds** | **[Number]** | Store\\s to unassign hydra from | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/HydraUnAssignedEvent.md b/docs/HydraUnAssignedEvent.md
new file mode 100644
index 00000000..f7c918cf
--- /dev/null
+++ b/docs/HydraUnAssignedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.HydraUnAssignedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**HydraStatus** | [**HydraStatus**](HydraStatus.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/IndexPage.md b/docs/IndexPage.md
new file mode 100644
index 00000000..97bcd02b
--- /dev/null
+++ b/docs/IndexPage.md
@@ -0,0 +1,24 @@
+# Flipdish.IndexPage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Testimonials** | [**[WebsiteTestimonial]**](WebsiteTestimonial.md) | Testimonials | [optional]
+**Images** | [**[WebsiteImage]**](WebsiteImage.md) | Images | [optional]
+**AboutSectionEnabled** | **Boolean** | About section enabled | [optional]
+**AboutSectionTitle** | **String** | About section title | [optional]
+**AboutSectionSubtitle** | **String** | About section sub-title | [optional]
+**AboutSectionLeftTitle** | **String** | About section title left | [optional]
+**AboutSectionLeftBody** | **String** | About section text left | [optional]
+**AboutSectionRightTitle** | **String** | About section title right | [optional]
+**AboutSectionRightBody** | **String** | About section text right | [optional]
+**OpeningHoursEnabled** | **Boolean** | Opening hours section Enabled | [optional]
+**MenuPreviewEnabled** | **Boolean** | Menu Preview section Enabled | [optional]
+**GalleryEnabled** | **Boolean** | Gallery section enabled | [optional]
+**TestimonialsEnabled** | **Boolean** | Testimonials section Enabled | [optional]
+**ContactFormEnabled** | **Boolean** | Contact Form section Enabled | [optional]
+**ContactFormEmail** | **String** | Contact Form Email | [optional]
+**MapEnabled** | **Boolean** | Map section Enabled | [optional]
+
+
diff --git a/docs/IndexPageBase.md b/docs/IndexPageBase.md
new file mode 100644
index 00000000..f5bb467d
--- /dev/null
+++ b/docs/IndexPageBase.md
@@ -0,0 +1,22 @@
+# Flipdish.IndexPageBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AboutSectionEnabled** | **Boolean** | About section enabled | [optional]
+**AboutSectionTitle** | **String** | About section title | [optional]
+**AboutSectionSubtitle** | **String** | About section sub-title | [optional]
+**AboutSectionLeftTitle** | **String** | About section title left | [optional]
+**AboutSectionLeftBody** | **String** | About section text left | [optional]
+**AboutSectionRightTitle** | **String** | About section title right | [optional]
+**AboutSectionRightBody** | **String** | About section text right | [optional]
+**OpeningHoursEnabled** | **Boolean** | Opening hours section Enabled | [optional]
+**MenuPreviewEnabled** | **Boolean** | Menu Preview section Enabled | [optional]
+**GalleryEnabled** | **Boolean** | Gallery section enabled | [optional]
+**TestimonialsEnabled** | **Boolean** | Testimonials section Enabled | [optional]
+**ContactFormEnabled** | **Boolean** | Contact Form section Enabled | [optional]
+**ContactFormEmail** | **String** | Contact Form Email | [optional]
+**MapEnabled** | **Boolean** | Map section Enabled | [optional]
+
+
diff --git a/docs/IntercomApi.md b/docs/IntercomApi.md
new file mode 100644
index 00000000..950ad534
--- /dev/null
+++ b/docs/IntercomApi.md
@@ -0,0 +1,52 @@
+# Flipdish.IntercomApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**userHash**](IntercomApi.md#userHash) | **GET** /api/v1.0/intercom/userHash |
+
+
+
+## userHash
+
+> RestApiResultIntercomUserHash userHash()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.IntercomApi();
+apiInstance.userHash((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultIntercomUserHash**](RestApiResultIntercomUserHash.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/IntercomUserHash.md b/docs/IntercomUserHash.md
new file mode 100644
index 00000000..396942d3
--- /dev/null
+++ b/docs/IntercomUserHash.md
@@ -0,0 +1,9 @@
+# Flipdish.IntercomUserHash
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**UserHash** | **String** | User hash | [optional]
+
+
diff --git a/docs/Invoice.md b/docs/Invoice.md
new file mode 100644
index 00000000..5f109e49
--- /dev/null
+++ b/docs/Invoice.md
@@ -0,0 +1,11 @@
+# Flipdish.Invoice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**InvoiceNumber** | **String** | Invoice Number | [optional]
+**StartDay** | **Date** | The start day of the invoice period. | [optional]
+**EndDay** | **Date** | The end day of the invoice period. | [optional]
+
+
diff --git a/docs/InvoiceDiscount.md b/docs/InvoiceDiscount.md
new file mode 100644
index 00000000..0d340a68
--- /dev/null
+++ b/docs/InvoiceDiscount.md
@@ -0,0 +1,10 @@
+# Flipdish.InvoiceDiscount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name |
+**Amount** | **Number** | Amount |
+
+
diff --git a/docs/InvoiceItem.md b/docs/InvoiceItem.md
new file mode 100644
index 00000000..7ee4171c
--- /dev/null
+++ b/docs/InvoiceItem.md
@@ -0,0 +1,14 @@
+# Flipdish.InvoiceItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Description** | **String** | Description |
+**Quantity** | **Number** | Quantity |
+**UnitAmountExcludingTax** | **Number** | Unit Amount Excluding Tax |
+**Tax** | **Number** | Tax |
+**Amount** | **Number** | Amount |
+**Period** | [**InvoicePeriod**](InvoicePeriod.md) | |
+
+
diff --git a/docs/InvoicePeriod.md b/docs/InvoicePeriod.md
new file mode 100644
index 00000000..924342b6
--- /dev/null
+++ b/docs/InvoicePeriod.md
@@ -0,0 +1,10 @@
+# Flipdish.InvoicePeriod
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Start** | **Date** | Start | [optional]
+**End** | **Date** | End | [optional]
+
+
diff --git a/docs/InvoicesApi.md b/docs/InvoicesApi.md
new file mode 100644
index 00000000..a6950997
--- /dev/null
+++ b/docs/InvoicesApi.md
@@ -0,0 +1,246 @@
+# Flipdish.InvoicesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getInvoices**](InvoicesApi.md#getInvoices) | **GET** /api/v1.0/{appId}/invoices |
+[**invoicePdf**](InvoicesApi.md#invoicePdf) | **GET** /api/v1.0/{appId}/invoices/InvoicePdf |
+[**listInvoices**](InvoicesApi.md#listInvoices) | **GET** /api/v1.0/{appId}/invoices/ListInvoices |
+[**listSubscriptionInvoices**](InvoicesApi.md#listSubscriptionInvoices) | **GET** /api/v1.0/{appId}/invoices/ListSubscriptionInvoices |
+
+
+
+## getInvoices
+
+> RestApiFinanceSearchPaginationResultSubscriptionInvoice getInvoices(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.InvoicesApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'subscriptionId': "subscriptionId_example", // String |
+ 'limit': 56, // Number |
+ 'pageId': "pageId_example", // String |
+ 'excludeNotOwnedInvoices': true, // Boolean |
+ 'dateFrom': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'dateTo': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'invoiceNumber': "invoiceNumber_example", // String |
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getInvoices(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **subscriptionId** | **String**| | [optional]
+ **limit** | **Number**| | [optional]
+ **pageId** | **String**| | [optional]
+ **excludeNotOwnedInvoices** | **Boolean**| | [optional]
+ **dateFrom** | **Date**| | [optional]
+ **dateTo** | **Date**| | [optional]
+ **invoiceNumber** | **String**| | [optional]
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiFinanceSearchPaginationResultSubscriptionInvoice**](RestApiFinanceSearchPaginationResultSubscriptionInvoice.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## invoicePdf
+
+> invoicePdf(invoiceNumber, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.InvoicesApi();
+let invoiceNumber = "invoiceNumber_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.invoicePdf(invoiceNumber, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **invoiceNumber** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## listInvoices
+
+> RestApiFinanceSearchPaginationResultInvoice listInvoices(storeId, appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.InvoicesApi();
+let storeId = 56; // Number |
+let appId = "appId_example"; // String |
+let opts = {
+ 'limit': 56, // Number |
+ 'page': 56 // Number |
+};
+apiInstance.listInvoices(storeId, appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **appId** | **String**| |
+ **limit** | **Number**| | [optional]
+ **page** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiFinanceSearchPaginationResultInvoice**](RestApiFinanceSearchPaginationResultInvoice.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## listSubscriptionInvoices
+
+> RestApiFinanceSearchPaginationResultSubscriptionInvoice listSubscriptionInvoices(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.InvoicesApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'subscriptionId': "subscriptionId_example", // String |
+ 'limit': 56, // Number |
+ 'pageId': "pageId_example", // String |
+ 'excludeNotOwnedInvoices': true, // Boolean |
+ 'dateFrom': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'dateTo': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'invoiceNumber': "invoiceNumber_example", // String |
+ 'storeId': [null] // [Number] |
+};
+apiInstance.listSubscriptionInvoices(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **subscriptionId** | **String**| | [optional]
+ **limit** | **Number**| | [optional]
+ **pageId** | **String**| | [optional]
+ **excludeNotOwnedInvoices** | **Boolean**| | [optional]
+ **dateFrom** | **Date**| | [optional]
+ **dateTo** | **Date**| | [optional]
+ **invoiceNumber** | **String**| | [optional]
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiFinanceSearchPaginationResultSubscriptionInvoice**](RestApiFinanceSearchPaginationResultSubscriptionInvoice.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/ItemNutritionInfoAddUpdateModel.md b/docs/ItemNutritionInfoAddUpdateModel.md
new file mode 100644
index 00000000..e0f0bf4b
--- /dev/null
+++ b/docs/ItemNutritionInfoAddUpdateModel.md
@@ -0,0 +1,9 @@
+# Flipdish.ItemNutritionInfoAddUpdateModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Labels** | [**[NutritionInfoItemAddUpdateLabelModel]**](NutritionInfoItemAddUpdateLabelModel.md) | | [optional]
+
+
diff --git a/docs/ItemNutritionInfoV2AddUpdateModel.md b/docs/ItemNutritionInfoV2AddUpdateModel.md
new file mode 100644
index 00000000..34b41f2c
--- /dev/null
+++ b/docs/ItemNutritionInfoV2AddUpdateModel.md
@@ -0,0 +1,9 @@
+# Flipdish.ItemNutritionInfoV2AddUpdateModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AllergenIds** | **[String]** | | [optional]
+
+
diff --git a/docs/JobAddress.md b/docs/JobAddress.md
new file mode 100644
index 00000000..a60a0ba7
--- /dev/null
+++ b/docs/JobAddress.md
@@ -0,0 +1,14 @@
+# Flipdish.JobAddress
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Street** | **String** | Street | [optional]
+**Postcode** | **String** | Postcode | [optional]
+**City** | **String** | City | [optional]
+**Country** | **String** | Country | [optional]
+**Zone** | **String** | Zone | [optional]
+**FormattedAddress** | **String** | Formatted Address | [optional]
+
+
diff --git a/docs/JobCancellation.md b/docs/JobCancellation.md
new file mode 100644
index 00000000..9f165efd
--- /dev/null
+++ b/docs/JobCancellation.md
@@ -0,0 +1,11 @@
+# Flipdish.JobCancellation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CanceledBy** | **String** | Canceled By | [optional]
+**ReasonKey** | **String** | Reason Key | [optional]
+**Comment** | **String** | Comment | [optional]
+
+
diff --git a/docs/JobContact.md b/docs/JobContact.md
new file mode 100644
index 00000000..3469b0dd
--- /dev/null
+++ b/docs/JobContact.md
@@ -0,0 +1,14 @@
+# Flipdish.JobContact
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Firstname** | **String** | Firstname | [optional]
+**Lastname** | **String** | Lastname | [optional]
+**Phone** | **String** | Phone | [optional]
+**Email** | **String** | Email | [optional]
+**Company** | **String** | Company | [optional]
+**CompanyName** | **String** | Company Name | [optional]
+
+
diff --git a/docs/JobDelivery.md b/docs/JobDelivery.md
new file mode 100644
index 00000000..a8098f69
--- /dev/null
+++ b/docs/JobDelivery.md
@@ -0,0 +1,21 @@
+# Flipdish.JobDelivery
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id | [optional]
+**Status** | **String** | Status | [optional]
+**PickedAt** | **String** | Picked At | [optional]
+**DeliveredAt** | **String** | Delivered At | [optional]
+**TrackingUrl** | **String** | Tracking Url | [optional]
+**ClientReference** | **String** | Client Reference | [optional]
+**PackageDescription** | **String** | Package Description | [optional]
+**PackageType** | **String** | Package Type | [optional]
+**Pickup** | [**JobDeliveryDetail**](JobDeliveryDetail.md) | | [optional]
+**Dropoff** | [**JobDeliveryDetail**](JobDeliveryDetail.md) | | [optional]
+**Eta** | [**JobEta**](JobEta.md) | | [optional]
+**Cancellation** | [**JobCancellation**](JobCancellation.md) | | [optional]
+**Proof** | [**JobProof**](JobProof.md) | | [optional]
+
+
diff --git a/docs/JobDeliveryDetail.md b/docs/JobDeliveryDetail.md
new file mode 100644
index 00000000..60691e54
--- /dev/null
+++ b/docs/JobDeliveryDetail.md
@@ -0,0 +1,14 @@
+# Flipdish.JobDeliveryDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id | [optional]
+**Latitude** | **Number** | Latitude | [optional]
+**Longitude** | **Number** | Longitude | [optional]
+**Comment** | **String** | Comment | [optional]
+**Address** | [**JobAddress**](JobAddress.md) | | [optional]
+**Contact** | [**JobContact**](JobContact.md) | | [optional]
+
+
diff --git a/docs/JobDriver.md b/docs/JobDriver.md
new file mode 100644
index 00000000..d843bf76
--- /dev/null
+++ b/docs/JobDriver.md
@@ -0,0 +1,15 @@
+# Flipdish.JobDriver
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id | [optional]
+**DisplayName** | **String** | Display Name | [optional]
+**Phone** | **String** | Phone | [optional]
+**PictureUrl** | **String** | Picture Url | [optional]
+**TransportType** | **String** | Transport Type | [optional]
+**Latitude** | **Number** | Latitude | [optional]
+**Longitude** | **Number** | Longitude | [optional]
+
+
diff --git a/docs/JobEta.md b/docs/JobEta.md
new file mode 100644
index 00000000..72aaad3f
--- /dev/null
+++ b/docs/JobEta.md
@@ -0,0 +1,10 @@
+# Flipdish.JobEta
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Pickup** | **String** | Pickup | [optional]
+**Dropoff** | **String** | Dropoff | [optional]
+
+
diff --git a/docs/JobPricing.md b/docs/JobPricing.md
new file mode 100644
index 00000000..d30dda14
--- /dev/null
+++ b/docs/JobPricing.md
@@ -0,0 +1,14 @@
+# Flipdish.JobPricing
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Currency** | **String** | Currency | [optional]
+**TaxPercentage** | **Number** | Tax Percentage | [optional]
+**PriceTaxIncluded** | **Number** | Price Tax Included | [optional]
+**PriceTaxExcluded** | **Number** | Price Tax Excluded | [optional]
+**TaxAmount** | **Number** | Tax Amount | [optional]
+**InvoiceUrl** | **String** | Invoice Url | [optional]
+
+
diff --git a/docs/JobProof.md b/docs/JobProof.md
new file mode 100644
index 00000000..3198bcc8
--- /dev/null
+++ b/docs/JobProof.md
@@ -0,0 +1,9 @@
+# Flipdish.JobProof
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SignatureUrl** | **String** | Signature Url | [optional]
+
+
diff --git a/docs/JobResponse.md b/docs/JobResponse.md
new file mode 100644
index 00000000..b12d34c6
--- /dev/null
+++ b/docs/JobResponse.md
@@ -0,0 +1,22 @@
+# Flipdish.JobResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Id | [optional]
+**CreatedAt** | **Date** | Created At | [optional]
+**Status** | **String** | Status | [optional]
+**PackageType** | **String** | Package Type | [optional]
+**TransportType** | **String** | Transport Type | [optional]
+**AssignmentCode** | **String** | Assignment Code | [optional]
+**PickupAt** | **String** | Pickup At | [optional]
+**DropoffAt** | **String** | Dropoff At | [optional]
+**Comment** | **String** | Comment | [optional]
+**Distance** | **Number** | Distance | [optional]
+**Duration** | **Number** | Duration | [optional]
+**Deliveries** | [**[JobDelivery]**](JobDelivery.md) | Deliveries | [optional]
+**Pricing** | [**JobPricing**](JobPricing.md) | | [optional]
+**Driver** | [**JobDriver**](JobDriver.md) | | [optional]
+
+
diff --git a/docs/KioskBluetoothInstallUpdateInitiateEvent.md b/docs/KioskBluetoothInstallUpdateInitiateEvent.md
new file mode 100644
index 00000000..1d122a24
--- /dev/null
+++ b/docs/KioskBluetoothInstallUpdateInitiateEvent.md
@@ -0,0 +1,35 @@
+# Flipdish.KioskBluetoothInstallUpdateInitiateEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskBluetoothPairingModeEvent.md b/docs/KioskBluetoothPairingModeEvent.md
new file mode 100644
index 00000000..bcac7af5
--- /dev/null
+++ b/docs/KioskBluetoothPairingModeEvent.md
@@ -0,0 +1,35 @@
+# Flipdish.KioskBluetoothPairingModeEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskBluetoothTerminalCancelUpdateEvent.md b/docs/KioskBluetoothTerminalCancelUpdateEvent.md
new file mode 100644
index 00000000..8a567587
--- /dev/null
+++ b/docs/KioskBluetoothTerminalCancelUpdateEvent.md
@@ -0,0 +1,35 @@
+# Flipdish.KioskBluetoothTerminalCancelUpdateEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskBluetoothTerminalFirmwareVersionStatusEvent.md b/docs/KioskBluetoothTerminalFirmwareVersionStatusEvent.md
new file mode 100644
index 00000000..699298fd
--- /dev/null
+++ b/docs/KioskBluetoothTerminalFirmwareVersionStatusEvent.md
@@ -0,0 +1,37 @@
+# Flipdish.KioskBluetoothTerminalFirmwareVersionStatusEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**SerialNumber** | **String** | Serial Number of the device | [optional]
+**HasFirmwareUpdate** | **Boolean** | Indicates if Payment Terminal has Firmware Update | [optional]
+**HasConfigUpdate** | **Boolean** | Indicates if Payment Terminal has Config Update | [optional]
+**HasKeyUpdate** | **Boolean** | Indicates if Payment Terminal has Key Update | [optional]
+**UpdateTimeEstimate** | **String** | ETA to install the update | [optional]
+**UserEventInfo** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: UpdateTimeEstimateEnum
+
+
+* `LessThanOneMinute` (value: `"LessThanOneMinute"`)
+
+* `OneToTwoMinutes` (value: `"OneToTwoMinutes"`)
+
+* `TwoToFiveMinutes` (value: `"TwoToFiveMinutes"`)
+
+* `FiveToFifteenMinutes` (value: `"FiveToFifteenMinutes"`)
+
+
+
+
diff --git a/docs/KioskBluetoothTerminalInitiateUpdateCheckEvent.md b/docs/KioskBluetoothTerminalInitiateUpdateCheckEvent.md
new file mode 100644
index 00000000..1eb99696
--- /dev/null
+++ b/docs/KioskBluetoothTerminalInitiateUpdateCheckEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.KioskBluetoothTerminalInitiateUpdateCheckEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/KioskBluetoothTerminalInstallationStatusEvent.md b/docs/KioskBluetoothTerminalInstallationStatusEvent.md
new file mode 100644
index 00000000..6832c5bd
--- /dev/null
+++ b/docs/KioskBluetoothTerminalInstallationStatusEvent.md
@@ -0,0 +1,37 @@
+# Flipdish.KioskBluetoothTerminalInstallationStatusEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**BluetoothTerminalSerialNumber** | **String** | Serial number of the terminal | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Progress** | **Number** | Update Install Progress for Card Reader | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskBluetoothTerminalUnpairedEvent.md b/docs/KioskBluetoothTerminalUnpairedEvent.md
new file mode 100644
index 00000000..2866d208
--- /dev/null
+++ b/docs/KioskBluetoothTerminalUnpairedEvent.md
@@ -0,0 +1,35 @@
+# Flipdish.KioskBluetoothTerminalUnpairedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskBluetoothTerminalUpdatedEvent.md b/docs/KioskBluetoothTerminalUpdatedEvent.md
new file mode 100644
index 00000000..2fc0dde5
--- /dev/null
+++ b/docs/KioskBluetoothTerminalUpdatedEvent.md
@@ -0,0 +1,37 @@
+# Flipdish.KioskBluetoothTerminalUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**BluetoothTerminalSerialNumber** | **String** | Serial number of the terminal | [optional]
+**BluetoothTerminalStatus** | [**BluetoothTerminalStatus**](BluetoothTerminalStatus.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskBluetoothUnpairingModeEvent.md b/docs/KioskBluetoothUnpairingModeEvent.md
new file mode 100644
index 00000000..8dc9b0ea
--- /dev/null
+++ b/docs/KioskBluetoothUnpairingModeEvent.md
@@ -0,0 +1,35 @@
+# Flipdish.KioskBluetoothUnpairingModeEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeviceId** | **String** | Device Id of the Kiosk | [optional]
+**BluetoothTerminalType** | **String** | Terminal Type | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/KioskCashPaymentSettings.md b/docs/KioskCashPaymentSettings.md
new file mode 100644
index 00000000..0e6de337
--- /dev/null
+++ b/docs/KioskCashPaymentSettings.md
@@ -0,0 +1,10 @@
+# Flipdish.KioskCashPaymentSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsCashVisibleToCustomer** | **Boolean** | false :disable cash on kiosk true :enable cash on kiosk | [optional]
+**UserId** | **Number** | HydraUser ID of the Device | [optional]
+
+
diff --git a/docs/KioskEntitlementsApi.md b/docs/KioskEntitlementsApi.md
new file mode 100644
index 00000000..a40ac01e
--- /dev/null
+++ b/docs/KioskEntitlementsApi.md
@@ -0,0 +1,56 @@
+# Flipdish.KioskEntitlementsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**queryKioskEntitlementsByOrgId**](KioskEntitlementsApi.md#queryKioskEntitlementsByOrgId) | **GET** /api/v1.0/orgs/{orgId}/kiosk/entitlements |
+
+
+
+## queryKioskEntitlementsByOrgId
+
+> RestApiResultKioskEntitlementsResult queryKioskEntitlementsByOrgId(orgId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.KioskEntitlementsApi();
+let orgId = "orgId_example"; // String |
+apiInstance.queryKioskEntitlementsByOrgId(orgId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orgId** | **String**| |
+
+### Return type
+
+[**RestApiResultKioskEntitlementsResult**](RestApiResultKioskEntitlementsResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/KioskEntitlementsResult.md b/docs/KioskEntitlementsResult.md
new file mode 100644
index 00000000..9c567f24
--- /dev/null
+++ b/docs/KioskEntitlementsResult.md
@@ -0,0 +1,10 @@
+# Flipdish.KioskEntitlementsResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EntitledQuantity** | **Number** | Number of kiosk devices entitled | [optional]
+**UsedQuantity** | **Number** | The quantity of entitlements that have been used | [optional]
+
+
diff --git a/docs/KioskIotApi.md b/docs/KioskIotApi.md
new file mode 100644
index 00000000..dd982217
--- /dev/null
+++ b/docs/KioskIotApi.md
@@ -0,0 +1,102 @@
+# Flipdish.KioskIotApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getKioskIotConnection**](KioskIotApi.md#getKioskIotConnection) | **POST** /api/v1.0/kioskiot/connect |
+[**queryTelemetrySeries**](KioskIotApi.md#queryTelemetrySeries) | **POST** /api/v1.0/{appId}/kioskiot/timeseries/query |
+
+
+
+## getKioskIotConnection
+
+> RestApiResultKioskIotConnectionParameters getKioskIotConnection()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.KioskIotApi();
+apiInstance.getKioskIotConnection((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultKioskIotConnectionParameters**](RestApiResultKioskIotConnectionParameters.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## queryTelemetrySeries
+
+> RestApiResultTelemetrySeriesResult queryTelemetrySeries(appId, queryParams)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.KioskIotApi();
+let appId = "appId_example"; // String |
+let queryParams = new Flipdish.TelemetrySeriesQueryParameters(); // TelemetrySeriesQueryParameters |
+apiInstance.queryTelemetrySeries(appId, queryParams, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **queryParams** | [**TelemetrySeriesQueryParameters**](TelemetrySeriesQueryParameters.md)| |
+
+### Return type
+
+[**RestApiResultTelemetrySeriesResult**](RestApiResultTelemetrySeriesResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/KioskIotConnectionParameters.md b/docs/KioskIotConnectionParameters.md
new file mode 100644
index 00000000..9ba9fc9f
--- /dev/null
+++ b/docs/KioskIotConnectionParameters.md
@@ -0,0 +1,9 @@
+# Flipdish.KioskIotConnectionParameters
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ConnectionString** | **String** | The device connection string to the IoT server | [optional]
+
+
diff --git a/docs/KioskSettings.md b/docs/KioskSettings.md
new file mode 100644
index 00000000..b3ba8c27
--- /dev/null
+++ b/docs/KioskSettings.md
@@ -0,0 +1,10 @@
+# Flipdish.KioskSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**HideLogoFromFrontPage** | **Boolean** | Hide logo from front page | [optional]
+**TwoColumnMenuLayout** | **Boolean** | 2 Column Menu Layout | [optional]
+
+
diff --git a/docs/KioskTerminalActionStateChangedEvent.md b/docs/KioskTerminalActionStateChangedEvent.md
new file mode 100644
index 00000000..23a8cd9b
--- /dev/null
+++ b/docs/KioskTerminalActionStateChangedEvent.md
@@ -0,0 +1,36 @@
+# Flipdish.KioskTerminalActionStateChangedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ReaderId** | **String** | Card reader id | [optional]
+**BluetoothTerminalType** | **String** | Terminal type | [optional]
+**ActionState** | **String** | Action state. success or fail | [optional]
+**FailureCode** | **String** | Failure code if processing is failed | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: BluetoothTerminalTypeEnum
+
+
+* `CHIPPER_2X` (value: `"CHIPPER_2X"`)
+
+* `COTS_DEVICE` (value: `"COTS_DEVICE"`)
+
+* `VERIFONE_P400` (value: `"VERIFONE_P400"`)
+
+* `WISEPAD_3` (value: `"WISEPAD_3"`)
+
+* `WISEPOS_E` (value: `"WISEPOS_E"`)
+
+
+
+
diff --git a/docs/Language.md b/docs/Language.md
new file mode 100644
index 00000000..6377ce98
--- /dev/null
+++ b/docs/Language.md
@@ -0,0 +1,12 @@
+# Flipdish.Language
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LanguageId** | **String** | ISO 639-1 Language Code | [optional]
+**DisplayOrder** | **Number** | Display Order | [optional]
+**Name** | **String** | Language Name | [optional]
+**Enabled** | **Boolean** | Is the language enabled for use. | [optional]
+
+
diff --git a/docs/LastPaymentError.md b/docs/LastPaymentError.md
new file mode 100644
index 00000000..f9fbbd87
--- /dev/null
+++ b/docs/LastPaymentError.md
@@ -0,0 +1,11 @@
+# Flipdish.LastPaymentError
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Code** | **String** | For some errors that could be handled programmatically, a short string indicating the error code reported. | [optional]
+**DeclineCode** | **String** | For card errors resulting from a card issuer decline, a short string indicating the card issuer’s reason for the decline if they provide one. | [optional]
+**Message** | **String** | A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. | [optional]
+
+
diff --git a/docs/LeadTime.md b/docs/LeadTime.md
new file mode 100644
index 00000000..925f1527
--- /dev/null
+++ b/docs/LeadTime.md
@@ -0,0 +1,10 @@
+# Flipdish.LeadTime
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DispatchType** | **String** | There are two valid values for this field - `collection` and `delivery`. |
+**LeadTimeMinutes** | **Number** | This must be a positive integer. |
+
+
diff --git a/docs/LightspeedApi.md b/docs/LightspeedApi.md
new file mode 100644
index 00000000..5593f6ee
--- /dev/null
+++ b/docs/LightspeedApi.md
@@ -0,0 +1,154 @@
+# Flipdish.LightspeedApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**lightspeedGenerateMenu**](LightspeedApi.md#lightspeedGenerateMenu) | **POST** /api/v1.0/lightspeed/{storeId}/menu/generate |
+[**lightspeedGetStoreSettings**](LightspeedApi.md#lightspeedGetStoreSettings) | **GET** /api/v1.0/lightspeed/{storeId}/settings |
+[**lightspeedSaveStoreSettings**](LightspeedApi.md#lightspeedSaveStoreSettings) | **POST** /api/v1.0/lightspeed/{storeId}/settings |
+
+
+
+## lightspeedGenerateMenu
+
+> Object lightspeedGenerateMenu(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LightspeedApi();
+let storeId = 56; // Number |
+apiInstance.lightspeedGenerateMenu(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## lightspeedGetStoreSettings
+
+> RestApiResultLightspeedSettings lightspeedGetStoreSettings(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LightspeedApi();
+let storeId = 56; // Number |
+apiInstance.lightspeedGetStoreSettings(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultLightspeedSettings**](RestApiResultLightspeedSettings.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## lightspeedSaveStoreSettings
+
+> RestApiResultLightspeedSettings lightspeedSaveStoreSettings(storeId, lightspeedSettings)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LightspeedApi();
+let storeId = 56; // Number |
+let lightspeedSettings = new Flipdish.LightspeedSettings(); // LightspeedSettings |
+apiInstance.lightspeedSaveStoreSettings(storeId, lightspeedSettings, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **lightspeedSettings** | [**LightspeedSettings**](LightspeedSettings.md)| |
+
+### Return type
+
+[**RestApiResultLightspeedSettings**](RestApiResultLightspeedSettings.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/LightspeedSettings.md b/docs/LightspeedSettings.md
new file mode 100644
index 00000000..d67e745f
--- /dev/null
+++ b/docs/LightspeedSettings.md
@@ -0,0 +1,44 @@
+# Flipdish.LightspeedSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CompanyId** | **String** | Company Id | [optional]
+**UseOAuth** | **Boolean** | Use OAuth for authentication | [optional]
+**Enabled** | **Boolean** | Enabled | [optional]
+**EstimatedMinutesForDelivery** | **Number** | Estimated minutes for delivery | [optional]
+**EstimatedMinutesForCollection** | **Number** | Estimated minutes for collection | [optional]
+**GeographicLocation** | **String** | Geographic location (euc1, nae1, euw2, ....)) | [optional]
+**Establishment** | **Boolean** | Is the CompanyId an establishment (kind of the store of a group of store) | [optional]
+**VoucherId** | **String** | The Lightspeed voucher identifier to map with our | [optional]
+**DeliveryFeeId** | **String** | The Lightspeed delivery fee identifier to map with our | [optional]
+**ProcessingFeeId** | **String** | The Lightspeed processing fee identifier to map with our | [optional]
+**PriceType** | **String** | Which price to choose from Lightspeed menu | [optional]
+**MenuId** | **Number** | The menu id of the store | [optional]
+**CollectionTableId** | **Number** | Collection Table ID to send orders | [optional]
+**DeliveryTableId** | **Number** | Delivery Table ID to send orders | [optional]
+**CollectionTableIds** | **{String: String}** | Collection Table IDs to send orders to | [optional]
+**DeliveryTableIds** | **{String: String}** | Delivery Table IDs to send orders to | [optional]
+**UseTaxInclusivePrices** | **Boolean** | Exclude tax | [optional]
+**SkipStatusCheckAndAcceptOrderAfterSending** | **Boolean** | WARNING: only use this option if the Liteserver is not synchronizing within max 5 minutes with Lightspeed cloud! | [optional]
+**SendTableNumberToTableId** | **Boolean** | Send Table Number to Table Id | [optional]
+**AddChefNoteToProduct** | **Boolean** | Add ChefNote To Product | [optional]
+**ChefNoteItemId** | **String** | The Lightspeed Chef Note Item Id to map | [optional]
+**ChefNoteModifierId** | **String** | The Lightspeed Chef Note Modifier Id to map | [optional]
+**ServiceChargeId** | **String** | The Lightspeed Service Charge Id to map | [optional]
+
+
+
+## Enum: PriceTypeEnum
+
+
+* `Default` (value: `"Default"`)
+
+* `Takeaway` (value: `"Takeaway"`)
+
+* `Delivery` (value: `"Delivery"`)
+
+
+
+
diff --git a/docs/LocalisedTimeZone.md b/docs/LocalisedTimeZone.md
new file mode 100644
index 00000000..365ccd70
--- /dev/null
+++ b/docs/LocalisedTimeZone.md
@@ -0,0 +1,11 @@
+# Flipdish.LocalisedTimeZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TimeZoneId** | **String** | Microsoft Time Zone Id | [optional]
+**IanaTimeZoneId** | **String** | Iana Time Zone Id | [optional]
+**DisplayName** | **String** | Display name in users language | [optional]
+
+
diff --git a/docs/LocationApi.md b/docs/LocationApi.md
new file mode 100644
index 00000000..188c31fc
--- /dev/null
+++ b/docs/LocationApi.md
@@ -0,0 +1,286 @@
+# Flipdish.LocationApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createLocation**](LocationApi.md#createLocation) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location |
+[**deleteLocation**](LocationApi.md#deleteLocation) | **DELETE** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/delete |
+[**mapLocationToExternalId**](LocationApi.md#mapLocationToExternalId) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/map-external |
+[**moveLocation**](LocationApi.md#moveLocation) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/move |
+[**updateLocation**](LocationApi.md#updateLocation) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/update |
+
+
+
+## createLocation
+
+> Object createLocation(locationAreaId, appId, storeId, createLocationInput)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationApi();
+let locationAreaId = 56; // Number |
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let createLocationInput = [new Flipdish.CreateLocation()]; // [CreateLocation] |
+apiInstance.createLocation(locationAreaId, appId, storeId, createLocationInput, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationAreaId** | **Number**| |
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **createLocationInput** | [**[CreateLocation]**](CreateLocation.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteLocation
+
+> Object deleteLocation(locationId, locationAreaId, appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationApi();
+let locationId = 56; // Number |
+let locationAreaId = 56; // Number |
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.deleteLocation(locationId, locationAreaId, appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationId** | **Number**| |
+ **locationAreaId** | **Number**| |
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## mapLocationToExternalId
+
+> RestApiResultMappedLocation mapLocationToExternalId(locationId, locationAreaId, appId, storeId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationApi();
+let locationId = 56; // Number |
+let locationAreaId = 56; // Number |
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let opts = {
+ 'externalLocationId': "externalLocationId_example" // String |
+};
+apiInstance.mapLocationToExternalId(locationId, locationAreaId, appId, storeId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationId** | **Number**| |
+ **locationAreaId** | **Number**| |
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **externalLocationId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultMappedLocation**](RestApiResultMappedLocation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## moveLocation
+
+> Object moveLocation(locationId, locationAreaId, newLocationAreaId, appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationApi();
+let locationId = 56; // Number |
+let locationAreaId = 56; // Number |
+let newLocationAreaId = 56; // Number |
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.moveLocation(locationId, locationAreaId, newLocationAreaId, appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationId** | **Number**| |
+ **locationAreaId** | **Number**| |
+ **newLocationAreaId** | **Number**| |
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateLocation
+
+> RestApiResultLocationAreaLocation updateLocation(locationAreaId, locationId, appId, storeId, updateLocationInput)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationApi();
+let locationAreaId = 56; // Number |
+let locationId = 56; // Number |
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let updateLocationInput = new Flipdish.CreateLocation(); // CreateLocation |
+apiInstance.updateLocation(locationAreaId, locationId, appId, storeId, updateLocationInput, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationAreaId** | **Number**| |
+ **locationId** | **Number**| |
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **updateLocationInput** | [**CreateLocation**](CreateLocation.md)| |
+
+### Return type
+
+[**RestApiResultLocationAreaLocation**](RestApiResultLocationAreaLocation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/LocationArea.md b/docs/LocationArea.md
new file mode 100644
index 00000000..8d97058c
--- /dev/null
+++ b/docs/LocationArea.md
@@ -0,0 +1,11 @@
+# Flipdish.LocationArea
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationAreaId** | **Number** | Id of the LocationArea | [optional]
+**StoreId** | **Number** | Id of the Store that this LocationArea belongs to | [optional]
+**LocationAreaName** | **String** | Descriptive LocationArea name | [optional]
+
+
diff --git a/docs/LocationAreaCreatedEvent.md b/docs/LocationAreaCreatedEvent.md
new file mode 100644
index 00000000..42f41650
--- /dev/null
+++ b/docs/LocationAreaCreatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.LocationAreaCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationAreaId** | **String** | LocationArea Id | [optional]
+**LocationAreaName** | **String** | LocationArea name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LocationAreaLocation.md b/docs/LocationAreaLocation.md
new file mode 100644
index 00000000..e3c8b941
--- /dev/null
+++ b/docs/LocationAreaLocation.md
@@ -0,0 +1,13 @@
+# Flipdish.LocationAreaLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationId** | **Number** | Id of the Location |
+**LocationName** | **String** | Name of the Location |
+**DisplayOrder** | **Number** | The order that the Location should be displayed on the screen |
+**ExternalLocationId** | **String** | Id of the Location on an external system | [optional]
+**IsDeleted** | **Boolean** | Shows if the Location is deleted or not | [optional]
+
+
diff --git a/docs/LocationAreaUpdatedEvent.md b/docs/LocationAreaUpdatedEvent.md
new file mode 100644
index 00000000..b22cc0f0
--- /dev/null
+++ b/docs/LocationAreaUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.LocationAreaUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationAreaId** | **String** | LocationArea Id | [optional]
+**LocationAreaName** | **String** | LocationArea Name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LocationAreaWithLocations.md b/docs/LocationAreaWithLocations.md
new file mode 100644
index 00000000..220c4c8f
--- /dev/null
+++ b/docs/LocationAreaWithLocations.md
@@ -0,0 +1,13 @@
+# Flipdish.LocationAreaWithLocations
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationAreaId** | **Number** | Id of the LocationArea |
+**StoreId** | **Number** | Id of the Store that this LocationArea belongs to |
+**LocationAreaName** | **String** | Descriptive LocationArea name |
+**Locations** | [**[LocationAreaLocation]**](LocationAreaLocation.md) | List of Locations that belongs to this Location Area | [optional]
+**IsDeleted** | **Boolean** | Returns if the LocationArea is deleted or not | [optional]
+
+
diff --git a/docs/LocationAreasApi.md b/docs/LocationAreasApi.md
new file mode 100644
index 00000000..d287eebd
--- /dev/null
+++ b/docs/LocationAreasApi.md
@@ -0,0 +1,216 @@
+# Flipdish.LocationAreasApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createLocationArea**](LocationAreasApi.md#createLocationArea) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas |
+[**getLocationArea**](LocationAreasApi.md#getLocationArea) | **GET** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId} |
+[**getLocationAreasForStore**](LocationAreasApi.md#getLocationAreasForStore) | **GET** /api/v1.0/{appId}/stores/{storeId}/location-areas |
+[**updateLocationArea**](LocationAreasApi.md#updateLocationArea) | **POST** /api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/update |
+
+
+
+## createLocationArea
+
+> Object createLocationArea(appId, storeId, locationAreaInput)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationAreasApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let locationAreaInput = new Flipdish.CreateLocationArea(); // CreateLocationArea |
+apiInstance.createLocationArea(appId, storeId, locationAreaInput, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **locationAreaInput** | [**CreateLocationArea**](CreateLocationArea.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getLocationArea
+
+> RestApiResultLocationAreaWithLocations getLocationArea(locationAreaId, appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationAreasApi();
+let locationAreaId = 56; // Number |
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.getLocationArea(locationAreaId, appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationAreaId** | **Number**| |
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultLocationAreaWithLocations**](RestApiResultLocationAreaWithLocations.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getLocationAreasForStore
+
+> RestApiArrayResultLocationAreaWithLocations getLocationAreasForStore(appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationAreasApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.getLocationAreasForStore(appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultLocationAreaWithLocations**](RestApiArrayResultLocationAreaWithLocations.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateLocationArea
+
+> RestApiResultLocationArea updateLocationArea(appId, storeId, locationAreaId, locationAreaInput)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LocationAreasApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let locationAreaId = "locationAreaId_example"; // String |
+let locationAreaInput = new Flipdish.UpdateLocationArea(); // UpdateLocationArea |
+apiInstance.updateLocationArea(appId, storeId, locationAreaId, locationAreaInput, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **locationAreaId** | **String**| |
+ **locationAreaInput** | [**UpdateLocationArea**](UpdateLocationArea.md)| |
+
+### Return type
+
+[**RestApiResultLocationArea**](RestApiResultLocationArea.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/LocationCreatedEvent.md b/docs/LocationCreatedEvent.md
new file mode 100644
index 00000000..c456baeb
--- /dev/null
+++ b/docs/LocationCreatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.LocationCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationId** | **Number** | Location Location Id | [optional]
+**LocationName** | **String** | Location LocationName | [optional]
+**DisplayOrder** | **Number** | Location DisplayOrder | [optional]
+**ExternalLocationId** | **String** | Location ExternalLocationId | [optional]
+**LocationAreaId** | **Number** | Location LocationAreaId | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LocationDeletedEvent.md b/docs/LocationDeletedEvent.md
new file mode 100644
index 00000000..f3b623d8
--- /dev/null
+++ b/docs/LocationDeletedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.LocationDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationId** | **Number** | Location Id | [optional]
+**LocationName** | **String** | Location Name | [optional]
+**DisplayOrder** | **Number** | Location DisplayOrder | [optional]
+**ExternalLocationId** | **String** | Location ExternalLocationId | [optional]
+**LocationAreaId** | **Number** | LocationAreaId | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LoginModel.md b/docs/LoginModel.md
new file mode 100644
index 00000000..dee4c5a5
--- /dev/null
+++ b/docs/LoginModel.md
@@ -0,0 +1,10 @@
+# Flipdish.LoginModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email address |
+**Password** | **String** | Password |
+
+
diff --git a/docs/LoginWithPinModel.md b/docs/LoginWithPinModel.md
new file mode 100644
index 00000000..8ad3088a
--- /dev/null
+++ b/docs/LoginWithPinModel.md
@@ -0,0 +1,10 @@
+# Flipdish.LoginWithPinModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email addres |
+**Pin** | **Number** | PIN code (received via email) |
+
+
diff --git a/docs/LookerDashboardApi.md b/docs/LookerDashboardApi.md
new file mode 100644
index 00000000..b59ba664
--- /dev/null
+++ b/docs/LookerDashboardApi.md
@@ -0,0 +1,56 @@
+# Flipdish.LookerDashboardApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**lookerDashboardGetAll**](LookerDashboardApi.md#lookerDashboardGetAll) | **GET** /api/v1.0/{appId}/looker/dashboards |
+
+
+
+## lookerDashboardGetAll
+
+> lookerDashboardGetAll(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LookerDashboardApi();
+let appId = "appId_example"; // String |
+apiInstance.lookerDashboardGetAll(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/LookerSingleSignOnApi.md b/docs/LookerSingleSignOnApi.md
new file mode 100644
index 00000000..701a7ede
--- /dev/null
+++ b/docs/LookerSingleSignOnApi.md
@@ -0,0 +1,62 @@
+# Flipdish.LookerSingleSignOnApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getSSOEndpoint**](LookerSingleSignOnApi.md#getSSOEndpoint) | **GET** /api/v1.0/{appId}/looker/sso |
+
+
+
+## getSSOEndpoint
+
+> DashboardEmbed getSSOEndpoint(appId, embedPath, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.LookerSingleSignOnApi();
+let appId = "appId_example"; // String |
+let embedPath = "embedPath_example"; // String |
+let opts = {
+ 'filters': "filters_example" // String |
+};
+apiInstance.getSSOEndpoint(appId, embedPath, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **embedPath** | **String**| |
+ **filters** | **String**| | [optional]
+
+### Return type
+
+[**DashboardEmbed**](DashboardEmbed.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, EmbedUrl
+
diff --git a/docs/LoyaltyCampaign.md b/docs/LoyaltyCampaign.md
new file mode 100644
index 00000000..4146bdbd
--- /dev/null
+++ b/docs/LoyaltyCampaign.md
@@ -0,0 +1,25 @@
+# Flipdish.LoyaltyCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CampaignId** | **Number** | Id of campaign | [optional]
+**Statistics** | [**CampaignStatistics**](CampaignStatistics.md) | | [optional]
+**Stores** | [**[StoreCampaignStartTime]**](StoreCampaignStartTime.md) | Stores this campaign applies to with campaign start time in Utc | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+**OrdersBeforeReceivingVoucher** | **Number** | Number of orders customer needs to make, before receiving voucher | [optional]
+**PercentDiscountAmount** | **Number** | Discount amount in percents | [optional]
+**MaxDiscount** | **Number** | Maximum discount for percentage discounts | [optional]
+**RoundingStrategy** | **Number** | Controls how the loyalty voucher's amount is rounded | [optional]
+**ShouldIncludeOrdersWithLoyaltyVoucher** | **Boolean** | Controls whether we should include orders with loyalty vouchers in the campaign calculation | [optional]
+**VoucherValidPeriodDays** | **Number** | Number of days for which the voucher will be valid. | [optional]
+**IncludeDeliveryFee** | **Boolean** | Discount will include delivery fee | [optional]
+**AutoApplyResultingVouchers** | **Boolean** | Automatically apply resulting vouchers | [optional]
+**IncludeExistingOrders** | **Boolean** | Campaign will apply to existing orders | [optional]
+**IsEnabled** | **Boolean** | Is campaign enabled | [optional]
+**StoreIds** | **[Number]** | Ids of stores this campaign applies to | [optional]
+**AppId** | **String** | The app that this campaign belongs to. | [optional]
+**ForceDiscount** | **Boolean** | Controls whether the voucher generated from this campaign will override discount exclusions | [optional]
+
+
diff --git a/docs/LoyaltyCampaignBase.md b/docs/LoyaltyCampaignBase.md
new file mode 100644
index 00000000..a6781751
--- /dev/null
+++ b/docs/LoyaltyCampaignBase.md
@@ -0,0 +1,21 @@
+# Flipdish.LoyaltyCampaignBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrdersBeforeReceivingVoucher** | **Number** | Number of orders customer needs to make, before receiving voucher | [optional]
+**PercentDiscountAmount** | **Number** | Discount amount in percents | [optional]
+**MaxDiscount** | **Number** | Maximum discount for percentage discounts | [optional]
+**RoundingStrategy** | **Number** | Controls how the loyalty voucher's amount is rounded | [optional]
+**ShouldIncludeOrdersWithLoyaltyVoucher** | **Boolean** | Controls whether we should include orders with loyalty vouchers in the campaign calculation | [optional]
+**VoucherValidPeriodDays** | **Number** | Number of days for which the voucher will be valid. | [optional]
+**IncludeDeliveryFee** | **Boolean** | Discount will include delivery fee | [optional]
+**AutoApplyResultingVouchers** | **Boolean** | Automatically apply resulting vouchers | [optional]
+**IncludeExistingOrders** | **Boolean** | Campaign will apply to existing orders | [optional]
+**IsEnabled** | **Boolean** | Is campaign enabled | [optional]
+**StoreIds** | **[Number]** | Ids of stores this campaign applies to | [optional]
+**AppId** | **String** | The app that this campaign belongs to. | [optional]
+**ForceDiscount** | **Boolean** | Controls whether the voucher generated from this campaign will override discount exclusions | [optional]
+
+
diff --git a/docs/LoyaltyCampaignCreatedEvent.md b/docs/LoyaltyCampaignCreatedEvent.md
new file mode 100644
index 00000000..e4e54eb0
--- /dev/null
+++ b/docs/LoyaltyCampaignCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.LoyaltyCampaignCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**LoyaltyCampaign** | [**LoyaltyCampaign**](LoyaltyCampaign.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LoyaltyCampaignDeletedEvent.md b/docs/LoyaltyCampaignDeletedEvent.md
new file mode 100644
index 00000000..f6f47674
--- /dev/null
+++ b/docs/LoyaltyCampaignDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.LoyaltyCampaignDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**LoyaltyCampaign** | [**LoyaltyCampaign**](LoyaltyCampaign.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LoyaltyCampaignUpdatedEvent.md b/docs/LoyaltyCampaignUpdatedEvent.md
new file mode 100644
index 00000000..117bdec6
--- /dev/null
+++ b/docs/LoyaltyCampaignUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.LoyaltyCampaignUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**LoyaltyCampaign** | [**LoyaltyCampaign**](LoyaltyCampaign.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/LumpDiscountDetails.md b/docs/LumpDiscountDetails.md
new file mode 100644
index 00000000..459bf9e0
--- /dev/null
+++ b/docs/LumpDiscountDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.LumpDiscountDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DiscountAmount** | **Number** | Discount amount | [optional]
+
+
diff --git a/docs/MappedLocation.md b/docs/MappedLocation.md
new file mode 100644
index 00000000..1224eda9
--- /dev/null
+++ b/docs/MappedLocation.md
@@ -0,0 +1,10 @@
+# Flipdish.MappedLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationId** | **Number** | Id of the Location |
+**ExternalLocationId** | **String** | Id of the Location on an external system |
+
+
diff --git a/docs/MaskedPhoneNumber.md b/docs/MaskedPhoneNumber.md
new file mode 100644
index 00000000..41b6af4c
--- /dev/null
+++ b/docs/MaskedPhoneNumber.md
@@ -0,0 +1,11 @@
+# Flipdish.MaskedPhoneNumber
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsEnabled** | **Boolean** | Defines if the feature is enabled | [optional]
+**PhoneNumber** | **String** | Defines the phone number to call | [optional]
+**Code** | **String** | Defines the code to enter | [optional]
+
+
diff --git a/docs/Menu.md b/docs/Menu.md
new file mode 100644
index 00000000..4e8acba4
--- /dev/null
+++ b/docs/Menu.md
@@ -0,0 +1,44 @@
+# Flipdish.Menu
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**ModifiedTime** | **Date** | Last modified time | [optional]
+**VersionNumber** | **Number** | Menu version | [optional]
+**ImageName** | **String** | Image Name | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**Name** | **String** | Name of Menu, only shown in portal | [optional]
+**Locked** | **Boolean** | Locked: is menu locked against modifcation | [optional]
+**MenuSections** | [**[MenuSection]**](MenuSection.md) | Menu sections (startes, main etc) | [optional]
+**TaxRates** | [**[MenuTaxRate]**](MenuTaxRate.md) | Menu tax rates | [optional]
+**AppId** | **String** | Identifier of App the menu is attached to | [optional]
+**DisplaySectionLinks** | **Boolean** | Display menu section link on UI | [optional]
+**MenuSectionBehaviour** | **String** | Menu section behaviour | [optional]
+**TaxType** | **String** | Tax type | [optional]
+**IsIntegrated** | **Boolean** | Flag to indicate if the menu is integrated (contains metadata) | [optional]
+
+
+
+## Enum: MenuSectionBehaviourEnum
+
+
+* `ExpandSingle` (value: `"ExpandSingle"`)
+
+* `ExpandMultiple` (value: `"ExpandMultiple"`)
+
+
+
+
+
+## Enum: TaxTypeEnum
+
+
+* `IncludedInBasePrice` (value: `"IncludedInBasePrice"`)
+
+* `ExcludedFromBasePrice` (value: `"ExcludedFromBasePrice"`)
+
+
+
+
diff --git a/docs/MenuAsyncCreationCompletedEvent.md b/docs/MenuAsyncCreationCompletedEvent.md
new file mode 100644
index 00000000..31c24dca
--- /dev/null
+++ b/docs/MenuAsyncCreationCompletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuAsyncCreationCompletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Menu** | [**Menu**](Menu.md) | | [optional]
+**Success** | **Boolean** | Flag indicating if the menu creation was successful | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuBase.md b/docs/MenuBase.md
new file mode 100644
index 00000000..dcaead0a
--- /dev/null
+++ b/docs/MenuBase.md
@@ -0,0 +1,34 @@
+# Flipdish.MenuBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DisplaySectionLinks** | **Boolean** | Display menu section link on UI | [optional]
+**MenuSectionBehaviour** | **String** | Menu section behaviour | [optional]
+**TaxType** | **String** | Tax type | [optional]
+**IsIntegrated** | **Boolean** | Flag to indicate if the menu is integrated (contains metadata) | [optional]
+
+
+
+## Enum: MenuSectionBehaviourEnum
+
+
+* `ExpandSingle` (value: `"ExpandSingle"`)
+
+* `ExpandMultiple` (value: `"ExpandMultiple"`)
+
+
+
+
+
+## Enum: TaxTypeEnum
+
+
+* `IncludedInBasePrice` (value: `"IncludedInBasePrice"`)
+
+* `ExcludedFromBasePrice` (value: `"ExcludedFromBasePrice"`)
+
+
+
+
diff --git a/docs/MenuBulkEditEvent.md b/docs/MenuBulkEditEvent.md
new file mode 100644
index 00000000..b3e47447
--- /dev/null
+++ b/docs/MenuBulkEditEvent.md
@@ -0,0 +1,22 @@
+# Flipdish.MenuBulkEditEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**MenuName** | **String** | Menu Name | [optional]
+**Description** | **String** | Description | [optional]
+**Item** | **String** | Product | [optional]
+**InstanceCount** | **Number** | Quantity of product | [optional]
+**IsAvailable** | **Boolean** | Visibility of the item | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuId** | **Number** | The menu Id | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuCatalogItem.md b/docs/MenuCatalogItem.md
new file mode 100644
index 00000000..be042856
--- /dev/null
+++ b/docs/MenuCatalogItem.md
@@ -0,0 +1,25 @@
+# Flipdish.MenuCatalogItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Product Id to the product to add as Menu Item |
+**CellLayoutType** | **String** | Small | Medium | Large | HiddenImage Affects the layout of the menu. | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuCheckpoint.md b/docs/MenuCheckpoint.md
new file mode 100644
index 00000000..82868bbb
--- /dev/null
+++ b/docs/MenuCheckpoint.md
@@ -0,0 +1,12 @@
+# Flipdish.MenuCheckpoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuCheckpointId** | **Number** | Identifier of Menu Checkpoint | [optional]
+**Time** | **Date** | Time of creation of checkpoint | [optional]
+**Name** | **String** | Name of checkpoint | [optional]
+**Url** | **String** | Url that points to Serialized Checkpoint | [optional]
+
+
diff --git a/docs/MenuCheckpointCreatedEvent.md b/docs/MenuCheckpointCreatedEvent.md
new file mode 100644
index 00000000..54e1ff41
--- /dev/null
+++ b/docs/MenuCheckpointCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuCheckpointCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Menu** | [**Menu**](Menu.md) | | [optional]
+**MenuId** | **Number** | Menu Id | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuCreatedEvent.md b/docs/MenuCreatedEvent.md
new file mode 100644
index 00000000..ae9b9f63
--- /dev/null
+++ b/docs/MenuCreatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.MenuCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Menu** | [**Menu**](Menu.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuElementEditResponse.md b/docs/MenuElementEditResponse.md
new file mode 100644
index 00000000..c7496441
--- /dev/null
+++ b/docs/MenuElementEditResponse.md
@@ -0,0 +1,43 @@
+# Flipdish.MenuElementEditResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SectionName** | **String** | Section name | [optional]
+**ItemName** | **String** | Item name | [optional]
+**OptionSetName** | **String** | Option Set name | [optional]
+**OptionSetItemName** | **String** | Element name | [optional]
+**MenuElementId** | **Number** | Holds the information for the A and CNAME Records of a domain. | [optional]
+**MenuElementType** | **String** | Type of menu element | [optional]
+**ValidationCode** | **String** | Validation message for menu element issue | [optional]
+
+
+
+## Enum: MenuElementTypeEnum
+
+
+* `Item` (value: `"Item"`)
+
+* `OptionSetItem` (value: `"OptionSetItem"`)
+
+
+
+
+
+## Enum: ValidationCodeEnum
+
+
+* `Success` (value: `"Success"`)
+
+* `MinimumCountViolation` (value: `"MinimumCountViolation"`)
+
+* `MasterOptionSetViolation` (value: `"MasterOptionSetViolation"`)
+
+* `IncorrectElementTypeInMenu` (value: `"IncorrectElementTypeInMenu"`)
+
+* `DBFailed` (value: `"DBFailed"`)
+
+
+
+
diff --git a/docs/MenuElementHide.md b/docs/MenuElementHide.md
new file mode 100644
index 00000000..e47334c8
--- /dev/null
+++ b/docs/MenuElementHide.md
@@ -0,0 +1,21 @@
+# Flipdish.MenuElementHide
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuElementId** | **Number** | id of the menu item or menu option set item | [optional]
+**MenuElementType** | **String** | Type of menu element | [optional]
+
+
+
+## Enum: MenuElementTypeEnum
+
+
+* `Item` (value: `"Item"`)
+
+* `OptionSetItem` (value: `"OptionSetItem"`)
+
+
+
+
diff --git a/docs/MenuElementListItemResponse.md b/docs/MenuElementListItemResponse.md
new file mode 100644
index 00000000..18cbbd90
--- /dev/null
+++ b/docs/MenuElementListItemResponse.md
@@ -0,0 +1,21 @@
+# Flipdish.MenuElementListItemResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuElementId** | **Number** | Holds the information for the A and CNAME Records of a domain. | [optional]
+**MenuElementType** | **String** | Type of menu element | [optional]
+
+
+
+## Enum: MenuElementTypeEnum
+
+
+* `Item` (value: `"Item"`)
+
+* `OptionSetItem` (value: `"OptionSetItem"`)
+
+
+
+
diff --git a/docs/MenuElementListResponse.md b/docs/MenuElementListResponse.md
new file mode 100644
index 00000000..0a63b008
--- /dev/null
+++ b/docs/MenuElementListResponse.md
@@ -0,0 +1,13 @@
+# Flipdish.MenuElementListResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuName** | **String** | Menu Name | [optional]
+**MenuElementName** | **String** | Menu Item Name | [optional]
+**InstanceCount** | **Number** | Menu Item Count | [optional]
+**IsAvailable** | **Boolean** | Menu Item is hide or unhide | [optional]
+**Items** | [**[MenuElementListItemResponse]**](MenuElementListItemResponse.md) | List of Items | [optional]
+
+
diff --git a/docs/MenuItemOptionSet.md b/docs/MenuItemOptionSet.md
new file mode 100644
index 00000000..10319fff
--- /dev/null
+++ b/docs/MenuItemOptionSet.md
@@ -0,0 +1,35 @@
+# Flipdish.MenuItemOptionSet
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemOptionSetId** | **Number** | Menu item option set identifier | [optional]
+**ImageName** | **String** | Image Name | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuItemOptionSetItems** | [**[MenuItemOptionSetItem]**](MenuItemOptionSetItem.md) | Option set items | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+**CatalogItemId** | **String** | Catalog item Id when the OptionSet is associated to a Product | [optional]
+**Name** | **String** | Menu item option set name | [optional]
+**IsMasterOptionSet** | **Boolean** | Is master option set. This can affect the layout of the options in the menu displayed to the customer. Usually it is true if the option could be considerd a standalone item as opposed to an addition (\"with ketchup\") or modifier (\"large\"). | [optional]
+**DisplayOrder** | **Number** | Display order. Displayed in ascending order. | [optional]
+**MinSelectCount** | **Number** | Minimum items must be selected | [optional]
+**MaxSelectCount** | **Number** | Maximum number of items can be selected | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuItemOptionSetBase.md b/docs/MenuItemOptionSetBase.md
new file mode 100644
index 00000000..847fcb6f
--- /dev/null
+++ b/docs/MenuItemOptionSetBase.md
@@ -0,0 +1,30 @@
+# Flipdish.MenuItemOptionSetBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Menu item option set name | [optional]
+**IsMasterOptionSet** | **Boolean** | Is master option set. This can affect the layout of the options in the menu displayed to the customer. Usually it is true if the option could be considerd a standalone item as opposed to an addition (\"with ketchup\") or modifier (\"large\"). | [optional]
+**DisplayOrder** | **Number** | Display order. Displayed in ascending order. | [optional]
+**MinSelectCount** | **Number** | Minimum items must be selected | [optional]
+**MaxSelectCount** | **Number** | Maximum number of items can be selected | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuItemOptionSetCreatedEvent.md b/docs/MenuItemOptionSetCreatedEvent.md
new file mode 100644
index 00000000..773ff816
--- /dev/null
+++ b/docs/MenuItemOptionSetCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuItemOptionSetCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuItemOptionSet** | [**MenuItemOptionSet**](MenuItemOptionSet.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuItemOptionSetDeletedEvent.md b/docs/MenuItemOptionSetDeletedEvent.md
new file mode 100644
index 00000000..1a70e95f
--- /dev/null
+++ b/docs/MenuItemOptionSetDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuItemOptionSetDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuItemOptionSet** | [**MenuItemOptionSet**](MenuItemOptionSet.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuItemOptionSetItem.md b/docs/MenuItemOptionSetItem.md
new file mode 100644
index 00000000..ff5898bd
--- /dev/null
+++ b/docs/MenuItemOptionSetItem.md
@@ -0,0 +1,38 @@
+# Flipdish.MenuItemOptionSetItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItemOptionSetItemId** | **Number** | Menu item option set item identifier | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+**Metadata** | [**[CreateMetadata]**](CreateMetadata.md) | List of metadata | [optional]
+**NextMenuItemOptionSetId** | **Number** | if null, next option set is next. if -1, this is the final option set | [optional]
+**CatalogItemId** | **String** | Catalog item Id when the OptionSet is associated to a Product | [optional]
+**TaxRateName** | **String** | Tax rate name | [optional]
+**TaxRateId** | **Number** | | [optional]
+**TaxValue** | **Number** | | [optional]
+**Name** | **String** | Name | [optional]
+**Price** | **Number** | Price | [optional]
+**DepositReturnFee** | **Number** | An optional fee that can be added to the price of the item. | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**DisplayOrder** | **Number** | Display order. Displayed in ascending order. | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuItemOptionSetItemBase.md b/docs/MenuItemOptionSetItemBase.md
new file mode 100644
index 00000000..deefcd6e
--- /dev/null
+++ b/docs/MenuItemOptionSetItemBase.md
@@ -0,0 +1,31 @@
+# Flipdish.MenuItemOptionSetItemBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name | [optional]
+**Price** | **Number** | Price | [optional]
+**DepositReturnFee** | **Number** | An optional fee that can be added to the price of the item. | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**DisplayOrder** | **Number** | Display order. Displayed in ascending order. | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuItemOptionSetItemCreatedEvent.md b/docs/MenuItemOptionSetItemCreatedEvent.md
new file mode 100644
index 00000000..c53fb030
--- /dev/null
+++ b/docs/MenuItemOptionSetItemCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuItemOptionSetItemCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuItemOptionSetItem** | [**MenuItemOptionSetItem**](MenuItemOptionSetItem.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuItemOptionSetItemDeletedEvent.md b/docs/MenuItemOptionSetItemDeletedEvent.md
new file mode 100644
index 00000000..d9f7c09b
--- /dev/null
+++ b/docs/MenuItemOptionSetItemDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuItemOptionSetItemDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuItemOptionSetItem** | [**MenuItemOptionSetItem**](MenuItemOptionSetItem.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuItemOptionSetItemUpdatedEvent.md b/docs/MenuItemOptionSetItemUpdatedEvent.md
new file mode 100644
index 00000000..7d690ae0
--- /dev/null
+++ b/docs/MenuItemOptionSetItemUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuItemOptionSetItemUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuItemOptionSetItem** | [**MenuItemOptionSetItem**](MenuItemOptionSetItem.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuItemOptionSetUpdatedEvent.md b/docs/MenuItemOptionSetUpdatedEvent.md
new file mode 100644
index 00000000..af38b18d
--- /dev/null
+++ b/docs/MenuItemOptionSetUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuItemOptionSetUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuItemOptionSet** | [**MenuItemOptionSet**](MenuItemOptionSet.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuNutritionInfoHeader.md b/docs/MenuNutritionInfoHeader.md
new file mode 100644
index 00000000..c09664fa
--- /dev/null
+++ b/docs/MenuNutritionInfoHeader.md
@@ -0,0 +1,11 @@
+# Flipdish.MenuNutritionInfoHeader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu Id | [optional]
+**NutritionInfoVersionGuid** | **String** | Nutrition information version guid (generated every time the nutrition information is updated) | [optional]
+**AbsoluteUrl** | **String** | Absolute URL of the nutrition information json file | [optional]
+
+
diff --git a/docs/MenuObjectDisplayOrders.md b/docs/MenuObjectDisplayOrders.md
new file mode 100644
index 00000000..aa3661d6
--- /dev/null
+++ b/docs/MenuObjectDisplayOrders.md
@@ -0,0 +1,9 @@
+# Flipdish.MenuObjectDisplayOrders
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DisplayOrders** | [**[ObjectDisplayOrder]**](ObjectDisplayOrder.md) | List of Objects and their new Display Orders | [optional]
+
+
diff --git a/docs/MenuOptionSetItemsApi.md b/docs/MenuOptionSetItemsApi.md
new file mode 100644
index 00000000..24d7706f
--- /dev/null
+++ b/docs/MenuOptionSetItemsApi.md
@@ -0,0 +1,464 @@
+# Flipdish.MenuOptionSetItemsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addMenuItemOptionSetItem**](MenuOptionSetItemsApi.md#addMenuItemOptionSetItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems | Create menu item option set item
+[**deleteOptionSetItemImage**](MenuOptionSetItemsApi.md#deleteOptionSetItemImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/image | Delete menu item option set item image
+[**getMenuItemOptionSetItemById**](MenuOptionSetItemsApi.md#getMenuItemOptionSetItemById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId} | Get menu item option set item by identifier
+[**getMenuItemOptionSetItems**](MenuOptionSetItemsApi.md#getMenuItemOptionSetItems) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems | Get menu item option set items
+[**removeMenuItemOptionSetItem**](MenuOptionSetItemsApi.md#removeMenuItemOptionSetItem) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId} | Delete menu item option set item
+[**setOptionSetItemTax**](MenuOptionSetItemsApi.md#setOptionSetItemTax) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/taxrate/{taxRateId} | Set Tax Rate on OptionSetItem
+[**updateMenuItemOptionSetItem**](MenuOptionSetItemsApi.md#updateMenuItemOptionSetItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId} | Update menu item option set item
+[**uploadOptionSetItemImage**](MenuOptionSetItemsApi.md#uploadOptionSetItemImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/image | Upload menu item option set item image
+
+
+
+## addMenuItemOptionSetItem
+
+> Object addMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItem)
+
+Create menu item option set item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSetItem = new Flipdish.MenuItemOptionSetItemBase(); // MenuItemOptionSetItemBase | Option set item
+apiInstance.addMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItem, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSetItem** | [**MenuItemOptionSetItemBase**](MenuItemOptionSetItemBase.md)| Option set item |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteOptionSetItemImage
+
+> deleteOptionSetItemImage(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId)
+
+Delete menu item option set item image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSetItemId = 56; // Number | Option set item identifier
+apiInstance.deleteOptionSetItemImage(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSetItemId** | **Number**| Option set item identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuItemOptionSetItemById
+
+> RestApiResultMenuItemOptionSetItem getMenuItemOptionSetItemById(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId)
+
+Get menu item option set item by identifier
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSetItemId = 56; // Number | Option set item identifier
+apiInstance.getMenuItemOptionSetItemById(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSetItemId** | **Number**| Option set item identifier |
+
+### Return type
+
+[**RestApiResultMenuItemOptionSetItem**](RestApiResultMenuItemOptionSetItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuItemOptionSetItems
+
+> RestApiArrayResultMenuItemOptionSetItem getMenuItemOptionSetItems(menuId, menuSectionId, menuSectionItemId, optionSetId)
+
+Get menu item option set items
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+apiInstance.getMenuItemOptionSetItems(menuId, menuSectionId, menuSectionItemId, optionSetId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuItemOptionSetItem**](RestApiArrayResultMenuItemOptionSetItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## removeMenuItemOptionSetItem
+
+> removeMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId)
+
+Delete menu item option set item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSetItemId = 56; // Number | Option set item identifier
+apiInstance.removeMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSetItemId** | **Number**| Option set item identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setOptionSetItemTax
+
+> setOptionSetItemTax(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, taxRateId)
+
+Set Tax Rate on OptionSetItem
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number |
+let menuSectionItemId = 56; // Number |
+let optionSetId = 56; // Number |
+let menuItemOptionSetItemId = 56; // Number | Option set item identifier
+let taxRateId = 56; // Number | Tax Rate to use
+apiInstance.setOptionSetItemTax(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, taxRateId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| |
+ **menuSectionItemId** | **Number**| |
+ **optionSetId** | **Number**| |
+ **menuItemOptionSetItemId** | **Number**| Option set item identifier |
+ **taxRateId** | **Number**| Tax Rate to use |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateMenuItemOptionSetItem
+
+> updateMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, menuItemOptionSetItem, opts)
+
+Update menu item option set item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSetItemId = 56; // Number | Option set item identifier
+let menuItemOptionSetItem = new Flipdish.MenuItemOptionSetItemBase(); // MenuItemOptionSetItemBase | Option set item (delta)
+let opts = {
+ 'undoAfter': 3.4 // Number | An optional time period, in hours, after which the hide-section operation will be undone.
+};
+apiInstance.updateMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, menuItemOptionSetItem, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSetItemId** | **Number**| Option set item identifier |
+ **menuItemOptionSetItem** | [**MenuItemOptionSetItemBase**](MenuItemOptionSetItemBase.md)| Option set item (delta) |
+ **undoAfter** | **Number**| An optional time period, in hours, after which the hide-section operation will be undone. | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## uploadOptionSetItemImage
+
+> RestApiStringResult uploadOptionSetItemImage(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, Image)
+
+Upload menu item option set item image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSetItemId = 56; // Number | Option set item identifier
+let Image = "/path/to/file"; // File | Option set item image
+apiInstance.uploadOptionSetItemImage(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSetItemId** | **Number**| Option set item identifier |
+ **Image** | **File**| Option set item image |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/MenuOptionSetsApi.md b/docs/MenuOptionSetsApi.md
new file mode 100644
index 00000000..8bdf20c0
--- /dev/null
+++ b/docs/MenuOptionSetsApi.md
@@ -0,0 +1,388 @@
+# Flipdish.MenuOptionSetsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createMenuItemOptionSet**](MenuOptionSetsApi.md#createMenuItemOptionSet) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets | Create menu item option set
+[**deleteMenuItemOptionSet**](MenuOptionSetsApi.md#deleteMenuItemOptionSet) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId} | Delete menu item option set
+[**deleteOptionSetImage**](MenuOptionSetsApi.md#deleteOptionSetImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/image | Delete option set image
+[**getMenuItemOptionSetById**](MenuOptionSetsApi.md#getMenuItemOptionSetById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId} | Get menu item option set by identifier
+[**getMenuItemOptionSets**](MenuOptionSetsApi.md#getMenuItemOptionSets) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets | Get menu item option sets
+[**updateMenuItemOptionSet**](MenuOptionSetsApi.md#updateMenuItemOptionSet) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId} | Update menu item option set
+[**uploadOptionSetImage**](MenuOptionSetsApi.md#uploadOptionSetImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/image | Upload menu item option set image
+
+
+
+## createMenuItemOptionSet
+
+> Object createMenuItemOptionSet(menuId, menuSectionId, menuSectionItemId, menuItemOptionSet)
+
+Create menu item option set
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let menuItemOptionSet = new Flipdish.MenuItemOptionSetBase(); // MenuItemOptionSetBase | Menu item option set
+apiInstance.createMenuItemOptionSet(menuId, menuSectionId, menuSectionItemId, menuItemOptionSet, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **menuItemOptionSet** | [**MenuItemOptionSetBase**](MenuItemOptionSetBase.md)| Menu item option set |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteMenuItemOptionSet
+
+> deleteMenuItemOptionSet(menuId, menuSectionItemId, menuSectionId, optionSetId)
+
+Delete menu item option set
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let optionSetId = 56; // Number | Option set identifier
+apiInstance.deleteMenuItemOptionSet(menuId, menuSectionItemId, menuSectionId, optionSetId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **optionSetId** | **Number**| Option set identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteOptionSetImage
+
+> deleteOptionSetImage(menuId, menuSectionId, menuSectionItemId, optionSetId)
+
+Delete option set image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+apiInstance.deleteOptionSetImage(menuId, menuSectionId, menuSectionItemId, optionSetId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuItemOptionSetById
+
+> RestApiResultMenuItemOptionSet getMenuItemOptionSetById(menuId, menuSectionId, menuSectionItemId, optionSetId)
+
+Get menu item option set by identifier
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Menu item option set identifier
+apiInstance.getMenuItemOptionSetById(menuId, menuSectionId, menuSectionItemId, optionSetId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Menu item option set identifier |
+
+### Return type
+
+[**RestApiResultMenuItemOptionSet**](RestApiResultMenuItemOptionSet.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuItemOptionSets
+
+> RestApiArrayResultMenuItemOptionSet getMenuItemOptionSets(menuId, menuSectionId, menuSectionItemId)
+
+Get menu item option sets
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+apiInstance.getMenuItemOptionSets(menuId, menuSectionId, menuSectionItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuItemOptionSet**](RestApiArrayResultMenuItemOptionSet.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateMenuItemOptionSet
+
+> updateMenuItemOptionSet(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSet)
+
+Update menu item option set
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let menuItemOptionSet = new Flipdish.MenuItemOptionSetBase(); // MenuItemOptionSetBase | Menu item option set (delta)
+apiInstance.updateMenuItemOptionSet(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSet, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **menuItemOptionSet** | [**MenuItemOptionSetBase**](MenuItemOptionSetBase.md)| Menu item option set (delta) |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## uploadOptionSetImage
+
+> RestApiStringResult uploadOptionSetImage(menuId, menuSectionId, menuSectionItemId, optionSetId, Image)
+
+Upload menu item option set image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuOptionSetsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let optionSetId = 56; // Number | Option set identifier
+let Image = "/path/to/file"; // File | Option set image
+apiInstance.uploadOptionSetImage(menuId, menuSectionId, menuSectionItemId, optionSetId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **optionSetId** | **Number**| Option set identifier |
+ **Image** | **File**| Option set image |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/MenuSection.md b/docs/MenuSection.md
new file mode 100644
index 00000000..c44b8bb9
--- /dev/null
+++ b/docs/MenuSection.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSection
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuSectionId** | **Number** | Menu section identifier | [optional]
+**MenuItems** | [**[MenuSectionItem]**](MenuSectionItem.md) | Menu items | [optional]
+**MenuSectionAvailability** | [**MenuSectionAvailability**](MenuSectionAvailability.md) | | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+**ImageName** | **String** | Image Name | [optional]
+**Name** | **String** | Name | [optional]
+**Description** | **String** | Description | [optional]
+**DisplayOrder** | **Number** | Display order | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**IsHiddenFromCustomers** | **Boolean** | Is hidden from customer. Perhaps when the item is out of stock. | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+
+
diff --git a/docs/MenuSectionAvailability.md b/docs/MenuSectionAvailability.md
new file mode 100644
index 00000000..e42aadcb
--- /dev/null
+++ b/docs/MenuSectionAvailability.md
@@ -0,0 +1,25 @@
+# Flipdish.MenuSectionAvailability
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AvailableTimes** | [**[BusinessHoursPeriod]**](BusinessHoursPeriod.md) | Available times | [optional]
+**AvailabilityMode** | **String** | Availability mode | [optional]
+
+
+
+## Enum: AvailabilityModeEnum
+
+
+* `DisplayAlways` (value: `"DisplayAlways"`)
+
+* `DisplayBasedOnTimes` (value: `"DisplayBasedOnTimes"`)
+
+* `DisplayAlwaysStartCollapsed` (value: `"DisplayAlwaysStartCollapsed"`)
+
+* `DisplayAlwaysStartCollapsedBasedOnTimes` (value: `"DisplayAlwaysStartCollapsedBasedOnTimes"`)
+
+
+
+
diff --git a/docs/MenuSectionAvailabilityBase.md b/docs/MenuSectionAvailabilityBase.md
new file mode 100644
index 00000000..b13fb66e
--- /dev/null
+++ b/docs/MenuSectionAvailabilityBase.md
@@ -0,0 +1,24 @@
+# Flipdish.MenuSectionAvailabilityBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AvailabilityMode** | **String** | Availability mode | [optional]
+
+
+
+## Enum: AvailabilityModeEnum
+
+
+* `DisplayAlways` (value: `"DisplayAlways"`)
+
+* `DisplayBasedOnTimes` (value: `"DisplayBasedOnTimes"`)
+
+* `DisplayAlwaysStartCollapsed` (value: `"DisplayAlwaysStartCollapsed"`)
+
+* `DisplayAlwaysStartCollapsedBasedOnTimes` (value: `"DisplayAlwaysStartCollapsedBasedOnTimes"`)
+
+
+
+
diff --git a/docs/MenuSectionBase.md b/docs/MenuSectionBase.md
new file mode 100644
index 00000000..e66761ce
--- /dev/null
+++ b/docs/MenuSectionBase.md
@@ -0,0 +1,16 @@
+# Flipdish.MenuSectionBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name | [optional]
+**Description** | **String** | Description | [optional]
+**DisplayOrder** | **Number** | Display order | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**IsHiddenFromCustomers** | **Boolean** | Is hidden from customer. Perhaps when the item is out of stock. | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuSectionId** | **Number** | Menu Section Id | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
diff --git a/docs/MenuSectionCreatedEvent.md b/docs/MenuSectionCreatedEvent.md
new file mode 100644
index 00000000..719436f0
--- /dev/null
+++ b/docs/MenuSectionCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSectionCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuSection** | [**MenuSection**](MenuSection.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuSectionDeletedEvent.md b/docs/MenuSectionDeletedEvent.md
new file mode 100644
index 00000000..0e500b66
--- /dev/null
+++ b/docs/MenuSectionDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSectionDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuSection** | [**MenuSection**](MenuSection.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuSectionItem.md b/docs/MenuSectionItem.md
new file mode 100644
index 00000000..f42aa500
--- /dev/null
+++ b/docs/MenuSectionItem.md
@@ -0,0 +1,61 @@
+# Flipdish.MenuSectionItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ActualPrice** | **Number** | Actual price - the minimum price possible when all required option set items prices are included. | [optional]
+**MenuItemOptionSets** | [**[MenuItemOptionSet]**](MenuItemOptionSet.md) | Menu item option sets | [optional]
+**DailySpecialHours** | [**[BusinessHoursPeriod]**](BusinessHoursPeriod.md) | Daily special hours | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+**TaxRateName** | **String** | Tax rate name | [optional]
+**TaxRateId** | **Number** | TaxRate | [optional]
+**TaxValue** | **Number** | TaxValue - the tax associated with this item, based on TaxRate / TaxType and Currency (currency determines decimal point precision) | [optional]
+**ExcludeFromVoucherDiscounting** | **Boolean** | If true, the item is excluded from voucher discount calculations | [optional]
+**Metadata** | [**[CreateMetadata]**](CreateMetadata.md) | List of metadata | [optional]
+**CatalogItemId** | **String** | Catalog item Id when the Item is associated to a Product | [optional]
+**Name** | **String** | Menu item name (like \"Korma\") | [optional]
+**Description** | **String** | Description (like \"A lovely dish from the east\") | [optional]
+**SpicinessRating** | **String** | Spiciness rating | [optional]
+**Price** | **Number** | Price - this is only used when there is no master option set and should be set to 0 if a master option set exists. | [optional]
+**DepositReturnFee** | **Number** | An optional fee that can be added to the price of the item. | [optional]
+**DisplayOrder** | **Number** | Display order | [optional]
+**Alcohol** | **Boolean** | To be set true if the item or an option of the item contains an alcoholic drink. | [optional]
+**IsAvailable** | **Boolean** | True if we accept orders for this item still | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**DisableVouchers** | **Boolean** | If true, then vouchers won't be applied for this item | [optional]
+**ImageName** | **String** | Image url | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuItemId** | **Number** | Menu Item Id | [optional]
+
+
+
+## Enum: SpicinessRatingEnum
+
+
+* `NotRated` (value: `"NotRated"`)
+
+* `Mild` (value: `"Mild"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Hot` (value: `"Hot"`)
+
+
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuSectionItemBase.md b/docs/MenuSectionItemBase.md
new file mode 100644
index 00000000..e99652ae
--- /dev/null
+++ b/docs/MenuSectionItemBase.md
@@ -0,0 +1,53 @@
+# Flipdish.MenuSectionItemBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Menu item name (like \"Korma\") | [optional]
+**Description** | **String** | Description (like \"A lovely dish from the east\") | [optional]
+**SpicinessRating** | **String** | Spiciness rating | [optional]
+**Price** | **Number** | Price - this is only used when there is no master option set and should be set to 0 if a master option set exists. | [optional]
+**DepositReturnFee** | **Number** | An optional fee that can be added to the price of the item. | [optional]
+**DisplayOrder** | **Number** | Display order | [optional]
+**Alcohol** | **Boolean** | To be set true if the item or an option of the item contains an alcoholic drink. | [optional]
+**IsAvailable** | **Boolean** | True if we accept orders for this item still | [optional]
+**CellLayoutType** | **String** | Small | Medium | Large Affects the layout of the menu. | [optional]
+**DisableVouchers** | **Boolean** | If true, then vouchers won't be applied for this item | [optional]
+**ImageName** | **String** | Image url | [optional]
+**ImageUrl** | **String** | Image url | [optional]
+**MenuItemId** | **Number** | Menu Item Id | [optional]
+**ExcludeFromVoucherDiscounting** | **Boolean** | If true, the item is excluded from voucher discount calculations | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+
+
+
+## Enum: SpicinessRatingEnum
+
+
+* `NotRated` (value: `"NotRated"`)
+
+* `Mild` (value: `"Mild"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Hot` (value: `"Hot"`)
+
+
+
+
+
+## Enum: CellLayoutTypeEnum
+
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `HiddenImage` (value: `"HiddenImage"`)
+
+
+
+
diff --git a/docs/MenuSectionItemCreatedEvent.md b/docs/MenuSectionItemCreatedEvent.md
new file mode 100644
index 00000000..1294ff64
--- /dev/null
+++ b/docs/MenuSectionItemCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSectionItemCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuSectionItem** | [**MenuSectionItem**](MenuSectionItem.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuSectionItemDeletedEvent.md b/docs/MenuSectionItemDeletedEvent.md
new file mode 100644
index 00000000..db9ef5e4
--- /dev/null
+++ b/docs/MenuSectionItemDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSectionItemDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Event description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuSectionItem** | [**MenuSectionItem**](MenuSectionItem.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuSectionItemUpdatedEvent.md b/docs/MenuSectionItemUpdatedEvent.md
new file mode 100644
index 00000000..e76b788d
--- /dev/null
+++ b/docs/MenuSectionItemUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSectionItemUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Event description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuSectionItem** | [**MenuSectionItem**](MenuSectionItem.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuSectionItemsApi.md b/docs/MenuSectionItemsApi.md
new file mode 100644
index 00000000..b7082cf6
--- /dev/null
+++ b/docs/MenuSectionItemsApi.md
@@ -0,0 +1,592 @@
+# Flipdish.MenuSectionItemsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**cloneMenuSectionItem**](MenuSectionItemsApi.md#cloneMenuSectionItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/clone | Clone menu section item
+[**createMenuSectionItem**](MenuSectionItemsApi.md#createMenuSectionItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems | Create menu section item
+[**createMenuSectionItemFromCatalogItems**](MenuSectionItemsApi.md#createMenuSectionItemFromCatalogItems) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/add-catalogitems | Create menu section items from a list of Catalog Items
+[**deleteMenuSectionItem**](MenuSectionItemsApi.md#deleteMenuSectionItem) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId} | Delete menu section item
+[**deleteMenuSectionItemImage**](MenuSectionItemsApi.md#deleteMenuSectionItemImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/image | Delete menu section item image
+[**getMenuItemById**](MenuSectionItemsApi.md#getMenuItemById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId} | Get menu item by identifier
+[**getMenuItems**](MenuSectionItemsApi.md#getMenuItems) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems | Get menu items
+[**moveMenuItem**](MenuSectionItemsApi.md#moveMenuItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/setorder/{destinationDisplayOrder} | Move an Item within a menu
+[**setSectionItemTax**](MenuSectionItemsApi.md#setSectionItemTax) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/taxrate/{taxRateId} | Set tax rate for menu item
+[**updateMenuSectionItem**](MenuSectionItemsApi.md#updateMenuSectionItem) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId} | Update menu section item
+[**uploadMenuSectionItemImage**](MenuSectionItemsApi.md#uploadMenuSectionItemImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/image | Upload menu section item image
+
+
+
+## cloneMenuSectionItem
+
+> RestApiResultMenuSectionItem cloneMenuSectionItem(menuId, menuSectionId, menuSectionItemId)
+
+Clone menu section item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+apiInstance.cloneMenuSectionItem(menuId, menuSectionId, menuSectionItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+
+### Return type
+
+[**RestApiResultMenuSectionItem**](RestApiResultMenuSectionItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createMenuSectionItem
+
+> Object createMenuSectionItem(menuId, menuSectionId, menuSectionItem)
+
+Create menu section item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItem = new Flipdish.MenuSectionItemBase(); // MenuSectionItemBase | Menu section item
+apiInstance.createMenuSectionItem(menuId, menuSectionId, menuSectionItem, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItem** | [**MenuSectionItemBase**](MenuSectionItemBase.md)| Menu section item |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createMenuSectionItemFromCatalogItems
+
+> Object createMenuSectionItemFromCatalogItems(menuId, menuSectionId, createFromCatalogItems)
+
+Create menu section items from a list of Catalog Items
+
+BETA - this endpoint is under development, do not use it in your production system
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let createFromCatalogItems = new Flipdish.CreateMenuSectionItemFromCatalogItems(); // CreateMenuSectionItemFromCatalogItems | Information to create the new MenuSectionItems
+apiInstance.createMenuSectionItemFromCatalogItems(menuId, menuSectionId, createFromCatalogItems, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **createFromCatalogItems** | [**CreateMenuSectionItemFromCatalogItems**](CreateMenuSectionItemFromCatalogItems.md)| Information to create the new MenuSectionItems |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteMenuSectionItem
+
+> deleteMenuSectionItem(menuId, menuSectionId, menuSectionItemId)
+
+Delete menu section item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+apiInstance.deleteMenuSectionItem(menuId, menuSectionId, menuSectionItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteMenuSectionItemImage
+
+> deleteMenuSectionItemImage(menuId, menuSectionId, menuSectionItemId)
+
+Delete menu section item image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+apiInstance.deleteMenuSectionItemImage(menuId, menuSectionId, menuSectionItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuItemById
+
+> RestApiResultMenuSectionItem getMenuItemById(menuId, menuSectionId, menuSectionItemId)
+
+Get menu item by identifier
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu item identifier
+apiInstance.getMenuItemById(menuId, menuSectionId, menuSectionItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu item identifier |
+
+### Return type
+
+[**RestApiResultMenuSectionItem**](RestApiResultMenuSectionItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuItems
+
+> RestApiArrayResultMenuSectionItem getMenuItems(menuId, menuSectionId)
+
+Get menu items
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+apiInstance.getMenuItems(menuId, menuSectionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuSectionItem**](RestApiArrayResultMenuSectionItem.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## moveMenuItem
+
+> moveMenuItem(menuId, menuSectionId, menuSectionItemId, destinationDisplayOrder)
+
+Move an Item within a menu
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Section to put item in (will usually be original section)
+let menuSectionItemId = 56; // Number | ID of Item to be moved
+let destinationDisplayOrder = 56; // Number | New Display Order of item
+apiInstance.moveMenuItem(menuId, menuSectionId, menuSectionItemId, destinationDisplayOrder, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Section to put item in (will usually be original section) |
+ **menuSectionItemId** | **Number**| ID of Item to be moved |
+ **destinationDisplayOrder** | **Number**| New Display Order of item |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setSectionItemTax
+
+> setSectionItemTax(menuId, menuSectionId, menuSectionItemId, taxRateId)
+
+Set tax rate for menu item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Section to put item in (will usually be original section)
+let menuSectionItemId = 56; // Number | ID of Item to be moved
+let taxRateId = 56; // Number | tax rate to be set against item
+apiInstance.setSectionItemTax(menuId, menuSectionId, menuSectionItemId, taxRateId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Section to put item in (will usually be original section) |
+ **menuSectionItemId** | **Number**| ID of Item to be moved |
+ **taxRateId** | **Number**| tax rate to be set against item |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateMenuSectionItem
+
+> updateMenuSectionItem(menuId, menuSectionId, menuSectionItemId, menuSectionItem, opts)
+
+Update menu section item
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let menuSectionItem = new Flipdish.MenuSectionItemBase(); // MenuSectionItemBase | Menu section item (delta)
+let opts = {
+ 'undoAfter': 3.4 // Number | An optional time period, in hours, after which the hide-section operation will be undone
+};
+apiInstance.updateMenuSectionItem(menuId, menuSectionId, menuSectionItemId, menuSectionItem, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **menuSectionItem** | [**MenuSectionItemBase**](MenuSectionItemBase.md)| Menu section item (delta) |
+ **undoAfter** | **Number**| An optional time period, in hours, after which the hide-section operation will be undone | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## uploadMenuSectionItemImage
+
+> RestApiStringResult uploadMenuSectionItemImage(menuId, menuSectionId, menuSectionItemId, Image)
+
+Upload menu section item image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionItemsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionItemId = 56; // Number | Menu section item identifier
+let Image = "/path/to/file"; // File | Menu section item image
+apiInstance.uploadMenuSectionItemImage(menuId, menuSectionId, menuSectionItemId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionItemId** | **Number**| Menu section item identifier |
+ **Image** | **File**| Menu section item image |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/MenuSectionUpdatedEvent.md b/docs/MenuSectionUpdatedEvent.md
new file mode 100644
index 00000000..c2c25a0f
--- /dev/null
+++ b/docs/MenuSectionUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuSectionUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**Description** | **String** | Event description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MenuSection** | [**MenuSection**](MenuSection.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuSectionsApi.md b/docs/MenuSectionsApi.md
new file mode 100644
index 00000000..eadd644c
--- /dev/null
+++ b/docs/MenuSectionsApi.md
@@ -0,0 +1,572 @@
+# Flipdish.MenuSectionsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**cloneMenuSection**](MenuSectionsApi.md#cloneMenuSection) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/clone | Clone menu section
+[**createMenuAvailabilityForDay**](MenuSectionsApi.md#createMenuAvailabilityForDay) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/availability/times/{dayOfWeek} | Set/update menu section availability hours.
+[**createMenuSection**](MenuSectionsApi.md#createMenuSection) | **POST** /api/v1.0/menus/{menuId}/sections | Create menu section
+[**createMenuSectionAvailability**](MenuSectionsApi.md#createMenuSectionAvailability) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/availability | Create menu availability type
+[**deleteMenuSection**](MenuSectionsApi.md#deleteMenuSection) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId} | Delete menu section
+[**deleteMenuSectionImage**](MenuSectionsApi.md#deleteMenuSectionImage) | **DELETE** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/image | Delete menu section image
+[**getMenuSectionById**](MenuSectionsApi.md#getMenuSectionById) | **GET** /api/v1.0/menus/{menuId}/sections/{menuSectionId} | Get menu section by identifier
+[**getMenuSections**](MenuSectionsApi.md#getMenuSections) | **GET** /api/v1.0/menus/{menuId}/sections | Get menu sections
+[**menuSectionsSetItemDisplayOrders**](MenuSectionsApi.md#menuSectionsSetItemDisplayOrders) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitemdisplayorders | Re-arrange Items within a Section
+[**updateMenuSection**](MenuSectionsApi.md#updateMenuSection) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId} | Update menu section
+[**uploadMenuSectionImage**](MenuSectionsApi.md#uploadMenuSectionImage) | **POST** /api/v1.0/menus/{menuId}/sections/{menuSectionId}/image | Upload menu section image
+
+
+
+## cloneMenuSection
+
+> RestApiResultMenuSection cloneMenuSection(menuId, menuSectionId)
+
+Clone menu section
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+apiInstance.cloneMenuSection(menuId, menuSectionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+
+### Return type
+
+[**RestApiResultMenuSection**](RestApiResultMenuSection.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createMenuAvailabilityForDay
+
+> Object createMenuAvailabilityForDay(menuId, menuSectionId, dayOfWeek, businessHoursPeriod)
+
+Set/update menu section availability hours.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let dayOfWeek = "dayOfWeek_example"; // String | Day of the week
+let businessHoursPeriod = new Flipdish.BusinessHoursPeriodBase(); // BusinessHoursPeriodBase | Menu section active hours, note: DayOfWeek property will be overriden by the path parameter.
+apiInstance.createMenuAvailabilityForDay(menuId, menuSectionId, dayOfWeek, businessHoursPeriod, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **dayOfWeek** | **String**| Day of the week |
+ **businessHoursPeriod** | [**BusinessHoursPeriodBase**](BusinessHoursPeriodBase.md)| Menu section active hours, note: DayOfWeek property will be overriden by the path parameter. |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createMenuSection
+
+> Object createMenuSection(menuId, menuSection)
+
+Create menu section
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSection = new Flipdish.MenuSectionBase(); // MenuSectionBase | Menu section
+apiInstance.createMenuSection(menuId, menuSection, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSection** | [**MenuSectionBase**](MenuSectionBase.md)| Menu section |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createMenuSectionAvailability
+
+> Object createMenuSectionAvailability(menuId, menuSectionId, menuSectionAvailability)
+
+Create menu availability type
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSectionAvailability = new Flipdish.MenuSectionAvailabilityBase(); // MenuSectionAvailabilityBase | DisplayAlways, DisplayBasedOnTimes, DisplayAlwaysStartCollapsed, DisplayAlwaysStartCollapsedBasedOnTimes
+apiInstance.createMenuSectionAvailability(menuId, menuSectionId, menuSectionAvailability, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSectionAvailability** | [**MenuSectionAvailabilityBase**](MenuSectionAvailabilityBase.md)| DisplayAlways, DisplayBasedOnTimes, DisplayAlwaysStartCollapsed, DisplayAlwaysStartCollapsedBasedOnTimes |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteMenuSection
+
+> deleteMenuSection(menuId, menuSectionId)
+
+Delete menu section
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+apiInstance.deleteMenuSection(menuId, menuSectionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteMenuSectionImage
+
+> deleteMenuSectionImage(menuId, menuSectionId)
+
+Delete menu section image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+apiInstance.deleteMenuSectionImage(menuId, menuSectionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuSectionById
+
+> RestApiResultMenuSection getMenuSectionById(menuId, menuSectionId)
+
+Get menu section by identifier
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+apiInstance.getMenuSectionById(menuId, menuSectionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+
+### Return type
+
+[**RestApiResultMenuSection**](RestApiResultMenuSection.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuSections
+
+> RestApiArrayResultMenuSection getMenuSections(menuId)
+
+Get menu sections
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenuSections(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuSection**](RestApiArrayResultMenuSection.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## menuSectionsSetItemDisplayOrders
+
+> menuSectionsSetItemDisplayOrders(menuId, menuSectionId, displayOrders)
+
+Re-arrange Items within a Section
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let displayOrders = new Flipdish.MenuObjectDisplayOrders(); // MenuObjectDisplayOrders | Item Ids and their new display order
+apiInstance.menuSectionsSetItemDisplayOrders(menuId, menuSectionId, displayOrders, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **displayOrders** | [**MenuObjectDisplayOrders**](MenuObjectDisplayOrders.md)| Item Ids and their new display order |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateMenuSection
+
+> updateMenuSection(menuId, menuSectionId, menuSection, opts)
+
+Update menu section
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let menuSection = new Flipdish.MenuSectionBase(); // MenuSectionBase | Menu section changes (delta)
+let opts = {
+ 'undoAfter': 3.4 // Number | An optional time period, in hours, after which the hide-section operation will be undone.
+};
+apiInstance.updateMenuSection(menuId, menuSectionId, menuSection, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **menuSection** | [**MenuSectionBase**](MenuSectionBase.md)| Menu section changes (delta) |
+ **undoAfter** | **Number**| An optional time period, in hours, after which the hide-section operation will be undone. | [optional]
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## uploadMenuSectionImage
+
+> RestApiStringResult uploadMenuSectionImage(menuId, menuSectionId, Image)
+
+Upload menu section image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuSectionsApi();
+let menuId = 56; // Number | Menu identifier
+let menuSectionId = 56; // Number | Menu section identifier
+let Image = "/path/to/file"; // File | Menu section image
+apiInstance.uploadMenuSectionImage(menuId, menuSectionId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menuSectionId** | **Number**| Menu section identifier |
+ **Image** | **File**| Menu section image |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/MenuStoreNames.md b/docs/MenuStoreNames.md
new file mode 100644
index 00000000..92d4daaa
--- /dev/null
+++ b/docs/MenuStoreNames.md
@@ -0,0 +1,9 @@
+# Flipdish.MenuStoreNames
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreNames** | **[String]** | Names of stores associated with menu | [optional]
+
+
diff --git a/docs/MenuSummary.md b/docs/MenuSummary.md
new file mode 100644
index 00000000..ccc42bba
--- /dev/null
+++ b/docs/MenuSummary.md
@@ -0,0 +1,16 @@
+# Flipdish.MenuSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu identifier | [optional]
+**ModifiedTime** | **Date** | Last modified time | [optional]
+**VersionNumber** | **Number** | Menu version | [optional]
+**MenuUrl** | **String** | Menu Url | [optional]
+**Name** | **String** | Name of Menu, only shown in portal | [optional]
+**Locked** | **Boolean** | Locked: is menu locked against modifcation | [optional]
+**StoreNames** | **[String]** | List of stores names which are associated with this menu | [optional]
+**IsIntegrated** | **Boolean** | Flag to indicate if the menu is integrated (contains metadata) | [optional]
+
+
diff --git a/docs/MenuTaxDetails.md b/docs/MenuTaxDetails.md
new file mode 100644
index 00000000..0b8613c5
--- /dev/null
+++ b/docs/MenuTaxDetails.md
@@ -0,0 +1,24 @@
+# Flipdish.MenuTaxDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TaxRates** | [**[MenuTaxRate]**](MenuTaxRate.md) | Tax Rates | [optional]
+**DisplayTax** | **Boolean** | Display tax for Menu | [optional]
+**TaxType** | **String** | TaxType | [optional]
+**ItemTaxes** | **{String: Number}** | ItemIds and TaxIds | [optional]
+**SetItemTaxes** | **{String: Number}** | SetItemIds and TaxIds | [optional]
+
+
+
+## Enum: TaxTypeEnum
+
+
+* `IncludedInBasePrice` (value: `"IncludedInBasePrice"`)
+
+* `ExcludedFromBasePrice` (value: `"ExcludedFromBasePrice"`)
+
+
+
+
diff --git a/docs/MenuTaxRate.md b/docs/MenuTaxRate.md
new file mode 100644
index 00000000..f4f6e1fd
--- /dev/null
+++ b/docs/MenuTaxRate.md
@@ -0,0 +1,11 @@
+# Flipdish.MenuTaxRate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TaxRateId** | **Number** | Id of Tax Rate | [optional]
+**Name** | **String** | Name of Tax Rate | [optional]
+**Rate** | **Number** | In Percentage | [optional]
+
+
diff --git a/docs/MenuUpdatedEvent.md b/docs/MenuUpdatedEvent.md
new file mode 100644
index 00000000..8a3a0d74
--- /dev/null
+++ b/docs/MenuUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.MenuUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Menu** | [**Menu**](Menu.md) | | [optional]
+**MenuId** | **Number** | Menu Id | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuUploadedEvent.md b/docs/MenuUploadedEvent.md
new file mode 100644
index 00000000..1447bb88
--- /dev/null
+++ b/docs/MenuUploadedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.MenuUploadedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Menu** | [**Menu**](Menu.md) | | [optional]
+**InstanceEventCount** | **String** | Quantity of events | [optional]
+**MenuId** | **Number** | The menu Id | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MenuZone.md b/docs/MenuZone.md
new file mode 100644
index 00000000..a6793db3
--- /dev/null
+++ b/docs/MenuZone.md
@@ -0,0 +1,15 @@
+# Flipdish.MenuZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuZoneId** | **Number** | | [optional]
+**MenuId** | **Number** | | [optional]
+**Name** | **String** | | [optional]
+**Description** | **String** | | [optional]
+**ImageName** | **String** | | [optional]
+**DisplayOrder** | **Number** | | [optional]
+**ImageUrl** | **String** | | [optional]
+
+
diff --git a/docs/MenuZonesApi.md b/docs/MenuZonesApi.md
new file mode 100644
index 00000000..10c18e20
--- /dev/null
+++ b/docs/MenuZonesApi.md
@@ -0,0 +1,568 @@
+# Flipdish.MenuZonesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addMenuZone**](MenuZonesApi.md#addMenuZone) | **POST** /api/v1.0/menus/{menuId}/zones | Adds a new menu zone to a menu.
+[**deleteMenuZone**](MenuZonesApi.md#deleteMenuZone) | **DELETE** /api/v1.0/menus/{menuId}/zones/{menuZoneId} | Deletes a menu zone.
+[**deleteMenuZoneImage**](MenuZonesApi.md#deleteMenuZoneImage) | **DELETE** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/image | Deletes a menu zone image.
+[**flipMenuZones**](MenuZonesApi.md#flipMenuZones) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/flip/{menuZoneI2} | Flips the order of two menu zones.
+[**getMenuZone**](MenuZonesApi.md#getMenuZone) | **GET** /api/v1.0/menus/{menuId}/zones/{menuZoneId} | Gets a specific menu zone for a given zone id
+[**getMenuZonesForMenuId**](MenuZonesApi.md#getMenuZonesForMenuId) | **GET** /api/v1.0/menus/{menuId}/zones | Gets all the menu zones for a menu
+[**setMenuSectionMenuZone**](MenuZonesApi.md#setMenuSectionMenuZone) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/section/{menuSectionId} | Assigns a zone to a menu section.
+[**setMenuZoneDescription**](MenuZonesApi.md#setMenuZoneDescription) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/description | Sets the description of a menu zone.
+[**setMenuZoneName**](MenuZonesApi.md#setMenuZoneName) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/name/{menuZoneName} | Sets the name of a menu zone.
+[**updateMenuZone**](MenuZonesApi.md#updateMenuZone) | **PUT** /api/v1.0/menus/{menuId}/zones/{menuZoneId} | Updates a menu zone.
+[**uploadMenuZoneImage**](MenuZonesApi.md#uploadMenuZoneImage) | **POST** /api/v1.0/menus/{menuId}/zones/{menuZoneId}/image | Uploads an image for a menu zone.
+
+
+
+## addMenuZone
+
+> RestApiResultMenuZone addMenuZone(menuId, menuZone)
+
+Adds a new menu zone to a menu.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuId = 56; // Number | The menu id.
+let menuZone = new Flipdish.MenuZone(); // MenuZone | The object containing the new zone. This is optional and not supplying it will generate an empty default zone.
+apiInstance.addMenuZone(menuId, menuZone, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| The menu id. |
+ **menuZone** | [**MenuZone**](MenuZone.md)| The object containing the new zone. This is optional and not supplying it will generate an empty default zone. |
+
+### Return type
+
+[**RestApiResultMenuZone**](RestApiResultMenuZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteMenuZone
+
+> deleteMenuZone(menuZoneId, menuId)
+
+Deletes a menu zone.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | The menu zone id.
+let menuId = "menuId_example"; // String |
+apiInstance.deleteMenuZone(menuZoneId, menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| The menu zone id. |
+ **menuId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteMenuZoneImage
+
+> deleteMenuZoneImage(menuZoneId, menuId)
+
+Deletes a menu zone image.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | The zone Id/
+let menuId = "menuId_example"; // String |
+apiInstance.deleteMenuZoneImage(menuZoneId, menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| The zone Id/ |
+ **menuId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## flipMenuZones
+
+> flipMenuZones(menuZoneId, menuZoneI2, menuId)
+
+Flips the order of two menu zones.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | Source.
+let menuZoneI2 = 56; // Number | Destination.
+let menuId = "menuId_example"; // String |
+apiInstance.flipMenuZones(menuZoneId, menuZoneI2, menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| Source. |
+ **menuZoneI2** | **Number**| Destination. |
+ **menuId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuZone
+
+> RestApiResultMenuZone getMenuZone(menuId, menuZoneId)
+
+Gets a specific menu zone for a given zone id
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuId = 56; // Number | The menu id.
+let menuZoneId = 56; // Number | The menu zone id.
+apiInstance.getMenuZone(menuId, menuZoneId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| The menu id. |
+ **menuZoneId** | **Number**| The menu zone id. |
+
+### Return type
+
+[**RestApiResultMenuZone**](RestApiResultMenuZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuZonesForMenuId
+
+> RestApiArrayResultMenuZone getMenuZonesForMenuId(menuId)
+
+Gets all the menu zones for a menu
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuId = 56; // Number | The menu id to load zones for
+apiInstance.getMenuZonesForMenuId(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| The menu id to load zones for |
+
+### Return type
+
+[**RestApiArrayResultMenuZone**](RestApiArrayResultMenuZone.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setMenuSectionMenuZone
+
+> setMenuSectionMenuZone(menuZoneId, menuSectionId, menuId)
+
+Assigns a zone to a menu section.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | The menu id.
+let menuSectionId = 56; // Number | The menu section id.
+let menuId = "menuId_example"; // String |
+apiInstance.setMenuSectionMenuZone(menuZoneId, menuSectionId, menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| The menu id. |
+ **menuSectionId** | **Number**| The menu section id. |
+ **menuId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setMenuZoneDescription
+
+> setMenuZoneDescription(menuZoneId, menuId, description)
+
+Sets the description of a menu zone.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | The zone id.
+let menuId = "menuId_example"; // String |
+let description = "description_example"; // String | The new description. Add as a raw string in the request, without any JSON wrapper.
+apiInstance.setMenuZoneDescription(menuZoneId, menuId, description, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| The zone id. |
+ **menuId** | **String**| |
+ **description** | **String**| The new description. Add as a raw string in the request, without any JSON wrapper. |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setMenuZoneName
+
+> setMenuZoneName(menuZoneId, menuZoneName, menuId)
+
+Sets the name of a menu zone.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | The menu zone id.
+let menuZoneName = "menuZoneName_example"; // String | The new name.
+let menuId = "menuId_example"; // String |
+apiInstance.setMenuZoneName(menuZoneId, menuZoneName, menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| The menu zone id. |
+ **menuZoneName** | **String**| The new name. |
+ **menuId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateMenuZone
+
+> updateMenuZone(menuId, menuZoneId, menuZone)
+
+Updates a menu zone.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuId = 56; // Number | The menu id.
+let menuZoneId = 56; // Number | The menu zone id.
+let menuZone = new Flipdish.MenuZone(); // MenuZone | The object containing the updated values.
+apiInstance.updateMenuZone(menuId, menuZoneId, menuZone, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| The menu id. |
+ **menuZoneId** | **Number**| The menu zone id. |
+ **menuZone** | [**MenuZone**](MenuZone.md)| The object containing the updated values. |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## uploadMenuZoneImage
+
+> uploadMenuZoneImage(menuZoneId, menuId, file)
+
+Uploads an image for a menu zone.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenuZonesApi();
+let menuZoneId = 56; // Number | The zone id.
+let menuId = "menuId_example"; // String |
+let file = [new Flipdish.HttpPostedFileBase()]; // [HttpPostedFileBase] | The file to upload.
+apiInstance.uploadMenuZoneImage(menuZoneId, menuId, file, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuZoneId** | **Number**| The zone id. |
+ **menuId** | **String**| |
+ **file** | [**[HttpPostedFileBase]**](HttpPostedFileBase.md)| The file to upload. |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/MenusApi.md b/docs/MenusApi.md
new file mode 100644
index 00000000..10fe4bd4
--- /dev/null
+++ b/docs/MenusApi.md
@@ -0,0 +1,1724 @@
+# Flipdish.MenusApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createDraftMenuFromExistingMenu**](MenusApi.md#createDraftMenuFromExistingMenu) | **POST** /api/v1.0/menus/{menuId}/clone/{newName} | Clone a menu, (without attaching stores)
+[**createNewMenuAsync**](MenusApi.md#createNewMenuAsync) | **POST** /api/v1.0/{appId}/menus/async | Create a new menu asynchronously
+[**createNewMenuForApp**](MenusApi.md#createNewMenuForApp) | **POST** /api/v1.0/{appId}/menus | Create a new menu
+[**deleteMenu**](MenusApi.md#deleteMenu) | **DELETE** /api/v1.0/menus/{menuId} | Mark a Menu as Deleted
+[**deleteMenuImage**](MenusApi.md#deleteMenuImage) | **DELETE** /api/v1.0/menus/{menuId}/image | Delete menu image
+[**deleteMenuItemMetadata**](MenusApi.md#deleteMenuItemMetadata) | **DELETE** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/{key}/store/{storeId} | Delete menu item metadata
+[**getAllMenuMetadataByMenuIdAndStoreId**](MenusApi.md#getAllMenuMetadataByMenuIdAndStoreId) | **GET** /api/v1.0/menus/{menuId}/metadata/store/{storeId} | Get all menu metadata by menu ID and store ID
+[**getMenuById**](MenusApi.md#getMenuById) | **GET** /api/v1.0/menus/{menuId} | Get menu by identifier
+[**getMenuItemMetadata**](MenusApi.md#getMenuItemMetadata) | **GET** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/store/{storeId} | Get menu item metadata
+[**getMenuItemMetadataByKey**](MenusApi.md#getMenuItemMetadataByKey) | **GET** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/{key}/store/{storeId} | Get menu item metadata by key
+[**getMenuItemOptionSetItemMetadata**](MenusApi.md#getMenuItemOptionSetItemMetadata) | **GET** /api/v1.0/menus/{menuId}/optionsetitem/{optionSetItemId}/metadata/store/{storeId} | Get menu item option set item metadata by key
+[**getMenuName**](MenusApi.md#getMenuName) | **GET** /api/v1.0/menus/{menuId}/name | Get Menus Name
+[**getMenuStoreNames**](MenusApi.md#getMenuStoreNames) | **GET** /api/v1.0/menus/{menuId}/stores | Get menus store names
+[**getMenuTaxDetails**](MenusApi.md#getMenuTaxDetails) | **GET** /api/v1.0/menus/{menuId}/tax | Get menus tax details
+[**getMenusByAppId**](MenusApi.md#getMenusByAppId) | **GET** /api/v1.0/{appId}/menus | Get menus by appId
+[**getMenusCheckpoints**](MenusApi.md#getMenusCheckpoints) | **GET** /api/v1.0/menus/{menuId}/checkpoints | Get a Menus Checkpoints
+[**menusDeleteTaxRate**](MenusApi.md#menusDeleteTaxRate) | **DELETE** /api/v1.0/menus/{menuId}/tax/{taxId} | Remove a Menus Tax Rate, can only remove a tax rate that does not have items/optionSetItems attached
+[**menusGetMenuBulkShowHide**](MenusApi.md#menusGetMenuBulkShowHide) | **GET** /api/v1.0/menus/{menuId}/bulkshowhide/list | Get bulk show/hide menu items and option set items
+[**menusIsWhiteLabelMigratedToRms**](MenusApi.md#menusIsWhiteLabelMigratedToRms) | **GET** /api/v1.0/menus/isWhiteLabelMigratedToRms | PRIVATE API, TEMPORARY ENDPOINT RMS can check if a white label is migrated to RMS
+[**menusMarkWhiteLabelAsMigratedToRms**](MenusApi.md#menusMarkWhiteLabelAsMigratedToRms) | **POST** /api/v1.0/menus/markWhiteLabelAsMigratedToRms | PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as migrated to RMS, which will block all Menu editing operations via Zeus
+[**menusMarkWhiteLabelAsNotMigratedToRms**](MenusApi.md#menusMarkWhiteLabelAsNotMigratedToRms) | **POST** /api/v1.0/menus/markWhiteLabelAsNotMigratedToRms | PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as NOT migrated to RMS, which will unblock all Menu editing operations via Zeus
+[**menusSetDisplayOnMenuTax**](MenusApi.md#menusSetDisplayOnMenuTax) | **POST** /api/v1.0/menus/{menuId}/tax/show/{show} | Set if tax shows for a Menu
+[**menusSetItemDisplayOrders**](MenusApi.md#menusSetItemDisplayOrders) | **POST** /api/v1.0/menus/{menuId}/sectiondisplayorders | Re-arrange Sections within a Menu
+[**menusShowHideBulkItems**](MenusApi.md#menusShowHideBulkItems) | **POST** /api/v1.0/menus/{menuId}/bulkshowhide | Bulk show/hide menu items or option set items
+[**menusUpdateTaxType**](MenusApi.md#menusUpdateTaxType) | **POST** /api/v1.0/menus/{menuId}/tax/type/{type} | Set the type of Tax on a Menu
+[**menusUpsertTaxRate**](MenusApi.md#menusUpsertTaxRate) | **POST** /api/v1.0/menus/{menuId}/taxrate | Add/Update a Tax Rate
+[**restoreAMenuCheckpoint**](MenusApi.md#restoreAMenuCheckpoint) | **POST** /api/v1.0/menus/{menuId}/checkpoints/{checkpointId}/restore | Restore a Menu to a checkpoint
+[**setMenuItemMetadata**](MenusApi.md#setMenuItemMetadata) | **PUT** /api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/store/{storeId} | Update menu item metadata
+[**setMenuItemOptionSetItemMetadata**](MenusApi.md#setMenuItemOptionSetItemMetadata) | **PUT** /api/v1.0/menus/{menuId}/optionsetitem/{optionSetItemId}/metadata/store/{storeId} | Update menu item option set item metadata
+[**setMenuLock**](MenusApi.md#setMenuLock) | **POST** /api/v1.0/menus/{menuId}/lock | Lock/Unlock a Menu for Editing
+[**setMenuName**](MenusApi.md#setMenuName) | **POST** /api/v1.0/menus/{menuId}/name | Set Menus Name
+[**updateMenu**](MenusApi.md#updateMenu) | **POST** /api/v1.0/menus/{menuId} | Update menu
+[**uploadMenuImage**](MenusApi.md#uploadMenuImage) | **POST** /api/v1.0/menus/{menuId}/image | Upload menu image
+[**uploadNewMenuForApp**](MenusApi.md#uploadNewMenuForApp) | **POST** /api/v1.0/{appId}/menus/xlsx | Create a new menu from xlsx file.
+
+
+
+## createDraftMenuFromExistingMenu
+
+> RestApiResultMenu createDraftMenuFromExistingMenu(menuId, newName)
+
+Clone a menu, (without attaching stores)
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let newName = "newName_example"; // String | Name of the new Menu
+apiInstance.createDraftMenuFromExistingMenu(menuId, newName, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **newName** | **String**| Name of the new Menu |
+
+### Return type
+
+[**RestApiResultMenu**](RestApiResultMenu.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createNewMenuAsync
+
+> Object createNewMenuAsync(appId, menu)
+
+Create a new menu asynchronously
+
+You must listen to the webhook menu.async_creation.completed to know when the menu is ready
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let appId = "appId_example"; // String | App id
+let menu = new Flipdish.CreateFullMenu(); // CreateFullMenu | Menu
+apiInstance.createNewMenuAsync(appId, menu, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| App id |
+ **menu** | [**CreateFullMenu**](CreateFullMenu.md)| Menu |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createNewMenuForApp
+
+> Number createNewMenuForApp(appId, menu)
+
+Create a new menu
+
+[DEPRECATED] - Please use the async version as this endpoint may timeout for large menus
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let appId = "appId_example"; // String | App identifier
+let menu = new Flipdish.CreateFullMenu(); // CreateFullMenu | Menu. If empty the system will create a menu with default items
+apiInstance.createNewMenuForApp(appId, menu, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| App identifier |
+ **menu** | [**CreateFullMenu**](CreateFullMenu.md)| Menu. If empty the system will create a menu with default items |
+
+### Return type
+
+**Number**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteMenu
+
+> deleteMenu(menuId)
+
+Mark a Menu as Deleted
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu Identifier
+apiInstance.deleteMenu(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu Identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteMenuImage
+
+> deleteMenuImage(menuId)
+
+Delete menu image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.deleteMenuImage(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message
+
+
+## deleteMenuItemMetadata
+
+> deleteMenuItemMetadata(menuId, storeId, menuItemId, key)
+
+Delete menu item metadata
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+let menuItemId = 56; // Number | Menu item identifier
+let key = "key_example"; // String | Metadata key
+apiInstance.deleteMenuItemMetadata(menuId, storeId, menuItemId, key, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+ **menuItemId** | **Number**| Menu item identifier |
+ **key** | **String**| Metadata key |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getAllMenuMetadataByMenuIdAndStoreId
+
+> RestApiArrayResultAllMetadataResult getAllMenuMetadataByMenuIdAndStoreId(menuId, storeId)
+
+Get all menu metadata by menu ID and store ID
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+apiInstance.getAllMenuMetadataByMenuIdAndStoreId(menuId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+
+### Return type
+
+[**RestApiArrayResultAllMetadataResult**](RestApiArrayResultAllMetadataResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuById
+
+> RestApiResultMenu getMenuById(menuId)
+
+Get menu by identifier
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenuById(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiResultMenu**](RestApiResultMenu.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getMenuItemMetadata
+
+> RestApiArrayResultMetadata getMenuItemMetadata(menuId, storeId, menuItemId)
+
+Get menu item metadata
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+let menuItemId = 56; // Number | Menu item identifier
+apiInstance.getMenuItemMetadata(menuId, storeId, menuItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+ **menuItemId** | **Number**| Menu item identifier |
+
+### Return type
+
+[**RestApiArrayResultMetadata**](RestApiArrayResultMetadata.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuItemMetadataByKey
+
+> RestApiResultMetadata getMenuItemMetadataByKey(menuId, storeId, menuItemId, key)
+
+Get menu item metadata by key
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+let menuItemId = 56; // Number | Menu item identifier
+let key = "key_example"; // String | Metadata key
+apiInstance.getMenuItemMetadataByKey(menuId, storeId, menuItemId, key, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+ **menuItemId** | **Number**| Menu item identifier |
+ **key** | **String**| Metadata key |
+
+### Return type
+
+[**RestApiResultMetadata**](RestApiResultMetadata.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuItemOptionSetItemMetadata
+
+> RestApiResultMetadata getMenuItemOptionSetItemMetadata(menuId, storeId, optionSetItemId)
+
+Get menu item option set item metadata by key
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+let optionSetItemId = 56; // Number | Menu item option set item identifier
+apiInstance.getMenuItemOptionSetItemMetadata(menuId, storeId, optionSetItemId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+ **optionSetItemId** | **Number**| Menu item option set item identifier |
+
+### Return type
+
+[**RestApiResultMetadata**](RestApiResultMetadata.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenuName
+
+> String getMenuName(menuId)
+
+Get Menus Name
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenuName(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getMenuStoreNames
+
+> RestApiArrayResultMenuStoreNames getMenuStoreNames(menuId)
+
+Get menus store names
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenuStoreNames(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuStoreNames**](RestApiArrayResultMenuStoreNames.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getMenuTaxDetails
+
+> RestApiArrayResultMenuTaxDetails getMenuTaxDetails(menuId)
+
+Get menus tax details
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenuTaxDetails(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuTaxDetails**](RestApiArrayResultMenuTaxDetails.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getMenusByAppId
+
+> RestApiArrayResultMenuSummary getMenusByAppId(appId)
+
+Get menus by appId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let appId = "appId_example"; // String | Get Menus for this appId
+apiInstance.getMenusByAppId(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| Get Menus for this appId |
+
+### Return type
+
+[**RestApiArrayResultMenuSummary**](RestApiArrayResultMenuSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getMenusCheckpoints
+
+> RestApiArrayResultMenuCheckpoint getMenusCheckpoints(menuId)
+
+Get a Menus Checkpoints
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenusCheckpoints(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiArrayResultMenuCheckpoint**](RestApiArrayResultMenuCheckpoint.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusDeleteTaxRate
+
+> menusDeleteTaxRate(menuId, taxId)
+
+Remove a Menus Tax Rate, can only remove a tax rate that does not have items/optionSetItems attached
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let taxId = 56; // Number | Id of Menu Tax to be removed
+apiInstance.menusDeleteTaxRate(menuId, taxId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **taxId** | **Number**| Id of Menu Tax to be removed |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusGetMenuBulkShowHide
+
+> RestApiArrayResultMenuElementListResponse menusGetMenuBulkShowHide(menuId, isAvailable)
+
+Get bulk show/hide menu items and option set items
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu id
+let isAvailable = true; // Boolean | Is available flag
+apiInstance.menusGetMenuBulkShowHide(menuId, isAvailable, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu id |
+ **isAvailable** | **Boolean**| Is available flag |
+
+### Return type
+
+[**RestApiArrayResultMenuElementListResponse**](RestApiArrayResultMenuElementListResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusIsWhiteLabelMigratedToRms
+
+> Object menusIsWhiteLabelMigratedToRms(opts)
+
+PRIVATE API, TEMPORARY ENDPOINT RMS can check if a white label is migrated to RMS
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let opts = {
+ 'whiteLabelId': 56, // Number | white label id (integer)
+ 'appId': "appId_example" // String | appId (string)
+};
+apiInstance.menusIsWhiteLabelMigratedToRms(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **whiteLabelId** | **Number**| white label id (integer) | [optional]
+ **appId** | **String**| appId (string) | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusMarkWhiteLabelAsMigratedToRms
+
+> Object menusMarkWhiteLabelAsMigratedToRms(opts)
+
+PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as migrated to RMS, which will block all Menu editing operations via Zeus
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let opts = {
+ 'whiteLabelId': 56, // Number | white label id (integer)
+ 'appId': "appId_example" // String | appId (string)
+};
+apiInstance.menusMarkWhiteLabelAsMigratedToRms(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **whiteLabelId** | **Number**| white label id (integer) | [optional]
+ **appId** | **String**| appId (string) | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusMarkWhiteLabelAsNotMigratedToRms
+
+> Object menusMarkWhiteLabelAsNotMigratedToRms(opts)
+
+PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as NOT migrated to RMS, which will unblock all Menu editing operations via Zeus
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let opts = {
+ 'whiteLabelId': 56, // Number | white label id (integer)
+ 'appId': "appId_example" // String | appId (string)
+};
+apiInstance.menusMarkWhiteLabelAsNotMigratedToRms(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **whiteLabelId** | **Number**| white label id (integer) | [optional]
+ **appId** | **String**| appId (string) | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusSetDisplayOnMenuTax
+
+> menusSetDisplayOnMenuTax(menuId, show)
+
+Set if tax shows for a Menu
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let show = true; // Boolean | Boolean show or dont show tax (Exclusive tax type can only ever be TRUE)
+apiInstance.menusSetDisplayOnMenuTax(menuId, show, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **show** | **Boolean**| Boolean show or dont show tax (Exclusive tax type can only ever be TRUE) |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusSetItemDisplayOrders
+
+> menusSetItemDisplayOrders(menuId, displayOrders)
+
+Re-arrange Sections within a Menu
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let displayOrders = new Flipdish.MenuObjectDisplayOrders(); // MenuObjectDisplayOrders | Section Ids and their new display order
+apiInstance.menusSetItemDisplayOrders(menuId, displayOrders, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **displayOrders** | [**MenuObjectDisplayOrders**](MenuObjectDisplayOrders.md)| Section Ids and their new display order |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusShowHideBulkItems
+
+> RestApiArrayResultMenuElementEditResponse menusShowHideBulkItems(menuId, isAvailable, menuElements)
+
+Bulk show/hide menu items or option set items
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu id
+let isAvailable = true; // Boolean | Is available flag
+let menuElements = [new Flipdish.MenuElementHide()]; // [MenuElementHide] | Elements to be show/hide
+apiInstance.menusShowHideBulkItems(menuId, isAvailable, menuElements, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu id |
+ **isAvailable** | **Boolean**| Is available flag |
+ **menuElements** | [**[MenuElementHide]**](MenuElementHide.md)| Elements to be show/hide |
+
+### Return type
+
+[**RestApiArrayResultMenuElementEditResponse**](RestApiArrayResultMenuElementEditResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusUpdateTaxType
+
+> menusUpdateTaxType(menuId, type)
+
+Set the type of Tax on a Menu
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let type = "type_example"; // String | Type of Tax
+apiInstance.menusUpdateTaxType(menuId, type, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **type** | **String**| Type of Tax |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## menusUpsertTaxRate
+
+> MenuTaxRate menusUpsertTaxRate(menuId, taxRate)
+
+Add/Update a Tax Rate
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let taxRate = new Flipdish.MenuTaxRate(); // MenuTaxRate | Tax rate to add/update
+apiInstance.menusUpsertTaxRate(menuId, taxRate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **taxRate** | [**MenuTaxRate**](MenuTaxRate.md)| Tax rate to add/update |
+
+### Return type
+
+[**MenuTaxRate**](MenuTaxRate.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## restoreAMenuCheckpoint
+
+> restoreAMenuCheckpoint(menuId, checkpointId)
+
+Restore a Menu to a checkpoint
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let checkpointId = 56; // Number | Checkpoint to restore menu to
+apiInstance.restoreAMenuCheckpoint(menuId, checkpointId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **checkpointId** | **Number**| Checkpoint to restore menu to |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setMenuItemMetadata
+
+> setMenuItemMetadata(menuId, storeId, menuItemId, metadata)
+
+Update menu item metadata
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+let menuItemId = 56; // Number | Menu item identifier
+let metadata = new Flipdish.Metadata(); // Metadata | Metadata object
+apiInstance.setMenuItemMetadata(menuId, storeId, menuItemId, metadata, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+ **menuItemId** | **Number**| Menu item identifier |
+ **metadata** | [**Metadata**](Metadata.md)| Metadata object |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setMenuItemOptionSetItemMetadata
+
+> setMenuItemOptionSetItemMetadata(menuId, storeId, optionSetItemId, metadata)
+
+Update menu item option set item metadata
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let storeId = 56; // Number | Store identifier
+let optionSetItemId = 56; // Number | Menu item option set item identifier
+let metadata = new Flipdish.Metadata(); // Metadata | Metadata object
+apiInstance.setMenuItemOptionSetItemMetadata(menuId, storeId, optionSetItemId, metadata, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **storeId** | **Number**| Store identifier |
+ **optionSetItemId** | **Number**| Menu item option set item identifier |
+ **metadata** | [**Metadata**](Metadata.md)| Metadata object |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setMenuLock
+
+> setMenuLock(menuId, locked)
+
+Lock/Unlock a Menu for Editing
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let locked = true; // Boolean | True: Locks menu for editing, False: Unlocks for editing
+apiInstance.setMenuLock(menuId, locked, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **locked** | **Boolean**| True: Locks menu for editing, False: Unlocks for editing |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setMenuName
+
+> setMenuName(menuId, name)
+
+Set Menus Name
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let name = "name_example"; // String | Name to set for this Menu
+apiInstance.setMenuName(menuId, name, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **name** | **String**| Name to set for this Menu |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateMenu
+
+> updateMenu(menuId, menu)
+
+Update menu
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let menu = new Flipdish.MenuBase(); // MenuBase | Full menu data
+apiInstance.updateMenu(menuId, menu, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **menu** | [**MenuBase**](MenuBase.md)| Full menu data |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## uploadMenuImage
+
+> RestApiStringResult uploadMenuImage(menuId, Image)
+
+Upload menu image
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let menuId = 56; // Number | Menu identifier
+let Image = "/path/to/file"; // File | Menu image
+apiInstance.uploadMenuImage(menuId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **Image** | **File**| Menu image |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## uploadNewMenuForApp
+
+> Number uploadNewMenuForApp(appId, Menu)
+
+Create a new menu from xlsx file.
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusApi();
+let appId = "appId_example"; // String | App identifier
+let Menu = "/path/to/file"; // File | Uploaded xlsx menu
+apiInstance.uploadNewMenuForApp(appId, Menu, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| App identifier |
+ **Menu** | **File**| Uploaded xlsx menu |
+
+### Return type
+
+**Number**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/MenusNutritionInfoApi.md b/docs/MenusNutritionInfoApi.md
new file mode 100644
index 00000000..38a458b9
--- /dev/null
+++ b/docs/MenusNutritionInfoApi.md
@@ -0,0 +1,308 @@
+# Flipdish.MenusNutritionInfoApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addOrUpdateMenuItemNutritionInfo**](MenusNutritionInfoApi.md#addOrUpdateMenuItemNutritionInfo) | **POST** /api/v1.0/menus/{menuId}/menuItem/{publicId}/nutrition | Add or update menuitem nutrition info by menu item's publicId
+[**addOrUpdateMenuItemOptionSetItemNutritionInfo**](MenusNutritionInfoApi.md#addOrUpdateMenuItemOptionSetItemNutritionInfo) | **POST** /api/v1.0/menus/{menuId}/menuItemOption/{publicId}/nutrition | Add or update menuitem optionsetitem nutrition info its publicId
+[**addOrUpdateMenuNutritionInfoByMenuId**](MenusNutritionInfoApi.md#addOrUpdateMenuNutritionInfoByMenuId) | **POST** /api/v1.0/menus/{menuId}/nutrition | Add or update menu nutrition by identifier
+[**deleteMenuNutritionInfoByMenuId**](MenusNutritionInfoApi.md#deleteMenuNutritionInfoByMenuId) | **DELETE** /api/v1.0/menus/{menuId}/nutrition | Delete menu nutrition information by menuId
+[**getAllergens**](MenusNutritionInfoApi.md#getAllergens) | **GET** /api/v1.0/{appId}/menus/nutrition/allergens | Get allergens
+[**getMenuNutritionInfoByMenuId**](MenusNutritionInfoApi.md#getMenuNutritionInfoByMenuId) | **GET** /api/v1.0/menus/{menuId}/nutrition | Get menu nutrition by menuId
+
+
+
+## addOrUpdateMenuItemNutritionInfo
+
+> RestApiResultMenuNutritionInfoHeader addOrUpdateMenuItemNutritionInfo(menuId, publicId, addOrUpdateModel)
+
+Add or update menuitem nutrition info by menu item's publicId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoApi();
+let menuId = 56; // Number | Menu identifier
+let publicId = "publicId_example"; // String | Menu item's publicId
+let addOrUpdateModel = new Flipdish.ItemNutritionInfoAddUpdateModel(); // ItemNutritionInfoAddUpdateModel |
+apiInstance.addOrUpdateMenuItemNutritionInfo(menuId, publicId, addOrUpdateModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **publicId** | **String**| Menu item's publicId |
+ **addOrUpdateModel** | [**ItemNutritionInfoAddUpdateModel**](ItemNutritionInfoAddUpdateModel.md)| |
+
+### Return type
+
+[**RestApiResultMenuNutritionInfoHeader**](RestApiResultMenuNutritionInfoHeader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## addOrUpdateMenuItemOptionSetItemNutritionInfo
+
+> RestApiResultMenuNutritionInfoHeader addOrUpdateMenuItemOptionSetItemNutritionInfo(menuId, publicId, addOrUpdateModel)
+
+Add or update menuitem optionsetitem nutrition info its publicId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoApi();
+let menuId = 56; // Number | Menu identifier
+let publicId = null; // String | Menu item's publicId
+let addOrUpdateModel = new Flipdish.ItemNutritionInfoAddUpdateModel(); // ItemNutritionInfoAddUpdateModel |
+apiInstance.addOrUpdateMenuItemOptionSetItemNutritionInfo(menuId, publicId, addOrUpdateModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **publicId** | [**String**](.md)| Menu item's publicId |
+ **addOrUpdateModel** | [**ItemNutritionInfoAddUpdateModel**](ItemNutritionInfoAddUpdateModel.md)| |
+
+### Return type
+
+[**RestApiResultMenuNutritionInfoHeader**](RestApiResultMenuNutritionInfoHeader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## addOrUpdateMenuNutritionInfoByMenuId
+
+> RestApiResultMenuNutritionInfoHeader addOrUpdateMenuNutritionInfoByMenuId(menuId)
+
+Add or update menu nutrition by identifier
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.addOrUpdateMenuNutritionInfoByMenuId(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiResultMenuNutritionInfoHeader**](RestApiResultMenuNutritionInfoHeader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## deleteMenuNutritionInfoByMenuId
+
+> Object deleteMenuNutritionInfoByMenuId(menuId)
+
+Delete menu nutrition information by menuId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.deleteMenuNutritionInfoByMenuId(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getAllergens
+
+> RestApiArrayResultAllergen getAllergens(appId, opts)
+
+Get allergens
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'languageId': "languageId_example" // String |
+};
+apiInstance.getAllergens(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **languageId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultAllergen**](RestApiArrayResultAllergen.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getMenuNutritionInfoByMenuId
+
+> RestApiResultNutritionInfo getMenuNutritionInfoByMenuId(menuId)
+
+Get menu nutrition by menuId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoApi();
+let menuId = 56; // Number | Menu identifier
+apiInstance.getMenuNutritionInfoByMenuId(menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+
+### Return type
+
+[**RestApiResultNutritionInfo**](RestApiResultNutritionInfo.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/MenusNutritionInfoV2Api.md b/docs/MenusNutritionInfoV2Api.md
new file mode 100644
index 00000000..13c925d8
--- /dev/null
+++ b/docs/MenusNutritionInfoV2Api.md
@@ -0,0 +1,222 @@
+# Flipdish.MenusNutritionInfoV2Api
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addOrUpdateMenuItemNutritionInfoV2**](MenusNutritionInfoV2Api.md#addOrUpdateMenuItemNutritionInfoV2) | **POST** /api/v1.0/{appId}/menus/{menuId}/menuItem/{publicId}/nutritionv2 | Add or update menuitem nutrition info by menu item's publicId
+[**addOrUpdateMenuItemOptionSetItemNutritionInfoV2**](MenusNutritionInfoV2Api.md#addOrUpdateMenuItemOptionSetItemNutritionInfoV2) | **POST** /api/v1.0/{appId}/menus/{menuId}/menuItemOption/{publicId}/nutritionv2 | Add or update menuitem option set item's nutrition info by its publicId
+[**getAllergensV2**](MenusNutritionInfoV2Api.md#getAllergensV2) | **GET** /api/v1.0/{appId}/menus/nutritionv2/allergens | Get allergens
+[**getMenuNutritionInfoV2ByMenuId**](MenusNutritionInfoV2Api.md#getMenuNutritionInfoV2ByMenuId) | **GET** /api/v1.0/{appId}/menus/{menuId}/nutritionv2 | Get menu nutrition by menuId
+
+
+
+## addOrUpdateMenuItemNutritionInfoV2
+
+> Object addOrUpdateMenuItemNutritionInfoV2(menuId, publicId, appId, addOrUpdateModel)
+
+Add or update menuitem nutrition info by menu item's publicId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoV2Api();
+let menuId = 56; // Number | Menu identifier
+let publicId = "publicId_example"; // String | Menu item's publicId
+let appId = "appId_example"; // String |
+let addOrUpdateModel = new Flipdish.ItemNutritionInfoV2AddUpdateModel(); // ItemNutritionInfoV2AddUpdateModel | Allergen ids
+apiInstance.addOrUpdateMenuItemNutritionInfoV2(menuId, publicId, appId, addOrUpdateModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **publicId** | **String**| Menu item's publicId |
+ **appId** | **String**| |
+ **addOrUpdateModel** | [**ItemNutritionInfoV2AddUpdateModel**](ItemNutritionInfoV2AddUpdateModel.md)| Allergen ids |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## addOrUpdateMenuItemOptionSetItemNutritionInfoV2
+
+> Object addOrUpdateMenuItemOptionSetItemNutritionInfoV2(menuId, publicId, appId, addOrUpdateModel)
+
+Add or update menuitem option set item's nutrition info by its publicId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoV2Api();
+let menuId = 56; // Number | Menu identifier
+let publicId = "publicId_example"; // String | Menu item option set item's publicId
+let appId = "appId_example"; // String |
+let addOrUpdateModel = new Flipdish.ItemNutritionInfoV2AddUpdateModel(); // ItemNutritionInfoV2AddUpdateModel | Allergen ids
+apiInstance.addOrUpdateMenuItemOptionSetItemNutritionInfoV2(menuId, publicId, appId, addOrUpdateModel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **menuId** | **Number**| Menu identifier |
+ **publicId** | **String**| Menu item option set item's publicId |
+ **appId** | **String**| |
+ **addOrUpdateModel** | [**ItemNutritionInfoV2AddUpdateModel**](ItemNutritionInfoV2AddUpdateModel.md)| Allergen ids |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getAllergensV2
+
+> RestApiArrayResultAllergen getAllergensV2(appId, opts)
+
+Get allergens
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoV2Api();
+let appId = "appId_example"; // String |
+let opts = {
+ 'languageId': "languageId_example" // String |
+};
+apiInstance.getAllergensV2(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **languageId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultAllergen**](RestApiArrayResultAllergen.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getMenuNutritionInfoV2ByMenuId
+
+> RestApiResultNutritionInfoV2 getMenuNutritionInfoV2ByMenuId(appId, menuId, opts)
+
+Get menu nutrition by menuId
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MenusNutritionInfoV2Api();
+let appId = "appId_example"; // String |
+let menuId = 56; // Number | Menu identifier
+let opts = {
+ 'languageId': "languageId_example" // String |
+};
+apiInstance.getMenuNutritionInfoV2ByMenuId(appId, menuId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **menuId** | **Number**| Menu identifier |
+ **languageId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultNutritionInfoV2**](RestApiResultNutritionInfoV2.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/Metadata.md b/docs/Metadata.md
new file mode 100644
index 00000000..e9109aab
--- /dev/null
+++ b/docs/Metadata.md
@@ -0,0 +1,11 @@
+# Flipdish.Metadata
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuEntityId** | **Number** | Menu entity identifier (eg: MenuItemId, MenuItemOptionSetItemId) | [optional]
+**Key** | **String** | Metadata key (Unique identifier) | [optional]
+**Value** | **String** | Metadata value | [optional]
+
+
diff --git a/docs/Metafield.md b/docs/Metafield.md
new file mode 100644
index 00000000..456a8053
--- /dev/null
+++ b/docs/Metafield.md
@@ -0,0 +1,10 @@
+# Flipdish.Metafield
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **String** | Key of the metafield. Allowed characters: lowercase letters, numbers, hyphen, underscore and dot |
+**Value** | **String** | Value of the metafield. |
+
+
diff --git a/docs/MetafieldDefinition.md b/docs/MetafieldDefinition.md
new file mode 100644
index 00000000..29ecb139
--- /dev/null
+++ b/docs/MetafieldDefinition.md
@@ -0,0 +1,55 @@
+# Flipdish.MetafieldDefinition
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsReadOnly** | **Boolean** | Indicates if a definition can be edited or not | [optional]
+**OwnerEntity** | **String** | The Metafield will extend the specified {Flipdish.Metafields.PublicModels.V1.MetafieldDefinitionBase.OwnerEntity} | [optional]
+**Key** | **String** | Key of the metafield. The key must have two parts, separated by a dot. The first part acts as a category, for organizational purposes. The parts can be composed of lowercase letters, numbers, hyphen and underscore |
+**ValueType** | **String** | The excepted type for the Value field | [optional]
+**Name** | **String** | Field Name |
+**Description** | **String** | Field Description | [optional]
+**Behaviors** | **[String]** | Enable Metafield Behaviors | [optional]
+**MetafieldDefinitionRecommendationId** | **Number** | Metafield Recommendation Id | [optional]
+
+
+
+## Enum: OwnerEntityEnum
+
+
+* `CatalogItem` (value: `"CatalogItem"`)
+
+* `CatalogGroup` (value: `"CatalogGroup"`)
+
+* `Menu` (value: `"Menu"`)
+
+
+
+
+
+## Enum: ValueTypeEnum
+
+
+* `Boolean` (value: `"Boolean"`)
+
+* `Json` (value: `"Json"`)
+
+* `SingleLineString` (value: `"SingleLineString"`)
+
+* `MultiLineString` (value: `"MultiLineString"`)
+
+
+
+
+
+## Enum: [BehaviorsEnum]
+
+
+* `SendToOrder` (value: `"SendToOrder"`)
+
+* `SendToMenu` (value: `"SendToMenu"`)
+
+
+
+
diff --git a/docs/MetafieldDefinitionRecommendation.md b/docs/MetafieldDefinitionRecommendation.md
new file mode 100644
index 00000000..ae3c2d20
--- /dev/null
+++ b/docs/MetafieldDefinitionRecommendation.md
@@ -0,0 +1,54 @@
+# Flipdish.MetafieldDefinitionRecommendation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OwnerEntity** | **String** | The Metafield will extend the specified {Flipdish.Metafields.PublicModels.V1.MetafieldDefinitionBase.OwnerEntity} | [optional]
+**Key** | **String** | Key of the metafield. The key must have two parts, separated by a dot. The first part acts as a category, for organizational purposes. The parts can be composed of lowercase letters, numbers, hyphen and underscore |
+**ValueType** | **String** | The excepted type for the Value field | [optional]
+**Name** | **String** | Field Name |
+**Description** | **String** | Field Description | [optional]
+**Behaviors** | **[String]** | Enable Metafield Behaviors | [optional]
+**MetafieldDefinitionRecommendationId** | **Number** | Metafield Recommendation Id | [optional]
+
+
+
+## Enum: OwnerEntityEnum
+
+
+* `CatalogItem` (value: `"CatalogItem"`)
+
+* `CatalogGroup` (value: `"CatalogGroup"`)
+
+* `Menu` (value: `"Menu"`)
+
+
+
+
+
+## Enum: ValueTypeEnum
+
+
+* `Boolean` (value: `"Boolean"`)
+
+* `Json` (value: `"Json"`)
+
+* `SingleLineString` (value: `"SingleLineString"`)
+
+* `MultiLineString` (value: `"MultiLineString"`)
+
+
+
+
+
+## Enum: [BehaviorsEnum]
+
+
+* `SendToOrder` (value: `"SendToOrder"`)
+
+* `SendToMenu` (value: `"SendToMenu"`)
+
+
+
+
diff --git a/docs/MetafieldDefinitionsApi.md b/docs/MetafieldDefinitionsApi.md
new file mode 100644
index 00000000..98bb10c0
--- /dev/null
+++ b/docs/MetafieldDefinitionsApi.md
@@ -0,0 +1,330 @@
+# Flipdish.MetafieldDefinitionsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createMetafieldDefinition**](MetafieldDefinitionsApi.md#createMetafieldDefinition) | **POST** /api/v1.0/{appId}/metafields/definitions/{ownerEntity} |
+[**getMetafieldDefinitionByKey**](MetafieldDefinitionsApi.md#getMetafieldDefinitionByKey) | **GET** /api/v1.0/{appId}/metafields/definitions/{ownerEntity}/{key} |
+[**getMetafieldDefinitions**](MetafieldDefinitionsApi.md#getMetafieldDefinitions) | **GET** /api/v1.0/{appId}/metafields/definitions/{ownerEntity} |
+[**getOwnerEntityConfigurations**](MetafieldDefinitionsApi.md#getOwnerEntityConfigurations) | **GET** /api/v1.0/{appId}/metafields/definitions |
+[**getOwnerEntityRecommendations**](MetafieldDefinitionsApi.md#getOwnerEntityRecommendations) | **GET** /api/v1.0/{appId}/metafields/definitions/recommendations/{ownerEntity} |
+[**updateMetafieldDefinition**](MetafieldDefinitionsApi.md#updateMetafieldDefinition) | **POST** /api/v1.0/{appId}/metafields/definitions/{ownerEntity}/{key} |
+
+
+
+## createMetafieldDefinition
+
+> RestApiResultMetafieldDefinition createMetafieldDefinition(appId, ownerEntity, createMetafieldDefinition)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MetafieldDefinitionsApi();
+let appId = "appId_example"; // String |
+let ownerEntity = "ownerEntity_example"; // String |
+let createMetafieldDefinition = new Flipdish.CreateMetafieldDefinition(); // CreateMetafieldDefinition |
+apiInstance.createMetafieldDefinition(appId, ownerEntity, createMetafieldDefinition, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **ownerEntity** | **String**| |
+ **createMetafieldDefinition** | [**CreateMetafieldDefinition**](CreateMetafieldDefinition.md)| |
+
+### Return type
+
+[**RestApiResultMetafieldDefinition**](RestApiResultMetafieldDefinition.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, IsReadOnly, OwnerEntity, Key, ValueType, Name, Description, Behaviors
+
+
+## getMetafieldDefinitionByKey
+
+> RestApiResultMetafieldDefinition getMetafieldDefinitionByKey(appId, ownerEntity, key)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MetafieldDefinitionsApi();
+let appId = "appId_example"; // String |
+let ownerEntity = "ownerEntity_example"; // String |
+let key = "key_example"; // String |
+apiInstance.getMetafieldDefinitionByKey(appId, ownerEntity, key, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **ownerEntity** | **String**| |
+ **key** | **String**| |
+
+### Return type
+
+[**RestApiResultMetafieldDefinition**](RestApiResultMetafieldDefinition.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, IsReadOnly, OwnerEntity, Key, ValueType, Name, Description, Behaviors
+
+
+## getMetafieldDefinitions
+
+> RestApiPaginationResultMetafieldDefinition getMetafieldDefinitions(appId, ownerEntity, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MetafieldDefinitionsApi();
+let appId = "appId_example"; // String |
+let ownerEntity = "ownerEntity_example"; // String |
+let opts = {
+ 'searchTerm': "searchTerm_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getMetafieldDefinitions(appId, ownerEntity, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **ownerEntity** | **String**| |
+ **searchTerm** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultMetafieldDefinition**](RestApiPaginationResultMetafieldDefinition.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getOwnerEntityConfigurations
+
+> OwnerEntityConfigurations getOwnerEntityConfigurations(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MetafieldDefinitionsApi();
+let appId = "appId_example"; // String |
+apiInstance.getOwnerEntityConfigurations(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**OwnerEntityConfigurations**](OwnerEntityConfigurations.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Configurations
+
+
+## getOwnerEntityRecommendations
+
+> RestApiPaginationResultMetafieldDefinitionRecommendation getOwnerEntityRecommendations(appId, ownerEntity, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MetafieldDefinitionsApi();
+let appId = "appId_example"; // String |
+let ownerEntity = "ownerEntity_example"; // String |
+let opts = {
+ 'searchTerm': "searchTerm_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getOwnerEntityRecommendations(appId, ownerEntity, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **ownerEntity** | **String**| |
+ **searchTerm** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultMetafieldDefinitionRecommendation**](RestApiPaginationResultMetafieldDefinitionRecommendation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateMetafieldDefinition
+
+> RestApiResultMetafieldDefinition updateMetafieldDefinition(appId, ownerEntity, key, updateMetafieldDefinition)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MetafieldDefinitionsApi();
+let appId = "appId_example"; // String |
+let ownerEntity = "ownerEntity_example"; // String |
+let key = "key_example"; // String |
+let updateMetafieldDefinition = new Flipdish.UpdateMetafieldDefinition(); // UpdateMetafieldDefinition |
+apiInstance.updateMetafieldDefinition(appId, ownerEntity, key, updateMetafieldDefinition, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **ownerEntity** | **String**| |
+ **key** | **String**| |
+ **updateMetafieldDefinition** | [**UpdateMetafieldDefinition**](UpdateMetafieldDefinition.md)| |
+
+### Return type
+
+[**RestApiResultMetafieldDefinition**](RestApiResultMetafieldDefinition.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, IsReadOnly, OwnerEntity, Key, ValueType, Name, Description, Behaviors
+
diff --git a/docs/MobileAppsApi.md b/docs/MobileAppsApi.md
new file mode 100644
index 00000000..75e22151
--- /dev/null
+++ b/docs/MobileAppsApi.md
@@ -0,0 +1,564 @@
+# Flipdish.MobileAppsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getAppConfigSalesChannel**](MobileAppsApi.md#getAppConfigSalesChannel) | **GET** /api/v1.0/mobileapps/{appId}/saleschannel/details |
+[**getStatistics**](MobileAppsApi.md#getStatistics) | **GET** /api/v1.0/mobileapps/{appId}/statistics |
+[**getSubmissionDetails**](MobileAppsApi.md#getSubmissionDetails) | **GET** /api/v1.0/mobileapps/{appId}/submission/details |
+[**getSubmissionStatus**](MobileAppsApi.md#getSubmissionStatus) | **GET** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/status |
+[**publish**](MobileAppsApi.md#publish) | **POST** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/publish |
+[**resubmission**](MobileAppsApi.md#resubmission) | **POST** /api/v1.0/mobileapps/{appId}/resubmission |
+[**submission**](MobileAppsApi.md#submission) | **POST** /api/v1.0/mobileapps/{appId}/submission |
+[**unpublish**](MobileAppsApi.md#unpublish) | **POST** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/unpublish |
+[**updateAppConfigSalesChannel**](MobileAppsApi.md#updateAppConfigSalesChannel) | **POST** /api/v1.0/mobileapps/{appId}/saleschannel |
+[**updateSubmissionStatus**](MobileAppsApi.md#updateSubmissionStatus) | **POST** /api/v1.0/mobileapps/{appId}/submission/{submissionId}/status |
+[**uploadImage**](MobileAppsApi.md#uploadImage) | **POST** /api/v1.0/mobileapps/{appId}/submission/image |
+
+
+
+## getAppConfigSalesChannel
+
+> RestApiResultAppConfigSalesChannel getAppConfigSalesChannel(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getAppConfigSalesChannel(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultAppConfigSalesChannel**](RestApiResultAppConfigSalesChannel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStatistics
+
+> RestApiArrayResultMobileAppsStatistics getStatistics(appId, platformTypes)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let platformTypes = ["null"]; // [String] |
+apiInstance.getStatistics(appId, platformTypes, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **platformTypes** | [**[String]**](String.md)| |
+
+### Return type
+
+[**RestApiArrayResultMobileAppsStatistics**](RestApiArrayResultMobileAppsStatistics.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getSubmissionDetails
+
+> RestApiResultMobileAppsSubmissionDetails getSubmissionDetails(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+apiInstance.getSubmissionDetails(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultMobileAppsSubmissionDetails**](RestApiResultMobileAppsSubmissionDetails.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getSubmissionStatus
+
+> RestApiResultMobileAppsSubmissionStatus getSubmissionStatus(appId, submissionId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let submissionId = 56; // Number |
+apiInstance.getSubmissionStatus(appId, submissionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **submissionId** | **Number**| |
+
+### Return type
+
+[**RestApiResultMobileAppsSubmissionStatus**](RestApiResultMobileAppsSubmissionStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## publish
+
+> RestApiResultRestApiIntegerResult publish(appId, submissionId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let submissionId = 56; // Number |
+let opts = {
+ 'platformType': "platformType_example" // String |
+};
+apiInstance.publish(appId, submissionId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **submissionId** | **Number**| |
+ **platformType** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultRestApiIntegerResult**](RestApiResultRestApiIntegerResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## resubmission
+
+> RestApiResultMobileAppsSubmission resubmission(appId, mobileAppsSubmission)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let mobileAppsSubmission = new Flipdish.MobileAppsSubmission(); // MobileAppsSubmission |
+apiInstance.resubmission(appId, mobileAppsSubmission, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **mobileAppsSubmission** | [**MobileAppsSubmission**](MobileAppsSubmission.md)| |
+
+### Return type
+
+[**RestApiResultMobileAppsSubmission**](RestApiResultMobileAppsSubmission.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## submission
+
+> RestApiResultMobileAppsSubmission submission(appId, mobileAppsSubmission)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let mobileAppsSubmission = new Flipdish.MobileAppsSubmission(); // MobileAppsSubmission |
+apiInstance.submission(appId, mobileAppsSubmission, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **mobileAppsSubmission** | [**MobileAppsSubmission**](MobileAppsSubmission.md)| |
+
+### Return type
+
+[**RestApiResultMobileAppsSubmission**](RestApiResultMobileAppsSubmission.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## unpublish
+
+> RestApiIntegerResult unpublish(appId, submissionId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let submissionId = 56; // Number |
+let opts = {
+ 'platformType': "platformType_example" // String |
+};
+apiInstance.unpublish(appId, submissionId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **submissionId** | **Number**| |
+ **platformType** | **String**| | [optional]
+
+### Return type
+
+[**RestApiIntegerResult**](RestApiIntegerResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateAppConfigSalesChannel
+
+> RestApiResultAppConfigSalesChannel updateAppConfigSalesChannel(appId, appConfigSalesChannel)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let appConfigSalesChannel = new Flipdish.AppConfigSalesChannel(); // AppConfigSalesChannel |
+apiInstance.updateAppConfigSalesChannel(appId, appConfigSalesChannel, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **appConfigSalesChannel** | [**AppConfigSalesChannel**](AppConfigSalesChannel.md)| |
+
+### Return type
+
+[**RestApiResultAppConfigSalesChannel**](RestApiResultAppConfigSalesChannel.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateSubmissionStatus
+
+> RestApiResultUpdateMobileAppsSubmissionStatus updateSubmissionStatus(appId, submissionId, updateSubmissionStatus)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let submissionId = 56; // Number |
+let updateSubmissionStatus = new Flipdish.UpdateMobileAppsSubmissionStatus(); // UpdateMobileAppsSubmissionStatus |
+apiInstance.updateSubmissionStatus(appId, submissionId, updateSubmissionStatus, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **submissionId** | **Number**| |
+ **updateSubmissionStatus** | [**UpdateMobileAppsSubmissionStatus**](UpdateMobileAppsSubmissionStatus.md)| |
+
+### Return type
+
+[**RestApiResultUpdateMobileAppsSubmissionStatus**](RestApiResultUpdateMobileAppsSubmissionStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## uploadImage
+
+> RestApiResultMobileAppsImage uploadImage(appId, Image)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.MobileAppsApi();
+let appId = "appId_example"; // String |
+let Image = "/path/to/file"; // File | Mobile Apps image
+apiInstance.uploadImage(appId, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **Image** | **File**| Mobile Apps image |
+
+### Return type
+
+[**RestApiResultMobileAppsImage**](RestApiResultMobileAppsImage.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/MobileAppsImage.md b/docs/MobileAppsImage.md
new file mode 100644
index 00000000..5cb9a6cb
--- /dev/null
+++ b/docs/MobileAppsImage.md
@@ -0,0 +1,9 @@
+# Flipdish.MobileAppsImage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ImageUri** | **String** | Unique catalog Item id | [optional]
+
+
diff --git a/docs/MobileAppsStatistics.md b/docs/MobileAppsStatistics.md
new file mode 100644
index 00000000..acd390d4
--- /dev/null
+++ b/docs/MobileAppsStatistics.md
@@ -0,0 +1,30 @@
+# Flipdish.MobileAppsStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**NumberDownload** | **Number** | Number Download | [optional]
+**CurrentRate** | **Number** | Current Rate | [optional]
+**CurrentVersion** | **String** | Current Version | [optional]
+**PlayStoreLink** | **String** | Play Store Link | [optional]
+**AppBundleId** | **String** | App Bundle Id | [optional]
+**LastUpdated** | **Date** | Last Updated | [optional]
+**Notes** | **String** | Last Updated | [optional]
+**Published** | **Boolean** | Published | [optional]
+**PlatformType** | **String** | Platform Type | [optional]
+
+
+
+## Enum: PlatformTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Android` (value: `"Android"`)
+
+* `IOS` (value: `"IOS"`)
+
+
+
+
diff --git a/docs/MobileAppsSubmission.md b/docs/MobileAppsSubmission.md
new file mode 100644
index 00000000..355d99de
--- /dev/null
+++ b/docs/MobileAppsSubmission.md
@@ -0,0 +1,14 @@
+# Flipdish.MobileAppsSubmission
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SubmissionId** | **Number** | Mobile Apps Submission Id | [optional]
+**AppName** | **String** | App Name |
+**AppDescription** | **String** | App Description |
+**AppShortDescription** | **String** | App Description |
+**Keywords** | **[String]** | Keywords | [optional]
+**AutoPublish** | **Boolean** | Publish automatically | [optional]
+
+
diff --git a/docs/MobileAppsSubmissionDetails.md b/docs/MobileAppsSubmissionDetails.md
new file mode 100644
index 00000000..7be03914
--- /dev/null
+++ b/docs/MobileAppsSubmissionDetails.md
@@ -0,0 +1,16 @@
+# Flipdish.MobileAppsSubmissionDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MobileAppsSubmissionId** | **Number** | Mobile Apps Submission Id | [optional]
+**AppName** | **String** | App Name | [optional]
+**AppDescription** | **String** | App Description | [optional]
+**AppShortDescription** | **String** | App Description | [optional]
+**Keywords** | **[String]** | Keywords | [optional]
+**AppLogoUrl** | **String** | Logo URL | [optional]
+**AutoPublish** | **Boolean** | Publish automatically | [optional]
+**Status** | [**[MobileAppsSubmissionStatus]**](MobileAppsSubmissionStatus.md) | Mobile App Status | [optional]
+
+
diff --git a/docs/MobileAppsSubmissionStatus.md b/docs/MobileAppsSubmissionStatus.md
new file mode 100644
index 00000000..5c686bdb
--- /dev/null
+++ b/docs/MobileAppsSubmissionStatus.md
@@ -0,0 +1,62 @@
+# Flipdish.MobileAppsSubmissionStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MobileAppsSubmissionStatusId** | **Number** | Mobile Apps Submission Status Id | [optional]
+**MobileAppsSubmissionId** | **Number** | Mobile Apps Submission Id | [optional]
+**Type** | **String** | Mobile Type | [optional]
+**AppStatus** | **String** | Mobile App Status | [optional]
+**UpdateStatus** | **String** | Mobile App Status | [optional]
+**LastUpdateStatusTime** | **Date** | Mobile LastUpdateStatusTime | [optional]
+**CreateTime** | **Date** | Mobile CreateTime | [optional]
+**UpdateTime** | **Date** | Mobile UpdateTime | [optional]
+**Notes** | **String** | Mobile Notes | [optional]
+
+
+
+## Enum: TypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Android` (value: `"Android"`)
+
+* `IOS` (value: `"IOS"`)
+
+
+
+
+
+## Enum: AppStatusEnum
+
+
+* `None` (value: `"None"`)
+
+* `Published` (value: `"Published"`)
+
+* `Unpublished` (value: `"Unpublished"`)
+
+
+
+
+
+## Enum: UpdateStatusEnum
+
+
+* `None` (value: `"None"`)
+
+* `Submitted` (value: `"Submitted"`)
+
+* `InReview` (value: `"InReview"`)
+
+* `Rejected` (value: `"Rejected"`)
+
+* `Approved` (value: `"Approved"`)
+
+* `Published` (value: `"Published"`)
+
+
+
+
diff --git a/docs/MobileAppsSubmissionStatusUpdatedEvent.md b/docs/MobileAppsSubmissionStatusUpdatedEvent.md
new file mode 100644
index 00000000..aa82239d
--- /dev/null
+++ b/docs/MobileAppsSubmissionStatusUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.MobileAppsSubmissionStatusUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**MobileAppsSubmissionStatus** | [**MobileAppsSubmissionStatus**](MobileAppsSubmissionStatus.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/MobileAppsSubmissionUpdatedEvent.md b/docs/MobileAppsSubmissionUpdatedEvent.md
new file mode 100644
index 00000000..99bf7939
--- /dev/null
+++ b/docs/MobileAppsSubmissionUpdatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.MobileAppsSubmissionUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/NextStatusWithOrderType.md b/docs/NextStatusWithOrderType.md
new file mode 100644
index 00000000..9232c433
--- /dev/null
+++ b/docs/NextStatusWithOrderType.md
@@ -0,0 +1,25 @@
+# Flipdish.NextStatusWithOrderType
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderType** | **String** | Order type | [optional]
+**NextStatus** | **String** | Next status id | [optional]
+
+
+
+## Enum: OrderTypeEnum
+
+
+* `All` (value: `"All"`)
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Collection` (value: `"Collection"`)
+
+* `DineIn` (value: `"DineIn"`)
+
+
+
+
diff --git a/docs/NutritionInfo.md b/docs/NutritionInfo.md
new file mode 100644
index 00000000..e22d2ced
--- /dev/null
+++ b/docs/NutritionInfo.md
@@ -0,0 +1,11 @@
+# Flipdish.NutritionInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Version** | **String** | Version of the nutrition information model | [optional]
+**MenuItems** | [**[NutritionInfoMenuItem]**](NutritionInfoMenuItem.md) | List of menu item nutrition infos | [optional]
+**MenuItemOptionSetItems** | [**[NutritionInfoMenuOptionSetItem]**](NutritionInfoMenuOptionSetItem.md) | List of menu item option set nutrition infos | [optional]
+
+
diff --git a/docs/NutritionInfoItemAddUpdateLabelModel.md b/docs/NutritionInfoItemAddUpdateLabelModel.md
new file mode 100644
index 00000000..8c5aea17
--- /dev/null
+++ b/docs/NutritionInfoItemAddUpdateLabelModel.md
@@ -0,0 +1,11 @@
+# Flipdish.NutritionInfoItemAddUpdateLabelModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**Values** | **[String]** | | [optional]
+**IconUrl** | **String** | | [optional]
+
+
diff --git a/docs/NutritionInfoLabel.md b/docs/NutritionInfoLabel.md
new file mode 100644
index 00000000..b886330b
--- /dev/null
+++ b/docs/NutritionInfoLabel.md
@@ -0,0 +1,11 @@
+# Flipdish.NutritionInfoLabel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name of the allergen / ingredient | [optional]
+**Values** | **[String]** | Optional list of values for the allergen / ingredient | [optional]
+**IconUrl** | **String** | Url to the icon for the allergen / ingredient | [optional]
+
+
diff --git a/docs/NutritionInfoMenuItem.md b/docs/NutritionInfoMenuItem.md
new file mode 100644
index 00000000..c5d14245
--- /dev/null
+++ b/docs/NutritionInfoMenuItem.md
@@ -0,0 +1,10 @@
+# Flipdish.NutritionInfoMenuItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PublicId** | **String** | Menu item public id | [optional]
+**Labels** | [**[NutritionInfoLabel]**](NutritionInfoLabel.md) | List of Nutrition Info Labels for this menu item | [optional]
+
+
diff --git a/docs/NutritionInfoMenuOptionSetItem.md b/docs/NutritionInfoMenuOptionSetItem.md
new file mode 100644
index 00000000..acb4cec8
--- /dev/null
+++ b/docs/NutritionInfoMenuOptionSetItem.md
@@ -0,0 +1,10 @@
+# Flipdish.NutritionInfoMenuOptionSetItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PublicId** | **String** | Menu item option set item public id | [optional]
+**Labels** | [**[NutritionInfoLabel]**](NutritionInfoLabel.md) | List of Nutrition Info Labels for this menu item option set item | [optional]
+
+
diff --git a/docs/NutritionInfoV2.md b/docs/NutritionInfoV2.md
new file mode 100644
index 00000000..019032e0
--- /dev/null
+++ b/docs/NutritionInfoV2.md
@@ -0,0 +1,11 @@
+# Flipdish.NutritionInfoV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuItems** | [**[NutritionInfoV2Item]**](NutritionInfoV2Item.md) | List of menu item nutrition infos | [optional]
+**MenuItemOptionSetItems** | [**[NutritionInfoV2Item]**](NutritionInfoV2Item.md) | List of menu item option set nutrition infos | [optional]
+**ImageBaseUrl** | **String** | Base url for allergen images | [optional]
+
+
diff --git a/docs/NutritionInfoV2Allergen.md b/docs/NutritionInfoV2Allergen.md
new file mode 100644
index 00000000..49327391
--- /dev/null
+++ b/docs/NutritionInfoV2Allergen.md
@@ -0,0 +1,11 @@
+# Flipdish.NutritionInfoV2Allergen
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AllergenId** | **String** | AllergenId (unique string identifier) | [optional]
+**LocalizedName** | **String** | Localized allergen name | [optional]
+**ImageName** | **String** | Name of the image file. Append it to ImageBaseUrl to get the full URL | [optional]
+
+
diff --git a/docs/NutritionInfoV2Item.md b/docs/NutritionInfoV2Item.md
new file mode 100644
index 00000000..766904f6
--- /dev/null
+++ b/docs/NutritionInfoV2Item.md
@@ -0,0 +1,10 @@
+# Flipdish.NutritionInfoV2Item
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PublicId** | **String** | Menu item or menu item option set item public id | [optional]
+**Allergens** | [**[NutritionInfoV2Allergen]**](NutritionInfoV2Allergen.md) | List of allergens for this item | [optional]
+
+
diff --git a/docs/OAuthApp.md b/docs/OAuthApp.md
new file mode 100644
index 00000000..f4287327
--- /dev/null
+++ b/docs/OAuthApp.md
@@ -0,0 +1,42 @@
+# Flipdish.OAuthApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OauthAppId** | **String** | OAuth App Identifier | [optional]
+**OauthAppName** | **String** | OAuth App Name | [optional]
+**OwnerUserId** | **Number** | OAuth App owner user identifier | [optional]
+**LogoUri** | **String** | OAuth App logo uri | [optional]
+**Flow** | **String** | Supported OpenID Connect flows | [optional]
+**RefreshTokenUsage** | **String** | ReUse: the refresh token handle will stay the same when refreshing tokens OneTime: the refresh token handle will be updated when refreshing tokens | [optional]
+**AccessTokenLifetime** | **Number** | Timem it takes for the IdentityToken to expire in seconds | [optional]
+**AbsoluteRefreshTokenLifetime** | **Number** | Maximum lifetime of a refresh token in seconds | [optional]
+
+
+
+## Enum: FlowEnum
+
+
+* `AuthorizationCode` (value: `"AuthorizationCode"`)
+
+* `Implicit` (value: `"Implicit"`)
+
+* `Hybrid` (value: `"Hybrid"`)
+
+* `ClientCredentials` (value: `"ClientCredentials"`)
+
+
+
+
+
+## Enum: RefreshTokenUsageEnum
+
+
+* `ReUse` (value: `"ReUse"`)
+
+* `OneTimeOnly` (value: `"OneTimeOnly"`)
+
+
+
+
diff --git a/docs/OAuthClientsApi.md b/docs/OAuthClientsApi.md
new file mode 100644
index 00000000..6fa1ab27
--- /dev/null
+++ b/docs/OAuthClientsApi.md
@@ -0,0 +1,564 @@
+# Flipdish.OAuthClientsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addRedirectUri**](OAuthClientsApi.md#addRedirectUri) | **POST** /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis |
+[**createOAuthApp**](OAuthClientsApi.md#createOAuthApp) | **POST** /api/v1.0/{appId}/oauthclients |
+[**deleteOAuthApp**](OAuthClientsApi.md#deleteOAuthApp) | **DELETE** /api/v1.0/{appId}/oauthclients/{oauthAppId} |
+[**getOAuthApps**](OAuthClientsApi.md#getOAuthApps) | **GET** /api/v1.0/{appId}/oauthclients |
+[**getOAuthClientByClientId**](OAuthClientsApi.md#getOAuthClientByClientId) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId} |
+[**getOAuthClientSecret**](OAuthClientsApi.md#getOAuthClientSecret) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId}/secret |
+[**getOauthAccessToken**](OAuthClientsApi.md#getOauthAccessToken) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId}/accesstoken |
+[**getRedirectUris**](OAuthClientsApi.md#getRedirectUris) | **GET** /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis |
+[**oAuthClientsGetApplications**](OAuthClientsApi.md#oAuthClientsGetApplications) | **GET** /api/v1.0/{appId}/oauthclients/appnames |
+[**removeRedirectUri**](OAuthClientsApi.md#removeRedirectUri) | **DELETE** /api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis/{uriId} |
+[**updateOAuthApp**](OAuthClientsApi.md#updateOAuthApp) | **POST** /api/v1.0/{appId}/oauthclients/{oauthAppId} |
+
+
+
+## addRedirectUri
+
+> RestApiResultOauthClientRedirectUri addRedirectUri(oauthAppId, appId, uri)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+let uri = "uri_example"; // String |
+apiInstance.addRedirectUri(oauthAppId, appId, uri, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+ **uri** | **String**| |
+
+### Return type
+
+[**RestApiResultOauthClientRedirectUri**](RestApiResultOauthClientRedirectUri.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## createOAuthApp
+
+> createOAuthApp(appId, oAuthApp)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let appId = "appId_example"; // String |
+let oAuthApp = new Flipdish.OAuthApp(); // OAuthApp |
+apiInstance.createOAuthApp(appId, oAuthApp, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **oAuthApp** | [**OAuthApp**](OAuthApp.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## deleteOAuthApp
+
+> deleteOAuthApp(oauthAppId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.deleteOAuthApp(oauthAppId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getOAuthApps
+
+> RestApiArrayResultOAuthApp getOAuthApps(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'oauthAppName': "oauthAppName_example" // String |
+};
+apiInstance.getOAuthApps(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **oauthAppName** | **String**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultOAuthApp**](RestApiArrayResultOAuthApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getOAuthClientByClientId
+
+> RestApiResultOAuthApp getOAuthClientByClientId(oauthAppId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.getOAuthClientByClientId(oauthAppId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultOAuthApp**](RestApiResultOAuthApp.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getOAuthClientSecret
+
+> RestApiStringResult getOAuthClientSecret(oauthAppId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.getOAuthClientSecret(oauthAppId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getOauthAccessToken
+
+> RestApiStringResult getOauthAccessToken(oauthAppId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.getOauthAccessToken(oauthAppId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getRedirectUris
+
+> RestApiArrayResultOauthClientRedirectUri getRedirectUris(oauthAppId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.getRedirectUris(oauthAppId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultOauthClientRedirectUri**](RestApiArrayResultOauthClientRedirectUri.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## oAuthClientsGetApplications
+
+> Object oAuthClientsGetApplications(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let appId = "appId_example"; // String |
+apiInstance.oAuthClientsGetApplications(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## removeRedirectUri
+
+> removeRedirectUri(oauthAppId, uriId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let uriId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.removeRedirectUri(oauthAppId, uriId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **uriId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## updateOAuthApp
+
+> updateOAuthApp(oauthAppId, appId, oAuthApp)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OAuthClientsApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+let oAuthApp = new Flipdish.OAuthApp(); // OAuthApp |
+apiInstance.updateOAuthApp(oauthAppId, appId, oAuthApp, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+ **oAuthApp** | [**OAuthApp**](OAuthApp.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
diff --git a/docs/OAuthTokenModel.md b/docs/OAuthTokenModel.md
new file mode 100644
index 00000000..ae7e18d8
--- /dev/null
+++ b/docs/OAuthTokenModel.md
@@ -0,0 +1,13 @@
+# Flipdish.OAuthTokenModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **String** | Identitifier key | [optional]
+**TokenType** | **String** | Token type | [optional]
+**SubjectId** | **String** | Oauth subject identifier | [optional]
+**ClientId** | **String** | Oauth client identifier | [optional]
+**Expiry** | **Date** | Token expiry | [optional]
+
+
diff --git a/docs/OauthClientRedirectUri.md b/docs/OauthClientRedirectUri.md
new file mode 100644
index 00000000..7e55eabe
--- /dev/null
+++ b/docs/OauthClientRedirectUri.md
@@ -0,0 +1,10 @@
+# Flipdish.OauthClientRedirectUri
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Redirect uri identifier | [optional]
+**Uri** | **String** | Redirect uri | [optional]
+
+
diff --git a/docs/ObjectDisplayOrder.md b/docs/ObjectDisplayOrder.md
new file mode 100644
index 00000000..0c202426
--- /dev/null
+++ b/docs/ObjectDisplayOrder.md
@@ -0,0 +1,10 @@
+# Flipdish.ObjectDisplayOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | ID of object to be ordered | [optional]
+**DisplayOrder** | **Number** | New Display order | [optional]
+
+
diff --git a/docs/OktaPortalFeatureFlag.md b/docs/OktaPortalFeatureFlag.md
new file mode 100644
index 00000000..37f2fca0
--- /dev/null
+++ b/docs/OktaPortalFeatureFlag.md
@@ -0,0 +1,9 @@
+# Flipdish.OktaPortalFeatureFlag
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OktaPortalEnabled** | **Boolean** | Feature flag backend_portal_enableOktaWebApi value | [optional]
+
+
diff --git a/docs/OnboardingApi.md b/docs/OnboardingApi.md
new file mode 100644
index 00000000..446472ba
--- /dev/null
+++ b/docs/OnboardingApi.md
@@ -0,0 +1,424 @@
+# Flipdish.OnboardingApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**onboardingGetOnboardingConfig**](OnboardingApi.md#onboardingGetOnboardingConfig) | **GET** /api/v1.0/clients/{appId}/onboarding/config |
+[**onboardingGetOnboardingConfigs**](OnboardingApi.md#onboardingGetOnboardingConfigs) | **GET** /api/v1.0/clients/{appId}/onboarding/configs |
+[**onboardingGetOnboardingItems**](OnboardingApi.md#onboardingGetOnboardingItems) | **GET** /api/v1.0/clients/{appId}/onboarding/stores/{storeId} |
+[**onboardingGetOnboardingItemsV2**](OnboardingApi.md#onboardingGetOnboardingItemsV2) | **GET** /api/v1.0/clients/{appId}/onboarding/stores |
+[**onboardingUpdateOnboardingConfig**](OnboardingApi.md#onboardingUpdateOnboardingConfig) | **POST** /api/v1.0/clients/{appId}/onboarding/config |
+[**onboardingUpdateOnboardingConfigById**](OnboardingApi.md#onboardingUpdateOnboardingConfigById) | **POST** /api/v1.0/clients/{appId}/onboarding/config/{configId} |
+[**onboardingUpdateOnboardingItem**](OnboardingApi.md#onboardingUpdateOnboardingItem) | **POST** /api/v1.0/clients/{appId}/onboarding/stores/{storeId}/items/{onboardingItemId} |
+[**onboardingUpdateOnboardingItemV2**](OnboardingApi.md#onboardingUpdateOnboardingItemV2) | **POST** /api/v1.0/clients/{appId}/onboarding/stores/items/{onboardingItemId} |
+
+
+
+## onboardingGetOnboardingConfig
+
+> Object onboardingGetOnboardingConfig(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+apiInstance.onboardingGetOnboardingConfig(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingGetOnboardingConfigs
+
+> Object onboardingGetOnboardingConfigs(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+apiInstance.onboardingGetOnboardingConfigs(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingGetOnboardingItems
+
+> Object onboardingGetOnboardingItems(appId, storeId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let opts = {
+ 'milestoneId': 56 // Number |
+};
+apiInstance.onboardingGetOnboardingItems(appId, storeId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **milestoneId** | **Number**| | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingGetOnboardingItemsV2
+
+> Object onboardingGetOnboardingItemsV2(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeId': 56, // Number |
+ 'milestoneId': 56 // Number |
+};
+apiInstance.onboardingGetOnboardingItemsV2(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| | [optional]
+ **milestoneId** | **Number**| | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingUpdateOnboardingConfig
+
+> Object onboardingUpdateOnboardingConfig(appId, configUpdate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+let configUpdate = new Flipdish.OnboardingConfigUpdate(); // OnboardingConfigUpdate |
+apiInstance.onboardingUpdateOnboardingConfig(appId, configUpdate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **configUpdate** | [**OnboardingConfigUpdate**](OnboardingConfigUpdate.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingUpdateOnboardingConfigById
+
+> Object onboardingUpdateOnboardingConfigById(appId, configId, configUpdate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+let configId = 56; // Number |
+let configUpdate = new Flipdish.OnboardingConfigUpdate(); // OnboardingConfigUpdate |
+apiInstance.onboardingUpdateOnboardingConfigById(appId, configId, configUpdate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **configId** | **Number**| |
+ **configUpdate** | [**OnboardingConfigUpdate**](OnboardingConfigUpdate.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingUpdateOnboardingItem
+
+> Object onboardingUpdateOnboardingItem(appId, storeId, onboardingItemId, itemUpdate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let onboardingItemId = 56; // Number |
+let itemUpdate = new Flipdish.OnboardingItemUpdate(); // OnboardingItemUpdate |
+apiInstance.onboardingUpdateOnboardingItem(appId, storeId, onboardingItemId, itemUpdate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **onboardingItemId** | **Number**| |
+ **itemUpdate** | [**OnboardingItemUpdate**](OnboardingItemUpdate.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## onboardingUpdateOnboardingItemV2
+
+> Object onboardingUpdateOnboardingItemV2(appId, onboardingItemId, itemUpdate, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OnboardingApi();
+let appId = "appId_example"; // String |
+let onboardingItemId = 56; // Number |
+let itemUpdate = new Flipdish.OnboardingItemUpdate(); // OnboardingItemUpdate |
+let opts = {
+ 'storeId': 56 // Number |
+};
+apiInstance.onboardingUpdateOnboardingItemV2(appId, onboardingItemId, itemUpdate, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **onboardingItemId** | **Number**| |
+ **itemUpdate** | [**OnboardingItemUpdate**](OnboardingItemUpdate.md)| |
+ **storeId** | **Number**| | [optional]
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/OnboardingConfigUpdate.md b/docs/OnboardingConfigUpdate.md
new file mode 100644
index 00000000..558b6c8e
--- /dev/null
+++ b/docs/OnboardingConfigUpdate.md
@@ -0,0 +1,22 @@
+# Flipdish.OnboardingConfigUpdate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsEnabled** | **Boolean** | Gets or sets whether onboarding is enabled | [optional]
+**IsWelcomeScreenEnabled** | **Boolean** | Gets or sets whether welcome screen is enabled | [optional]
+**ConfigType** | **String** | Onboarding config type | [optional]
+
+
+
+## Enum: ConfigTypeEnum
+
+
+* `Tutorial` (value: `"Tutorial"`)
+
+* `OnboardingWizard` (value: `"OnboardingWizard"`)
+
+
+
+
diff --git a/docs/OnboardingItemUpdate.md b/docs/OnboardingItemUpdate.md
new file mode 100644
index 00000000..98a01b15
--- /dev/null
+++ b/docs/OnboardingItemUpdate.md
@@ -0,0 +1,22 @@
+# Flipdish.OnboardingItemUpdate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Status** | **String** | Completion Status for Onboarding Item | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `Pending` (value: `"Pending"`)
+
+* `InProgress` (value: `"InProgress"`)
+
+* `Completed` (value: `"Completed"`)
+
+
+
+
diff --git a/docs/Order.md b/docs/Order.md
new file mode 100644
index 00000000..810f40c7
--- /dev/null
+++ b/docs/Order.md
@@ -0,0 +1,268 @@
+# Flipdish.Order
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Store** | [**StoreSummary**](StoreSummary.md) | | [optional]
+**Customer** | [**CustomerSummary**](CustomerSummary.md) | | [optional]
+**Voucher** | [**OrderVoucherSummary**](OrderVoucherSummary.md) | | [optional]
+**Fees** | [**FeeSummary**](FeeSummary.md) | | [optional]
+**OrderItems** | [**[OrderItem]**](OrderItem.md) | Ordered items | [optional]
+**DeliveryLocation** | [**DeliveryLocation**](DeliveryLocation.md) | | [optional]
+**CustomerLocation** | [**Coordinates**](Coordinates.md) | | [optional]
+**MaskedPhoneNumber** | [**MaskedPhoneNumber**](MaskedPhoneNumber.md) | | [optional]
+**DropOffLocationId** | **Number** | Represents table service drop off location | [optional]
+**DropOffLocation** | **String** | Represents table service drop off location | [optional]
+**AcceptedFor** | **Date** | Time store has accepted the order for | [optional]
+**InFraudZone** | **Boolean** | Was order made within a fraud zone | [optional]
+**UnusualHighValueOrder** | **Boolean** | Is order of unusually high value | [optional]
+**RejectedByUserId** | **Number** | Id of user who rejected order, if available | [optional]
+**ChannelOrderId** | **String** | ChannelOrderId from external channel | [optional]
+**ChannelOrderDisplayId** | **String** | ChannelOrderDisplayId from external channel | [optional]
+**Channel** | [**Channel**](Channel.md) | | [optional]
+**OrderDropOffLocation** | [**OrderDropOffLocation**](OrderDropOffLocation.md) | | [optional]
+**FulfillmentStatus** | [**OrderFulfillmentStatusBase**](OrderFulfillmentStatusBase.md) | | [optional]
+**OrderBatchInfo** | [**OrderBatchSummary**](OrderBatchSummary.md) | | [optional]
+**TaxItems** | [**[TaxItem]**](TaxItem.md) | A collection of tax items on the order. | [optional]
+**CreatedCampaignVoucherId** | **Number** | The id of the campaign voucher that was created from this order | [optional]
+**OrderId** | **Number** | Order identifier | [optional]
+**LocalOrderId** | **String** | Local order Id. This is used for displaying a \"shorter\" order ID for customers (eg. Kiosk orders) | [optional]
+**DeliveryType** | **String** | Delivery type | [optional]
+**PickupLocationType** | **String** | Pickup location type | [optional]
+**TableServiceCatagory** | **String** | Pickup location type | [optional]
+**TipAmount** | **Number** | Tip amount | [optional]
+**DeliveryAmount** | **Number** | Delivery amount | [optional]
+**OrderItemsAmount** | **Number** | Ordered items amount | [optional]
+**ServiceChargeAmount** | **Number** | Service Charge Amount | [optional]
+**ServiceChargePercentage** | **Number** | Service Charge Percentage | [optional]
+**Amount** | **Number** | This is the sum of the OrderItemsAmount, DeliveryAmount, TipAmount and Voucher.Amount (which is usually negative) and OnlineOrderingFee for cash orders. It does not include the OnlineOrderingFee in the case of card orders as this fee is charged by Flipdish directly to the customer. | [optional]
+**ProcessingFee** | **Number** | This contains the online ordering processing fee. For card payments this is charged directly to the customer and for cash orders it is paid by the customer to the store. It is tax inclusive. | [optional]
+**PaymentAccountType** | **String** | Payment account type | [optional]
+**PaymentAccountDescription** | **String** | Payment account description (like Visa ****2371 or Apple Pay. or Cash) | [optional]
+**OrderState** | **String** | Order state | [optional]
+**IsPreOrder** | **Boolean** | Is pre-order | [optional]
+**PlacedTime** | **Date** | Order placed time | [optional]
+**RequestedForTime** | **Date** | Order requested for | [optional]
+**ChefNote** | **String** | Chef note | [optional]
+**AppType** | **String** | Used app type | [optional]
+**UserRating** | **Number** | User rating | [optional]
+**PaymentStatus** | **String** | Status of the payment | [optional]
+**RejectionReason** | **String** | Rejection reason. Can have value if the order is rejected. | [optional]
+**RefundedAmount** | **Number** | Amount refunded to customer. | [optional]
+**DeliveryTrackingStatus** | **String** | Delivery tracking status | [optional]
+**DriverId** | **Number** | Assigned driver identifier | [optional]
+**TotalTax** | **Number** | Total tax applied to order | [optional]
+**OrderTrackingCode** | **String** | Unique, 6 character long alpha numeric code for tracking. | [optional]
+**DeliveryFeeAreaId** | **Number** | Delivery area identifier | [optional]
+**ReceiptCode** | **String** | Code used to view the order's receipt | [optional]
+**TotalDepositReturnFeeAmount** | **Number** | This contains the total deposit return fee amount for the order. | [optional]
+
+
+
+## Enum: DeliveryTypeEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
+
+## Enum: PickupLocationTypeEnum
+
+
+* `TakeOut` (value: `"TakeOut"`)
+
+* `TableService` (value: `"TableService"`)
+
+* `DineIn` (value: `"DineIn"`)
+
+
+
+
+
+## Enum: TableServiceCatagoryEnum
+
+
+* `Generic` (value: `"Generic"`)
+
+* `Villa` (value: `"Villa"`)
+
+* `House` (value: `"House"`)
+
+* `Room` (value: `"Room"`)
+
+* `Area` (value: `"Area"`)
+
+* `Table` (value: `"Table"`)
+
+* `ParkingBay` (value: `"ParkingBay"`)
+
+* `Gate` (value: `"Gate"`)
+
+* `DriveThrough` (value: `"DriveThrough"`)
+
+* `Team` (value: `"Team"`)
+
+
+
+
+
+## Enum: PaymentAccountTypeEnum
+
+
+* `Card` (value: `"Card"`)
+
+* `Cash` (value: `"Cash"`)
+
+* `Ideal` (value: `"Ideal"`)
+
+* `Bancontact` (value: `"Bancontact"`)
+
+* `Giropay` (value: `"Giropay"`)
+
+* `Eps` (value: `"Eps"`)
+
+* `Emv` (value: `"Emv"`)
+
+* `PayPal` (value: `"PayPal"`)
+
+* `PayGreen` (value: `"PayGreen"`)
+
+* `GoogleWalletToken` (value: `"GoogleWalletToken"`)
+
+
+
+
+
+## Enum: OrderStateEnum
+
+
+* `Created` (value: `"Created"`)
+
+* `PlacedCanBeCancelled` (value: `"PlacedCanBeCancelled"`)
+
+* `ReadyToProcess` (value: `"ReadyToProcess"`)
+
+* `AcceptedByRestaurant` (value: `"AcceptedByRestaurant"`)
+
+* `Dispatched` (value: `"Dispatched"`)
+
+* `Delivered` (value: `"Delivered"`)
+
+* `Cancelled` (value: `"Cancelled"`)
+
+* `ManualReview` (value: `"ManualReview"`)
+
+* `RejectedByStore` (value: `"RejectedByStore"`)
+
+* `RejectedByFlipdish` (value: `"RejectedByFlipdish"`)
+
+* `RejectedAutomatically` (value: `"RejectedAutomatically"`)
+
+* `RejectedAfterBeingAccepted` (value: `"RejectedAfterBeingAccepted"`)
+
+* `AcceptedAndRefunded` (value: `"AcceptedAndRefunded"`)
+
+* `PendingPayment` (value: `"PendingPayment"`)
+
+
+
+
+
+## Enum: AppTypeEnum
+
+
+* `Unknown` (value: `"Unknown"`)
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `TelephoneCall` (value: `"TelephoneCall"`)
+
+* `Sms` (value: `"Sms"`)
+
+* `PwaAndroid` (value: `"PwaAndroid"`)
+
+* `PwaIos` (value: `"PwaIos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
+
+## Enum: PaymentStatusEnum
+
+
+* `Paid` (value: `"Paid"`)
+
+* `Unpaid` (value: `"Unpaid"`)
+
+* `Refunded` (value: `"Refunded"`)
+
+* `PartiallyRefunded` (value: `"PartiallyRefunded"`)
+
+* `Disputed` (value: `"Disputed"`)
+
+
+
+
+
+## Enum: RejectionReasonEnum
+
+
+* `TooBusy` (value: `"TooBusy"`)
+
+* `FoodUnavailable` (value: `"FoodUnavailable"`)
+
+* `UnableToDeliver` (value: `"UnableToDeliver"`)
+
+* `UnknownAddress` (value: `"UnknownAddress"`)
+
+* `UnknownReason` (value: `"UnknownReason"`)
+
+* `TooSoon` (value: `"TooSoon"`)
+
+* `TimeUnavailable` (value: `"TimeUnavailable"`)
+
+* `DontDeliverToArea` (value: `"DontDeliverToArea"`)
+
+* `StoreUncontactable` (value: `"StoreUncontactable"`)
+
+
+
+
+
+## Enum: DeliveryTrackingStatusEnum
+
+
+* `Unassigned` (value: `"Unassigned"`)
+
+* `Unaccepted` (value: `"Unaccepted"`)
+
+* `Accepted` (value: `"Accepted"`)
+
+* `Carrying` (value: `"Carrying"`)
+
+* `OnTheWay` (value: `"OnTheWay"`)
+
+* `ArrivedAtLocation` (value: `"ArrivedAtLocation"`)
+
+* `Delivered` (value: `"Delivered"`)
+
+* `CannotDeliver` (value: `"CannotDeliver"`)
+
+
+
+
diff --git a/docs/OrderAcceptedEvent.md b/docs/OrderAcceptedEvent.md
new file mode 100644
index 00000000..78cc3c62
--- /dev/null
+++ b/docs/OrderAcceptedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.OrderAcceptedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**Description** | **String** | Description | [optional]
+**OrderAcceptedTime** | **Date** | Order Accepted Time | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderBatch.md b/docs/OrderBatch.md
new file mode 100644
index 00000000..71808fa3
--- /dev/null
+++ b/docs/OrderBatch.md
@@ -0,0 +1,13 @@
+# Flipdish.OrderBatch
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderIds** | **[Number]** | Orders' ids on the batch | [optional]
+**Id** | **Number** | Order batch id | [optional]
+**DisplayCode** | **String** | Order batch 6-sign human readable code | [optional]
+**CreateTime** | **Date** | Batch creation date and time | [optional]
+**IsPublished** | **Boolean** | If the batch is already published | [optional]
+
+
diff --git a/docs/OrderBatchPublishedEvent.md b/docs/OrderBatchPublishedEvent.md
new file mode 100644
index 00000000..22b8bcfe
--- /dev/null
+++ b/docs/OrderBatchPublishedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.OrderBatchPublishedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrderBatchId** | **Number** | Order Batch Id | [optional]
+**StoreId** | **Number** | Store id the order batch belogs to | [optional]
+**OrderIds** | **[Number]** | Orders' ids on the batch | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderBatchSummary.md b/docs/OrderBatchSummary.md
new file mode 100644
index 00000000..e7292013
--- /dev/null
+++ b/docs/OrderBatchSummary.md
@@ -0,0 +1,12 @@
+# Flipdish.OrderBatchSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Order batch id | [optional]
+**DisplayCode** | **String** | Order batch 6-sign human readable code | [optional]
+**CreateTime** | **Date** | Batch creation date and time | [optional]
+**IsPublished** | **Boolean** | If the batch is already published | [optional]
+
+
diff --git a/docs/OrderBatchesApi.md b/docs/OrderBatchesApi.md
new file mode 100644
index 00000000..a0727bc5
--- /dev/null
+++ b/docs/OrderBatchesApi.md
@@ -0,0 +1,114 @@
+# Flipdish.OrderBatchesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getAllOrderBatches**](OrderBatchesApi.md#getAllOrderBatches) | **GET** /api/v1.0/{appId}/order-batches |
+[**getOrderBatch**](OrderBatchesApi.md#getOrderBatch) | **GET** /api/v1.0/{appId}/order-batches/{orderBatchId} |
+
+
+
+## getAllOrderBatches
+
+> RestApiArrayResultOrderBatch getAllOrderBatches(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrderBatchesApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeIds': [null], // [Number] |
+ 'createdFrom': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'createdTo': new Date("2013-10-20T19:20:30+01:00") // Date |
+};
+apiInstance.getAllOrderBatches(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+ **createdFrom** | **Date**| | [optional]
+ **createdTo** | **Date**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultOrderBatch**](RestApiArrayResultOrderBatch.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getOrderBatch
+
+> RestApiResultOrderBatch getOrderBatch(appId, orderBatchId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrderBatchesApi();
+let appId = "appId_example"; // String |
+let orderBatchId = 56; // Number |
+apiInstance.getOrderBatch(appId, orderBatchId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **orderBatchId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderBatch**](RestApiResultOrderBatch.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/OrderBatchingConfiguration.md b/docs/OrderBatchingConfiguration.md
new file mode 100644
index 00000000..e0d67469
--- /dev/null
+++ b/docs/OrderBatchingConfiguration.md
@@ -0,0 +1,10 @@
+# Flipdish.OrderBatchingConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BatchIntervalInSeconds** | **Number** | Batch sending interval in seconds | [optional]
+**IsEnabled** | **Boolean** | OrderBatching is enabled or not | [optional]
+
+
diff --git a/docs/OrderBatchingConfigurationApi.md b/docs/OrderBatchingConfigurationApi.md
new file mode 100644
index 00000000..593b9821
--- /dev/null
+++ b/docs/OrderBatchingConfigurationApi.md
@@ -0,0 +1,106 @@
+# Flipdish.OrderBatchingConfigurationApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**get**](OrderBatchingConfigurationApi.md#get) | **GET** /api/v1.0/stores/{storeId}/order-batching-configuration |
+[**post**](OrderBatchingConfigurationApi.md#post) | **POST** /api/v1.0/stores/{storeId}/order-batching-configuration |
+
+
+
+## get
+
+> RestApiResultOrderBatchingConfiguration get(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrderBatchingConfigurationApi();
+let storeId = 56; // Number |
+apiInstance.get(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderBatchingConfiguration**](RestApiResultOrderBatchingConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## post
+
+> post(storeId, setOrderBatchingConfiguration)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrderBatchingConfigurationApi();
+let storeId = 56; // Number |
+let setOrderBatchingConfiguration = new Flipdish.SetOrderBatchingConfiguration(); // SetOrderBatchingConfiguration |
+apiInstance.post(storeId, setOrderBatchingConfiguration, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **setOrderBatchingConfiguration** | [**SetOrderBatchingConfiguration**](SetOrderBatchingConfiguration.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/OrderCapacityConfigUpdatedEvent.md b/docs/OrderCapacityConfigUpdatedEvent.md
new file mode 100644
index 00000000..b775b9ad
--- /dev/null
+++ b/docs/OrderCapacityConfigUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.OrderCapacityConfigUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Id of the store whose order capacity configuration has been updated | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**OrderCapacityConfig** | [**StoreOrderCapacityConfigEditModel**](StoreOrderCapacityConfigEditModel.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderCreatedEvent.md b/docs/OrderCreatedEvent.md
new file mode 100644
index 00000000..93fbdf74
--- /dev/null
+++ b/docs/OrderCreatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.OrderCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**OrderCreatedTime** | **Date** | Order Created Time | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderCustomerTrackingCreatedEvent.md b/docs/OrderCustomerTrackingCreatedEvent.md
new file mode 100644
index 00000000..77ba7803
--- /dev/null
+++ b/docs/OrderCustomerTrackingCreatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.OrderCustomerTrackingCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**Order** | [**CustomerDeliveryTrackingOrder**](CustomerDeliveryTrackingOrder.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderDeliveryInformation.md b/docs/OrderDeliveryInformation.md
new file mode 100644
index 00000000..90c8824f
--- /dev/null
+++ b/docs/OrderDeliveryInformation.md
@@ -0,0 +1,41 @@
+# Flipdish.OrderDeliveryInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | Order Id | [optional]
+**ExternalReferenceId** | **String** | External Reference Id | [optional]
+**TrackUrl** | **String** | Tracking Url | [optional]
+**Status** | **String** | Delivery Status | [optional]
+**DeliveryStatusNotes** | **String** | Delivery Status Notes | [optional]
+**ErrorMessage** | **String** | Error Message | [optional]
+**IntegrationCode** | **String** | Integration Code | [optional]
+**IntegrationName** | **String** | Integration Name | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `None` (value: `"None"`)
+
+* `Unassigned` (value: `"Unassigned"`)
+
+* `Unaccepted` (value: `"Unaccepted"`)
+
+* `Accepted` (value: `"Accepted"`)
+
+* `Carrying` (value: `"Carrying"`)
+
+* `OnTheWay` (value: `"OnTheWay"`)
+
+* `ArrivedAtLocation` (value: `"ArrivedAtLocation"`)
+
+* `Delivered` (value: `"Delivered"`)
+
+* `CannotDeliver` (value: `"CannotDeliver"`)
+
+
+
+
diff --git a/docs/OrderDeliveryInformationBase.md b/docs/OrderDeliveryInformationBase.md
new file mode 100644
index 00000000..28812312
--- /dev/null
+++ b/docs/OrderDeliveryInformationBase.md
@@ -0,0 +1,40 @@
+# Flipdish.OrderDeliveryInformationBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ExternalReferenceId** | **String** | External Reference Id | [optional]
+**TrackUrl** | **String** | Tracking Url | [optional]
+**Status** | **String** | Delivery Status | [optional]
+**DeliveryStatusNotes** | **String** | Delivery Status Notes | [optional]
+**ErrorMessage** | **String** | Error Message | [optional]
+**IntegrationCode** | **String** | Integration Code | [optional]
+**IntegrationName** | **String** | Integration Name | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `None` (value: `"None"`)
+
+* `Unassigned` (value: `"Unassigned"`)
+
+* `Unaccepted` (value: `"Unaccepted"`)
+
+* `Accepted` (value: `"Accepted"`)
+
+* `Carrying` (value: `"Carrying"`)
+
+* `OnTheWay` (value: `"OnTheWay"`)
+
+* `ArrivedAtLocation` (value: `"ArrivedAtLocation"`)
+
+* `Delivered` (value: `"Delivered"`)
+
+* `CannotDeliver` (value: `"CannotDeliver"`)
+
+
+
+
diff --git a/docs/OrderDeliveryTrackingStatusUpdatedEvent.md b/docs/OrderDeliveryTrackingStatusUpdatedEvent.md
new file mode 100644
index 00000000..beb188e8
--- /dev/null
+++ b/docs/OrderDeliveryTrackingStatusUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.OrderDeliveryTrackingStatusUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**DeliveryIntegrationName** | **String** | Delivery integration name | [optional]
+**DeliveryErrorMessage** | **String** | Delivery error message (optional) | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderDispatchedEvent.md b/docs/OrderDispatchedEvent.md
new file mode 100644
index 00000000..f71ab726
--- /dev/null
+++ b/docs/OrderDispatchedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.OrderDispatchedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**OrderDispatchedTime** | **Date** | Order Rejected Time | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderDropOffLocation.md b/docs/OrderDropOffLocation.md
new file mode 100644
index 00000000..a3123ff4
--- /dev/null
+++ b/docs/OrderDropOffLocation.md
@@ -0,0 +1,14 @@
+# Flipdish.OrderDropOffLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | | [optional]
+**LocationName** | **String** | | [optional]
+**LocationAreaName** | **String** | | [optional]
+**LocationId** | **Number** | | [optional]
+**LocationAreaId** | **Number** | | [optional]
+**ExternalLocationId** | **String** | | [optional]
+
+
diff --git a/docs/OrderFulfillmentStatus.md b/docs/OrderFulfillmentStatus.md
new file mode 100644
index 00000000..2ef0e7e6
--- /dev/null
+++ b/docs/OrderFulfillmentStatus.md
@@ -0,0 +1,12 @@
+# Flipdish.OrderFulfillmentStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | Order Id | [optional]
+**StatusId** | **String** | Fulfillment Status Id | [optional]
+**StatusName** | **String** | Fulfillment Status Name | [optional]
+**Icon** | **String** | Status Icon | [optional]
+
+
diff --git a/docs/OrderFulfillmentStatusBase.md b/docs/OrderFulfillmentStatusBase.md
new file mode 100644
index 00000000..d8b28972
--- /dev/null
+++ b/docs/OrderFulfillmentStatusBase.md
@@ -0,0 +1,11 @@
+# Flipdish.OrderFulfillmentStatusBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StatusId** | **String** | Fulfillment Status Id | [optional]
+**StatusName** | **String** | Fulfillment Status Name | [optional]
+**Icon** | **String** | Status Icon | [optional]
+
+
diff --git a/docs/OrderFulfillmentStatusUpdate.md b/docs/OrderFulfillmentStatusUpdate.md
new file mode 100644
index 00000000..86859503
--- /dev/null
+++ b/docs/OrderFulfillmentStatusUpdate.md
@@ -0,0 +1,9 @@
+# Flipdish.OrderFulfillmentStatusUpdate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StatusId** | **String** | Fulfillment Status Id | [optional]
+
+
diff --git a/docs/OrderFulfillmentStatusUpdatedEvent.md b/docs/OrderFulfillmentStatusUpdatedEvent.md
new file mode 100644
index 00000000..cd1dc44e
--- /dev/null
+++ b/docs/OrderFulfillmentStatusUpdatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.OrderFulfillmentStatusUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**Description** | **String** | Description | [optional]
+**OrderId** | **Number** | Order Id | [optional]
+**StatusName** | **String** | Fulfillment status name | [optional]
+**StatusId** | **String** | Fulfillment status ID | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderFulfillmentStatusWithConfigurationActions.md b/docs/OrderFulfillmentStatusWithConfigurationActions.md
new file mode 100644
index 00000000..c5a8c0ce
--- /dev/null
+++ b/docs/OrderFulfillmentStatusWithConfigurationActions.md
@@ -0,0 +1,14 @@
+# Flipdish.OrderFulfillmentStatusWithConfigurationActions
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DefaultNextStatus** | **String** | Default next status (id) | [optional]
+**NextStatuses** | [**[FulfillentStatusActionItem]**](FulfillentStatusActionItem.md) | Possible next statuses | [optional]
+**OrderId** | **Number** | Order Id | [optional]
+**StatusId** | **String** | Fulfillment Status Id | [optional]
+**StatusName** | **String** | Fulfillment Status Name | [optional]
+**Icon** | **String** | Status Icon | [optional]
+
+
diff --git a/docs/OrderItem.md b/docs/OrderItem.md
new file mode 100644
index 00000000..de940b62
--- /dev/null
+++ b/docs/OrderItem.md
@@ -0,0 +1,22 @@
+# Flipdish.OrderItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderItemOptions** | [**[OrderItemOption]**](OrderItemOption.md) | Option list | [optional]
+**Metadata** | **{String: String}** | Metadata | [optional]
+**MenuItemPublicId** | **String** | Public id of the Menu Item | [optional]
+**MenuSectionName** | **String** | Menu section name | [optional]
+**MenuSectionDisplayOrder** | **Number** | Menu section display order | [optional]
+**Name** | **String** | Name | [optional]
+**Description** | **String** | Description | [optional]
+**Price** | **Number** | Price | [optional]
+**TaxAmount** | **Number** | Tax currency amount | [optional]
+**PriceIncludingOptionSetItems** | **Number** | Price including option set items | [optional]
+**MenuItemId** | **Number** | Menu item identifier | [optional]
+**MenuItemDisplayOrder** | **Number** | Menu item display order | [optional]
+**IsAvailable** | **Boolean** | Is available | [optional]
+**DepositReturnFee** | **Number** | Deposit return fee | [optional]
+
+
diff --git a/docs/OrderItemOption.md b/docs/OrderItemOption.md
new file mode 100644
index 00000000..1a3821db
--- /dev/null
+++ b/docs/OrderItemOption.md
@@ -0,0 +1,18 @@
+# Flipdish.OrderItemOption
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Metadata** | **{String: String}** | Metadata | [optional]
+**MenuItemOptionPublicId** | **String** | Public id of the Menu Item Option | [optional]
+**MenuItemOptionId** | **Number** | Menu item option identifier | [optional]
+**IsMasterOptionSetItem** | **Boolean** | Is master option set item | [optional]
+**Name** | **String** | Name | [optional]
+**Price** | **Number** | Price | [optional]
+**TaxAmount** | **Number** | Tax currency amount | [optional]
+**MenuItemOptionDisplayOrder** | **Number** | Menu item option display order | [optional]
+**MenuItemOptionSetDisplayOrder** | **Number** | Menu item option set display order | [optional]
+**DepositReturnFee** | **Number** | Deposit return fee | [optional]
+
+
diff --git a/docs/OrderLeadTimes.md b/docs/OrderLeadTimes.md
new file mode 100644
index 00000000..8b4b4bda
--- /dev/null
+++ b/docs/OrderLeadTimes.md
@@ -0,0 +1,9 @@
+# Flipdish.OrderLeadTimes
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LeadTimeMinutes** | **{String: Number}** | Mapping from the type of order to, to the default lead time that will be applied to those orders. The lead time is an integer number of minutes. | [optional]
+
+
diff --git a/docs/OrderList.md b/docs/OrderList.md
new file mode 100644
index 00000000..bb3a2a01
--- /dev/null
+++ b/docs/OrderList.md
@@ -0,0 +1,9 @@
+# Flipdish.OrderList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Orders** | [**[OrderReference]**](OrderReference.md) | A list of orders. | [optional]
+
+
diff --git a/docs/OrderPaymentInformation.md b/docs/OrderPaymentInformation.md
new file mode 100644
index 00000000..2269df61
--- /dev/null
+++ b/docs/OrderPaymentInformation.md
@@ -0,0 +1,10 @@
+# Flipdish.OrderPaymentInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | ID of the Order | [optional]
+**PaymentRefundable** | **Boolean** | Signifies if the payment is refundable | [optional]
+
+
diff --git a/docs/OrderRatingUpdatedEvent.md b/docs/OrderRatingUpdatedEvent.md
new file mode 100644
index 00000000..99ecd736
--- /dev/null
+++ b/docs/OrderRatingUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.OrderRatingUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Rating** | **Number** | New User Rating | [optional]
+**Description** | **String** | Description | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderReference.md b/docs/OrderReference.md
new file mode 100644
index 00000000..28317b26
--- /dev/null
+++ b/docs/OrderReference.md
@@ -0,0 +1,9 @@
+# Flipdish.OrderReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | The ID of the order. | [optional]
+
+
diff --git a/docs/OrderRefundedEvent.md b/docs/OrderRefundedEvent.md
new file mode 100644
index 00000000..64bc120b
--- /dev/null
+++ b/docs/OrderRefundedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.OrderRefundedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**RefundedAmount** | **Number** | The amount refunded | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderRejectedEvent.md b/docs/OrderRejectedEvent.md
new file mode 100644
index 00000000..f99bc15d
--- /dev/null
+++ b/docs/OrderRejectedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.OrderRejectedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**OrderRejectedTime** | **Date** | Order Rejected Time | [optional]
+**Reason** | **String** | Reason for Rejection | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderSummary.md b/docs/OrderSummary.md
new file mode 100644
index 00000000..88f4ebd6
--- /dev/null
+++ b/docs/OrderSummary.md
@@ -0,0 +1,428 @@
+# Flipdish.OrderSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | Order identifier | [optional]
+**DeliveryType** | **String** | Delivery type | [optional]
+**PickupLocationType** | **String** | Pickup location type | [optional]
+**TableServiceCatagory** | **String** | Table service category | [optional]
+**OrderState** | **String** | Order state | [optional]
+**RequestedForTime** | **Date** | Order requested for | [optional]
+**StoreName** | **String** | Name of the store | [optional]
+**StoreIanaTimeZone** | **String** | Store IANA time zone | [optional]
+**CustomerName** | **String** | Name of the customer | [optional]
+**CustomerPhoneNumber** | **String** | Phone number of customer | [optional]
+**Amount** | **Number** | This is the sum of the OrderItemsAmount, DeliveryAmount, TipAmount and Voucher.Amount (which is usually negative) and OnlineOrderingFee It does include the OnlineOrderingFee | [optional]
+**RefundedAmount** | **Number** | Refunded amount | [optional]
+**PaymentAccountType** | **String** | Payment Account | [optional]
+**PaymentStatus** | **String** | Status of the payment | [optional]
+**Currency** | **String** | Currency of payment | [optional]
+**AppType** | **String** | Type of app end user is on | [optional]
+**LocalOrderId** | **String** | Local order Id. This is used for displaying a \"shorter\" order ID for customers (eg. Kiosk orders) | [optional]
+**DropOffLocationId** | **Number** | id of the collection/drop off location | [optional]
+**DropOffLocation** | **String** | Represents table service drop off location | [optional]
+**AcceptedFor** | **Date** | Time store has accepted the order for | [optional]
+**Channel** | [**Channel**](Channel.md) | | [optional]
+**InFraudZone** | **Boolean** | Was order made within a fraud zone | [optional]
+**UnusualHighValueOrder** | **Boolean** | Is order of unusually high value | [optional]
+**ChannelOrderId** | **String** | ChannelOrderId from external channel | [optional]
+**ChannelOrderDisplayId** | **String** | ChannelOrderDisplayId from external channel | [optional]
+**OrderDropOffLocation** | [**OrderDropOffLocation**](OrderDropOffLocation.md) | | [optional]
+**OrderBatchInfo** | [**OrderBatchSummary**](OrderBatchSummary.md) | | [optional]
+**DeliveryLocation** | [**DeliveryLocation**](DeliveryLocation.md) | | [optional]
+
+
+
+## Enum: DeliveryTypeEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
+
+## Enum: PickupLocationTypeEnum
+
+
+* `TakeOut` (value: `"TakeOut"`)
+
+* `TableService` (value: `"TableService"`)
+
+* `DineIn` (value: `"DineIn"`)
+
+
+
+
+
+## Enum: TableServiceCatagoryEnum
+
+
+* `Generic` (value: `"Generic"`)
+
+* `Villa` (value: `"Villa"`)
+
+* `House` (value: `"House"`)
+
+* `Room` (value: `"Room"`)
+
+* `Area` (value: `"Area"`)
+
+* `Table` (value: `"Table"`)
+
+* `ParkingBay` (value: `"ParkingBay"`)
+
+* `Gate` (value: `"Gate"`)
+
+* `DriveThrough` (value: `"DriveThrough"`)
+
+* `Team` (value: `"Team"`)
+
+
+
+
+
+## Enum: OrderStateEnum
+
+
+* `Created` (value: `"Created"`)
+
+* `PlacedCanBeCancelled` (value: `"PlacedCanBeCancelled"`)
+
+* `ReadyToProcess` (value: `"ReadyToProcess"`)
+
+* `AcceptedByRestaurant` (value: `"AcceptedByRestaurant"`)
+
+* `Dispatched` (value: `"Dispatched"`)
+
+* `Delivered` (value: `"Delivered"`)
+
+* `Cancelled` (value: `"Cancelled"`)
+
+* `ManualReview` (value: `"ManualReview"`)
+
+* `RejectedByStore` (value: `"RejectedByStore"`)
+
+* `RejectedByFlipdish` (value: `"RejectedByFlipdish"`)
+
+* `RejectedAutomatically` (value: `"RejectedAutomatically"`)
+
+* `RejectedAfterBeingAccepted` (value: `"RejectedAfterBeingAccepted"`)
+
+* `AcceptedAndRefunded` (value: `"AcceptedAndRefunded"`)
+
+* `PendingPayment` (value: `"PendingPayment"`)
+
+
+
+
+
+## Enum: PaymentAccountTypeEnum
+
+
+* `Card` (value: `"Card"`)
+
+* `Cash` (value: `"Cash"`)
+
+* `Ideal` (value: `"Ideal"`)
+
+* `Bancontact` (value: `"Bancontact"`)
+
+* `Giropay` (value: `"Giropay"`)
+
+* `Eps` (value: `"Eps"`)
+
+* `Emv` (value: `"Emv"`)
+
+* `PayPal` (value: `"PayPal"`)
+
+* `PayGreen` (value: `"PayGreen"`)
+
+* `GoogleWalletToken` (value: `"GoogleWalletToken"`)
+
+
+
+
+
+## Enum: PaymentStatusEnum
+
+
+* `Paid` (value: `"Paid"`)
+
+* `Unpaid` (value: `"Unpaid"`)
+
+* `Refunded` (value: `"Refunded"`)
+
+* `PartiallyRefunded` (value: `"PartiallyRefunded"`)
+
+* `Disputed` (value: `"Disputed"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: AppTypeEnum
+
+
+* `Unknown` (value: `"Unknown"`)
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `TelephoneCall` (value: `"TelephoneCall"`)
+
+* `Sms` (value: `"Sms"`)
+
+* `PwaAndroid` (value: `"PwaAndroid"`)
+
+* `PwaIos` (value: `"PwaIos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
diff --git a/docs/OrderTipUpdatedEvent.md b/docs/OrderTipUpdatedEvent.md
new file mode 100644
index 00000000..fd0cf7bc
--- /dev/null
+++ b/docs/OrderTipUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.OrderTipUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**TipAmount** | **Number** | Tip Amount | [optional]
+**Description** | **String** | Description | [optional]
+**Order** | [**Order**](Order.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/OrderVoucherSummary.md b/docs/OrderVoucherSummary.md
new file mode 100644
index 00000000..a6c84f40
--- /dev/null
+++ b/docs/OrderVoucherSummary.md
@@ -0,0 +1,53 @@
+# Flipdish.OrderVoucherSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher ID | [optional]
+**Name** | **String** | Voucher name | [optional]
+**Description** | **String** | Voucher description | [optional]
+**Code** | **String** | Voucher code | [optional]
+**Amount** | **Number** | Voucher amount | [optional]
+**Type** | **String** | Voucher type | [optional]
+**SubType** | **String** | Voucher sub type | [optional]
+
+
+
+## Enum: TypeEnum
+
+
+* `PercentageDiscount` (value: `"PercentageDiscount"`)
+
+* `LumpDiscount` (value: `"LumpDiscount"`)
+
+* `AddItem` (value: `"AddItem"`)
+
+* `CreditNote` (value: `"CreditNote"`)
+
+* `FreeDelivery` (value: `"FreeDelivery"`)
+
+
+
+
+
+## Enum: SubTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `SignUp` (value: `"SignUp"`)
+
+* `Loyalty` (value: `"Loyalty"`)
+
+* `Loyalty25` (value: `"Loyalty25"`)
+
+* `Retention` (value: `"Retention"`)
+
+* `SecondaryRetention` (value: `"SecondaryRetention"`)
+
+* `Custom` (value: `"Custom"`)
+
+
+
+
diff --git a/docs/OrdersApi.md b/docs/OrdersApi.md
new file mode 100644
index 00000000..5c5e377a
--- /dev/null
+++ b/docs/OrdersApi.md
@@ -0,0 +1,804 @@
+# Flipdish.OrdersApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**acceptOrder**](OrdersApi.md#acceptOrder) | **POST** /api/v1.0/orders/{id}/accept |
+[**dispatchOrder**](OrdersApi.md#dispatchOrder) | **POST** /api/v1.0/orders/{id}/dispatch |
+[**getDeliveryInformation**](OrdersApi.md#getDeliveryInformation) | **GET** /api/v1.0/orders/{orderId}/deliveryinfo |
+[**getFulfillmentState**](OrdersApi.md#getFulfillmentState) | **GET** /api/v1.0/orders/{orderId}/fulfillment/state |
+[**getFulfillmentStatusWithDetailsAndActions**](OrdersApi.md#getFulfillmentStatusWithDetailsAndActions) | **GET** /api/v1.0/orders/{orderId}/fulfillment/state/details |
+[**getOrderById**](OrdersApi.md#getOrderById) | **GET** /api/v1.0/orders/{id} |
+[**getOrders**](OrdersApi.md#getOrders) | **GET** /api/v1.0/orders |
+[**getOrdersSummary**](OrdersApi.md#getOrdersSummary) | **GET** /api/v1.0/{appId}/orders/summaries |
+[**getOrdersSummaryNew**](OrdersApi.md#getOrdersSummaryNew) | **GET** /api/v1.0/{appId}/orders/summariesNew |
+[**getReadyToProcess**](OrdersApi.md#getReadyToProcess) | **GET** /api/v1.0/{appId}/orders/ready_to_process |
+[**refundOrder**](OrdersApi.md#refundOrder) | **POST** /api/v1.0/orders/{id}/refund |
+[**rejectOrder**](OrdersApi.md#rejectOrder) | **POST** /api/v1.0/orders/{id}/reject |
+[**searchFulfillmentStatuses**](OrdersApi.md#searchFulfillmentStatuses) | **GET** /api/v1.0/{appId}/orders/fulfillmentstatuses |
+[**updateDeliveryInformation**](OrdersApi.md#updateDeliveryInformation) | **POST** /api/v1.0/orders/{orderId}/deliveryinfo |
+[**updateFulfillmentState**](OrdersApi.md#updateFulfillmentState) | **POST** /api/v1.0/orders/{orderId}/fulfillment/state |
+
+
+
+## acceptOrder
+
+> acceptOrder(id, acceptObject)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let id = 56; // Number |
+let acceptObject = new Flipdish.Accept(); // Accept |
+apiInstance.acceptOrder(id, acceptObject, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **Number**| |
+ **acceptObject** | [**Accept**](Accept.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## dispatchOrder
+
+> dispatchOrder(id)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let id = 56; // Number |
+apiInstance.dispatchOrder(id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getDeliveryInformation
+
+> RestApiResultOrderDeliveryInformation getDeliveryInformation(orderId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let orderId = 56; // Number |
+apiInstance.getDeliveryInformation(orderId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderDeliveryInformation**](RestApiResultOrderDeliveryInformation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getFulfillmentState
+
+> RestApiResultOrderFulfillmentStatus getFulfillmentState(orderId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let orderId = 56; // Number |
+apiInstance.getFulfillmentState(orderId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderFulfillmentStatus**](RestApiResultOrderFulfillmentStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getFulfillmentStatusWithDetailsAndActions
+
+> RestApiResultOrderFulfillmentStatusWithConfigurationActions getFulfillmentStatusWithDetailsAndActions(orderId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let orderId = 56; // Number |
+apiInstance.getFulfillmentStatusWithDetailsAndActions(orderId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderFulfillmentStatusWithConfigurationActions**](RestApiResultOrderFulfillmentStatusWithConfigurationActions.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getOrderById
+
+> RestApiResultOrder getOrderById(id)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let id = 56; // Number |
+apiInstance.getOrderById(id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrder**](RestApiResultOrder.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getOrders
+
+> RestApiPaginationResultOrder getOrders(opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let opts = {
+ 'physicalRestaurantId': [null], // [Number] |
+ 'state': ["null"], // [String] |
+ 'from': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'to': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getOrders(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **physicalRestaurantId** | [**[Number]**](Number.md)| | [optional]
+ **state** | [**[String]**](String.md)| | [optional]
+ **from** | **Date**| | [optional]
+ **to** | **Date**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultOrder**](RestApiPaginationResultOrder.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getOrdersSummary
+
+> RestApiPaginationResultOrderSummary getOrdersSummary(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'searchQuery': "searchQuery_example", // String |
+ 'physicalRestaurantId': [null], // [Number] |
+ 'state': ["null"], // [String] |
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'orderByRequestedForTime': true, // Boolean |
+ 'channels': ["null"], // [String] |
+ 'orderIds': [null], // [Number] |
+ 'from': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'to': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'logSql': true // Boolean |
+};
+apiInstance.getOrdersSummary(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **searchQuery** | **String**| | [optional]
+ **physicalRestaurantId** | [**[Number]**](Number.md)| | [optional]
+ **state** | [**[String]**](String.md)| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **orderByRequestedForTime** | **Boolean**| | [optional]
+ **channels** | [**[String]**](String.md)| | [optional]
+ **orderIds** | [**[Number]**](Number.md)| | [optional]
+ **from** | **Date**| | [optional]
+ **to** | **Date**| | [optional]
+ **logSql** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultOrderSummary**](RestApiPaginationResultOrderSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getOrdersSummaryNew
+
+> RestApiPaginationResultOrderSummary getOrdersSummaryNew(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'searchQuery': "searchQuery_example", // String |
+ 'physicalRestaurantId': [null], // [Number] |
+ 'state': ["null"], // [String] |
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'orderByRequestedForTime': true, // Boolean |
+ 'channels': ["null"], // [String] |
+ 'orderIds': [null], // [Number] |
+ 'from': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'to': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'logSql': true // Boolean |
+};
+apiInstance.getOrdersSummaryNew(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **searchQuery** | **String**| | [optional]
+ **physicalRestaurantId** | [**[Number]**](Number.md)| | [optional]
+ **state** | [**[String]**](String.md)| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **orderByRequestedForTime** | **Boolean**| | [optional]
+ **channels** | [**[String]**](String.md)| | [optional]
+ **orderIds** | [**[Number]**](Number.md)| | [optional]
+ **from** | **Date**| | [optional]
+ **to** | **Date**| | [optional]
+ **logSql** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultOrderSummary**](RestApiPaginationResultOrderSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getReadyToProcess
+
+> OrderList getReadyToProcess(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeId': [null] // [Number] |
+};
+apiInstance.getReadyToProcess(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**OrderList**](OrderList.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message
+
+
+## refundOrder
+
+> refundOrder(id, refundObject)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let id = 56; // Number |
+let refundObject = new Flipdish.Refund(); // Refund |
+apiInstance.refundOrder(id, refundObject, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **Number**| |
+ **refundObject** | [**Refund**](Refund.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## rejectOrder
+
+> rejectOrder(id, rejectObject)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let id = 56; // Number |
+let rejectObject = new Flipdish.Reject(); // Reject |
+apiInstance.rejectOrder(id, rejectObject, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **id** | **Number**| |
+ **rejectObject** | [**Reject**](Reject.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## searchFulfillmentStatuses
+
+> RestApiArrayResultOrderFulfillmentStatus searchFulfillmentStatuses(appId, orderIds)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let appId = "appId_example"; // String |
+let orderIds = "orderIds_example"; // String |
+apiInstance.searchFulfillmentStatuses(appId, orderIds, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **orderIds** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultOrderFulfillmentStatus**](RestApiArrayResultOrderFulfillmentStatus.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateDeliveryInformation
+
+> updateDeliveryInformation(orderId, deliveryInformation)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let orderId = 56; // Number |
+let deliveryInformation = new Flipdish.OrderDeliveryInformationBase(); // OrderDeliveryInformationBase |
+apiInstance.updateDeliveryInformation(orderId, deliveryInformation, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+ **deliveryInformation** | [**OrderDeliveryInformationBase**](OrderDeliveryInformationBase.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateFulfillmentState
+
+> updateFulfillmentState(orderId, fulfillmentStatusRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.OrdersApi();
+let orderId = 56; // Number |
+let fulfillmentStatusRequest = new Flipdish.OrderFulfillmentStatusUpdate(); // OrderFulfillmentStatusUpdate |
+apiInstance.updateFulfillmentState(orderId, fulfillmentStatusRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+ **fulfillmentStatusRequest** | [**OrderFulfillmentStatusUpdate**](OrderFulfillmentStatusUpdate.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/OtherChargesDetails.md b/docs/OtherChargesDetails.md
new file mode 100644
index 00000000..1569455d
--- /dev/null
+++ b/docs/OtherChargesDetails.md
@@ -0,0 +1,10 @@
+# Flipdish.OtherChargesDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TotalOtherCharges** | **Number** | Total amount of other charges | [optional]
+**ChargesCount** | **Number** | Number of other charges | [optional]
+
+
diff --git a/docs/OwnerEntityConfiguration.md b/docs/OwnerEntityConfiguration.md
new file mode 100644
index 00000000..1888197c
--- /dev/null
+++ b/docs/OwnerEntityConfiguration.md
@@ -0,0 +1,34 @@
+# Flipdish.OwnerEntityConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OwnerEntity** | **String** | Owner Entity | [optional]
+**AllowedBehaviors** | **[String]** | | [optional]
+
+
+
+## Enum: OwnerEntityEnum
+
+
+* `CatalogItem` (value: `"CatalogItem"`)
+
+* `CatalogGroup` (value: `"CatalogGroup"`)
+
+* `Menu` (value: `"Menu"`)
+
+
+
+
+
+## Enum: [AllowedBehaviorsEnum]
+
+
+* `SendToOrder` (value: `"SendToOrder"`)
+
+* `SendToMenu` (value: `"SendToMenu"`)
+
+
+
+
diff --git a/docs/OwnerEntityConfigurations.md b/docs/OwnerEntityConfigurations.md
new file mode 100644
index 00000000..f1df91bb
--- /dev/null
+++ b/docs/OwnerEntityConfigurations.md
@@ -0,0 +1,9 @@
+# Flipdish.OwnerEntityConfigurations
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Configurations** | [**[OwnerEntityConfiguration]**](OwnerEntityConfiguration.md) | Owner Entity Configuration | [optional]
+
+
diff --git a/docs/PasswordResetModel.md b/docs/PasswordResetModel.md
new file mode 100644
index 00000000..23db5e9d
--- /dev/null
+++ b/docs/PasswordResetModel.md
@@ -0,0 +1,13 @@
+# Flipdish.PasswordResetModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TokenId** | **String** | Token Id | [optional]
+**Email** | **String** | Email address | [optional]
+**Password** | **String** | Password |
+**PasswordConfirmation** | **String** | Password confirmation |
+**Token** | **String** | Password reset token | [optional]
+
+
diff --git a/docs/PaymentAccount.md b/docs/PaymentAccount.md
new file mode 100644
index 00000000..527eca38
--- /dev/null
+++ b/docs/PaymentAccount.md
@@ -0,0 +1,17 @@
+# Flipdish.PaymentAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**UserId** | **Number** | The user ID associated with the payment account. | [optional]
+**PaymentAccountId** | **Number** | Unique identifier for the payment account. | [optional]
+**CanRemoveFromCustomerView** | **Boolean** | Indicates if the payment account can be removed from the customer view. | [optional]
+**Bin** | **String** | Bank Identification Number (BIN) of the payment method. | [optional]
+**IsDefaultPaymentMethod** | **Boolean** | Indicates if this is the default payment method. | [optional]
+**IsVisibleToCustomer** | **Boolean** | Indicates if the payment account is visible to the customer. | [optional]
+**PaymentAccountType** | **String** | The type of payment account (e.g., card, PayPal). | [optional]
+**Description** | **String** | Description of the payment account. | [optional]
+**CustomerId** | **String** | The customer ID associated with the payment account. | [optional]
+
+
diff --git a/docs/PaymentIntent.md b/docs/PaymentIntent.md
new file mode 100644
index 00000000..d3301ff0
--- /dev/null
+++ b/docs/PaymentIntent.md
@@ -0,0 +1,14 @@
+# Flipdish.PaymentIntent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | Id of payment intent | [optional]
+**Description** | **String** | An arbitrary string attached to the object. Often useful for displaying to users. | [optional]
+**Currency** | **String** | Three-letter <a href=\"https://www.iso.org/iso-4217-currency-codes.html\">ISO currency code</a>, in lowercase. Must be a <a href=\"https://stripe.com/docs/currencies\">supported currency</a>. | [optional]
+**Status** | **String** | Status of this PaymentIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded. Read more about each PaymentIntent <a href=\"https://stripe.com/docs/payments/intents#intent-statuses\">status</a>. One of: canceled, processing, requires_action, requires_capture, requires_confirmation, requires_payment_method, or succeeded. | [optional]
+**Created** | **Date** | Time at which the object was created. Measured in seconds since the Unix epoch. | [optional]
+**LastPaymentError** | [**LastPaymentError**](LastPaymentError.md) | | [optional]
+
+
diff --git a/docs/PaymentIntentsApi.md b/docs/PaymentIntentsApi.md
new file mode 100644
index 00000000..25029cc5
--- /dev/null
+++ b/docs/PaymentIntentsApi.md
@@ -0,0 +1,56 @@
+# Flipdish.PaymentIntentsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getPaymentIntent**](PaymentIntentsApi.md#getPaymentIntent) | **GET** /api/v1.0/payment_intents/{paymentIntentId} |
+
+
+
+## getPaymentIntent
+
+> RestApiResultPaymentIntent getPaymentIntent(paymentIntentId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PaymentIntentsApi();
+let paymentIntentId = "paymentIntentId_example"; // String |
+apiInstance.getPaymentIntent(paymentIntentId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **paymentIntentId** | **String**| |
+
+### Return type
+
+[**RestApiResultPaymentIntent**](RestApiResultPaymentIntent.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/PaymentTerminalDetails.md b/docs/PaymentTerminalDetails.md
new file mode 100644
index 00000000..9d0f786c
--- /dev/null
+++ b/docs/PaymentTerminalDetails.md
@@ -0,0 +1,12 @@
+# Flipdish.PaymentTerminalDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TerminalId** | **String** | Terminal Id (tid) | [optional]
+**Status** | **String** | Status of Terminal | [optional]
+**Currency** | **String** | Currency configured on the terminal | [optional]
+**Uri** | **String** | Location to Device | [optional]
+
+
diff --git a/docs/PaymentTerminalTransactionDetails.md b/docs/PaymentTerminalTransactionDetails.md
new file mode 100644
index 00000000..ea277bfa
--- /dev/null
+++ b/docs/PaymentTerminalTransactionDetails.md
@@ -0,0 +1,14 @@
+# Flipdish.PaymentTerminalTransactionDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CardSchemeName** | **String** | Card Type | [optional]
+**DateOfExpiry** | **String** | Expirey Date on Card | [optional]
+**AuthCode** | **String** | AuthCode | [optional]
+**TransactionResult** | **String** | State of Request, \"PENDING\" is not yet completed | [optional]
+**PrimaryAccountNumber** | **String** | Masked PAN | [optional]
+**CardholderVerificationMethod** | **String** | Type of Verification. | [optional]
+
+
diff --git a/docs/PaymentsApi.md b/docs/PaymentsApi.md
new file mode 100644
index 00000000..42291eec
--- /dev/null
+++ b/docs/PaymentsApi.md
@@ -0,0 +1,56 @@
+# Flipdish.PaymentsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getOrderPaymentInformation**](PaymentsApi.md#getOrderPaymentInformation) | **GET** /api/v1.0/payments/payment/{orderId}/refundable |
+
+
+
+## getOrderPaymentInformation
+
+> RestApiResultOrderPaymentInformation getOrderPaymentInformation(orderId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PaymentsApi();
+let orderId = 56; // Number |
+apiInstance.getOrderPaymentInformation(orderId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderPaymentInformation**](RestApiResultOrderPaymentInformation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
diff --git a/docs/Payout.md b/docs/Payout.md
new file mode 100644
index 00000000..a8aa46ac
--- /dev/null
+++ b/docs/Payout.md
@@ -0,0 +1,313 @@
+# Flipdish.Payout
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PayoutId** | **Number** | The id of the payout. | [optional]
+**PayeeBankAccountId** | **Number** | Bank account identifier | [optional]
+**AccountName** | **String** | Account name of the payout destination | [optional]
+**PayoutStatus** | **String** | Status of the payout | [optional]
+**CreatedDate** | **Date** | Date payout was created | [optional]
+**PeriodStartTime** | **Date** | This payout includes operations after at this date (inclusive) | [optional]
+**PeriodEndTime** | **Date** | This payout includes operations before at this date (exclusive) | [optional]
+**DestinationBank** | **String** | Destination bank name | [optional]
+**DestinationAccount** | **String** | Last 4 digits of the destination bank IBAN | [optional]
+**Amount** | **Number** | Payout amount | [optional]
+**PayoutType** | **String** | Type of payout source | [optional]
+**Currency** | **String** | Payout currency | [optional]
+**CutoffDate** | **Date** | Payouts before this date do not have a details breakdown | [optional]
+**OnlineSalesAmount** | **Number** | Payout online sales amount | [optional]
+**OnlineSalesDeliveryCharges** | **Number** | Payout online sales delivery charges | [optional]
+**OnlineSalesTips** | **Number** | Payout online sales tips | [optional]
+**OnlineSalesServiceCharges** | **Number** | Payout online sales service charges | [optional]
+**OnlineSalesRefundedFees** | **Number** | Payout online sales refunded fees | [optional]
+**OnlineSalesFees** | **Number** | Payout online sales fees | [optional]
+**PosSalesFees** | **Number** | Payout online sales fees | [optional]
+**OnlineSalesRefundedAmount** | **Number** | Payout online sales refunded amount | [optional]
+**PosSalesRefundedAmount** | **Number** | POS Payout online sales refunded amount | [optional]
+**OnlineSalesTax** | **Number** | Payout online sales tax | [optional]
+**TotalOnlineRevenue** | **Number** | Payout total online revenue | [optional]
+**CashSalesFees** | **Number** | Payout cash sales fees | [optional]
+**CashSalesRefundedFees** | **Number** | Payout cash sales refunded fees | [optional]
+**CustomerCashFees** | **Number** | Payout cash fees charged to customer | [optional]
+**SalesFeesVat** | **Number** | Payout sales fees vat | [optional]
+**TotalFees** | **Number** | Payout total fees | [optional]
+**TotalOnlineRevenueAdjustments** | **Number** | Payout total online revenue adjustments | [optional]
+**ChargebackAmount** | **Number** | Payout chargeback amount | [optional]
+**PosSalesChargebackAmount** | **Number** | POS Payout chargeback amount | [optional]
+**ChargebackRefundedFees** | **Number** | Payout chargeback refunded fees | [optional]
+**TotalChargebackCost** | **Number** | Payout chargebacks total cost | [optional]
+**TotalOtherCharges** | **Number** | Payout other charges total | [optional]
+**OpeningBalance** | **Number** | Payout opening balance | [optional]
+**ClosingBalance** | **Number** | Payout closing balance | [optional]
+**PayGreenSalesAmount** | **Number** | Amount of sales through PayGreen (restaurant vouchers) | [optional]
+**DeliveryIntegrationFee** | **Number** | Third party integration delivery fee | [optional]
+**DeliveryIntegrationTipFee** | **Number** | Third party integration delivery tip fee | [optional]
+**TotalThirdPartyFees** | **Number** | Total third party integration fees | [optional]
+**PosSalesAmount** | **Number** | POS sales amount | [optional]
+**PosSalesTax** | **Number** | POS sales tax | [optional]
+**TipsOnPosSales** | **Number** | Tips on POS sales | [optional]
+
+
+
+## Enum: PayoutStatusEnum
+
+
+* `Pending` (value: `"Pending"`)
+
+* `InTransit` (value: `"InTransit"`)
+
+* `Paid` (value: `"Paid"`)
+
+* `Failed` (value: `"Failed"`)
+
+* `Cancelled` (value: `"Cancelled"`)
+
+
+
+
+
+## Enum: PayoutTypeEnum
+
+
+* `Internal` (value: `"Internal"`)
+
+* `Stripe` (value: `"Stripe"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/PayoutChargeback.md b/docs/PayoutChargeback.md
new file mode 100644
index 00000000..d8f6094e
--- /dev/null
+++ b/docs/PayoutChargeback.md
@@ -0,0 +1,261 @@
+# Flipdish.PayoutChargeback
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | The id of the order the chargeback was for | [optional]
+**OrderCurrency** | **String** | Order currency | [optional]
+**PayoutId** | **Number** | The id of the payout the order is related to | [optional]
+**OrderDate** | **Date** | The date the order was placed | [optional]
+**OrderType** | **String** | Order type (online or cash) | [optional]
+**ChargebackDate** | **Date** | The date the chargeback was done | [optional]
+**StoreId** | **Number** | Store id | [optional]
+**ChargebackAmount** | **Number** | Chargeback amount | [optional]
+**RefundedFees** | **Number** | Amount of refunded fees | [optional]
+
+
+
+## Enum: OrderCurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: OrderTypeEnum
+
+
+* `Cash` (value: `"Cash"`)
+
+* `Online` (value: `"Online"`)
+
+
+
+
diff --git a/docs/PayoutDetail.md b/docs/PayoutDetail.md
new file mode 100644
index 00000000..9721d2ad
--- /dev/null
+++ b/docs/PayoutDetail.md
@@ -0,0 +1,283 @@
+# Flipdish.PayoutDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PayoutId** | **Number** | The id of the payout. | [optional]
+**BankAccountId** | **Number** | Bank account identifier | [optional]
+**AccountName** | **String** | Account name of the payout destination | [optional]
+**PayoutStatus** | **String** | Status of the payout | [optional]
+**CreatedDate** | **Date** | Date payout was created | [optional]
+**PeriodStartTime** | **Date** | This payout includes operations after at this date (inclusive) | [optional]
+**PeriodEndTime** | **Date** | This payout includes operations before at this date (exclusive) | [optional]
+**DestinationBank** | **String** | Destination bank name | [optional]
+**DestinationAccount** | **String** | Last 4 digits of the destination bank IBAN | [optional]
+**PayoutType** | **String** | Type of payout source | [optional]
+**Currency** | **String** | Payout currency | [optional]
+**PayoutStores** | [**[PayoutStore]**](PayoutStore.md) | Payout information broken down by Store | [optional]
+**Amount** | **Number** | Payout amount | [optional]
+**CutoffDate** | **Date** | Payouts before this date do not have a details breakdown | [optional]
+
+
+
+## Enum: PayoutStatusEnum
+
+
+* `Pending` (value: `"Pending"`)
+
+* `InTransit` (value: `"InTransit"`)
+
+* `Paid` (value: `"Paid"`)
+
+* `Failed` (value: `"Failed"`)
+
+* `Cancelled` (value: `"Cancelled"`)
+
+
+
+
+
+## Enum: PayoutTypeEnum
+
+
+* `Internal` (value: `"Internal"`)
+
+* `Stripe` (value: `"Stripe"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/PayoutOrder.md b/docs/PayoutOrder.md
new file mode 100644
index 00000000..1ca48dfc
--- /dev/null
+++ b/docs/PayoutOrder.md
@@ -0,0 +1,274 @@
+# Flipdish.PayoutOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | The id of the order | [optional]
+**PayoutId** | **Number** | The id of the payout the order is related to | [optional]
+**OrderDate** | **Date** | The date the order was placed | [optional]
+**OrderType** | **String** | Order type (online or cash) | [optional]
+**OrderCurrency** | **String** | Order currency | [optional]
+**Sales** | **Number** | Order sales amount | [optional]
+**SalesTax** | **Number** | Order sales tax amount | [optional]
+**DeliveryCharges** | **Number** | Order delivery charges | [optional]
+**Tips** | **Number** | Order tips amount | [optional]
+**Voucher** | **Number** | Order voucher amount | [optional]
+**FlatFeeExcludingVat** | **Number** | Order flat fee amount excluding VAT | [optional]
+**FlatFeeExcludingVAT** | **Number** | Order flat fee amount excluding VAT | [optional]
+**FlatFeeIncludingVat** | **Number** | Order flat fee amount including VAT | [optional]
+**PercentageFeeExcludingVat** | **Number** | Order percentage fee excluding VAT | [optional]
+**PercentageFeeExcludingVAT** | **Number** | Order percentage fee excluding VAT | [optional]
+**Vat** | **Number** | Order VAT amount | [optional]
+**TotalFees** | **Number** | Total order fees amount | [optional]
+**CashFeeChargedToCustomer** | **Number** | Cash fee charged to customer | [optional]
+**NetSales** | **Number** | Order net sales amount | [optional]
+**StoreId** | **Number** | Store id | [optional]
+**ServiceChargeAmount** | **Number** | Order ServiceChargeAmount amount | [optional]
+**ServiceChargePercentage** | **Number** | Order ServiceChargePercentage amount | [optional]
+
+
+
+## Enum: OrderTypeEnum
+
+
+* `Cash` (value: `"Cash"`)
+
+* `Online` (value: `"Online"`)
+
+
+
+
+
+## Enum: OrderCurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/PayoutOtherCharge.md b/docs/PayoutOtherCharge.md
new file mode 100644
index 00000000..6c35cfa7
--- /dev/null
+++ b/docs/PayoutOtherCharge.md
@@ -0,0 +1,272 @@
+# Flipdish.PayoutOtherCharge
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ChargeId** | **Number** | The id of the charge | [optional]
+**Amount** | **Number** | Charge amount | [optional]
+**Currency** | **String** | Currency of the charge | [optional]
+**PayoutId** | **Number** | The id of the payout the order is related to | [optional]
+**ChargeDate** | **Date** | The date the order was placed | [optional]
+**ChargeType** | **String** | Charge type | [optional]
+**ChargeDescription** | **String** | Charge description | [optional]
+**StoreId** | **Number** | Store id | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: ChargeTypeEnum
+
+
+* `Other` (value: `"Other"`)
+
+* `Fees` (value: `"Fees"`)
+
+* `Chargeback` (value: `"Chargeback"`)
+
+* `TipFailure` (value: `"TipFailure"`)
+
+* `ExternalDisbursement` (value: `"ExternalDisbursement"`)
+
+* `Goods` (value: `"Goods"`)
+
+* `RestaurantSales` (value: `"RestaurantSales"`)
+
+* `Tips` (value: `"Tips"`)
+
+
+
+
diff --git a/docs/PayoutRefund.md b/docs/PayoutRefund.md
new file mode 100644
index 00000000..36131133
--- /dev/null
+++ b/docs/PayoutRefund.md
@@ -0,0 +1,263 @@
+# Flipdish.PayoutRefund
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | The id of the order the refund was for | [optional]
+**OrderCurrency** | **String** | Order currency | [optional]
+**PayoutId** | **Number** | The id of the payout the order is related to | [optional]
+**OrderDate** | **Date** | The date the order was placed | [optional]
+**OrderType** | **String** | Order type (online or cash) | [optional]
+**RefundDate** | **Date** | The date the refund was done | [optional]
+**StoreId** | **Number** | Store id | [optional]
+**TotalRefund** | **Number** | Total refund amount | [optional]
+**RefundedFees** | **Number** | Refunded fees amount | [optional]
+**RefundedAmount** | **Number** | Refunded amount | [optional]
+**CashFeeRefundedToCustomer** | **Number** | Cash fee refunded to customer | [optional]
+
+
+
+## Enum: OrderCurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: OrderTypeEnum
+
+
+* `Cash` (value: `"Cash"`)
+
+* `Online` (value: `"Online"`)
+
+
+
+
diff --git a/docs/PayoutReport3Details.md b/docs/PayoutReport3Details.md
new file mode 100644
index 00000000..50abd37c
--- /dev/null
+++ b/docs/PayoutReport3Details.md
@@ -0,0 +1,14 @@
+# Flipdish.PayoutReport3Details
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Amount** | **Number** | | [optional]
+**Currency** | **String** | | [optional]
+**Summary** | [**PayoutReport3DetailsSummary**](PayoutReport3DetailsSummary.md) | | [optional]
+**Revenue** | [**PayoutReport3DetailsRevenue**](PayoutReport3DetailsRevenue.md) | | [optional]
+**FlipdishFees** | [**PayoutReport3DetailsFlipdishFees**](PayoutReport3DetailsFlipdishFees.md) | | [optional]
+**Adjustments** | [**PayoutReport3DetailsAdjustments**](PayoutReport3DetailsAdjustments.md) | | [optional]
+
+
diff --git a/docs/PayoutReport3DetailsAdjustments.md b/docs/PayoutReport3DetailsAdjustments.md
new file mode 100644
index 00000000..d129e031
--- /dev/null
+++ b/docs/PayoutReport3DetailsAdjustments.md
@@ -0,0 +1,29 @@
+# Flipdish.PayoutReport3DetailsAdjustments
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OpeningBalanceDate** | **Date** | | [optional]
+**ClosingBalanceDate** | **Date** | | [optional]
+**OpeningBalance** | **Number** | | [optional]
+**RefundsOnCardOrders** | **Number** | | [optional]
+**RefundsOnCashOrders** | **Number** | | [optional]
+**CashCustomerFees** | **Number** | | [optional]
+**Chargebacks** | **Number** | | [optional]
+**OtherTransactions** | **Number** | | [optional]
+**ClosingBalance** | **Number** | | [optional]
+**BalanceRepaid** | **Number** | | [optional]
+**RefundsOnCardOrdersBracketsAmount** | **Number** | | [optional]
+**RefundsOnCardOrdersBracketsOutOfAmount** | **Number** | | [optional]
+**RefundsOnCashOrdersBracketsAmount** | **Number** | | [optional]
+**RefundsOnCashOrdersBracketsOutOfAmount** | **Number** | | [optional]
+**CashCustomerFeesBracketsAmount** | **Number** | | [optional]
+**CashCustomerFeesBracketsOutOfAmount** | **Number** | | [optional]
+**BalanceChange** | **Number** | | [optional]
+**PreviousPayoutId** | **Number** | | [optional]
+**NextPayoutId** | **Number** | | [optional]
+**RefundedFeesOnChargebacks** | **Number** | | [optional]
+**TotalChargebackCost** | **Number** | | [optional]
+
+
diff --git a/docs/PayoutReport3DetailsFlipdishFees.md b/docs/PayoutReport3DetailsFlipdishFees.md
new file mode 100644
index 00000000..67f49132
--- /dev/null
+++ b/docs/PayoutReport3DetailsFlipdishFees.md
@@ -0,0 +1,37 @@
+# Flipdish.PayoutReport3DetailsFlipdishFees
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WebAndAppCash** | **Number** | | [optional]
+**WebAndAppCashRevenueIncludingTips** | **Number** | | [optional]
+**WebAndAppCard** | **Number** | | [optional]
+**WebAndAppCardRevenueIncludingTips** | **Number** | | [optional]
+**KioskCash** | **Number** | | [optional]
+**KioskCashRevenue** | **Number** | | [optional]
+**KioskCard** | **Number** | | [optional]
+**KioskCardRevenue** | **Number** | | [optional]
+**QropCash** | **Number** | | [optional]
+**QropCashRevenue** | **Number** | | [optional]
+**QropCard** | **Number** | | [optional]
+**QropCardRevenue** | **Number** | | [optional]
+**PosCard** | **Number** | | [optional]
+**PosCardRevenue** | **Number** | | [optional]
+**PosCardOnFlipdishOrders** | **Number** | | [optional]
+**OtherIntegrationFees** | **Number** | | [optional]
+**OtherIntegrationTips** | **Number** | | [optional]
+**RefundedFeesOnRefundedSales** | **Number** | | [optional]
+**Vat** | **Number** | | [optional]
+**RefundedFeesOnPosSales** | **Number** | | [optional]
+**Total** | **Number** | | [optional]
+**ThirdPartyIntegrationFeesAndTips** | **Number** | | [optional]
+**WebAndAppCardOnXOrders** | **Number** | | [optional]
+**WebAndAppCashOnXOrders** | **Number** | | [optional]
+**KioskCardOnXOrders** | **Number** | | [optional]
+**KioskCashOnXOrders** | **Number** | | [optional]
+**QropCardOnXOrders** | **Number** | | [optional]
+**QropCashOnXOrders** | **Number** | | [optional]
+**PosCardOnXOrders** | **Number** | | [optional]
+
+
diff --git a/docs/PayoutReport3DetailsRevenue.md b/docs/PayoutReport3DetailsRevenue.md
new file mode 100644
index 00000000..7a113d5c
--- /dev/null
+++ b/docs/PayoutReport3DetailsRevenue.md
@@ -0,0 +1,16 @@
+# Flipdish.PayoutReport3DetailsRevenue
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**GrossSales** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**SalesTax** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**DeliveryCharges** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**OtherCharges** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**Tips** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**TotalRevenue** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**RevenueForFeeCalculations** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+**DrsCharges** | [**PayoutReport3DetailsSalesLine**](PayoutReport3DetailsSalesLine.md) | | [optional]
+
+
diff --git a/docs/PayoutReport3DetailsSalesLine.md b/docs/PayoutReport3DetailsSalesLine.md
new file mode 100644
index 00000000..f4bd5492
--- /dev/null
+++ b/docs/PayoutReport3DetailsSalesLine.md
@@ -0,0 +1,12 @@
+# Flipdish.PayoutReport3DetailsSalesLine
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Online** | **Number** | | [optional]
+**Pos** | **Number** | | [optional]
+**Other** | **Number** | | [optional]
+**Total** | **Number** | | [optional] [readonly]
+
+
diff --git a/docs/PayoutReport3DetailsSummary.md b/docs/PayoutReport3DetailsSummary.md
new file mode 100644
index 00000000..bef84ef0
--- /dev/null
+++ b/docs/PayoutReport3DetailsSummary.md
@@ -0,0 +1,15 @@
+# Flipdish.PayoutReport3DetailsSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Revenue** | **Number** | | [optional]
+**RevenueOfWhichCash** | **Number** | | [optional]
+**RevenueForFeeCalculations** | **Number** | | [optional]
+**FlipdishFees** | **Number** | | [optional]
+**Adjustments** | **Number** | | [optional]
+**ThirdPartyIntegrationFeesAndTips** | **Number** | | [optional]
+**Total** | **Number** | | [optional]
+
+
diff --git a/docs/PayoutReport3Overview.md b/docs/PayoutReport3Overview.md
new file mode 100644
index 00000000..801e3afd
--- /dev/null
+++ b/docs/PayoutReport3Overview.md
@@ -0,0 +1,10 @@
+# Flipdish.PayoutReport3Overview
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PayoutReport3OverviewHeader** | [**PayoutReport3OverviewHeader**](PayoutReport3OverviewHeader.md) | | [optional]
+**PayoutStores** | [**[PayoutReport3Store]**](PayoutReport3Store.md) | | [optional]
+
+
diff --git a/docs/PayoutReport3OverviewHeader.md b/docs/PayoutReport3OverviewHeader.md
new file mode 100644
index 00000000..02e19253
--- /dev/null
+++ b/docs/PayoutReport3OverviewHeader.md
@@ -0,0 +1,20 @@
+# Flipdish.PayoutReport3OverviewHeader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PayoutId** | **Number** | | [optional]
+**BankAccountId** | **Number** | | [optional]
+**IsManualPayout** | **Boolean** | | [optional]
+**AccountName** | **String** | | [optional]
+**PayoutStatus** | **String** | | [optional]
+**CreatedDate** | **Date** | | [optional]
+**PeriodStartTime** | **Date** | | [optional]
+**PeriodEndTime** | **Date** | | [optional]
+**DestinationBank** | **String** | | [optional]
+**DestinationAccount** | **String** | | [optional]
+**Amount** | **Number** | | [optional]
+**Currency** | **String** | | [optional]
+
+
diff --git a/docs/PayoutReport3RefundedOrder.md b/docs/PayoutReport3RefundedOrder.md
new file mode 100644
index 00000000..46dbb0f1
--- /dev/null
+++ b/docs/PayoutReport3RefundedOrder.md
@@ -0,0 +1,28 @@
+# Flipdish.PayoutReport3RefundedOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderId** | **Number** | | [optional]
+**PlacedAtTime** | **Date** | | [optional]
+**ModifiedAtTime** | **Date** | | [optional]
+**StoreName** | **String** | | [optional]
+**Type** | **String** | | [optional]
+**RefundedAmount** | **Number** | | [optional]
+**RefundedFees** | **Number** | | [optional]
+**RefundType** | **String** | | [optional]
+**CashFeeRefundedToCustomer** | **Number** | | [optional]
+
+
+
+## Enum: TypeEnum
+
+
+* `Cash` (value: `"Cash"`)
+
+* `Card` (value: `"Card"`)
+
+
+
+
diff --git a/docs/PayoutReport3Store.md b/docs/PayoutReport3Store.md
new file mode 100644
index 00000000..2778da37
--- /dev/null
+++ b/docs/PayoutReport3Store.md
@@ -0,0 +1,10 @@
+# Flipdish.PayoutReport3Store
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | | [optional]
+**StoreName** | **String** | | [optional]
+
+
diff --git a/docs/PayoutReportsApi.md b/docs/PayoutReportsApi.md
new file mode 100644
index 00000000..2a94be05
--- /dev/null
+++ b/docs/PayoutReportsApi.md
@@ -0,0 +1,400 @@
+# Flipdish.PayoutReportsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getPayoutReport3Details**](PayoutReportsApi.md#getPayoutReport3Details) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/details |
+[**getPayoutReport3Overview**](PayoutReportsApi.md#getPayoutReport3Overview) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/overview |
+[**getPayoutReport3RefundedOrders**](PayoutReportsApi.md#getPayoutReport3RefundedOrders) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/refundedOrders |
+[**payoutReport3ExportPayoutChargebacks**](PayoutReportsApi.md#payoutReport3ExportPayoutChargebacks) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/chargebacks |
+[**payoutReport3ExportPayoutOrders**](PayoutReportsApi.md#payoutReport3ExportPayoutOrders) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/orders |
+[**payoutReport3ExportPayoutPosSales**](PayoutReportsApi.md#payoutReport3ExportPayoutPosSales) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/possales |
+[**payoutReport3ExportPayoutRefundedOrders**](PayoutReportsApi.md#payoutReport3ExportPayoutRefundedOrders) | **GET** /api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/refundedOrders |
+
+
+
+## getPayoutReport3Details
+
+> RestApiResultPayoutReport3Details getPayoutReport3Details(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.getPayoutReport3Details(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiResultPayoutReport3Details**](RestApiResultPayoutReport3Details.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getPayoutReport3Overview
+
+> RestApiResultPayoutReport3Overview getPayoutReport3Overview(appId, bankAccountId, payoutId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+apiInstance.getPayoutReport3Overview(appId, bankAccountId, payoutId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+
+### Return type
+
+[**RestApiResultPayoutReport3Overview**](RestApiResultPayoutReport3Overview.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getPayoutReport3RefundedOrders
+
+> RestApiPaginationResultPayoutReport3RefundedOrder getPayoutReport3RefundedOrders(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null], // [Number] |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getPayoutReport3RefundedOrders(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPayoutReport3RefundedOrder**](RestApiPaginationResultPayoutReport3RefundedOrder.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## payoutReport3ExportPayoutChargebacks
+
+> RestApiResultFileCreationResult payoutReport3ExportPayoutChargebacks(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'stores': [null] // [Number] |
+};
+apiInstance.payoutReport3ExportPayoutChargebacks(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **stores** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiResultFileCreationResult**](RestApiResultFileCreationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## payoutReport3ExportPayoutOrders
+
+> RestApiResultFileCreationResult payoutReport3ExportPayoutOrders(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'stores': [null] // [Number] |
+};
+apiInstance.payoutReport3ExportPayoutOrders(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **stores** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiResultFileCreationResult**](RestApiResultFileCreationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## payoutReport3ExportPayoutPosSales
+
+> RestApiResultFileCreationResult payoutReport3ExportPayoutPosSales(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'stores': [null] // [Number] |
+};
+apiInstance.payoutReport3ExportPayoutPosSales(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **stores** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiResultFileCreationResult**](RestApiResultFileCreationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## payoutReport3ExportPayoutRefundedOrders
+
+> RestApiResultFileCreationResult payoutReport3ExportPayoutRefundedOrders(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutReportsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'stores': [null] // [Number] |
+};
+apiInstance.payoutReport3ExportPayoutRefundedOrders(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **stores** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiResultFileCreationResult**](RestApiResultFileCreationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/PayoutRequestIds.md b/docs/PayoutRequestIds.md
new file mode 100644
index 00000000..cf29b27d
--- /dev/null
+++ b/docs/PayoutRequestIds.md
@@ -0,0 +1,27 @@
+# Flipdish.PayoutRequestIds
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BankAccountIds** | **[Number]** | List of bank account ids to search for | [optional]
+**States** | **[String]** | List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for | [optional]
+
+
+
+## Enum: [StatesEnum]
+
+
+* `Pending` (value: `"Pending"`)
+
+* `InTransit` (value: `"InTransit"`)
+
+* `Paid` (value: `"Paid"`)
+
+* `Failed` (value: `"Failed"`)
+
+* `Cancelled` (value: `"Cancelled"`)
+
+
+
+
diff --git a/docs/PayoutStore.md b/docs/PayoutStore.md
new file mode 100644
index 00000000..3a7b37d7
--- /dev/null
+++ b/docs/PayoutStore.md
@@ -0,0 +1,20 @@
+# Flipdish.PayoutStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | The id of the Store. | [optional]
+**StoreName** | **String** | Name of the store | [optional]
+**Amount** | **Number** | Amount of the payout for this Store | [optional]
+**OnlineRevenue** | [**RevenueDetail**](RevenueDetail.md) | | [optional]
+**Revenue** | [**RevenueDetail**](RevenueDetail.md) | | [optional]
+**RevenueAdjustments** | [**RevenueAdjustmentsDetails**](RevenueAdjustmentsDetails.md) | | [optional]
+**FlipdishFees** | [**FlipdishFeesDetails**](FlipdishFeesDetails.md) | | [optional]
+**Chargebacks** | [**ChargebackDetails**](ChargebackDetails.md) | | [optional]
+**OtherCharges** | [**OtherChargesDetails**](OtherChargesDetails.md) | | [optional]
+**Balance** | [**BalanceDetails**](BalanceDetails.md) | | [optional]
+**PosRevenue** | [**PosRevenueDetails**](PosRevenueDetails.md) | | [optional]
+**ThirdPartyFees** | [**ThirdPartyFeesDetails**](ThirdPartyFeesDetails.md) | | [optional]
+
+
diff --git a/docs/PayoutSummary.md b/docs/PayoutSummary.md
new file mode 100644
index 00000000..bc3cf2ae
--- /dev/null
+++ b/docs/PayoutSummary.md
@@ -0,0 +1,262 @@
+# Flipdish.PayoutSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PayoutStatus** | **String** | Status of the payout | [optional]
+**TotalAmount** | **Number** | Total payouts amount | [optional]
+**Currency** | **String** | Payout currency | [optional]
+**TotalCount** | **Number** | Total payouts count | [optional]
+
+
+
+## Enum: PayoutStatusEnum
+
+
+* `Pending` (value: `"Pending"`)
+
+* `InTransit` (value: `"InTransit"`)
+
+* `Paid` (value: `"Paid"`)
+
+* `Failed` (value: `"Failed"`)
+
+* `Cancelled` (value: `"Cancelled"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/PayoutsApi.md b/docs/PayoutsApi.md
new file mode 100644
index 00000000..0e2cc8a6
--- /dev/null
+++ b/docs/PayoutsApi.md
@@ -0,0 +1,420 @@
+# Flipdish.PayoutsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getPayout**](PayoutsApi.md#getPayout) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId} |
+[**getPayoutChargebacks**](PayoutsApi.md#getPayoutChargebacks) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/chargebacks |
+[**getPayoutOrders**](PayoutsApi.md#getPayoutOrders) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/orders |
+[**getPayoutOtherCharges**](PayoutsApi.md#getPayoutOtherCharges) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/othercharges |
+[**getPayoutRefunds**](PayoutsApi.md#getPayoutRefunds) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/refunds |
+[**getPayoutSummaries**](PayoutsApi.md#getPayoutSummaries) | **GET** /api/v1.0/{appId}/payouts/summaries |
+[**getPayouts**](PayoutsApi.md#getPayouts) | **GET** /api/v1.0/{appId}/payouts |
+
+
+
+## getPayout
+
+> PayoutDetail getPayout(appId, bankAccountId, payoutId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+apiInstance.getPayout(appId, bankAccountId, payoutId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+
+### Return type
+
+[**PayoutDetail**](PayoutDetail.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, PayoutId, BankAccountId, AccountName, PayoutStatus, CreatedDate, PeriodStartTime, PeriodEndTime, DestinationBank, DestinationAccount, PayoutType, Currency, PayoutStores, Amount, CutoffDate
+
+
+## getPayoutChargebacks
+
+> RestApiPaginationResultPayoutChargeback getPayoutChargebacks(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.getPayoutChargebacks(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPayoutChargeback**](RestApiPaginationResultPayoutChargeback.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPayoutOrders
+
+> RestApiPaginationResultPayoutOrder getPayoutOrders(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.getPayoutOrders(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPayoutOrder**](RestApiPaginationResultPayoutOrder.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPayoutOtherCharges
+
+> RestApiPaginationResultPayoutOtherCharge getPayoutOtherCharges(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.getPayoutOtherCharges(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPayoutOtherCharge**](RestApiPaginationResultPayoutOtherCharge.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPayoutRefunds
+
+> RestApiPaginationResultPayoutRefund getPayoutRefunds(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.getPayoutRefunds(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPayoutRefund**](RestApiPaginationResultPayoutRefund.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPayoutSummaries
+
+> RestApiArrayResultPayoutSummary getPayoutSummaries(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'startDate': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'endDate': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'payoutRequestIds_bankAccountIds': [null], // [Number] | List of bank account ids to search for
+ 'payoutRequestIds_states': ["null"] // [String] | List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for
+};
+apiInstance.getPayoutSummaries(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **startDate** | **Date**| | [optional]
+ **endDate** | **Date**| | [optional]
+ **payoutRequestIds_bankAccountIds** | [**[Number]**](Number.md)| List of bank account ids to search for | [optional]
+ **payoutRequestIds_states** | [**[String]**](String.md)| List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for | [optional]
+
+### Return type
+
+[**RestApiArrayResultPayoutSummary**](RestApiArrayResultPayoutSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPayouts
+
+> RestApiPaginationResultPayout getPayouts(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'startDate': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'endDate': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'payoutRequestIds_bankAccountIds': [null], // [Number] | List of bank account ids to search for
+ 'payoutRequestIds_states': ["null"] // [String] | List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for
+};
+apiInstance.getPayouts(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **startDate** | **Date**| | [optional]
+ **endDate** | **Date**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **payoutRequestIds_bankAccountIds** | [**[Number]**](Number.md)| List of bank account ids to search for | [optional]
+ **payoutRequestIds_states** | [**[String]**](String.md)| List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPayout**](RestApiPaginationResultPayout.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/PayoutsExportApi.md b/docs/PayoutsExportApi.md
new file mode 100644
index 00000000..8914a042
--- /dev/null
+++ b/docs/PayoutsExportApi.md
@@ -0,0 +1,346 @@
+# Flipdish.PayoutsExportApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**exportPayoutChargebacks**](PayoutsExportApi.md#exportPayoutChargebacks) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/chargebacks/export |
+[**exportPayoutOrders**](PayoutsExportApi.md#exportPayoutOrders) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/orders/export |
+[**exportPayoutOtherCharges**](PayoutsExportApi.md#exportPayoutOtherCharges) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/othercharges/export |
+[**exportPayoutRefunds**](PayoutsExportApi.md#exportPayoutRefunds) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/refunds/export |
+[**exportPayoutStores**](PayoutsExportApi.md#exportPayoutStores) | **GET** /api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/export |
+[**exportPayouts**](PayoutsExportApi.md#exportPayouts) | **GET** /api/v1.0/{appId}/payouts/export |
+
+
+
+## exportPayoutChargebacks
+
+> String exportPayoutChargebacks(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsExportApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.exportPayoutChargebacks(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## exportPayoutOrders
+
+> String exportPayoutOrders(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsExportApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.exportPayoutOrders(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## exportPayoutOtherCharges
+
+> String exportPayoutOtherCharges(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsExportApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.exportPayoutOtherCharges(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## exportPayoutRefunds
+
+> String exportPayoutRefunds(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsExportApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.exportPayoutRefunds(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## exportPayoutStores
+
+> String exportPayoutStores(appId, bankAccountId, payoutId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsExportApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let payoutId = 56; // Number |
+let opts = {
+ 'storeIds': [null] // [Number] |
+};
+apiInstance.exportPayoutStores(appId, bankAccountId, payoutId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **payoutId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## exportPayouts
+
+> String exportPayouts(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PayoutsExportApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'startDate': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'endDate': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'payoutRequestIds_bankAccountIds': [null], // [Number] | List of bank account ids to search for
+ 'payoutRequestIds_states': ["null"] // [String] | List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for
+};
+apiInstance.exportPayouts(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **startDate** | **Date**| | [optional]
+ **endDate** | **Date**| | [optional]
+ **payoutRequestIds_bankAccountIds** | [**[Number]**](Number.md)| List of bank account ids to search for | [optional]
+ **payoutRequestIds_states** | [**[String]**](String.md)| List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for | [optional]
+
+### Return type
+
+**String**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/PendingInvitation.md b/docs/PendingInvitation.md
new file mode 100644
index 00000000..b2f36fab
--- /dev/null
+++ b/docs/PendingInvitation.md
@@ -0,0 +1,12 @@
+# Flipdish.PendingInvitation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppName** | **String** | The name of the brand that you have been invited to join. | [optional]
+**Email** | **String** | The email address that the invitation was sent to. | [optional]
+**Otc** | **String** | The one-time code that can be used to accept the invitation. | [optional]
+**CreatedAt** | **Date** | The time that the invitation was created. | [optional]
+
+
diff --git a/docs/PendingMenuChanges.md b/docs/PendingMenuChanges.md
new file mode 100644
index 00000000..8151f715
--- /dev/null
+++ b/docs/PendingMenuChanges.md
@@ -0,0 +1,10 @@
+# Flipdish.PendingMenuChanges
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Unique catalog item id | [optional]
+**MenuId** | **Number** | Unique menu id | [optional]
+
+
diff --git a/docs/PendingMenuChangesSummaries.md b/docs/PendingMenuChangesSummaries.md
new file mode 100644
index 00000000..f33d8d72
--- /dev/null
+++ b/docs/PendingMenuChangesSummaries.md
@@ -0,0 +1,10 @@
+# Flipdish.PendingMenuChangesSummaries
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuId** | **Number** | Menu id | [optional]
+**TotalPendingChanges** | **Number** | Sum of pending changes per menu id | [optional]
+
+
diff --git a/docs/PercentDiscountDetails.md b/docs/PercentDiscountDetails.md
new file mode 100644
index 00000000..b526de66
--- /dev/null
+++ b/docs/PercentDiscountDetails.md
@@ -0,0 +1,10 @@
+# Flipdish.PercentDiscountDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PercentageDiscount** | **Number** | Percentage discount | [optional]
+**MaxDiscountAmount** | **Number** | The maximum amount that the percentage discount value can be. If not set then there is no maximum. If set to e.g. 20 euro, and the percentage discount is 25%, and the order total is 100 euro, then the discount will be 20 euro (not 25 euro). | [optional]
+
+
diff --git a/docs/PhoneCall.md b/docs/PhoneCall.md
new file mode 100644
index 00000000..de4f2f2e
--- /dev/null
+++ b/docs/PhoneCall.md
@@ -0,0 +1,43 @@
+# Flipdish.PhoneCall
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PhoneCallId** | **Number** | Phone call id | [optional]
+**TimeOfCall** | **Date** | Time of the call | [optional]
+**TimeOfCallLocal** | **Date** | Time of the call, local to the store to which the call was made | [optional]
+**StoreId** | **Number** | ID of the store that the call was TO | [optional]
+**StoreName** | **String** | Name of the store that the call was TO | [optional]
+**CallerName** | **String** | Name of the caller | [optional]
+**CallerUserId** | **Number** | UserID of the caller | [optional]
+**CallerNumber** | **String** | Phone number of the caller | [optional]
+**CallLengthInSeconds** | **Number** | The amount of time the call took | [optional]
+**CallStatus** | **String** | The status of the call | [optional]
+
+
+
+## Enum: CallStatusEnum
+
+
+* `Queued` (value: `"Queued"`)
+
+* `Ringing` (value: `"Ringing"`)
+
+* `InProgress` (value: `"InProgress"`)
+
+* `Completed` (value: `"Completed"`)
+
+* `Failed` (value: `"Failed"`)
+
+* `Busy` (value: `"Busy"`)
+
+* `NoAnswer` (value: `"NoAnswer"`)
+
+* `Unknown` (value: `"Unknown"`)
+
+* `Canceled` (value: `"Canceled"`)
+
+
+
+
diff --git a/docs/PhoneCallEndedEvent.md b/docs/PhoneCallEndedEvent.md
new file mode 100644
index 00000000..bfd330e6
--- /dev/null
+++ b/docs/PhoneCallEndedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.PhoneCallEndedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**PhoneCall** | [**PhoneCall**](PhoneCall.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PhoneCallStartedEvent.md b/docs/PhoneCallStartedEvent.md
new file mode 100644
index 00000000..a634be56
--- /dev/null
+++ b/docs/PhoneCallStartedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.PhoneCallStartedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**PhoneCall** | [**PhoneCall**](PhoneCall.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PosRevenueDetails.md b/docs/PosRevenueDetails.md
new file mode 100644
index 00000000..a4e8234f
--- /dev/null
+++ b/docs/PosRevenueDetails.md
@@ -0,0 +1,12 @@
+# Flipdish.PosRevenueDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PosSalesAmount** | **Number** | POS sale amount for the store | [optional]
+**PosSalesTax** | **Number** | POS sale Tax for the store | [optional]
+**PosSalesTips** | **Number** | POS sale tips for the store | [optional]
+**TotalPosRevenue** | **Number** | POS Total Revenue for the store | [optional]
+
+
diff --git a/docs/PreOrderConfig.md b/docs/PreOrderConfig.md
new file mode 100644
index 00000000..d46ac1fa
--- /dev/null
+++ b/docs/PreOrderConfig.md
@@ -0,0 +1,31 @@
+# Flipdish.PreOrderConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LeadTimeMinutes** | **Number** | Lead Time in Minutes | [optional]
+**IntervalMinutes** | **Number** | Interval in minutes | [optional]
+**MaxOrderAheadDays** | **Number** | Max Days to order ahead | [optional]
+**IncludeAsap** | **Boolean** | Show ASAP as option | [optional]
+**IncludeMoreGranularInitialTime** | **Boolean** | Granual Init' Time | [optional]
+**CutOffTimePreviousDayBasic** | **String** | Cut off time previous day | [optional]
+**CutOffTimeCurrentDayBasic** | **String** | Cut off time current day | [optional]
+**PreOrderTimeDisplayType** | **String** | Type of time displayed. | [optional]
+**AlwaysAppearOpen** | **Boolean** | Specifies whether a customer can pre-order outside the store opening hours or not. | [optional]
+**RequireExplicitSelectAlways** | **Boolean** | Force customer to select collection time. | [optional]
+
+
+
+## Enum: PreOrderTimeDisplayTypeEnum
+
+
+* `SingleTime` (value: `"SingleTime"`)
+
+* `StartAndEndTime` (value: `"StartAndEndTime"`)
+
+* `DayOnly` (value: `"DayOnly"`)
+
+
+
+
diff --git a/docs/PreOrderTime.md b/docs/PreOrderTime.md
new file mode 100644
index 00000000..3929a3d5
--- /dev/null
+++ b/docs/PreOrderTime.md
@@ -0,0 +1,10 @@
+# Flipdish.PreOrderTime
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StartTime** | **Date** | Start Time | [optional]
+**EndTime** | **Date** | End Time | [optional]
+
+
diff --git a/docs/PredefinedAnswer.md b/docs/PredefinedAnswer.md
new file mode 100644
index 00000000..ae6b7153
--- /dev/null
+++ b/docs/PredefinedAnswer.md
@@ -0,0 +1,10 @@
+# Flipdish.PredefinedAnswer
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Identifier | [optional]
+**Text** | **String** | Text | [optional]
+
+
diff --git a/docs/PreviousOrder.md b/docs/PreviousOrder.md
new file mode 100644
index 00000000..c158771f
--- /dev/null
+++ b/docs/PreviousOrder.md
@@ -0,0 +1,264 @@
+# Flipdish.PreviousOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryType** | **String** | | [optional]
+**DeliveryLocationAddressString** | **String** | | [optional]
+**PaymentAccountType** | **String** | | [optional]
+**OrderId** | **Number** | | [optional]
+**RestaurantName** | **String** | | [optional]
+**LocalOrderId** | **String** | | [optional]
+**TableServiceCategory** | **String** | | [optional]
+**PickupLocationOptionValue** | **String** | | [optional]
+**CustomerName** | **String** | | [optional]
+**PhoneNumberInternationalFormatString** | **String** | | [optional]
+**DeliveryInstructions** | **String** | | [optional]
+**Currency** | **String** | | [optional]
+**ProcessingFee** | **Number** | | [optional]
+**ServiceChargePercentage** | **Number** | | [optional]
+**ServiceChargeAmount** | **Number** | | [optional]
+**TipAmount** | **Number** | | [optional]
+**DeliveryAmount** | **Number** | | [optional]
+**DepositReturnFeeAmount** | **Number** | | [optional]
+**TotalTax** | **Number** | | [optional]
+**TotalAmount** | **Number** | | [optional]
+**Items** | [**[PreviousOrderItem]**](PreviousOrderItem.md) | | [optional]
+**TaxRates** | [**[TaxRate]**](TaxRate.md) | | [optional]
+**WhiteLabelId** | **Number** | | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/PreviousOrderItem.md b/docs/PreviousOrderItem.md
new file mode 100644
index 00000000..62c40625
--- /dev/null
+++ b/docs/PreviousOrderItem.md
@@ -0,0 +1,15 @@
+# Flipdish.PreviousOrderItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MenuSectionDisplayOrder** | **Number** | | [optional]
+**MenuSectionName** | **String** | | [optional]
+**Name** | **String** | | [optional]
+**PriceIncludingOptionSetItems** | **Number** | | [optional]
+**DepositReturnFee** | **Number** | | [optional]
+**TaxAmount** | **Number** | | [optional]
+**PreviousOrderItemOptions** | [**[PreviousOrderItemOption]**](PreviousOrderItemOption.md) | | [optional]
+
+
diff --git a/docs/PreviousOrderItemOption.md b/docs/PreviousOrderItemOption.md
new file mode 100644
index 00000000..6bfb17ec
--- /dev/null
+++ b/docs/PreviousOrderItemOption.md
@@ -0,0 +1,10 @@
+# Flipdish.PreviousOrderItemOption
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**DepositReturnFee** | **Number** | | [optional]
+
+
diff --git a/docs/Printer.md b/docs/Printer.md
new file mode 100644
index 00000000..0ab89418
--- /dev/null
+++ b/docs/Printer.md
@@ -0,0 +1,10 @@
+# Flipdish.Printer
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SerialNumber** | **String** | Unique serial number of the printer | [optional]
+**LastPollTime** | **Date** | Date and time when the printer last polled Flipdish for new orders. | [optional]
+
+
diff --git a/docs/PrinterAssignedToStoreEvent.md b/docs/PrinterAssignedToStoreEvent.md
new file mode 100644
index 00000000..9d3f83ee
--- /dev/null
+++ b/docs/PrinterAssignedToStoreEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.PrinterAssignedToStoreEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Printer** | [**Printer**](Printer.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PrinterTurnedOffEvent.md b/docs/PrinterTurnedOffEvent.md
new file mode 100644
index 00000000..28f89a71
--- /dev/null
+++ b/docs/PrinterTurnedOffEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.PrinterTurnedOffEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Printer** | [**Printer**](Printer.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PrinterTurnedOnEvent.md b/docs/PrinterTurnedOnEvent.md
new file mode 100644
index 00000000..e010d980
--- /dev/null
+++ b/docs/PrinterTurnedOnEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.PrinterTurnedOnEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Printer** | [**Printer**](Printer.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PrinterUnassignedFromStoreEvent.md b/docs/PrinterUnassignedFromStoreEvent.md
new file mode 100644
index 00000000..9f23c044
--- /dev/null
+++ b/docs/PrinterUnassignedFromStoreEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.PrinterUnassignedFromStoreEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Printer** | [**Printer**](Printer.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/ProcessPaymentIntentRequest.md b/docs/ProcessPaymentIntentRequest.md
new file mode 100644
index 00000000..b60713fb
--- /dev/null
+++ b/docs/ProcessPaymentIntentRequest.md
@@ -0,0 +1,9 @@
+# Flipdish.ProcessPaymentIntentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PaymentIntentId** | **String** | Device card paymentIntentId |
+
+
diff --git a/docs/ProcessingFeeConfig.md b/docs/ProcessingFeeConfig.md
new file mode 100644
index 00000000..6b00215b
--- /dev/null
+++ b/docs/ProcessingFeeConfig.md
@@ -0,0 +1,39 @@
+# Flipdish.ProcessingFeeConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store Id | [optional]
+**PaymentAccountType** | **String** | Payment account type | [optional]
+**PercentFee** | **Number** | Percent fee to customer, including VAT | [optional]
+**FixedFee** | **Number** | Fixed fee to customer, including VAT | [optional]
+
+
+
+## Enum: PaymentAccountTypeEnum
+
+
+* `Card` (value: `"Card"`)
+
+* `Cash` (value: `"Cash"`)
+
+* `Ideal` (value: `"Ideal"`)
+
+* `Bancontact` (value: `"Bancontact"`)
+
+* `Giropay` (value: `"Giropay"`)
+
+* `Eps` (value: `"Eps"`)
+
+* `Emv` (value: `"Emv"`)
+
+* `PayPal` (value: `"PayPal"`)
+
+* `PayGreen` (value: `"PayGreen"`)
+
+* `GoogleWalletToken` (value: `"GoogleWalletToken"`)
+
+
+
+
diff --git a/docs/ProcessingFeeConfigsApi.md b/docs/ProcessingFeeConfigsApi.md
new file mode 100644
index 00000000..d0ce9a27
--- /dev/null
+++ b/docs/ProcessingFeeConfigsApi.md
@@ -0,0 +1,56 @@
+# Flipdish.ProcessingFeeConfigsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getProcessingFeeConfigsByStoreIds**](ProcessingFeeConfigsApi.md#getProcessingFeeConfigsByStoreIds) | **GET** /api/v1.0/processingfeeconfigs |
+
+
+
+## getProcessingFeeConfigsByStoreIds
+
+> RestApiArrayResultProcessingFeeConfig getProcessingFeeConfigsByStoreIds(storeIds)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ProcessingFeeConfigsApi();
+let storeIds = [null]; // [Number] |
+apiInstance.getProcessingFeeConfigsByStoreIds(storeIds, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeIds** | [**[Number]**](Number.md)| |
+
+### Return type
+
+[**RestApiArrayResultProcessingFeeConfig**](RestApiArrayResultProcessingFeeConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/Product.md b/docs/Product.md
new file mode 100644
index 00000000..675a7aea
--- /dev/null
+++ b/docs/Product.md
@@ -0,0 +1,30 @@
+# Flipdish.Product
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Unique catalog Item id | [optional]
+**IsArchived** | **Boolean** | Returns true if the item is archived | [optional]
+**Groups** | [**[GroupReference]**](GroupReference.md) | Collection of groups associated with this item | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+**ProductType** | **String** | Type of item (Product, Modifier, etc) |
+**Sku** | **String** | Stock Keeping Unit (SKU) |
+**Name** | **String** | Product name |
+**Description** | **String** | Product description | [optional]
+**Price** | **Number** | Product price |
+**ImageFileName** | **String** | Image File Name | [optional]
+**Alcohol** | **Boolean** | Product contains alcohol | [optional]
+
+
+
+## Enum: ProductTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/ProductReference.md b/docs/ProductReference.md
new file mode 100644
index 00000000..917e6a33
--- /dev/null
+++ b/docs/ProductReference.md
@@ -0,0 +1,24 @@
+# Flipdish.ProductReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Item** | [**Product**](Product.md) | | [optional]
+**Product** | [**Product**](Product.md) | | [optional]
+**CatalogItemId** | **String** | Identifier of the CatalogItemId to use as SubProduct |
+**ProductType** | **String** | Type of the SupProduct |
+**PreselectedQuantity** | **Number** | Quantity of the modifier that will be set when the parent product is placed in the basket | [optional]
+
+
+
+## Enum: ProductTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/PromotionAward.md b/docs/PromotionAward.md
new file mode 100644
index 00000000..ae968b51
--- /dev/null
+++ b/docs/PromotionAward.md
@@ -0,0 +1,10 @@
+# Flipdish.PromotionAward
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PromotionAwardId** | **Number** | Promotion Award Id | [optional]
+**MenuItemPublicId** | **String** | The public id of the menu item that will be awarded | [optional]
+
+
diff --git a/docs/PromotionDetails.md b/docs/PromotionDetails.md
new file mode 100644
index 00000000..f1c5e4ea
--- /dev/null
+++ b/docs/PromotionDetails.md
@@ -0,0 +1,11 @@
+# Flipdish.PromotionDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PromotionId** | **Number** | Promotion Id | [optional]
+**Name** | **String** | The name of the promotion | [optional]
+**PromotionAwards** | [**[PromotionAward]**](PromotionAward.md) | The items that this promotion will award | [optional]
+
+
diff --git a/docs/PublishMenuChanges.md b/docs/PublishMenuChanges.md
new file mode 100644
index 00000000..a89d3b79
--- /dev/null
+++ b/docs/PublishMenuChanges.md
@@ -0,0 +1,10 @@
+# Flipdish.PublishMenuChanges
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Optional Catalog item id | [optional]
+**MenuIds** | **[Number]** | Optional Collection of Menu id | [optional]
+
+
diff --git a/docs/PushNotificationDeletedEvent.md b/docs/PushNotificationDeletedEvent.md
new file mode 100644
index 00000000..cf23fdb1
--- /dev/null
+++ b/docs/PushNotificationDeletedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.PushNotificationDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | | [optional]
+**PushNotification** | [**PushNotificationRequest**](PushNotificationRequest.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PushNotificationRequest.md b/docs/PushNotificationRequest.md
new file mode 100644
index 00000000..0f0b5b28
--- /dev/null
+++ b/docs/PushNotificationRequest.md
@@ -0,0 +1,11 @@
+# Flipdish.PushNotificationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ScheduledTime** | **Date** | UTC Time at which to send the push notification | [optional]
+**Title** | **String** | Title of the notification | [optional]
+**Message** | **String** | Message of the notification |
+
+
diff --git a/docs/PushNotificationResponse.md b/docs/PushNotificationResponse.md
new file mode 100644
index 00000000..89bf01ca
--- /dev/null
+++ b/docs/PushNotificationResponse.md
@@ -0,0 +1,13 @@
+# Flipdish.PushNotificationResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Sent** | **Boolean** | Sent | [optional]
+**ScheduledPushNotificationId** | **Number** | Push notification identifier | [optional]
+**ScheduledTime** | **Date** | UTC Time at which to send the push notification | [optional]
+**Title** | **String** | Title of the notification | [optional]
+**Message** | **String** | Message of the notification |
+
+
diff --git a/docs/PushNotificationScheduledEvent.md b/docs/PushNotificationScheduledEvent.md
new file mode 100644
index 00000000..acc972a2
--- /dev/null
+++ b/docs/PushNotificationScheduledEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.PushNotificationScheduledEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | | [optional]
+**PushNotification** | [**PushNotificationRequest**](PushNotificationRequest.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PushNotificationSentEvent.md b/docs/PushNotificationSentEvent.md
new file mode 100644
index 00000000..3193ab42
--- /dev/null
+++ b/docs/PushNotificationSentEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.PushNotificationSentEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**PushNotification** | [**PushNotificationRequest**](PushNotificationRequest.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/PushNotificationsApi.md b/docs/PushNotificationsApi.md
new file mode 100644
index 00000000..bbd1fe26
--- /dev/null
+++ b/docs/PushNotificationsApi.md
@@ -0,0 +1,214 @@
+# Flipdish.PushNotificationsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**deletePushNotification**](PushNotificationsApi.md#deletePushNotification) | **DELETE** /api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId} |
+[**getPushNotifications**](PushNotificationsApi.md#getPushNotifications) | **GET** /api/v1.0/{appId}/pushnotifications |
+[**schedulePushNotification**](PushNotificationsApi.md#schedulePushNotification) | **POST** /api/v1.0/{appId}/pushnotifications |
+[**updatePushNotification**](PushNotificationsApi.md#updatePushNotification) | **POST** /api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId} |
+
+
+
+## deletePushNotification
+
+> deletePushNotification(appId, scheduledPushNotificationId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PushNotificationsApi();
+let appId = "appId_example"; // String |
+let scheduledPushNotificationId = 56; // Number |
+apiInstance.deletePushNotification(appId, scheduledPushNotificationId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **scheduledPushNotificationId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getPushNotifications
+
+> RestApiPaginationResultPushNotificationResponse getPushNotifications(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PushNotificationsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getPushNotifications(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultPushNotificationResponse**](RestApiPaginationResultPushNotificationResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## schedulePushNotification
+
+> RestApiResultPushNotificationResponse schedulePushNotification(appId, notification)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PushNotificationsApi();
+let appId = "appId_example"; // String |
+let notification = new Flipdish.PushNotificationRequest(); // PushNotificationRequest |
+apiInstance.schedulePushNotification(appId, notification, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **notification** | [**PushNotificationRequest**](PushNotificationRequest.md)| |
+
+### Return type
+
+[**RestApiResultPushNotificationResponse**](RestApiResultPushNotificationResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updatePushNotification
+
+> RestApiResultPushNotificationResponse updatePushNotification(appId, scheduledPushNotificationId, notification)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.PushNotificationsApi();
+let appId = "appId_example"; // String |
+let scheduledPushNotificationId = 56; // Number |
+let notification = new Flipdish.PushNotificationRequest(); // PushNotificationRequest |
+apiInstance.updatePushNotification(appId, scheduledPushNotificationId, notification, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **scheduledPushNotificationId** | **Number**| |
+ **notification** | [**PushNotificationRequest**](PushNotificationRequest.md)| |
+
+### Return type
+
+[**RestApiResultPushNotificationResponse**](RestApiResultPushNotificationResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/Range.md b/docs/Range.md
new file mode 100644
index 00000000..7bccdf4d
--- /dev/null
+++ b/docs/Range.md
@@ -0,0 +1,32 @@
+# Flipdish.Range
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StartTime** | **String** | Start time | [optional]
+**Period** | **String** | Period | [optional]
+**DayOfWeek** | **String** | Day of week | [optional]
+
+
+
+## Enum: DayOfWeekEnum
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/ReaderActionStateInfo.md b/docs/ReaderActionStateInfo.md
new file mode 100644
index 00000000..dbb46bff
--- /dev/null
+++ b/docs/ReaderActionStateInfo.md
@@ -0,0 +1,12 @@
+# Flipdish.ReaderActionStateInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ActionState** | **String** | Action state | [optional]
+**FailureCode** | **String** | Failure code | [optional]
+**FailureMessage** | **String** | Failure Message | [optional]
+**Type** | **String** | Type | [optional]
+
+
diff --git a/docs/ReceiptsApi.md b/docs/ReceiptsApi.md
new file mode 100644
index 00000000..9fc52e9a
--- /dev/null
+++ b/docs/ReceiptsApi.md
@@ -0,0 +1,56 @@
+# Flipdish.ReceiptsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getReceipt**](ReceiptsApi.md#getReceipt) | **GET** /api/v1.0/receipts/{orderId} |
+
+
+
+## getReceipt
+
+> GetReceiptByOrderIdQueryResponse getReceipt(orderId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.ReceiptsApi();
+let orderId = 56; // Number |
+apiInstance.getReceipt(orderId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orderId** | **Number**| |
+
+### Return type
+
+[**GetReceiptByOrderIdQueryResponse**](GetReceiptByOrderIdQueryResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/RedeemInvitationResult.md b/docs/RedeemInvitationResult.md
new file mode 100644
index 00000000..c0661816
--- /dev/null
+++ b/docs/RedeemInvitationResult.md
@@ -0,0 +1,23 @@
+# Flipdish.RedeemInvitationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppId** | **String** | Access level is for this App | [optional]
+**InvitationStatus** | **String** | Invitation status | [optional]
+
+
+
+## Enum: InvitationStatusEnum
+
+
+* `Pending` (value: `"Pending"`)
+
+* `Accepted` (value: `"Accepted"`)
+
+* `Expired` (value: `"Expired"`)
+
+
+
+
diff --git a/docs/Refund.md b/docs/Refund.md
new file mode 100644
index 00000000..528fc33a
--- /dev/null
+++ b/docs/Refund.md
@@ -0,0 +1,11 @@
+# Flipdish.Refund
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RefundReason** | **String** | Refund reason | [optional]
+**RefundAmount** | **Number** | Refund amount |
+**NotifyCustomer** | **Boolean** | If true, the system sends notification to the customer about the refund |
+
+
diff --git a/docs/Reject.md b/docs/Reject.md
new file mode 100644
index 00000000..1ee1f043
--- /dev/null
+++ b/docs/Reject.md
@@ -0,0 +1,35 @@
+# Flipdish.Reject
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RejectReason** | **String** | Reject reason. |
+**DoNotNotifyCustomer** | **Boolean** | Notify customer. The server will not send and SMS to the customer if the value is true. | [optional]
+
+
+
+## Enum: RejectReasonEnum
+
+
+* `TooBusy` (value: `"TooBusy"`)
+
+* `FoodUnavailable` (value: `"FoodUnavailable"`)
+
+* `UnableToDeliver` (value: `"UnableToDeliver"`)
+
+* `UnknownAddress` (value: `"UnknownAddress"`)
+
+* `UnknownReason` (value: `"UnknownReason"`)
+
+* `TooSoon` (value: `"TooSoon"`)
+
+* `TimeUnavailable` (value: `"TimeUnavailable"`)
+
+* `DontDeliverToArea` (value: `"DontDeliverToArea"`)
+
+* `StoreUncontactable` (value: `"StoreUncontactable"`)
+
+
+
+
diff --git a/docs/RequestLoginPinModel.md b/docs/RequestLoginPinModel.md
new file mode 100644
index 00000000..3d046dcb
--- /dev/null
+++ b/docs/RequestLoginPinModel.md
@@ -0,0 +1,9 @@
+# Flipdish.RequestLoginPinModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email address |
+
+
diff --git a/docs/RequestLoginPinResponse.md b/docs/RequestLoginPinResponse.md
new file mode 100644
index 00000000..2eb32722
--- /dev/null
+++ b/docs/RequestLoginPinResponse.md
@@ -0,0 +1,10 @@
+# Flipdish.RequestLoginPinResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LoginPinSentViaEmail** | **Boolean** | Login PIN sent via email to user | [optional]
+**ForceOktaLogin** | **Boolean** | All flipdishers must login via Okta | [optional]
+
+
diff --git a/docs/RequestPasswordResetModel.md b/docs/RequestPasswordResetModel.md
new file mode 100644
index 00000000..84a2c6c6
--- /dev/null
+++ b/docs/RequestPasswordResetModel.md
@@ -0,0 +1,10 @@
+# Flipdish.RequestPasswordResetModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Email** | **String** | Email address | [optional]
+**RecaptchaToken** | **String** | Google Recaptcha Token | [optional]
+
+
diff --git a/docs/RequestPasswordResetPinResponse.md b/docs/RequestPasswordResetPinResponse.md
new file mode 100644
index 00000000..086b9047
--- /dev/null
+++ b/docs/RequestPasswordResetPinResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RequestPasswordResetPinResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PasswordResetPinSentViaEmail** | **Boolean** | Password Reset PIN sent via email to user | [optional]
+
+
diff --git a/docs/Response.md b/docs/Response.md
new file mode 100644
index 00000000..53d85d04
--- /dev/null
+++ b/docs/Response.md
@@ -0,0 +1,9 @@
+# Flipdish.Response
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Stores** | [**[StoreItemHeader]**](StoreItemHeader.md) | | [optional]
+
+
diff --git a/docs/RestApiArrayResultAllMetadataResult.md b/docs/RestApiArrayResultAllMetadataResult.md
new file mode 100644
index 00000000..e2154b10
--- /dev/null
+++ b/docs/RestApiArrayResultAllMetadataResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultAllMetadataResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[AllMetadataResult]**](AllMetadataResult.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultAllergen.md b/docs/RestApiArrayResultAllergen.md
new file mode 100644
index 00000000..3e56eae0
--- /dev/null
+++ b/docs/RestApiArrayResultAllergen.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultAllergen
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[Allergen]**](Allergen.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultApmCurrencyDataPoint.md b/docs/RestApiArrayResultApmCurrencyDataPoint.md
new file mode 100644
index 00000000..a289eb1b
--- /dev/null
+++ b/docs/RestApiArrayResultApmCurrencyDataPoint.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultApmCurrencyDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[ApmCurrencyDataPoint]**](ApmCurrencyDataPoint.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultApmDataPoint.md b/docs/RestApiArrayResultApmDataPoint.md
new file mode 100644
index 00000000..01fbd610
--- /dev/null
+++ b/docs/RestApiArrayResultApmDataPoint.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultApmDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[ApmDataPoint]**](ApmDataPoint.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultApmHourlyDataPoint.md b/docs/RestApiArrayResultApmHourlyDataPoint.md
new file mode 100644
index 00000000..5ff94dd6
--- /dev/null
+++ b/docs/RestApiArrayResultApmHourlyDataPoint.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultApmHourlyDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[ApmHourlyDataPoint]**](ApmHourlyDataPoint.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultAppStoreAppConfigurationSummary.md b/docs/RestApiArrayResultAppStoreAppConfigurationSummary.md
new file mode 100644
index 00000000..756e7651
--- /dev/null
+++ b/docs/RestApiArrayResultAppStoreAppConfigurationSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultAppStoreAppConfigurationSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[AppStoreAppConfigurationSummary]**](AppStoreAppConfigurationSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultAppStoreAppSummary.md b/docs/RestApiArrayResultAppStoreAppSummary.md
new file mode 100644
index 00000000..21d847e7
--- /dev/null
+++ b/docs/RestApiArrayResultAppStoreAppSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultAppStoreAppSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[AppStoreAppSummary]**](AppStoreAppSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultBankAccountSummary.md b/docs/RestApiArrayResultBankAccountSummary.md
new file mode 100644
index 00000000..d96ac4f8
--- /dev/null
+++ b/docs/RestApiArrayResultBankAccountSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultBankAccountSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[BankAccountSummary]**](BankAccountSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultBusinessHoursPeriod.md b/docs/RestApiArrayResultBusinessHoursPeriod.md
new file mode 100644
index 00000000..bc949585
--- /dev/null
+++ b/docs/RestApiArrayResultBusinessHoursPeriod.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultBusinessHoursPeriod
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[BusinessHoursPeriod]**](BusinessHoursPeriod.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultChannel.md b/docs/RestApiArrayResultChannel.md
new file mode 100644
index 00000000..b93ddf40
--- /dev/null
+++ b/docs/RestApiArrayResultChannel.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultChannel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[Channel]**](Channel.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultClientDeviceSummary.md b/docs/RestApiArrayResultClientDeviceSummary.md
new file mode 100644
index 00000000..b0df61aa
--- /dev/null
+++ b/docs/RestApiArrayResultClientDeviceSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultClientDeviceSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[ClientDeviceSummary]**](ClientDeviceSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultCountryWithAccountFieldsDefinitions.md b/docs/RestApiArrayResultCountryWithAccountFieldsDefinitions.md
new file mode 100644
index 00000000..dd27f65d
--- /dev/null
+++ b/docs/RestApiArrayResultCountryWithAccountFieldsDefinitions.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultCountryWithAccountFieldsDefinitions
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[CountryWithAccountFieldsDefinitions]**](CountryWithAccountFieldsDefinitions.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultDeliveryZone.md b/docs/RestApiArrayResultDeliveryZone.md
new file mode 100644
index 00000000..38b5fbb5
--- /dev/null
+++ b/docs/RestApiArrayResultDeliveryZone.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultDeliveryZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[DeliveryZone]**](DeliveryZone.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultEmvTerminalWithAssignments.md b/docs/RestApiArrayResultEmvTerminalWithAssignments.md
new file mode 100644
index 00000000..530cf889
--- /dev/null
+++ b/docs/RestApiArrayResultEmvTerminalWithAssignments.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultEmvTerminalWithAssignments
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[EmvTerminalWithAssignments]**](EmvTerminalWithAssignments.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultFulfillmentStatesConfigurationSummary.md b/docs/RestApiArrayResultFulfillmentStatesConfigurationSummary.md
new file mode 100644
index 00000000..0598bbd1
--- /dev/null
+++ b/docs/RestApiArrayResultFulfillmentStatesConfigurationSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultFulfillmentStatesConfigurationSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[FulfillmentStatesConfigurationSummary]**](FulfillmentStatesConfigurationSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultHomeAction.md b/docs/RestApiArrayResultHomeAction.md
new file mode 100644
index 00000000..8c1cef98
--- /dev/null
+++ b/docs/RestApiArrayResultHomeAction.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultHomeAction
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[HomeAction]**](HomeAction.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultKioskCashPaymentSettings.md b/docs/RestApiArrayResultKioskCashPaymentSettings.md
new file mode 100644
index 00000000..8e094c6b
--- /dev/null
+++ b/docs/RestApiArrayResultKioskCashPaymentSettings.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultKioskCashPaymentSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[KioskCashPaymentSettings]**](KioskCashPaymentSettings.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultLocalisedTimeZone.md b/docs/RestApiArrayResultLocalisedTimeZone.md
new file mode 100644
index 00000000..57935246
--- /dev/null
+++ b/docs/RestApiArrayResultLocalisedTimeZone.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultLocalisedTimeZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[LocalisedTimeZone]**](LocalisedTimeZone.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultLocationAreaLocation.md b/docs/RestApiArrayResultLocationAreaLocation.md
new file mode 100644
index 00000000..6bf06f1f
--- /dev/null
+++ b/docs/RestApiArrayResultLocationAreaLocation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultLocationAreaLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[LocationAreaLocation]**](LocationAreaLocation.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultLocationAreaWithLocations.md b/docs/RestApiArrayResultLocationAreaWithLocations.md
new file mode 100644
index 00000000..d970f09f
--- /dev/null
+++ b/docs/RestApiArrayResultLocationAreaWithLocations.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultLocationAreaWithLocations
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[LocationAreaWithLocations]**](LocationAreaWithLocations.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultLoyaltyCampaign.md b/docs/RestApiArrayResultLoyaltyCampaign.md
new file mode 100644
index 00000000..673a26ba
--- /dev/null
+++ b/docs/RestApiArrayResultLoyaltyCampaign.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultLoyaltyCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[LoyaltyCampaign]**](LoyaltyCampaign.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuCheckpoint.md b/docs/RestApiArrayResultMenuCheckpoint.md
new file mode 100644
index 00000000..c10c92da
--- /dev/null
+++ b/docs/RestApiArrayResultMenuCheckpoint.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuCheckpoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuCheckpoint]**](MenuCheckpoint.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuElementEditResponse.md b/docs/RestApiArrayResultMenuElementEditResponse.md
new file mode 100644
index 00000000..970fe3cd
--- /dev/null
+++ b/docs/RestApiArrayResultMenuElementEditResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuElementEditResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuElementEditResponse]**](MenuElementEditResponse.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuElementListResponse.md b/docs/RestApiArrayResultMenuElementListResponse.md
new file mode 100644
index 00000000..de7b7a4f
--- /dev/null
+++ b/docs/RestApiArrayResultMenuElementListResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuElementListResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuElementListResponse]**](MenuElementListResponse.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuItemOptionSet.md b/docs/RestApiArrayResultMenuItemOptionSet.md
new file mode 100644
index 00000000..dbba5418
--- /dev/null
+++ b/docs/RestApiArrayResultMenuItemOptionSet.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuItemOptionSet
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuItemOptionSet]**](MenuItemOptionSet.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuItemOptionSetItem.md b/docs/RestApiArrayResultMenuItemOptionSetItem.md
new file mode 100644
index 00000000..ec2dac08
--- /dev/null
+++ b/docs/RestApiArrayResultMenuItemOptionSetItem.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuItemOptionSetItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuItemOptionSetItem]**](MenuItemOptionSetItem.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuSection.md b/docs/RestApiArrayResultMenuSection.md
new file mode 100644
index 00000000..2a59c8ae
--- /dev/null
+++ b/docs/RestApiArrayResultMenuSection.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuSection
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuSection]**](MenuSection.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuSectionItem.md b/docs/RestApiArrayResultMenuSectionItem.md
new file mode 100644
index 00000000..e40fa6f0
--- /dev/null
+++ b/docs/RestApiArrayResultMenuSectionItem.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuSectionItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuSectionItem]**](MenuSectionItem.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuStoreNames.md b/docs/RestApiArrayResultMenuStoreNames.md
new file mode 100644
index 00000000..5e233dc4
--- /dev/null
+++ b/docs/RestApiArrayResultMenuStoreNames.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuStoreNames
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuStoreNames]**](MenuStoreNames.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuSummary.md b/docs/RestApiArrayResultMenuSummary.md
new file mode 100644
index 00000000..05964b33
--- /dev/null
+++ b/docs/RestApiArrayResultMenuSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuSummary]**](MenuSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuTaxDetails.md b/docs/RestApiArrayResultMenuTaxDetails.md
new file mode 100644
index 00000000..910e39d3
--- /dev/null
+++ b/docs/RestApiArrayResultMenuTaxDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuTaxDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuTaxDetails]**](MenuTaxDetails.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMenuZone.md b/docs/RestApiArrayResultMenuZone.md
new file mode 100644
index 00000000..8d247bb7
--- /dev/null
+++ b/docs/RestApiArrayResultMenuZone.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMenuZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MenuZone]**](MenuZone.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMetadata.md b/docs/RestApiArrayResultMetadata.md
new file mode 100644
index 00000000..5e66d442
--- /dev/null
+++ b/docs/RestApiArrayResultMetadata.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMetadata
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[Metadata]**](Metadata.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultMobileAppsStatistics.md b/docs/RestApiArrayResultMobileAppsStatistics.md
new file mode 100644
index 00000000..dbb11b07
--- /dev/null
+++ b/docs/RestApiArrayResultMobileAppsStatistics.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultMobileAppsStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[MobileAppsStatistics]**](MobileAppsStatistics.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultOAuthApp.md b/docs/RestApiArrayResultOAuthApp.md
new file mode 100644
index 00000000..f656d511
--- /dev/null
+++ b/docs/RestApiArrayResultOAuthApp.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultOAuthApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[OAuthApp]**](OAuthApp.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultOauthClientRedirectUri.md b/docs/RestApiArrayResultOauthClientRedirectUri.md
new file mode 100644
index 00000000..340d0398
--- /dev/null
+++ b/docs/RestApiArrayResultOauthClientRedirectUri.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultOauthClientRedirectUri
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[OauthClientRedirectUri]**](OauthClientRedirectUri.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultOrderBatch.md b/docs/RestApiArrayResultOrderBatch.md
new file mode 100644
index 00000000..bf431d31
--- /dev/null
+++ b/docs/RestApiArrayResultOrderBatch.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultOrderBatch
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[OrderBatch]**](OrderBatch.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultOrderFulfillmentStatus.md b/docs/RestApiArrayResultOrderFulfillmentStatus.md
new file mode 100644
index 00000000..df48b332
--- /dev/null
+++ b/docs/RestApiArrayResultOrderFulfillmentStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultOrderFulfillmentStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[OrderFulfillmentStatus]**](OrderFulfillmentStatus.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultPayoutSummary.md b/docs/RestApiArrayResultPayoutSummary.md
new file mode 100644
index 00000000..205248de
--- /dev/null
+++ b/docs/RestApiArrayResultPayoutSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultPayoutSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[PayoutSummary]**](PayoutSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultPendingInvitation.md b/docs/RestApiArrayResultPendingInvitation.md
new file mode 100644
index 00000000..a086d6ea
--- /dev/null
+++ b/docs/RestApiArrayResultPendingInvitation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultPendingInvitation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[PendingInvitation]**](PendingInvitation.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultPendingMenuChangesSummaries.md b/docs/RestApiArrayResultPendingMenuChangesSummaries.md
new file mode 100644
index 00000000..12568703
--- /dev/null
+++ b/docs/RestApiArrayResultPendingMenuChangesSummaries.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultPendingMenuChangesSummaries
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[PendingMenuChangesSummaries]**](PendingMenuChangesSummaries.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultPreOrderTime.md b/docs/RestApiArrayResultPreOrderTime.md
new file mode 100644
index 00000000..ef1e0c17
--- /dev/null
+++ b/docs/RestApiArrayResultPreOrderTime.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultPreOrderTime
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[PreOrderTime]**](PreOrderTime.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultProcessingFeeConfig.md b/docs/RestApiArrayResultProcessingFeeConfig.md
new file mode 100644
index 00000000..42db87bc
--- /dev/null
+++ b/docs/RestApiArrayResultProcessingFeeConfig.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultProcessingFeeConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[ProcessingFeeConfig]**](ProcessingFeeConfig.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultRedeemInvitationResult.md b/docs/RestApiArrayResultRedeemInvitationResult.md
new file mode 100644
index 00000000..969822f8
--- /dev/null
+++ b/docs/RestApiArrayResultRedeemInvitationResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultRedeemInvitationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[RedeemInvitationResult]**](RedeemInvitationResult.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultRestApiDefaultResponse.md b/docs/RestApiArrayResultRestApiDefaultResponse.md
new file mode 100644
index 00000000..392ffc39
--- /dev/null
+++ b/docs/RestApiArrayResultRestApiDefaultResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultRestApiDefaultResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[RestApiDefaultResponse]**](RestApiDefaultResponse.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultRestaurantVoucherEligibleStore.md b/docs/RestApiArrayResultRestaurantVoucherEligibleStore.md
new file mode 100644
index 00000000..4e1acc57
--- /dev/null
+++ b/docs/RestApiArrayResultRestaurantVoucherEligibleStore.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultRestaurantVoucherEligibleStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[RestaurantVoucherEligibleStore]**](RestaurantVoucherEligibleStore.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultRestaurantVoucherPayGreenConfiguration.md b/docs/RestApiArrayResultRestaurantVoucherPayGreenConfiguration.md
new file mode 100644
index 00000000..e9f74b01
--- /dev/null
+++ b/docs/RestApiArrayResultRestaurantVoucherPayGreenConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultRestaurantVoucherPayGreenConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[RestaurantVoucherPayGreenConfiguration]**](RestaurantVoucherPayGreenConfiguration.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary.md b/docs/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary.md
new file mode 100644
index 00000000..a884ae51
--- /dev/null
+++ b/docs/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[RestaurantVoucherPayGreenConfigurationSummary]**](RestaurantVoucherPayGreenConfigurationSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultRetentionCampaign.md b/docs/RestApiArrayResultRetentionCampaign.md
new file mode 100644
index 00000000..6e95abdc
--- /dev/null
+++ b/docs/RestApiArrayResultRetentionCampaign.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultRetentionCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[RetentionCampaign]**](RetentionCampaign.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultSmsProviderCredential.md b/docs/RestApiArrayResultSmsProviderCredential.md
new file mode 100644
index 00000000..8a4ba72c
--- /dev/null
+++ b/docs/RestApiArrayResultSmsProviderCredential.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultSmsProviderCredential
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[SmsProviderCredential]**](SmsProviderCredential.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultStoreChannelAssignment.md b/docs/RestApiArrayResultStoreChannelAssignment.md
new file mode 100644
index 00000000..a50714ae
--- /dev/null
+++ b/docs/RestApiArrayResultStoreChannelAssignment.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultStoreChannelAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[StoreChannelAssignment]**](StoreChannelAssignment.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultStoreDeliveryZoneFeeConfig.md b/docs/RestApiArrayResultStoreDeliveryZoneFeeConfig.md
new file mode 100644
index 00000000..6a6da259
--- /dev/null
+++ b/docs/RestApiArrayResultStoreDeliveryZoneFeeConfig.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultStoreDeliveryZoneFeeConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[StoreDeliveryZoneFeeConfig]**](StoreDeliveryZoneFeeConfig.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultStoreListItem.md b/docs/RestApiArrayResultStoreListItem.md
new file mode 100644
index 00000000..e110d0e8
--- /dev/null
+++ b/docs/RestApiArrayResultStoreListItem.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultStoreListItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[StoreListItem]**](StoreListItem.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultStoreStatistics.md b/docs/RestApiArrayResultStoreStatistics.md
new file mode 100644
index 00000000..4bd8a3b9
--- /dev/null
+++ b/docs/RestApiArrayResultStoreStatistics.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultStoreStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[StoreStatistics]**](StoreStatistics.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultStripeCustomConnectedAccount.md b/docs/RestApiArrayResultStripeCustomConnectedAccount.md
new file mode 100644
index 00000000..66b86e95
--- /dev/null
+++ b/docs/RestApiArrayResultStripeCustomConnectedAccount.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultStripeCustomConnectedAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[StripeCustomConnectedAccount]**](StripeCustomConnectedAccount.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultSubscriptionSummary.md b/docs/RestApiArrayResultSubscriptionSummary.md
new file mode 100644
index 00000000..9e3b642c
--- /dev/null
+++ b/docs/RestApiArrayResultSubscriptionSummary.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultSubscriptionSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[SubscriptionSummary]**](SubscriptionSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultSupportedCountry.md b/docs/RestApiArrayResultSupportedCountry.md
new file mode 100644
index 00000000..c677b16e
--- /dev/null
+++ b/docs/RestApiArrayResultSupportedCountry.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultSupportedCountry
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[SupportedCountry]**](SupportedCountry.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultTeammate.md b/docs/RestApiArrayResultTeammate.md
new file mode 100644
index 00000000..666f4cf8
--- /dev/null
+++ b/docs/RestApiArrayResultTeammate.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultTeammate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[Teammate]**](Teammate.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultUserFlipdishAccount.md b/docs/RestApiArrayResultUserFlipdishAccount.md
new file mode 100644
index 00000000..02788954
--- /dev/null
+++ b/docs/RestApiArrayResultUserFlipdishAccount.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultUserFlipdishAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[UserFlipdishAccount]**](UserFlipdishAccount.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultUserNote.md b/docs/RestApiArrayResultUserNote.md
new file mode 100644
index 00000000..db75f4d8
--- /dev/null
+++ b/docs/RestApiArrayResultUserNote.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultUserNote
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[UserNote]**](UserNote.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultUserStoreInfo.md b/docs/RestApiArrayResultUserStoreInfo.md
new file mode 100644
index 00000000..2c7d3928
--- /dev/null
+++ b/docs/RestApiArrayResultUserStoreInfo.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultUserStoreInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[UserStoreInfo]**](UserStoreInfo.md) | Generic data object. |
+
+
diff --git a/docs/RestApiArrayResultVoucherDataPoint.md b/docs/RestApiArrayResultVoucherDataPoint.md
new file mode 100644
index 00000000..1ad47344
--- /dev/null
+++ b/docs/RestApiArrayResultVoucherDataPoint.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiArrayResultVoucherDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**[VoucherDataPoint]**](VoucherDataPoint.md) | Generic data object. |
+
+
diff --git a/docs/RestApiDefaultResponse.md b/docs/RestApiDefaultResponse.md
new file mode 100644
index 00000000..f5674e56
--- /dev/null
+++ b/docs/RestApiDefaultResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiDefaultResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | **String** | Data string | [optional] [readonly]
+
+
diff --git a/docs/RestApiErrorResult.md b/docs/RestApiErrorResult.md
new file mode 100644
index 00000000..988a4ae2
--- /dev/null
+++ b/docs/RestApiErrorResult.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiErrorResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Message** | **String** | Error message |
+**ErrorCode** | **Number** | Error code | [optional]
+**StackTrace** | **String** | Stack trace | [optional]
+**Errors** | [**[ValidationErrorResult]**](ValidationErrorResult.md) | List of errors grouped by field name | [optional]
+
+
diff --git a/docs/RestApiEventSearchPaginationResult.md b/docs/RestApiEventSearchPaginationResult.md
new file mode 100644
index 00000000..e8b98737
--- /dev/null
+++ b/docs/RestApiEventSearchPaginationResult.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiEventSearchPaginationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**EventSearchResult**](EventSearchResult.md) | |
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+
+
diff --git a/docs/RestApiFinanceSearchPaginationResultInvoice.md b/docs/RestApiFinanceSearchPaginationResultInvoice.md
new file mode 100644
index 00000000..0cadf9f2
--- /dev/null
+++ b/docs/RestApiFinanceSearchPaginationResultInvoice.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiFinanceSearchPaginationResultInvoice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**NextPage** | **String** | Next page |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Invoice]**](Invoice.md) | Generic data object. |
+
+
diff --git a/docs/RestApiFinanceSearchPaginationResultSubscriptionInvoice.md b/docs/RestApiFinanceSearchPaginationResultSubscriptionInvoice.md
new file mode 100644
index 00000000..197f53ba
--- /dev/null
+++ b/docs/RestApiFinanceSearchPaginationResultSubscriptionInvoice.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiFinanceSearchPaginationResultSubscriptionInvoice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**NextPage** | **String** | Next page |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[SubscriptionInvoice]**](SubscriptionInvoice.md) | Generic data object. |
+
+
diff --git a/docs/RestApiForbiddenResult.md b/docs/RestApiForbiddenResult.md
new file mode 100644
index 00000000..e1423fea
--- /dev/null
+++ b/docs/RestApiForbiddenResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiForbiddenResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Message** | **String** | Message | [readonly]
+
+
diff --git a/docs/RestApiIntegerResult.md b/docs/RestApiIntegerResult.md
new file mode 100644
index 00000000..9b40bb5f
--- /dev/null
+++ b/docs/RestApiIntegerResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiIntegerResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | **Number** | Data integer |
+
+
diff --git a/docs/RestApiPaginationResultApp.md b/docs/RestApiPaginationResultApp.md
new file mode 100644
index 00000000..3e3a669a
--- /dev/null
+++ b/docs/RestApiPaginationResultApp.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[App]**](App.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultAppStoreAppSummary.md b/docs/RestApiPaginationResultAppStoreAppSummary.md
new file mode 100644
index 00000000..608f45e7
--- /dev/null
+++ b/docs/RestApiPaginationResultAppStoreAppSummary.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultAppStoreAppSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[AppStoreAppSummary]**](AppStoreAppSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultBusinessHoursOverride.md b/docs/RestApiPaginationResultBusinessHoursOverride.md
new file mode 100644
index 00000000..e675d320
--- /dev/null
+++ b/docs/RestApiPaginationResultBusinessHoursOverride.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultBusinessHoursOverride
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[BusinessHoursOverride]**](BusinessHoursOverride.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultCatalogItem.md b/docs/RestApiPaginationResultCatalogItem.md
new file mode 100644
index 00000000..f50169a2
--- /dev/null
+++ b/docs/RestApiPaginationResultCatalogItem.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultCatalogItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[CatalogItem]**](CatalogItem.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultGroup.md b/docs/RestApiPaginationResultGroup.md
new file mode 100644
index 00000000..8fef598b
--- /dev/null
+++ b/docs/RestApiPaginationResultGroup.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Group]**](Group.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultHydraDeviceDetails.md b/docs/RestApiPaginationResultHydraDeviceDetails.md
new file mode 100644
index 00000000..1564f224
--- /dev/null
+++ b/docs/RestApiPaginationResultHydraDeviceDetails.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultHydraDeviceDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[HydraDeviceDetails]**](HydraDeviceDetails.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultMetafieldDefinition.md b/docs/RestApiPaginationResultMetafieldDefinition.md
new file mode 100644
index 00000000..3878667e
--- /dev/null
+++ b/docs/RestApiPaginationResultMetafieldDefinition.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultMetafieldDefinition
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[MetafieldDefinition]**](MetafieldDefinition.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultMetafieldDefinitionRecommendation.md b/docs/RestApiPaginationResultMetafieldDefinitionRecommendation.md
new file mode 100644
index 00000000..6decb6e7
--- /dev/null
+++ b/docs/RestApiPaginationResultMetafieldDefinitionRecommendation.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultMetafieldDefinitionRecommendation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[MetafieldDefinitionRecommendation]**](MetafieldDefinitionRecommendation.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultOAuthTokenModel.md b/docs/RestApiPaginationResultOAuthTokenModel.md
new file mode 100644
index 00000000..5c32533d
--- /dev/null
+++ b/docs/RestApiPaginationResultOAuthTokenModel.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultOAuthTokenModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[OAuthTokenModel]**](OAuthTokenModel.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultOrder.md b/docs/RestApiPaginationResultOrder.md
new file mode 100644
index 00000000..932dafa7
--- /dev/null
+++ b/docs/RestApiPaginationResultOrder.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Order]**](Order.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultOrderSummary.md b/docs/RestApiPaginationResultOrderSummary.md
new file mode 100644
index 00000000..2573180a
--- /dev/null
+++ b/docs/RestApiPaginationResultOrderSummary.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultOrderSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[OrderSummary]**](OrderSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPayout.md b/docs/RestApiPaginationResultPayout.md
new file mode 100644
index 00000000..dafee901
--- /dev/null
+++ b/docs/RestApiPaginationResultPayout.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPayout
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Payout]**](Payout.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPayoutChargeback.md b/docs/RestApiPaginationResultPayoutChargeback.md
new file mode 100644
index 00000000..075a665d
--- /dev/null
+++ b/docs/RestApiPaginationResultPayoutChargeback.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPayoutChargeback
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PayoutChargeback]**](PayoutChargeback.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPayoutOrder.md b/docs/RestApiPaginationResultPayoutOrder.md
new file mode 100644
index 00000000..da83b5e1
--- /dev/null
+++ b/docs/RestApiPaginationResultPayoutOrder.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPayoutOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PayoutOrder]**](PayoutOrder.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPayoutOtherCharge.md b/docs/RestApiPaginationResultPayoutOtherCharge.md
new file mode 100644
index 00000000..42c4b768
--- /dev/null
+++ b/docs/RestApiPaginationResultPayoutOtherCharge.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPayoutOtherCharge
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PayoutOtherCharge]**](PayoutOtherCharge.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPayoutRefund.md b/docs/RestApiPaginationResultPayoutRefund.md
new file mode 100644
index 00000000..1dbfe496
--- /dev/null
+++ b/docs/RestApiPaginationResultPayoutRefund.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPayoutRefund
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PayoutRefund]**](PayoutRefund.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPayoutReport3RefundedOrder.md b/docs/RestApiPaginationResultPayoutReport3RefundedOrder.md
new file mode 100644
index 00000000..e2c1b733
--- /dev/null
+++ b/docs/RestApiPaginationResultPayoutReport3RefundedOrder.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPayoutReport3RefundedOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PayoutReport3RefundedOrder]**](PayoutReport3RefundedOrder.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPendingMenuChanges.md b/docs/RestApiPaginationResultPendingMenuChanges.md
new file mode 100644
index 00000000..a92e501d
--- /dev/null
+++ b/docs/RestApiPaginationResultPendingMenuChanges.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPendingMenuChanges
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PendingMenuChanges]**](PendingMenuChanges.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPhoneCall.md b/docs/RestApiPaginationResultPhoneCall.md
new file mode 100644
index 00000000..10439473
--- /dev/null
+++ b/docs/RestApiPaginationResultPhoneCall.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPhoneCall
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PhoneCall]**](PhoneCall.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultProduct.md b/docs/RestApiPaginationResultProduct.md
new file mode 100644
index 00000000..2735fbe1
--- /dev/null
+++ b/docs/RestApiPaginationResultProduct.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultProduct
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Product]**](Product.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultPushNotificationResponse.md b/docs/RestApiPaginationResultPushNotificationResponse.md
new file mode 100644
index 00000000..efedb154
--- /dev/null
+++ b/docs/RestApiPaginationResultPushNotificationResponse.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultPushNotificationResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[PushNotificationResponse]**](PushNotificationResponse.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultRestaurant.md b/docs/RestApiPaginationResultRestaurant.md
new file mode 100644
index 00000000..4caaa01f
--- /dev/null
+++ b/docs/RestApiPaginationResultRestaurant.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultRestaurant
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Restaurant]**](Restaurant.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultStore.md b/docs/RestApiPaginationResultStore.md
new file mode 100644
index 00000000..84eb056e
--- /dev/null
+++ b/docs/RestApiPaginationResultStore.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[Store]**](Store.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultStoreGroup.md b/docs/RestApiPaginationResultStoreGroup.md
new file mode 100644
index 00000000..63894cce
--- /dev/null
+++ b/docs/RestApiPaginationResultStoreGroup.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultStoreGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[StoreGroup]**](StoreGroup.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultStoreGroupExtended.md b/docs/RestApiPaginationResultStoreGroupExtended.md
new file mode 100644
index 00000000..b333f837
--- /dev/null
+++ b/docs/RestApiPaginationResultStoreGroupExtended.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultStoreGroupExtended
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[StoreGroupExtended]**](StoreGroupExtended.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultStoreHeader.md b/docs/RestApiPaginationResultStoreHeader.md
new file mode 100644
index 00000000..16b3f8f0
--- /dev/null
+++ b/docs/RestApiPaginationResultStoreHeader.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultStoreHeader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[StoreHeader]**](StoreHeader.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultStoreValidationConfig.md b/docs/RestApiPaginationResultStoreValidationConfig.md
new file mode 100644
index 00000000..eb6b6d1d
--- /dev/null
+++ b/docs/RestApiPaginationResultStoreValidationConfig.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultStoreValidationConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[StoreValidationConfig]**](StoreValidationConfig.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultUserSearch.md b/docs/RestApiPaginationResultUserSearch.md
new file mode 100644
index 00000000..70188d1a
--- /dev/null
+++ b/docs/RestApiPaginationResultUserSearch.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultUserSearch
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[UserSearch]**](UserSearch.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultVoucherSummary.md b/docs/RestApiPaginationResultVoucherSummary.md
new file mode 100644
index 00000000..8772b92e
--- /dev/null
+++ b/docs/RestApiPaginationResultVoucherSummary.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultVoucherSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[VoucherSummary]**](VoucherSummary.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultWebhookLog.md b/docs/RestApiPaginationResultWebhookLog.md
new file mode 100644
index 00000000..07497d28
--- /dev/null
+++ b/docs/RestApiPaginationResultWebhookLog.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultWebhookLog
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[WebhookLog]**](WebhookLog.md) | Generic data object. |
+
+
diff --git a/docs/RestApiPaginationResultWebhookSubscription.md b/docs/RestApiPaginationResultWebhookSubscription.md
new file mode 100644
index 00000000..52ed7536
--- /dev/null
+++ b/docs/RestApiPaginationResultWebhookSubscription.md
@@ -0,0 +1,12 @@
+# Flipdish.RestApiPaginationResultWebhookSubscription
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Page** | **Number** | Current page index |
+**Limit** | **Number** | Current page size |
+**TotalRecordCount** | **Number** | Total record count |
+**Data** | [**[WebhookSubscription]**](WebhookSubscription.md) | Generic data object. |
+
+
diff --git a/docs/RestApiResultAcceptInvitationResult.md b/docs/RestApiResultAcceptInvitationResult.md
new file mode 100644
index 00000000..176a0087
--- /dev/null
+++ b/docs/RestApiResultAcceptInvitationResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAcceptInvitationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AcceptInvitationResult**](AcceptInvitationResult.md) | |
+
+
diff --git a/docs/RestApiResultAccountDetail.md b/docs/RestApiResultAccountDetail.md
new file mode 100644
index 00000000..ada6bc67
--- /dev/null
+++ b/docs/RestApiResultAccountDetail.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAccountDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AccountDetail**](AccountDetail.md) | |
+
+
diff --git a/docs/RestApiResultAccountFieldsDefinitions.md b/docs/RestApiResultAccountFieldsDefinitions.md
new file mode 100644
index 00000000..1f1633ce
--- /dev/null
+++ b/docs/RestApiResultAccountFieldsDefinitions.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAccountFieldsDefinitions
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AccountFieldsDefinitions**](AccountFieldsDefinitions.md) | |
+
+
diff --git a/docs/RestApiResultAddressFormResponse.md b/docs/RestApiResultAddressFormResponse.md
new file mode 100644
index 00000000..08ff55a8
--- /dev/null
+++ b/docs/RestApiResultAddressFormResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAddressFormResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AddressFormResponse**](AddressFormResponse.md) | |
+
+
diff --git a/docs/RestApiResultApmStatistics.md b/docs/RestApiResultApmStatistics.md
new file mode 100644
index 00000000..3d91cd00
--- /dev/null
+++ b/docs/RestApiResultApmStatistics.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultApmStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ApmStatistics**](ApmStatistics.md) | |
+
+
diff --git a/docs/RestApiResultApmStatus.md b/docs/RestApiResultApmStatus.md
new file mode 100644
index 00000000..85b7618d
--- /dev/null
+++ b/docs/RestApiResultApmStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultApmStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ApmStatus**](ApmStatus.md) | |
+
+
diff --git a/docs/RestApiResultApp.md b/docs/RestApiResultApp.md
new file mode 100644
index 00000000..ed935785
--- /dev/null
+++ b/docs/RestApiResultApp.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**App**](App.md) | |
+
+
diff --git a/docs/RestApiResultAppChannelAssignment.md b/docs/RestApiResultAppChannelAssignment.md
new file mode 100644
index 00000000..7cf59a84
--- /dev/null
+++ b/docs/RestApiResultAppChannelAssignment.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAppChannelAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AppChannelAssignment**](AppChannelAssignment.md) | |
+
+
diff --git a/docs/RestApiResultAppCompliance.md b/docs/RestApiResultAppCompliance.md
new file mode 100644
index 00000000..feaad1fb
--- /dev/null
+++ b/docs/RestApiResultAppCompliance.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAppCompliance
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AppCompliance**](AppCompliance.md) | |
+
+
diff --git a/docs/RestApiResultAppConfigSalesChannel.md b/docs/RestApiResultAppConfigSalesChannel.md
new file mode 100644
index 00000000..9b69a499
--- /dev/null
+++ b/docs/RestApiResultAppConfigSalesChannel.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAppConfigSalesChannel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AppConfigSalesChannel**](AppConfigSalesChannel.md) | |
+
+
diff --git a/docs/RestApiResultAppStoreApp.md b/docs/RestApiResultAppStoreApp.md
new file mode 100644
index 00000000..8ab0ff93
--- /dev/null
+++ b/docs/RestApiResultAppStoreApp.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAppStoreApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AppStoreApp**](AppStoreApp.md) | |
+
+
diff --git a/docs/RestApiResultAppStoreAppConfiguration.md b/docs/RestApiResultAppStoreAppConfiguration.md
new file mode 100644
index 00000000..52f53c6d
--- /dev/null
+++ b/docs/RestApiResultAppStoreAppConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAppStoreAppConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AppStoreAppConfiguration**](AppStoreAppConfiguration.md) | |
+
+
diff --git a/docs/RestApiResultAppStoreAppEntitlements.md b/docs/RestApiResultAppStoreAppEntitlements.md
new file mode 100644
index 00000000..e5dca166
--- /dev/null
+++ b/docs/RestApiResultAppStoreAppEntitlements.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAppStoreAppEntitlements
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AppStoreAppEntitlements**](AppStoreAppEntitlements.md) | |
+
+
diff --git a/docs/RestApiResultAssignedBankAccount.md b/docs/RestApiResultAssignedBankAccount.md
new file mode 100644
index 00000000..b9891c4c
--- /dev/null
+++ b/docs/RestApiResultAssignedBankAccount.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultAssignedBankAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**AssignedBankAccount**](AssignedBankAccount.md) | |
+
+
diff --git a/docs/RestApiResultBankAccountDetail.md b/docs/RestApiResultBankAccountDetail.md
new file mode 100644
index 00000000..9c935fe4
--- /dev/null
+++ b/docs/RestApiResultBankAccountDetail.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultBankAccountDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**BankAccountDetail**](BankAccountDetail.md) | |
+
+
diff --git a/docs/RestApiResultBluetoothTerminalStatus.md b/docs/RestApiResultBluetoothTerminalStatus.md
new file mode 100644
index 00000000..5b5e311c
--- /dev/null
+++ b/docs/RestApiResultBluetoothTerminalStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultBluetoothTerminalStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**BluetoothTerminalStatus**](BluetoothTerminalStatus.md) | |
+
+
diff --git a/docs/RestApiResultBusinessHoursOverride.md b/docs/RestApiResultBusinessHoursOverride.md
new file mode 100644
index 00000000..476531a5
--- /dev/null
+++ b/docs/RestApiResultBusinessHoursOverride.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultBusinessHoursOverride
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**BusinessHoursOverride**](BusinessHoursOverride.md) | |
+
+
diff --git a/docs/RestApiResultBusinessHoursPeriod.md b/docs/RestApiResultBusinessHoursPeriod.md
new file mode 100644
index 00000000..c3ea39f7
--- /dev/null
+++ b/docs/RestApiResultBusinessHoursPeriod.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultBusinessHoursPeriod
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**BusinessHoursPeriod**](BusinessHoursPeriod.md) | |
+
+
diff --git a/docs/RestApiResultCardReader.md b/docs/RestApiResultCardReader.md
new file mode 100644
index 00000000..cf7f0840
--- /dev/null
+++ b/docs/RestApiResultCardReader.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCardReader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**CardReader**](CardReader.md) | |
+
+
diff --git a/docs/RestApiResultCatalogItem.md b/docs/RestApiResultCatalogItem.md
new file mode 100644
index 00000000..dd22307b
--- /dev/null
+++ b/docs/RestApiResultCatalogItem.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCatalogItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**CatalogItem**](CatalogItem.md) | |
+
+
diff --git a/docs/RestApiResultChannel.md b/docs/RestApiResultChannel.md
new file mode 100644
index 00000000..57dace4f
--- /dev/null
+++ b/docs/RestApiResultChannel.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultChannel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Channel**](Channel.md) | |
+
+
diff --git a/docs/RestApiResultClientDevice.md b/docs/RestApiResultClientDevice.md
new file mode 100644
index 00000000..d99ebc4d
--- /dev/null
+++ b/docs/RestApiResultClientDevice.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultClientDevice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ClientDevice**](ClientDevice.md) | |
+
+
diff --git a/docs/RestApiResultClientDeviceEnrollmentResult.md b/docs/RestApiResultClientDeviceEnrollmentResult.md
new file mode 100644
index 00000000..5e3e5a3b
--- /dev/null
+++ b/docs/RestApiResultClientDeviceEnrollmentResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultClientDeviceEnrollmentResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ClientDeviceEnrollmentResult**](ClientDeviceEnrollmentResult.md) | |
+
+
diff --git a/docs/RestApiResultCoordinates.md b/docs/RestApiResultCoordinates.md
new file mode 100644
index 00000000..a86d2caf
--- /dev/null
+++ b/docs/RestApiResultCoordinates.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCoordinates
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Coordinates**](Coordinates.md) | |
+
+
diff --git a/docs/RestApiResultCountryFormResponse.md b/docs/RestApiResultCountryFormResponse.md
new file mode 100644
index 00000000..71db55fd
--- /dev/null
+++ b/docs/RestApiResultCountryFormResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCountryFormResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**CountryFormResponse**](CountryFormResponse.md) | |
+
+
diff --git a/docs/RestApiResultCreatedMenuSectionItems.md b/docs/RestApiResultCreatedMenuSectionItems.md
new file mode 100644
index 00000000..7bd97618
--- /dev/null
+++ b/docs/RestApiResultCreatedMenuSectionItems.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCreatedMenuSectionItems
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**CreatedMenuSectionItems**](CreatedMenuSectionItems.md) | |
+
+
diff --git a/docs/RestApiResultCrossSellMenuItems.md b/docs/RestApiResultCrossSellMenuItems.md
new file mode 100644
index 00000000..c25b97fd
--- /dev/null
+++ b/docs/RestApiResultCrossSellMenuItems.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCrossSellMenuItems
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**CrossSellMenuItems**](CrossSellMenuItems.md) | |
+
+
diff --git a/docs/RestApiResultCustomer.md b/docs/RestApiResultCustomer.md
new file mode 100644
index 00000000..22f55ae8
--- /dev/null
+++ b/docs/RestApiResultCustomer.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCustomer
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Customer**](Customer.md) | |
+
+
diff --git a/docs/RestApiResultCustomers.md b/docs/RestApiResultCustomers.md
new file mode 100644
index 00000000..8700fcf7
--- /dev/null
+++ b/docs/RestApiResultCustomers.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultCustomers
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Customers**](Customers.md) | |
+
+
diff --git a/docs/RestApiResultDeliveryZone.md b/docs/RestApiResultDeliveryZone.md
new file mode 100644
index 00000000..579dc4c2
--- /dev/null
+++ b/docs/RestApiResultDeliveryZone.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultDeliveryZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**DeliveryZone**](DeliveryZone.md) | |
+
+
diff --git a/docs/RestApiResultDnsRecordInformation.md b/docs/RestApiResultDnsRecordInformation.md
new file mode 100644
index 00000000..78448256
--- /dev/null
+++ b/docs/RestApiResultDnsRecordInformation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultDnsRecordInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**DnsRecordInformation**](DnsRecordInformation.md) | |
+
+
diff --git a/docs/RestApiResultExecuteConfigurationActionResult.md b/docs/RestApiResultExecuteConfigurationActionResult.md
new file mode 100644
index 00000000..6095f793
--- /dev/null
+++ b/docs/RestApiResultExecuteConfigurationActionResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultExecuteConfigurationActionResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ExecuteConfigurationActionResult**](ExecuteConfigurationActionResult.md) | |
+
+
diff --git a/docs/RestApiResultFileCreationResult.md b/docs/RestApiResultFileCreationResult.md
new file mode 100644
index 00000000..270e5645
--- /dev/null
+++ b/docs/RestApiResultFileCreationResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultFileCreationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**FileCreationResult**](FileCreationResult.md) | |
+
+
diff --git a/docs/RestApiResultFileDownloadResult.md b/docs/RestApiResultFileDownloadResult.md
new file mode 100644
index 00000000..3771d7b4
--- /dev/null
+++ b/docs/RestApiResultFileDownloadResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultFileDownloadResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**FileDownloadResult**](FileDownloadResult.md) | |
+
+
diff --git a/docs/RestApiResultFulfillmentStatesConfiguration.md b/docs/RestApiResultFulfillmentStatesConfiguration.md
new file mode 100644
index 00000000..2b2e30e0
--- /dev/null
+++ b/docs/RestApiResultFulfillmentStatesConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultFulfillmentStatesConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**FulfillmentStatesConfiguration**](FulfillmentStatesConfiguration.md) | |
+
+
diff --git a/docs/RestApiResultGroup.md b/docs/RestApiResultGroup.md
new file mode 100644
index 00000000..fbc542d0
--- /dev/null
+++ b/docs/RestApiResultGroup.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Group**](Group.md) | |
+
+
diff --git a/docs/RestApiResultHasPaymentMethodResponse.md b/docs/RestApiResultHasPaymentMethodResponse.md
new file mode 100644
index 00000000..00d2b685
--- /dev/null
+++ b/docs/RestApiResultHasPaymentMethodResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultHasPaymentMethodResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**HasPaymentMethodResponse**](HasPaymentMethodResponse.md) | |
+
+
diff --git a/docs/RestApiResultHomeStatistics.md b/docs/RestApiResultHomeStatistics.md
new file mode 100644
index 00000000..40802324
--- /dev/null
+++ b/docs/RestApiResultHomeStatistics.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultHomeStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**HomeStatistics**](HomeStatistics.md) | |
+
+
diff --git a/docs/RestApiResultHydraConfig.md b/docs/RestApiResultHydraConfig.md
new file mode 100644
index 00000000..37b0ce56
--- /dev/null
+++ b/docs/RestApiResultHydraConfig.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultHydraConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**HydraConfig**](HydraConfig.md) | |
+
+
diff --git a/docs/RestApiResultHydraDeviceDetails.md b/docs/RestApiResultHydraDeviceDetails.md
new file mode 100644
index 00000000..1aea3267
--- /dev/null
+++ b/docs/RestApiResultHydraDeviceDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultHydraDeviceDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**HydraDeviceDetails**](HydraDeviceDetails.md) | |
+
+
diff --git a/docs/RestApiResultHydraStatus.md b/docs/RestApiResultHydraStatus.md
new file mode 100644
index 00000000..60e02ca8
--- /dev/null
+++ b/docs/RestApiResultHydraStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultHydraStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**HydraStatus**](HydraStatus.md) | |
+
+
diff --git a/docs/RestApiResultIndexPage.md b/docs/RestApiResultIndexPage.md
new file mode 100644
index 00000000..6b44b31a
--- /dev/null
+++ b/docs/RestApiResultIndexPage.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultIndexPage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**IndexPage**](IndexPage.md) | |
+
+
diff --git a/docs/RestApiResultIndexPageBase.md b/docs/RestApiResultIndexPageBase.md
new file mode 100644
index 00000000..81d0e700
--- /dev/null
+++ b/docs/RestApiResultIndexPageBase.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultIndexPageBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**IndexPageBase**](IndexPageBase.md) | |
+
+
diff --git a/docs/RestApiResultIntercomUserHash.md b/docs/RestApiResultIntercomUserHash.md
new file mode 100644
index 00000000..05092851
--- /dev/null
+++ b/docs/RestApiResultIntercomUserHash.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultIntercomUserHash
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**IntercomUserHash**](IntercomUserHash.md) | |
+
+
diff --git a/docs/RestApiResultJobResponse.md b/docs/RestApiResultJobResponse.md
new file mode 100644
index 00000000..d34bf309
--- /dev/null
+++ b/docs/RestApiResultJobResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultJobResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**JobResponse**](JobResponse.md) | |
+
+
diff --git a/docs/RestApiResultKioskEntitlementsResult.md b/docs/RestApiResultKioskEntitlementsResult.md
new file mode 100644
index 00000000..b322f430
--- /dev/null
+++ b/docs/RestApiResultKioskEntitlementsResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultKioskEntitlementsResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**KioskEntitlementsResult**](KioskEntitlementsResult.md) | |
+
+
diff --git a/docs/RestApiResultKioskIotConnectionParameters.md b/docs/RestApiResultKioskIotConnectionParameters.md
new file mode 100644
index 00000000..96efaffd
--- /dev/null
+++ b/docs/RestApiResultKioskIotConnectionParameters.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultKioskIotConnectionParameters
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**KioskIotConnectionParameters**](KioskIotConnectionParameters.md) | |
+
+
diff --git a/docs/RestApiResultKioskSettings.md b/docs/RestApiResultKioskSettings.md
new file mode 100644
index 00000000..5b6f431e
--- /dev/null
+++ b/docs/RestApiResultKioskSettings.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultKioskSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**KioskSettings**](KioskSettings.md) | |
+
+
diff --git a/docs/RestApiResultLightspeedSettings.md b/docs/RestApiResultLightspeedSettings.md
new file mode 100644
index 00000000..6293e0e5
--- /dev/null
+++ b/docs/RestApiResultLightspeedSettings.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultLightspeedSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**LightspeedSettings**](LightspeedSettings.md) | |
+
+
diff --git a/docs/RestApiResultLocationArea.md b/docs/RestApiResultLocationArea.md
new file mode 100644
index 00000000..a57d591c
--- /dev/null
+++ b/docs/RestApiResultLocationArea.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultLocationArea
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**LocationArea**](LocationArea.md) | |
+
+
diff --git a/docs/RestApiResultLocationAreaLocation.md b/docs/RestApiResultLocationAreaLocation.md
new file mode 100644
index 00000000..e9ece679
--- /dev/null
+++ b/docs/RestApiResultLocationAreaLocation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultLocationAreaLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**LocationAreaLocation**](LocationAreaLocation.md) | |
+
+
diff --git a/docs/RestApiResultLocationAreaWithLocations.md b/docs/RestApiResultLocationAreaWithLocations.md
new file mode 100644
index 00000000..ec830dba
--- /dev/null
+++ b/docs/RestApiResultLocationAreaWithLocations.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultLocationAreaWithLocations
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**LocationAreaWithLocations**](LocationAreaWithLocations.md) | |
+
+
diff --git a/docs/RestApiResultLoyaltyCampaign.md b/docs/RestApiResultLoyaltyCampaign.md
new file mode 100644
index 00000000..45059703
--- /dev/null
+++ b/docs/RestApiResultLoyaltyCampaign.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultLoyaltyCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**LoyaltyCampaign**](LoyaltyCampaign.md) | |
+
+
diff --git a/docs/RestApiResultMappedLocation.md b/docs/RestApiResultMappedLocation.md
new file mode 100644
index 00000000..00989c85
--- /dev/null
+++ b/docs/RestApiResultMappedLocation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMappedLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MappedLocation**](MappedLocation.md) | |
+
+
diff --git a/docs/RestApiResultMenu.md b/docs/RestApiResultMenu.md
new file mode 100644
index 00000000..c511c2c1
--- /dev/null
+++ b/docs/RestApiResultMenu.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenu
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Menu**](Menu.md) | |
+
+
diff --git a/docs/RestApiResultMenuItemOptionSet.md b/docs/RestApiResultMenuItemOptionSet.md
new file mode 100644
index 00000000..31f4054d
--- /dev/null
+++ b/docs/RestApiResultMenuItemOptionSet.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuItemOptionSet
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuItemOptionSet**](MenuItemOptionSet.md) | |
+
+
diff --git a/docs/RestApiResultMenuItemOptionSetItem.md b/docs/RestApiResultMenuItemOptionSetItem.md
new file mode 100644
index 00000000..e5be3635
--- /dev/null
+++ b/docs/RestApiResultMenuItemOptionSetItem.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuItemOptionSetItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuItemOptionSetItem**](MenuItemOptionSetItem.md) | |
+
+
diff --git a/docs/RestApiResultMenuNutritionInfoHeader.md b/docs/RestApiResultMenuNutritionInfoHeader.md
new file mode 100644
index 00000000..cf53f350
--- /dev/null
+++ b/docs/RestApiResultMenuNutritionInfoHeader.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuNutritionInfoHeader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuNutritionInfoHeader**](MenuNutritionInfoHeader.md) | |
+
+
diff --git a/docs/RestApiResultMenuSection.md b/docs/RestApiResultMenuSection.md
new file mode 100644
index 00000000..9c468372
--- /dev/null
+++ b/docs/RestApiResultMenuSection.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuSection
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuSection**](MenuSection.md) | |
+
+
diff --git a/docs/RestApiResultMenuSectionAvailability.md b/docs/RestApiResultMenuSectionAvailability.md
new file mode 100644
index 00000000..8c1d2e8d
--- /dev/null
+++ b/docs/RestApiResultMenuSectionAvailability.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuSectionAvailability
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuSectionAvailability**](MenuSectionAvailability.md) | |
+
+
diff --git a/docs/RestApiResultMenuSectionItem.md b/docs/RestApiResultMenuSectionItem.md
new file mode 100644
index 00000000..d3b5af94
--- /dev/null
+++ b/docs/RestApiResultMenuSectionItem.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuSectionItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuSectionItem**](MenuSectionItem.md) | |
+
+
diff --git a/docs/RestApiResultMenuZone.md b/docs/RestApiResultMenuZone.md
new file mode 100644
index 00000000..8b27a418
--- /dev/null
+++ b/docs/RestApiResultMenuZone.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMenuZone
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MenuZone**](MenuZone.md) | |
+
+
diff --git a/docs/RestApiResultMetadata.md b/docs/RestApiResultMetadata.md
new file mode 100644
index 00000000..15ba5ef3
--- /dev/null
+++ b/docs/RestApiResultMetadata.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMetadata
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Metadata**](Metadata.md) | |
+
+
diff --git a/docs/RestApiResultMetafieldDefinition.md b/docs/RestApiResultMetafieldDefinition.md
new file mode 100644
index 00000000..709fe35b
--- /dev/null
+++ b/docs/RestApiResultMetafieldDefinition.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMetafieldDefinition
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MetafieldDefinition**](MetafieldDefinition.md) | |
+
+
diff --git a/docs/RestApiResultMobileAppsImage.md b/docs/RestApiResultMobileAppsImage.md
new file mode 100644
index 00000000..06d3edfe
--- /dev/null
+++ b/docs/RestApiResultMobileAppsImage.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMobileAppsImage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MobileAppsImage**](MobileAppsImage.md) | |
+
+
diff --git a/docs/RestApiResultMobileAppsSubmission.md b/docs/RestApiResultMobileAppsSubmission.md
new file mode 100644
index 00000000..c76f42fa
--- /dev/null
+++ b/docs/RestApiResultMobileAppsSubmission.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMobileAppsSubmission
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MobileAppsSubmission**](MobileAppsSubmission.md) | |
+
+
diff --git a/docs/RestApiResultMobileAppsSubmissionDetails.md b/docs/RestApiResultMobileAppsSubmissionDetails.md
new file mode 100644
index 00000000..db436d03
--- /dev/null
+++ b/docs/RestApiResultMobileAppsSubmissionDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMobileAppsSubmissionDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MobileAppsSubmissionDetails**](MobileAppsSubmissionDetails.md) | |
+
+
diff --git a/docs/RestApiResultMobileAppsSubmissionStatus.md b/docs/RestApiResultMobileAppsSubmissionStatus.md
new file mode 100644
index 00000000..0e87da13
--- /dev/null
+++ b/docs/RestApiResultMobileAppsSubmissionStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultMobileAppsSubmissionStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**MobileAppsSubmissionStatus**](MobileAppsSubmissionStatus.md) | |
+
+
diff --git a/docs/RestApiResultModelBase.md b/docs/RestApiResultModelBase.md
new file mode 100644
index 00000000..6123a0ff
--- /dev/null
+++ b/docs/RestApiResultModelBase.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultModelBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | **Object** | Model base |
+
+
diff --git a/docs/RestApiResultNutritionInfo.md b/docs/RestApiResultNutritionInfo.md
new file mode 100644
index 00000000..8e3afe77
--- /dev/null
+++ b/docs/RestApiResultNutritionInfo.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultNutritionInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**NutritionInfo**](NutritionInfo.md) | |
+
+
diff --git a/docs/RestApiResultNutritionInfoV2.md b/docs/RestApiResultNutritionInfoV2.md
new file mode 100644
index 00000000..1d4511b6
--- /dev/null
+++ b/docs/RestApiResultNutritionInfoV2.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultNutritionInfoV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**NutritionInfoV2**](NutritionInfoV2.md) | |
+
+
diff --git a/docs/RestApiResultOAuthApp.md b/docs/RestApiResultOAuthApp.md
new file mode 100644
index 00000000..e433eaaa
--- /dev/null
+++ b/docs/RestApiResultOAuthApp.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOAuthApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OAuthApp**](OAuthApp.md) | |
+
+
diff --git a/docs/RestApiResultOauthClientRedirectUri.md b/docs/RestApiResultOauthClientRedirectUri.md
new file mode 100644
index 00000000..4da835bc
--- /dev/null
+++ b/docs/RestApiResultOauthClientRedirectUri.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOauthClientRedirectUri
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OauthClientRedirectUri**](OauthClientRedirectUri.md) | |
+
+
diff --git a/docs/RestApiResultOktaPortalFeatureFlag.md b/docs/RestApiResultOktaPortalFeatureFlag.md
new file mode 100644
index 00000000..3fe3af48
--- /dev/null
+++ b/docs/RestApiResultOktaPortalFeatureFlag.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOktaPortalFeatureFlag
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OktaPortalFeatureFlag**](OktaPortalFeatureFlag.md) | |
+
+
diff --git a/docs/RestApiResultOrder.md b/docs/RestApiResultOrder.md
new file mode 100644
index 00000000..cda561ea
--- /dev/null
+++ b/docs/RestApiResultOrder.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrder
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Order**](Order.md) | |
+
+
diff --git a/docs/RestApiResultOrderBatch.md b/docs/RestApiResultOrderBatch.md
new file mode 100644
index 00000000..dcdf41da
--- /dev/null
+++ b/docs/RestApiResultOrderBatch.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderBatch
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderBatch**](OrderBatch.md) | |
+
+
diff --git a/docs/RestApiResultOrderBatchingConfiguration.md b/docs/RestApiResultOrderBatchingConfiguration.md
new file mode 100644
index 00000000..acce4d86
--- /dev/null
+++ b/docs/RestApiResultOrderBatchingConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderBatchingConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderBatchingConfiguration**](OrderBatchingConfiguration.md) | |
+
+
diff --git a/docs/RestApiResultOrderDeliveryInformation.md b/docs/RestApiResultOrderDeliveryInformation.md
new file mode 100644
index 00000000..270f494d
--- /dev/null
+++ b/docs/RestApiResultOrderDeliveryInformation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderDeliveryInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderDeliveryInformation**](OrderDeliveryInformation.md) | |
+
+
diff --git a/docs/RestApiResultOrderFulfillmentStatus.md b/docs/RestApiResultOrderFulfillmentStatus.md
new file mode 100644
index 00000000..1748a0aa
--- /dev/null
+++ b/docs/RestApiResultOrderFulfillmentStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderFulfillmentStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderFulfillmentStatus**](OrderFulfillmentStatus.md) | |
+
+
diff --git a/docs/RestApiResultOrderFulfillmentStatusWithConfigurationActions.md b/docs/RestApiResultOrderFulfillmentStatusWithConfigurationActions.md
new file mode 100644
index 00000000..d726db8f
--- /dev/null
+++ b/docs/RestApiResultOrderFulfillmentStatusWithConfigurationActions.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderFulfillmentStatusWithConfigurationActions
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderFulfillmentStatusWithConfigurationActions**](OrderFulfillmentStatusWithConfigurationActions.md) | |
+
+
diff --git a/docs/RestApiResultOrderLeadTimes.md b/docs/RestApiResultOrderLeadTimes.md
new file mode 100644
index 00000000..8a13538e
--- /dev/null
+++ b/docs/RestApiResultOrderLeadTimes.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderLeadTimes
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderLeadTimes**](OrderLeadTimes.md) | |
+
+
diff --git a/docs/RestApiResultOrderPaymentInformation.md b/docs/RestApiResultOrderPaymentInformation.md
new file mode 100644
index 00000000..1fd80fac
--- /dev/null
+++ b/docs/RestApiResultOrderPaymentInformation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultOrderPaymentInformation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**OrderPaymentInformation**](OrderPaymentInformation.md) | |
+
+
diff --git a/docs/RestApiResultPaymentIntent.md b/docs/RestApiResultPaymentIntent.md
new file mode 100644
index 00000000..3cfe9931
--- /dev/null
+++ b/docs/RestApiResultPaymentIntent.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPaymentIntent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PaymentIntent**](PaymentIntent.md) | |
+
+
diff --git a/docs/RestApiResultPaymentTerminalDetails.md b/docs/RestApiResultPaymentTerminalDetails.md
new file mode 100644
index 00000000..8da4cbfd
--- /dev/null
+++ b/docs/RestApiResultPaymentTerminalDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPaymentTerminalDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PaymentTerminalDetails**](PaymentTerminalDetails.md) | |
+
+
diff --git a/docs/RestApiResultPaymentTerminalTransactionDetails.md b/docs/RestApiResultPaymentTerminalTransactionDetails.md
new file mode 100644
index 00000000..df6cceb0
--- /dev/null
+++ b/docs/RestApiResultPaymentTerminalTransactionDetails.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPaymentTerminalTransactionDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PaymentTerminalTransactionDetails**](PaymentTerminalTransactionDetails.md) | |
+
+
diff --git a/docs/RestApiResultPayoutReport3Details.md b/docs/RestApiResultPayoutReport3Details.md
new file mode 100644
index 00000000..4a7ccba0
--- /dev/null
+++ b/docs/RestApiResultPayoutReport3Details.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPayoutReport3Details
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PayoutReport3Details**](PayoutReport3Details.md) | |
+
+
diff --git a/docs/RestApiResultPayoutReport3Overview.md b/docs/RestApiResultPayoutReport3Overview.md
new file mode 100644
index 00000000..9b7c036c
--- /dev/null
+++ b/docs/RestApiResultPayoutReport3Overview.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPayoutReport3Overview
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PayoutReport3Overview**](PayoutReport3Overview.md) | |
+
+
diff --git a/docs/RestApiResultPreOrderConfig.md b/docs/RestApiResultPreOrderConfig.md
new file mode 100644
index 00000000..581369de
--- /dev/null
+++ b/docs/RestApiResultPreOrderConfig.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPreOrderConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PreOrderConfig**](PreOrderConfig.md) | |
+
+
diff --git a/docs/RestApiResultProcessingFeeConfig.md b/docs/RestApiResultProcessingFeeConfig.md
new file mode 100644
index 00000000..859b1eb7
--- /dev/null
+++ b/docs/RestApiResultProcessingFeeConfig.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultProcessingFeeConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ProcessingFeeConfig**](ProcessingFeeConfig.md) | |
+
+
diff --git a/docs/RestApiResultProduct.md b/docs/RestApiResultProduct.md
new file mode 100644
index 00000000..612a4253
--- /dev/null
+++ b/docs/RestApiResultProduct.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultProduct
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Product**](Product.md) | |
+
+
diff --git a/docs/RestApiResultPushNotificationResponse.md b/docs/RestApiResultPushNotificationResponse.md
new file mode 100644
index 00000000..751c1e47
--- /dev/null
+++ b/docs/RestApiResultPushNotificationResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultPushNotificationResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**PushNotificationResponse**](PushNotificationResponse.md) | |
+
+
diff --git a/docs/RestApiResultRedeemInvitationResult.md b/docs/RestApiResultRedeemInvitationResult.md
new file mode 100644
index 00000000..5051f06b
--- /dev/null
+++ b/docs/RestApiResultRedeemInvitationResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultRedeemInvitationResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**RedeemInvitationResult**](RedeemInvitationResult.md) | |
+
+
diff --git a/docs/RestApiResultRestApiDefaultResponse.md b/docs/RestApiResultRestApiDefaultResponse.md
new file mode 100644
index 00000000..c6457f7f
--- /dev/null
+++ b/docs/RestApiResultRestApiDefaultResponse.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultRestApiDefaultResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**RestApiDefaultResponse**](RestApiDefaultResponse.md) | |
+
+
diff --git a/docs/RestApiResultRestApiIntegerResult.md b/docs/RestApiResultRestApiIntegerResult.md
new file mode 100644
index 00000000..876502de
--- /dev/null
+++ b/docs/RestApiResultRestApiIntegerResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultRestApiIntegerResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**RestApiIntegerResult**](RestApiIntegerResult.md) | |
+
+
diff --git a/docs/RestApiResultRestaurantVoucherPayGreenConfiguration.md b/docs/RestApiResultRestaurantVoucherPayGreenConfiguration.md
new file mode 100644
index 00000000..fc071a7c
--- /dev/null
+++ b/docs/RestApiResultRestaurantVoucherPayGreenConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultRestaurantVoucherPayGreenConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**RestaurantVoucherPayGreenConfiguration**](RestaurantVoucherPayGreenConfiguration.md) | |
+
+
diff --git a/docs/RestApiResultRestaurantVoucherPayGreenStoreConfiguration.md b/docs/RestApiResultRestaurantVoucherPayGreenStoreConfiguration.md
new file mode 100644
index 00000000..07e957db
--- /dev/null
+++ b/docs/RestApiResultRestaurantVoucherPayGreenStoreConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultRestaurantVoucherPayGreenStoreConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**RestaurantVoucherPayGreenStoreConfiguration**](RestaurantVoucherPayGreenStoreConfiguration.md) | |
+
+
diff --git a/docs/RestApiResultRetentionCampaign.md b/docs/RestApiResultRetentionCampaign.md
new file mode 100644
index 00000000..9087a021
--- /dev/null
+++ b/docs/RestApiResultRetentionCampaign.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultRetentionCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**RetentionCampaign**](RetentionCampaign.md) | |
+
+
diff --git a/docs/RestApiResultServiceCharge.md b/docs/RestApiResultServiceCharge.md
new file mode 100644
index 00000000..2f79e204
--- /dev/null
+++ b/docs/RestApiResultServiceCharge.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultServiceCharge
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**ServiceCharge**](ServiceCharge.md) | |
+
+
diff --git a/docs/RestApiResultSmsProviderCredential.md b/docs/RestApiResultSmsProviderCredential.md
new file mode 100644
index 00000000..b7f66b8a
--- /dev/null
+++ b/docs/RestApiResultSmsProviderCredential.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultSmsProviderCredential
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**SmsProviderCredential**](SmsProviderCredential.md) | |
+
+
diff --git a/docs/RestApiResultStore.md b/docs/RestApiResultStore.md
new file mode 100644
index 00000000..57970f90
--- /dev/null
+++ b/docs/RestApiResultStore.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Store**](Store.md) | |
+
+
diff --git a/docs/RestApiResultStoreAddress.md b/docs/RestApiResultStoreAddress.md
new file mode 100644
index 00000000..0939164d
--- /dev/null
+++ b/docs/RestApiResultStoreAddress.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStoreAddress
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StoreAddress**](StoreAddress.md) | |
+
+
diff --git a/docs/RestApiResultStoreChannelAssignment.md b/docs/RestApiResultStoreChannelAssignment.md
new file mode 100644
index 00000000..3ee035b8
--- /dev/null
+++ b/docs/RestApiResultStoreChannelAssignment.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStoreChannelAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StoreChannelAssignment**](StoreChannelAssignment.md) | |
+
+
diff --git a/docs/RestApiResultStoreEndOfDayReport.md b/docs/RestApiResultStoreEndOfDayReport.md
new file mode 100644
index 00000000..a1260d26
--- /dev/null
+++ b/docs/RestApiResultStoreEndOfDayReport.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStoreEndOfDayReport
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StoreEndOfDayReport**](StoreEndOfDayReport.md) | |
+
+
diff --git a/docs/RestApiResultStoreGroup.md b/docs/RestApiResultStoreGroup.md
new file mode 100644
index 00000000..ae816daa
--- /dev/null
+++ b/docs/RestApiResultStoreGroup.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStoreGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StoreGroup**](StoreGroup.md) | |
+
+
diff --git a/docs/RestApiResultStoreGroupBase.md b/docs/RestApiResultStoreGroupBase.md
new file mode 100644
index 00000000..f9fad085
--- /dev/null
+++ b/docs/RestApiResultStoreGroupBase.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStoreGroupBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StoreGroupBase**](StoreGroupBase.md) | |
+
+
diff --git a/docs/RestApiResultStoreOrderCapacityConfig.md b/docs/RestApiResultStoreOrderCapacityConfig.md
new file mode 100644
index 00000000..67fba6a6
--- /dev/null
+++ b/docs/RestApiResultStoreOrderCapacityConfig.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStoreOrderCapacityConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StoreOrderCapacityConfig**](StoreOrderCapacityConfig.md) | |
+
+
diff --git a/docs/RestApiResultStripeConnectedAccount.md b/docs/RestApiResultStripeConnectedAccount.md
new file mode 100644
index 00000000..a332abb8
--- /dev/null
+++ b/docs/RestApiResultStripeConnectedAccount.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStripeConnectedAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StripeConnectedAccount**](StripeConnectedAccount.md) | |
+
+
diff --git a/docs/RestApiResultStripeTerminalConnectionToken.md b/docs/RestApiResultStripeTerminalConnectionToken.md
new file mode 100644
index 00000000..a14ff98f
--- /dev/null
+++ b/docs/RestApiResultStripeTerminalConnectionToken.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStripeTerminalConnectionToken
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StripeTerminalConnectionToken**](StripeTerminalConnectionToken.md) | |
+
+
diff --git a/docs/RestApiResultStripeTerminalLocation.md b/docs/RestApiResultStripeTerminalLocation.md
new file mode 100644
index 00000000..14367353
--- /dev/null
+++ b/docs/RestApiResultStripeTerminalLocation.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStripeTerminalLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StripeTerminalLocation**](StripeTerminalLocation.md) | |
+
+
diff --git a/docs/RestApiResultStuartSettings.md b/docs/RestApiResultStuartSettings.md
new file mode 100644
index 00000000..04fb17f2
--- /dev/null
+++ b/docs/RestApiResultStuartSettings.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultStuartSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**StuartSettings**](StuartSettings.md) | |
+
+
diff --git a/docs/RestApiResultSubscription.md b/docs/RestApiResultSubscription.md
new file mode 100644
index 00000000..0f68933c
--- /dev/null
+++ b/docs/RestApiResultSubscription.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultSubscription
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Subscription**](Subscription.md) | |
+
+
diff --git a/docs/RestApiResultTeammate.md b/docs/RestApiResultTeammate.md
new file mode 100644
index 00000000..1584ea88
--- /dev/null
+++ b/docs/RestApiResultTeammate.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultTeammate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Teammate**](Teammate.md) | |
+
+
diff --git a/docs/RestApiResultTelemetrySeriesResult.md b/docs/RestApiResultTelemetrySeriesResult.md
new file mode 100644
index 00000000..4a9656ac
--- /dev/null
+++ b/docs/RestApiResultTelemetrySeriesResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultTelemetrySeriesResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**TelemetrySeriesResult**](TelemetrySeriesResult.md) | |
+
+
diff --git a/docs/RestApiResultTipConfiguration.md b/docs/RestApiResultTipConfiguration.md
new file mode 100644
index 00000000..3e3d1ef7
--- /dev/null
+++ b/docs/RestApiResultTipConfiguration.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultTipConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**TipConfiguration**](TipConfiguration.md) | |
+
+
diff --git a/docs/RestApiResultUpdateMobileAppsSubmissionStatus.md b/docs/RestApiResultUpdateMobileAppsSubmissionStatus.md
new file mode 100644
index 00000000..1e49f771
--- /dev/null
+++ b/docs/RestApiResultUpdateMobileAppsSubmissionStatus.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultUpdateMobileAppsSubmissionStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**UpdateMobileAppsSubmissionStatus**](UpdateMobileAppsSubmissionStatus.md) | |
+
+
diff --git a/docs/RestApiResultUserInfo.md b/docs/RestApiResultUserInfo.md
new file mode 100644
index 00000000..66d5c199
--- /dev/null
+++ b/docs/RestApiResultUserInfo.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultUserInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**UserInfo**](UserInfo.md) | |
+
+
diff --git a/docs/RestApiResultUserRole.md b/docs/RestApiResultUserRole.md
new file mode 100644
index 00000000..6d40b6ad
--- /dev/null
+++ b/docs/RestApiResultUserRole.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultUserRole
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**UserRole**](UserRole.md) | |
+
+
diff --git a/docs/RestApiResultVoucher.md b/docs/RestApiResultVoucher.md
new file mode 100644
index 00000000..55dd6422
--- /dev/null
+++ b/docs/RestApiResultVoucher.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultVoucher
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**Voucher**](Voucher.md) | |
+
+
diff --git a/docs/RestApiResultVoucherWithStats.md b/docs/RestApiResultVoucherWithStats.md
new file mode 100644
index 00000000..880ae24f
--- /dev/null
+++ b/docs/RestApiResultVoucherWithStats.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultVoucherWithStats
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**VoucherWithStats**](VoucherWithStats.md) | |
+
+
diff --git a/docs/RestApiResultWebsiteImage.md b/docs/RestApiResultWebsiteImage.md
new file mode 100644
index 00000000..7043ecf5
--- /dev/null
+++ b/docs/RestApiResultWebsiteImage.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultWebsiteImage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**WebsiteImage**](WebsiteImage.md) | |
+
+
diff --git a/docs/RestApiResultWebsiteTestimonial.md b/docs/RestApiResultWebsiteTestimonial.md
new file mode 100644
index 00000000..03122378
--- /dev/null
+++ b/docs/RestApiResultWebsiteTestimonial.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiResultWebsiteTestimonial
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | [**WebsiteTestimonial**](WebsiteTestimonial.md) | |
+
+
diff --git a/docs/RestApiStringArrayResult.md b/docs/RestApiStringArrayResult.md
new file mode 100644
index 00000000..5e05c6eb
--- /dev/null
+++ b/docs/RestApiStringArrayResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiStringArrayResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | **[String]** | Data string array |
+
+
diff --git a/docs/RestApiStringResult.md b/docs/RestApiStringResult.md
new file mode 100644
index 00000000..2f9ccfb6
--- /dev/null
+++ b/docs/RestApiStringResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiStringResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Data** | **String** | Data string |
+
+
diff --git a/docs/RestApiUnauthorizedResult.md b/docs/RestApiUnauthorizedResult.md
new file mode 100644
index 00000000..e8540adf
--- /dev/null
+++ b/docs/RestApiUnauthorizedResult.md
@@ -0,0 +1,9 @@
+# Flipdish.RestApiUnauthorizedResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Message** | **String** | Message | [readonly]
+
+
diff --git a/docs/Restaurant.md b/docs/Restaurant.md
new file mode 100644
index 00000000..0a1f8021
--- /dev/null
+++ b/docs/Restaurant.md
@@ -0,0 +1,19 @@
+# Flipdish.Restaurant
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WhiteLabelConfigs** | [**[WhiteLabelConfig]**](WhiteLabelConfig.md) | Collection of white label configurations | [optional]
+**VirtualRestaurantId** | **Number** | Virtual restaurant identifier | [optional]
+**VirtualRestaurantName** | **String** | Virtual restaurant name | [optional]
+**VirtualRestaurantUrl** | **String** | Virtual restaurant URL | [optional]
+**PhysicalRestaurantId** | **Number** | Physical restaurant identifier | [optional]
+**PhysicalRestaurantName** | **String** | Physical restaurant name | [optional]
+**PhysicalRestaurantAddress** | **String** | Physical restaurant address | [optional]
+**MenuId** | **Number** | Menu identifier | [optional]
+**IsArchived** | **Boolean** | Indicates if the restaurant is archived | [optional]
+**IsPublished** | **Boolean** | Indicates if the restaurant is published | [optional]
+**FlipdishStripeCustomConnectedAccounts** | **[Number]** | List of Flipdish Stripe custom connected account identifiers | [optional]
+
+
diff --git a/docs/RestaurantVoucherAssignedStore.md b/docs/RestaurantVoucherAssignedStore.md
new file mode 100644
index 00000000..09528432
--- /dev/null
+++ b/docs/RestaurantVoucherAssignedStore.md
@@ -0,0 +1,11 @@
+# Flipdish.RestaurantVoucherAssignedStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | | [optional]
+**Name** | **String** | | [optional]
+**Active** | **Boolean** | | [optional]
+
+
diff --git a/docs/RestaurantVoucherEligibleStore.md b/docs/RestaurantVoucherEligibleStore.md
new file mode 100644
index 00000000..83eb0e8e
--- /dev/null
+++ b/docs/RestaurantVoucherEligibleStore.md
@@ -0,0 +1,10 @@
+# Flipdish.RestaurantVoucherEligibleStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | | [optional]
+**Name** | **String** | | [optional]
+
+
diff --git a/docs/RestaurantVoucherPayGreenConfiguration.md b/docs/RestaurantVoucherPayGreenConfiguration.md
new file mode 100644
index 00000000..1e251d7c
--- /dev/null
+++ b/docs/RestaurantVoucherPayGreenConfiguration.md
@@ -0,0 +1,12 @@
+# Flipdish.RestaurantVoucherPayGreenConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**PayGreenId** | **String** | | [optional]
+**PayGreenConfigurationId** | **Number** | | [optional]
+**AssignedStores** | [**[RestaurantVoucherAssignedStore]**](RestaurantVoucherAssignedStore.md) | | [optional]
+
+
diff --git a/docs/RestaurantVoucherPayGreenConfigurationSummary.md b/docs/RestaurantVoucherPayGreenConfigurationSummary.md
new file mode 100644
index 00000000..e5c41657
--- /dev/null
+++ b/docs/RestaurantVoucherPayGreenConfigurationSummary.md
@@ -0,0 +1,10 @@
+# Flipdish.RestaurantVoucherPayGreenConfigurationSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**PayGreenConfigurationId** | **Number** | | [optional]
+
+
diff --git a/docs/RestaurantVoucherPayGreenStoreConfiguration.md b/docs/RestaurantVoucherPayGreenStoreConfiguration.md
new file mode 100644
index 00000000..c8ed57a6
--- /dev/null
+++ b/docs/RestaurantVoucherPayGreenStoreConfiguration.md
@@ -0,0 +1,12 @@
+# Flipdish.RestaurantVoucherPayGreenStoreConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**Active** | **Boolean** | | [optional]
+**PayGreenId** | **String** | | [optional]
+**PayGreenConfigurationId** | **Number** | | [optional]
+
+
diff --git a/docs/RestaurantVouchersPayGreenApi.md b/docs/RestaurantVouchersPayGreenApi.md
new file mode 100644
index 00000000..d035a872
--- /dev/null
+++ b/docs/RestaurantVouchersPayGreenApi.md
@@ -0,0 +1,458 @@
+# Flipdish.RestaurantVouchersPayGreenApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createPayGreenConfiguration**](RestaurantVouchersPayGreenApi.md#createPayGreenConfiguration) | **POST** /api/v1.0/{appId}/restaurant-vouchers/paygreen |
+[**deletePayGreenConfiguration**](RestaurantVouchersPayGreenApi.md#deletePayGreenConfiguration) | **DELETE** /api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId} |
+[**getElegibleStores**](RestaurantVouchersPayGreenApi.md#getElegibleStores) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores |
+[**getPayGreenConfigurations**](RestaurantVouchersPayGreenApi.md#getPayGreenConfigurations) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen |
+[**getStoreAvailablePayGreenConfigurations**](RestaurantVouchersPayGreenApi.md#getStoreAvailablePayGreenConfigurations) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId}/available-configurations |
+[**getStorePayGreenConfiguration**](RestaurantVouchersPayGreenApi.md#getStorePayGreenConfiguration) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId} |
+[**listPayGreenConfigurations**](RestaurantVouchersPayGreenApi.md#listPayGreenConfigurations) | **GET** /api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId} |
+[**updatePayGreenConfiguration**](RestaurantVouchersPayGreenApi.md#updatePayGreenConfiguration) | **POST** /api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId} |
+[**updateStorePayGreenConfiguration**](RestaurantVouchersPayGreenApi.md#updateStorePayGreenConfiguration) | **POST** /api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId} |
+
+
+
+## createPayGreenConfiguration
+
+> RestApiResultRestaurantVoucherPayGreenConfiguration createPayGreenConfiguration(appId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let request = new Flipdish.CreatePayGreenConfigurationRequest(); // CreatePayGreenConfigurationRequest |
+apiInstance.createPayGreenConfiguration(appId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **request** | [**CreatePayGreenConfigurationRequest**](CreatePayGreenConfigurationRequest.md)| |
+
+### Return type
+
+[**RestApiResultRestaurantVoucherPayGreenConfiguration**](RestApiResultRestaurantVoucherPayGreenConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deletePayGreenConfiguration
+
+> Object deletePayGreenConfiguration(appId, paygreenConfigurationId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let paygreenConfigurationId = 56; // Number |
+apiInstance.deletePayGreenConfiguration(appId, paygreenConfigurationId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **paygreenConfigurationId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getElegibleStores
+
+> RestApiArrayResultRestaurantVoucherEligibleStore getElegibleStores(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+apiInstance.getElegibleStores(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultRestaurantVoucherEligibleStore**](RestApiArrayResultRestaurantVoucherEligibleStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPayGreenConfigurations
+
+> RestApiArrayResultRestaurantVoucherPayGreenConfiguration getPayGreenConfigurations(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+apiInstance.getPayGreenConfigurations(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultRestaurantVoucherPayGreenConfiguration**](RestApiArrayResultRestaurantVoucherPayGreenConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreAvailablePayGreenConfigurations
+
+> RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary getStoreAvailablePayGreenConfigurations(appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.getStoreAvailablePayGreenConfigurations(appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary**](RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStorePayGreenConfiguration
+
+> RestApiResultRestaurantVoucherPayGreenStoreConfiguration getStorePayGreenConfiguration(appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+apiInstance.getStorePayGreenConfiguration(appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultRestaurantVoucherPayGreenStoreConfiguration**](RestApiResultRestaurantVoucherPayGreenStoreConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## listPayGreenConfigurations
+
+> RestApiResultRestaurantVoucherPayGreenConfiguration listPayGreenConfigurations(appId, paygreenConfigurationId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let paygreenConfigurationId = 56; // Number |
+apiInstance.listPayGreenConfigurations(appId, paygreenConfigurationId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **paygreenConfigurationId** | **Number**| |
+
+### Return type
+
+[**RestApiResultRestaurantVoucherPayGreenConfiguration**](RestApiResultRestaurantVoucherPayGreenConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updatePayGreenConfiguration
+
+> RestApiResultRestaurantVoucherPayGreenConfiguration updatePayGreenConfiguration(appId, paygreenConfigurationId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let paygreenConfigurationId = 56; // Number |
+let request = new Flipdish.UpdatePayGreenConfigurationRequest(); // UpdatePayGreenConfigurationRequest |
+apiInstance.updatePayGreenConfiguration(appId, paygreenConfigurationId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **paygreenConfigurationId** | **Number**| |
+ **request** | [**UpdatePayGreenConfigurationRequest**](UpdatePayGreenConfigurationRequest.md)| |
+
+### Return type
+
+[**RestApiResultRestaurantVoucherPayGreenConfiguration**](RestApiResultRestaurantVoucherPayGreenConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateStorePayGreenConfiguration
+
+> RestApiResultRestaurantVoucherPayGreenStoreConfiguration updateStorePayGreenConfiguration(appId, storeId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.RestaurantVouchersPayGreenApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let request = new Flipdish.UpdateStorePayGreenConfigurationRequest(); // UpdateStorePayGreenConfigurationRequest |
+apiInstance.updateStorePayGreenConfiguration(appId, storeId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **request** | [**UpdateStorePayGreenConfigurationRequest**](UpdateStorePayGreenConfigurationRequest.md)| |
+
+### Return type
+
+[**RestApiResultRestaurantVoucherPayGreenStoreConfiguration**](RestApiResultRestaurantVoucherPayGreenStoreConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/RetentionCampaign.md b/docs/RetentionCampaign.md
new file mode 100644
index 00000000..c804f8fd
--- /dev/null
+++ b/docs/RetentionCampaign.md
@@ -0,0 +1,24 @@
+# Flipdish.RetentionCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CampaignId** | **Number** | Id of campaign | [optional]
+**Statistics** | [**CampaignStatistics**](CampaignStatistics.md) | | [optional]
+**Stores** | [**[StoreCampaignStartTime]**](StoreCampaignStartTime.md) | Stores this campaign applies to with campaign start time in Utc | [optional]
+**PublicId** | **String** | Permanent reference to the item. | [optional]
+**NotifyCustomerAfterMinutes** | **Number** | Time in minutes, after which customer will receive retention voucher if he/she does not order | [optional]
+**PercentDiscountAmount** | **Number** | Discount amount in percents | [optional]
+**MaxDiscount** | **Number** | Maximum discount for percentage discounts | [optional]
+**LumpDiscountAmount** | **Number** | Discount amount in sum of money | [optional]
+**VoucherValidPeriodDays** | **Number** | Number of days for which the voucher will be valid. | [optional]
+**IncludeDeliveryFee** | **Boolean** | Discount will include delivery fee | [optional]
+**AutoApplyResultingVouchers** | **Boolean** | Automatically apply resulting vouchers | [optional]
+**IncludeExistingOrders** | **Boolean** | Campaign will apply to existing orders | [optional]
+**IsEnabled** | **Boolean** | Is campaign enabled | [optional]
+**StoreIds** | **[Number]** | Ids of stores this campaign applies to | [optional]
+**AppId** | **String** | The app that this campaign belongs to. | [optional]
+**ForceDiscount** | **Boolean** | Controls whether the voucher generated from this campaign will override discount exclusions | [optional]
+
+
diff --git a/docs/RetentionCampaignBase.md b/docs/RetentionCampaignBase.md
new file mode 100644
index 00000000..537f59ef
--- /dev/null
+++ b/docs/RetentionCampaignBase.md
@@ -0,0 +1,20 @@
+# Flipdish.RetentionCampaignBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**NotifyCustomerAfterMinutes** | **Number** | Time in minutes, after which customer will receive retention voucher if he/she does not order | [optional]
+**PercentDiscountAmount** | **Number** | Discount amount in percents | [optional]
+**MaxDiscount** | **Number** | Maximum discount for percentage discounts | [optional]
+**LumpDiscountAmount** | **Number** | Discount amount in sum of money | [optional]
+**VoucherValidPeriodDays** | **Number** | Number of days for which the voucher will be valid. | [optional]
+**IncludeDeliveryFee** | **Boolean** | Discount will include delivery fee | [optional]
+**AutoApplyResultingVouchers** | **Boolean** | Automatically apply resulting vouchers | [optional]
+**IncludeExistingOrders** | **Boolean** | Campaign will apply to existing orders | [optional]
+**IsEnabled** | **Boolean** | Is campaign enabled | [optional]
+**StoreIds** | **[Number]** | Ids of stores this campaign applies to | [optional]
+**AppId** | **String** | The app that this campaign belongs to. | [optional]
+**ForceDiscount** | **Boolean** | Controls whether the voucher generated from this campaign will override discount exclusions | [optional]
+
+
diff --git a/docs/RetentionCampaignCreatedEvent.md b/docs/RetentionCampaignCreatedEvent.md
new file mode 100644
index 00000000..73ebf422
--- /dev/null
+++ b/docs/RetentionCampaignCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.RetentionCampaignCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**RetentionCampaign** | [**RetentionCampaign**](RetentionCampaign.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/RetentionCampaignDeletedEvent.md b/docs/RetentionCampaignDeletedEvent.md
new file mode 100644
index 00000000..45c56c89
--- /dev/null
+++ b/docs/RetentionCampaignDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.RetentionCampaignDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**RetentionCampaign** | [**RetentionCampaign**](RetentionCampaign.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/RetentionCampaignUpdatedEvent.md b/docs/RetentionCampaignUpdatedEvent.md
new file mode 100644
index 00000000..aa7421aa
--- /dev/null
+++ b/docs/RetentionCampaignUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.RetentionCampaignUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**RetentionCampaign** | [**RetentionCampaign**](RetentionCampaign.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/RevenueAdjustmentsDetails.md b/docs/RevenueAdjustmentsDetails.md
new file mode 100644
index 00000000..48d0079b
--- /dev/null
+++ b/docs/RevenueAdjustmentsDetails.md
@@ -0,0 +1,16 @@
+# Flipdish.RevenueAdjustmentsDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OnlineSalesRefundedAmount** | **Number** | Online sales refunds | [optional]
+**PosSalesRefundedAmount** | **Number** | POS Online sales refunds | [optional]
+**CashSalesRefundedAmount** | **Number** | Cash sales refunds | [optional]
+**CustomerCashFees** | **Number** | Customer cash fees | [optional]
+**RefundsCount** | **Number** | Number of refunds | [optional]
+**PayGreenSalesAmount** | **Number** | PayGreen sales | [optional]
+**PayGreenProcessingFees** | **Number** | PayGreen processing fees charged to end-user | [optional]
+**TotalOnlineRevenueAdjustments** | **Number** | Total revenue adjustments | [optional]
+
+
diff --git a/docs/RevenueDetail.md b/docs/RevenueDetail.md
new file mode 100644
index 00000000..cb3d338a
--- /dev/null
+++ b/docs/RevenueDetail.md
@@ -0,0 +1,21 @@
+# Flipdish.RevenueDetail
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OnlineSalesAmount** | **Number** | Online sales amount | [optional]
+**OnlineSalesTax** | **Number** | Online sales tax | [optional]
+**OnlineSalesIncludingTax** | **Number** | Online sales amount plus online sales tax | [optional]
+**OnlineSalesFeesBaseAmount** | **Number** | Online sales base amount to calculate fees | [optional]
+**CashSalesAmount** | **Number** | Cash sales amount | [optional]
+**CashSalesTax** | **Number** | Cash sales tax | [optional]
+**CashSalesIncludingTax** | **Number** | Cash sales amount plus online sales tax | [optional]
+**CashSalesFeesBaseAmount** | **Number** | Online sales base amount to calculate fees | [optional]
+**TotalSalesIncludingTax** | **Number** | Total Sales (online and cash) including tax | [optional]
+**OnlineSalesDeliveryCharges** | **Number** | Delivery charges on online sales | [optional]
+**OnlineSalesTips** | **Number** | Tips for online sales | [optional]
+**TotalOnlineRevenue** | **Number** | Online sales plus online delivery charges and tips | [optional]
+**OnlineSalesServiceCharges** | **Number** | Service charge on online sales | [optional]
+
+
diff --git a/docs/SafeWaitHandle.md b/docs/SafeWaitHandle.md
new file mode 100644
index 00000000..22b3cd86
--- /dev/null
+++ b/docs/SafeWaitHandle.md
@@ -0,0 +1,10 @@
+# Flipdish.SafeWaitHandle
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsInvalid** | **Boolean** | | [optional] [readonly]
+**IsClosed** | **Boolean** | | [optional] [readonly]
+
+
diff --git a/docs/SearchApi.md b/docs/SearchApi.md
new file mode 100644
index 00000000..4143a96b
--- /dev/null
+++ b/docs/SearchApi.md
@@ -0,0 +1,70 @@
+# Flipdish.SearchApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**searchRestaurants**](SearchApi.md#searchRestaurants) | **GET** /api/v1.0/search/restaurants |
+
+
+
+## searchRestaurants
+
+> RestApiPaginationResultRestaurant searchRestaurants(query, countryId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SearchApi();
+let query = "query_example"; // String |
+let countryId = "countryId_example"; // String |
+let opts = {
+ 'includeArchivedStores': "includeArchivedStores_example", // String |
+ 'searchType': "searchType_example", // String |
+ 'publishedStatus': "publishedStatus_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.searchRestaurants(query, countryId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **query** | **String**| |
+ **countryId** | **String**| |
+ **includeArchivedStores** | **String**| | [optional]
+ **searchType** | **String**| | [optional]
+ **publishedStatus** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultRestaurant**](RestApiPaginationResultRestaurant.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/SearchCriteria.md b/docs/SearchCriteria.md
new file mode 100644
index 00000000..2cd36d83
--- /dev/null
+++ b/docs/SearchCriteria.md
@@ -0,0 +1,24 @@
+# Flipdish.SearchCriteria
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Limit** | **Number** | The maximum elements to return | [optional]
+**Page** | **Number** | The index of the page to return, starting by 1 | [optional]
+**Start** | **Date** | Start date | [optional]
+**End** | **Date** | End date | [optional]
+**OrderId** | **Number** | Events that have Order Id | [optional]
+**StoreId** | **Number** | Events that have Store Id | [optional]
+**StoreIdList** | **[Number]** | Events that have Store Id List | [optional]
+**StoreGroupId** | **Number** | Events that have Store Group Id | [optional]
+**UserId** | **Number** | Events that have User Id | [optional]
+**MenuId** | **Number** | Events that have Menu Id | [optional]
+**CampaignId** | **Number** | Events that have Campaign Id | [optional]
+**UserEmail** | **String** | Events that have User Email | [optional]
+**UserName** | **String** | Events that have User Name | [optional]
+**VoucherCode** | **String** | Events that have voucher code | [optional]
+**EventType** | **[String]** | Events that have event type\\s | [optional]
+**FlipdishEventId** | **String** | Unique Identifier of Event, if this is specified, all other criteria are ignored. | [optional]
+
+
diff --git a/docs/ServiceCharge.md b/docs/ServiceCharge.md
new file mode 100644
index 00000000..1c553201
--- /dev/null
+++ b/docs/ServiceCharge.md
@@ -0,0 +1,14 @@
+# Flipdish.ServiceCharge
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store identifier | [optional]
+**PercentageValue** | **Number** | The Default Service Charge Value | [optional]
+**Enabled** | **Boolean** | Enable Service Charge for store true(on) / false(off) | [optional]
+**IsOptional** | **Boolean** | Sets the service charge to be optional | [optional]
+**DisplayWithProcessingFee** | **Boolean** | Display service charge together with processing fee | [optional]
+**IncludesVouchers** | **Boolean** | If true, will include voucher value in calculation i.e 10E order with 1E service charge and 5E voucher would have service charge at 0.5E | [optional]
+
+
diff --git a/docs/SetOrderBatchingConfiguration.md b/docs/SetOrderBatchingConfiguration.md
new file mode 100644
index 00000000..8873bbe5
--- /dev/null
+++ b/docs/SetOrderBatchingConfiguration.md
@@ -0,0 +1,10 @@
+# Flipdish.SetOrderBatchingConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**BatchIntervalInSeconds** | **Number** | Batch sending interval in seconds | [optional]
+**Enabled** | **Boolean** | OrderBatching is enabled or not | [optional]
+
+
diff --git a/docs/SetPasswordWithPinModel.md b/docs/SetPasswordWithPinModel.md
new file mode 100644
index 00000000..5d323fab
--- /dev/null
+++ b/docs/SetPasswordWithPinModel.md
@@ -0,0 +1,11 @@
+# Flipdish.SetPasswordWithPinModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Pin** | **Number** | PIN code (received via email) |
+**NewPassword** | **String** | New Password |
+**RecaptchaToken** | **String** | Google Recaptcha Token | [optional]
+
+
diff --git a/docs/SetVoucherValidityPeriodsSimplifiedRequest.md b/docs/SetVoucherValidityPeriodsSimplifiedRequest.md
new file mode 100644
index 00000000..699f7456
--- /dev/null
+++ b/docs/SetVoucherValidityPeriodsSimplifiedRequest.md
@@ -0,0 +1,32 @@
+# Flipdish.SetVoucherValidityPeriodsSimplifiedRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DaysOfWeek** | **[String]** | Days of week when the voucher is valid | [optional]
+**StartTime** | **String** | Start time of the day when the voucher is valid | [optional]
+**EndTime** | **String** | End time of the day when the voucher is valid. If the end time is before the start time, the end time is assumed to be the next day. | [optional]
+
+
+
+## Enum: [DaysOfWeekEnum]
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/Setting.md b/docs/Setting.md
new file mode 100644
index 00000000..ebf1d379
--- /dev/null
+++ b/docs/Setting.md
@@ -0,0 +1,10 @@
+# Flipdish.Setting
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Key** | **String** | | [optional]
+**Value** | **String** | | [optional]
+
+
diff --git a/docs/SignupStep.md b/docs/SignupStep.md
new file mode 100644
index 00000000..5a413499
--- /dev/null
+++ b/docs/SignupStep.md
@@ -0,0 +1,26 @@
+# Flipdish.SignupStep
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Action** | **String** | Action needs to take | [optional]
+**Question** | **String** | Question in case Action == Question | [optional]
+**PredefinedAnswers** | [**[PredefinedAnswer]**](PredefinedAnswer.md) | Predefined answer in case Action == Question | [optional]
+
+
+
+## Enum: ActionEnum
+
+
+* `Question` (value: `"Question"`)
+
+* `StoreLocation` (value: `"StoreLocation"`)
+
+* `PaymentSubscription` (value: `"PaymentSubscription"`)
+
+* `StoreName` (value: `"StoreName"`)
+
+
+
+
diff --git a/docs/SmsInfo.md b/docs/SmsInfo.md
new file mode 100644
index 00000000..ac56fe58
--- /dev/null
+++ b/docs/SmsInfo.md
@@ -0,0 +1,11 @@
+# Flipdish.SmsInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**From** | **String** | Origin phone number | [optional]
+**To** | **String** | Destination phone number | [optional]
+**Text** | **String** | Text message | [optional]
+
+
diff --git a/docs/SmsProviderCredential.md b/docs/SmsProviderCredential.md
new file mode 100644
index 00000000..bbb8af0a
--- /dev/null
+++ b/docs/SmsProviderCredential.md
@@ -0,0 +1,29 @@
+# Flipdish.SmsProviderCredential
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrgId** | **String** | | [optional]
+**BrandId** | **String** | | [optional]
+**SmsServiceType** | **String** | | [optional]
+**SenderId** | **String** | | [optional]
+**Username** | **String** | | [optional]
+**AuthToken** | **String** | | [optional]
+
+
+
+## Enum: SmsServiceTypeEnum
+
+
+* `Nexmo` (value: `"Nexmo"`)
+
+* `Twilio` (value: `"Twilio"`)
+
+* `Default` (value: `"Default"`)
+
+* `MessageBird` (value: `"MessageBird"`)
+
+
+
+
diff --git a/docs/SmsProviderCredentialUpdateRequest.md b/docs/SmsProviderCredentialUpdateRequest.md
new file mode 100644
index 00000000..8722250a
--- /dev/null
+++ b/docs/SmsProviderCredentialUpdateRequest.md
@@ -0,0 +1,11 @@
+# Flipdish.SmsProviderCredentialUpdateRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**SenderId** | **String** | | [optional]
+**Username** | **String** | | [optional]
+**AuthToken** | **String** | | [optional]
+
+
diff --git a/docs/SmsProviderCredentialsApi.md b/docs/SmsProviderCredentialsApi.md
new file mode 100644
index 00000000..20f8d0d4
--- /dev/null
+++ b/docs/SmsProviderCredentialsApi.md
@@ -0,0 +1,268 @@
+# Flipdish.SmsProviderCredentialsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getBrandSmsProviderCredentialByServiceType**](SmsProviderCredentialsApi.md#getBrandSmsProviderCredentialByServiceType) | **GET** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType} |
+[**getBrandSmsProviderCredentials**](SmsProviderCredentialsApi.md#getBrandSmsProviderCredentials) | **GET** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials |
+[**smsProviderCredentialDelete**](SmsProviderCredentialsApi.md#smsProviderCredentialDelete) | **DELETE** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType} |
+[**smsProviderCredentialUpdate**](SmsProviderCredentialsApi.md#smsProviderCredentialUpdate) | **POST** /api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType} |
+[**smsProviderCredentialsBulkUpsert**](SmsProviderCredentialsApi.md#smsProviderCredentialsBulkUpsert) | **POST** /api/v1.0/sms-providers/bulk-upsert |
+
+
+
+## getBrandSmsProviderCredentialByServiceType
+
+> RestApiResultSmsProviderCredential getBrandSmsProviderCredentialByServiceType(orgId, brandId, serviceType, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SmsProviderCredentialsApi();
+let orgId = "orgId_example"; // String |
+let brandId = "brandId_example"; // String |
+let serviceType = "serviceType_example"; // String |
+let opts = {
+ 'withFallback': true // Boolean |
+};
+apiInstance.getBrandSmsProviderCredentialByServiceType(orgId, brandId, serviceType, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orgId** | **String**| |
+ **brandId** | **String**| |
+ **serviceType** | **String**| |
+ **withFallback** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiResultSmsProviderCredential**](RestApiResultSmsProviderCredential.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getBrandSmsProviderCredentials
+
+> RestApiArrayResultSmsProviderCredential getBrandSmsProviderCredentials(orgId, brandId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SmsProviderCredentialsApi();
+let orgId = "orgId_example"; // String |
+let brandId = "brandId_example"; // String |
+apiInstance.getBrandSmsProviderCredentials(orgId, brandId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orgId** | **String**| |
+ **brandId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultSmsProviderCredential**](RestApiArrayResultSmsProviderCredential.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## smsProviderCredentialDelete
+
+> RestApiResultSmsProviderCredential smsProviderCredentialDelete(orgId, brandId, serviceType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SmsProviderCredentialsApi();
+let orgId = "orgId_example"; // String |
+let brandId = "brandId_example"; // String |
+let serviceType = "serviceType_example"; // String |
+apiInstance.smsProviderCredentialDelete(orgId, brandId, serviceType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orgId** | **String**| |
+ **brandId** | **String**| |
+ **serviceType** | **String**| |
+
+### Return type
+
+[**RestApiResultSmsProviderCredential**](RestApiResultSmsProviderCredential.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## smsProviderCredentialUpdate
+
+> RestApiResultSmsProviderCredential smsProviderCredentialUpdate(orgId, brandId, serviceType, credential)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SmsProviderCredentialsApi();
+let orgId = "orgId_example"; // String |
+let brandId = "brandId_example"; // String |
+let serviceType = "serviceType_example"; // String |
+let credential = new Flipdish.SmsProviderCredentialUpdateRequest(); // SmsProviderCredentialUpdateRequest |
+apiInstance.smsProviderCredentialUpdate(orgId, brandId, serviceType, credential, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **orgId** | **String**| |
+ **brandId** | **String**| |
+ **serviceType** | **String**| |
+ **credential** | [**SmsProviderCredentialUpdateRequest**](SmsProviderCredentialUpdateRequest.md)| |
+
+### Return type
+
+[**RestApiResultSmsProviderCredential**](RestApiResultSmsProviderCredential.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## smsProviderCredentialsBulkUpsert
+
+> RestApiArrayResultSmsProviderCredential smsProviderCredentialsBulkUpsert(credentials)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SmsProviderCredentialsApi();
+let credentials = [new Flipdish.SmsProviderCredential()]; // [SmsProviderCredential] |
+apiInstance.smsProviderCredentialsBulkUpsert(credentials, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **credentials** | [**[SmsProviderCredential]**](SmsProviderCredential.md)| |
+
+### Return type
+
+[**RestApiArrayResultSmsProviderCredential**](RestApiArrayResultSmsProviderCredential.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/SmsReceivedEvent.md b/docs/SmsReceivedEvent.md
new file mode 100644
index 00000000..3ef7fc62
--- /dev/null
+++ b/docs/SmsReceivedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.SmsReceivedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**SmsInfo** | [**SmsInfo**](SmsInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StatisticsCurrencyDataPoint.md b/docs/StatisticsCurrencyDataPoint.md
new file mode 100644
index 00000000..34a81a8d
--- /dev/null
+++ b/docs/StatisticsCurrencyDataPoint.md
@@ -0,0 +1,245 @@
+# Flipdish.StatisticsCurrencyDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Currency** | **String** | Currency | [optional]
+**UserCount** | **Number** | Amount of users for this currency | [optional]
+**OrderCount** | **Number** | Amount of orders for this currency | [optional]
+**OrderValue** | **Number** | Value of orders for this currency | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/Store.md b/docs/Store.md
new file mode 100644
index 00000000..850f5b50
--- /dev/null
+++ b/docs/Store.md
@@ -0,0 +1,334 @@
+# Flipdish.Store
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store identifier | [optional]
+**StoreGroupId** | **Number** | Store group id to which this store belongs | [optional]
+**Address** | [**StoreAddress**](StoreAddress.md) | | [optional]
+**DeliveryZones** | [**[DeliveryZone]**](DeliveryZone.md) | Delivery zones | [optional]
+**ApmPhoneNumber** | **String** | Automated Phone Marketing number | [optional]
+**PickupHours** | [**[BusinessHoursPeriod]**](BusinessHoursPeriod.md) | Pickup hours | [optional]
+**DeliveryHours** | [**[BusinessHoursPeriod]**](BusinessHoursPeriod.md) | Delivery hours | [optional]
+**MenuId** | **Number** | Menu identifier | [optional]
+**OrderConfirmationMessageOverrideDelivery** | **String** | Overridden confirmation message for delivery orders | [optional]
+**OrderConfirmationMessageOverridePickup** | **String** | Overridden confirmation message for pickup orders | [optional]
+**PrintoutLayoutType** | **String** | Printout layout | [optional]
+**StoreNotes** | [**[StoreNote]**](StoreNote.md) | Store notes | [optional]
+**MicrosoftTimeZone** | **String** | Microsoft Time Zone Index Values (https://msdn.microsoft.com/en-us/library/ms912391) (Editable through store coordinate change) | [optional]
+**IanaTimeZone** | **String** | IANA Time Zone (https://www.iana.org/time-zones) (Editable through store coordinate change) | [optional]
+**Currency** | **String** | Currency (derived from Store Group) | [optional]
+**PreOrderDeliveryEnabled** | **Boolean** | Is PerOrder Enabled for Delivery | [optional]
+**PreOrderPickupEnabled** | **Boolean** | Is PerOrder Enabled for Pickup | [optional]
+**LogoUrl** | **String** | Url for logo image | [optional]
+**FraudPreventionStrategy** | **String** | Fraud Prevention Strategy | [optional]
+**AppIds** | **[String]** | Store's app ids | [optional]
+**PropertyId** | **String** | Property Id | [optional]
+**PhoneNumber** | **String** | Phone number | [optional]
+**AlwaysAppearOpen** | **Boolean** | True if the store always appears open | [optional]
+**PreOrderEnabled** | **Boolean** | True if the store accepts pre-orders | [optional]
+**TakeOutEnabled** | **Boolean** | True if the store accepts take-out orders | [optional]
+**TableServiceEnabled** | **Boolean** | True if the store has table service | [optional]
+**DineInEnabled** | **Boolean** | True if the store accepts dine-in orders | [optional]
+**AllowPreOrdersAndTableService** | **Boolean** | True if both pre-orders and talbe service can be enabled | [optional]
+**PickupEnabled** | **Boolean** | True if the store accepts pickup orders | [optional]
+**DeliveryEnabled** | **Boolean** | True if the store accepts delivery orders | [optional]
+**CardOrderDeliveryEnabled** | **Boolean** | True if the store accepts card payment for delivery orders | [optional]
+**CashOrdersDeliveryEnabled** | **Boolean** | True if the store accepts cash payment for delivery orders | [optional]
+**CardOrdersPickupEnabled** | **Boolean** | True if the store accepts card payment for pickup orders | [optional]
+**CashOrdersPickupEnabled** | **Boolean** | True if the store accepts cash payment for pickup orders | [optional]
+**TipsEnabled** | **Boolean** | True if the store accepts tips | [optional]
+**AutomaticallyAcceptOrders** | **Boolean** | True if the stores orders are automatically accepted in Flipdish | [optional]
+**OpenForDelivery** | **Boolean** | True if the store is open for delivery | [optional]
+**OpenForPickup** | **Boolean** | True if the store is open for pickup | [optional]
+**MinimumPickupOrderAmount** | **Number** | Minimum pickup order amount | [optional]
+**RequireCustomerNameForPickup** | **Boolean** | True if customer name required for pickup orders | [optional]
+**GdprCustomerPhoneNumbers** | **Boolean** | Mask your customers phone numbers printed on receipts and reduce the amout of personally identifiable customer information that is exposed. | [optional]
+**RequireCustomerNameForDelivery** | **Boolean** | True if customer name required for delivery orders | [optional]
+**AllowChefNotes** | **Boolean** | True if the customer is allowed enter custom notes with their orders | [optional]
+**EtaInPickupConfirmationSmsEnabled** | **Boolean** | True if order confirmation sms includes estimated time when order will be ready for collection | [optional]
+**EtaInDeliveryConfirmationSmsEnabled** | **Boolean** | True if order confirmation sms includes estimated time when order will delivered | [optional]
+**IsArchived** | **Boolean** | Is the Store Archived | [optional]
+**IsPublished** | **Boolean** | Is the Store Published | [optional]
+**Name** | **String** | Name | [optional]
+**EmailAddress** | **String** | Email address (visible to customers) | [optional]
+**StaffLanguage** | **String** | Staff Language (used for communication with the staff) Emails, Printouts etc | [optional]
+**SalesChannelTypes** | **[String]** | Sales Channel Types | [optional]
+**InheritanceConfigTypes** | **[String]** | Inheritance Config Types | [optional]
+
+
+
+## Enum: PrintoutLayoutTypeEnum
+
+
+* `Default` (value: `"Default"`)
+
+* `Centra` (value: `"Centra"`)
+
+* `SmallChefNotes` (value: `"SmallChefNotes"`)
+
+* `SmallChefNotesAndCentra` (value: `"SmallChefNotesAndCentra"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: [SalesChannelTypesEnum]
+
+
+* `Web` (value: `"Web"`)
+
+* `App` (value: `"App"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `None` (value: `"None"`)
+
+
+
+
+
+## Enum: [InheritanceConfigTypesEnum]
+
+
+* `CollectionSettings` (value: `"CollectionSettings"`)
+
+
+
+
diff --git a/docs/StoreAddress.md b/docs/StoreAddress.md
new file mode 100644
index 00000000..01fbf5d0
--- /dev/null
+++ b/docs/StoreAddress.md
@@ -0,0 +1,18 @@
+# Flipdish.StoreAddress
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AddressId** | **Number** | Address identifier | [optional]
+**Coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
+**Line1** | **String** | Address line 1 | [optional]
+**Postcode** | **String** | Postcode | [optional]
+**City** | **String** | City | [optional]
+**CountryCode** | **String** | Country code (ISO-alpha2) | [optional]
+**DisplayForCustomer** | **String** | Display for customer | [optional]
+**AddressFields** | **{String: Object}** | Dyanmic field/value pairs, defined by the form assigned to the given country code. | [optional]
+**SingleLineDisplay** | **String** | Single line display i18n, may be empty for not supported countries | [optional]
+**TwoLinesDisplay** | **[String]** | Two line display i18n, may be empty for not supported countries | [optional]
+
+
diff --git a/docs/StoreAddressBase.md b/docs/StoreAddressBase.md
new file mode 100644
index 00000000..273927c8
--- /dev/null
+++ b/docs/StoreAddressBase.md
@@ -0,0 +1,16 @@
+# Flipdish.StoreAddressBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Line1** | **String** | Address line 1 | [optional]
+**Postcode** | **String** | Postcode | [optional]
+**City** | **String** | City | [optional]
+**CountryCode** | **String** | Country code (ISO-alpha2) | [optional]
+**DisplayForCustomer** | **String** | Display for customer | [optional]
+**AddressFields** | **{String: Object}** | Dyanmic field/value pairs, defined by the form assigned to the given country code. | [optional]
+**SingleLineDisplay** | **String** | Single line display i18n, may be empty for not supported countries | [optional]
+**TwoLinesDisplay** | **[String]** | Two line display i18n, may be empty for not supported countries | [optional]
+
+
diff --git a/docs/StoreAddressForm.md b/docs/StoreAddressForm.md
new file mode 100644
index 00000000..e82e190c
--- /dev/null
+++ b/docs/StoreAddressForm.md
@@ -0,0 +1,10 @@
+# Flipdish.StoreAddressForm
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AddressFields** | **{String: Object}** | The dynamic fields generated by the address form. |
+**CountryCode** | **String** | ISO 2 letters code for the country, should be the same as the form that generates the fields. |
+
+
diff --git a/docs/StoreAddressUpdatedEvent.md b/docs/StoreAddressUpdatedEvent.md
new file mode 100644
index 00000000..21ba2b54
--- /dev/null
+++ b/docs/StoreAddressUpdatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreAddressUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**StoreAddress** | [**StoreAddress**](StoreAddress.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreArchivedEvent.md b/docs/StoreArchivedEvent.md
new file mode 100644
index 00000000..ace0cc7e
--- /dev/null
+++ b/docs/StoreArchivedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreArchivedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional] [readonly]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreBase.md b/docs/StoreBase.md
new file mode 100644
index 00000000..93bb9daa
--- /dev/null
+++ b/docs/StoreBase.md
@@ -0,0 +1,65 @@
+# Flipdish.StoreBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PhoneNumber** | **String** | Phone number | [optional]
+**AlwaysAppearOpen** | **Boolean** | True if the store always appears open | [optional]
+**PreOrderEnabled** | **Boolean** | True if the store accepts pre-orders | [optional]
+**TakeOutEnabled** | **Boolean** | True if the store accepts take-out orders | [optional]
+**TableServiceEnabled** | **Boolean** | True if the store has table service | [optional]
+**DineInEnabled** | **Boolean** | True if the store accepts dine-in orders | [optional]
+**AllowPreOrdersAndTableService** | **Boolean** | True if both pre-orders and talbe service can be enabled | [optional]
+**PickupEnabled** | **Boolean** | True if the store accepts pickup orders | [optional]
+**DeliveryEnabled** | **Boolean** | True if the store accepts delivery orders | [optional]
+**CardOrderDeliveryEnabled** | **Boolean** | True if the store accepts card payment for delivery orders | [optional]
+**CashOrdersDeliveryEnabled** | **Boolean** | True if the store accepts cash payment for delivery orders | [optional]
+**CardOrdersPickupEnabled** | **Boolean** | True if the store accepts card payment for pickup orders | [optional]
+**CashOrdersPickupEnabled** | **Boolean** | True if the store accepts cash payment for pickup orders | [optional]
+**TipsEnabled** | **Boolean** | True if the store accepts tips | [optional]
+**AutomaticallyAcceptOrders** | **Boolean** | True if the stores orders are automatically accepted in Flipdish | [optional]
+**OpenForDelivery** | **Boolean** | True if the store is open for delivery | [optional]
+**OpenForPickup** | **Boolean** | True if the store is open for pickup | [optional]
+**MinimumPickupOrderAmount** | **Number** | Minimum pickup order amount | [optional]
+**RequireCustomerNameForPickup** | **Boolean** | True if customer name required for pickup orders | [optional]
+**GdprCustomerPhoneNumbers** | **Boolean** | Mask your customers phone numbers printed on receipts and reduce the amout of personally identifiable customer information that is exposed. | [optional]
+**RequireCustomerNameForDelivery** | **Boolean** | True if customer name required for delivery orders | [optional]
+**AllowChefNotes** | **Boolean** | True if the customer is allowed enter custom notes with their orders | [optional]
+**EtaInPickupConfirmationSmsEnabled** | **Boolean** | True if order confirmation sms includes estimated time when order will be ready for collection | [optional]
+**EtaInDeliveryConfirmationSmsEnabled** | **Boolean** | True if order confirmation sms includes estimated time when order will delivered | [optional]
+**IsArchived** | **Boolean** | Is the Store Archived | [optional]
+**IsPublished** | **Boolean** | Is the Store Published | [optional]
+**Name** | **String** | Name | [optional]
+**EmailAddress** | **String** | Email address (visible to customers) | [optional]
+**StaffLanguage** | **String** | Staff Language (used for communication with the staff) Emails, Printouts etc | [optional]
+**SalesChannelTypes** | **[String]** | Sales Channel Types | [optional]
+**InheritanceConfigTypes** | **[String]** | Inheritance Config Types | [optional]
+
+
+
+## Enum: [SalesChannelTypesEnum]
+
+
+* `Web` (value: `"Web"`)
+
+* `App` (value: `"App"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `None` (value: `"None"`)
+
+
+
+
+
+## Enum: [InheritanceConfigTypesEnum]
+
+
+* `CollectionSettings` (value: `"CollectionSettings"`)
+
+
+
+
diff --git a/docs/StoreBusinessHoursOverrideCreatedEvent.md b/docs/StoreBusinessHoursOverrideCreatedEvent.md
new file mode 100644
index 00000000..f30a5a8a
--- /dev/null
+++ b/docs/StoreBusinessHoursOverrideCreatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreBusinessHoursOverrideCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**BusinessHoursOverride** | [**BusinessHoursOverride**](BusinessHoursOverride.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreBusinessHoursOverrideDeletedEvent.md b/docs/StoreBusinessHoursOverrideDeletedEvent.md
new file mode 100644
index 00000000..9b31ccc4
--- /dev/null
+++ b/docs/StoreBusinessHoursOverrideDeletedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreBusinessHoursOverrideDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**BusinessHoursOverride** | [**BusinessHoursOverride**](BusinessHoursOverride.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreCampaignStartTime.md b/docs/StoreCampaignStartTime.md
new file mode 100644
index 00000000..a3df12cc
--- /dev/null
+++ b/docs/StoreCampaignStartTime.md
@@ -0,0 +1,10 @@
+# Flipdish.StoreCampaignStartTime
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store Id | [optional]
+**TsStart** | **Date** | Campaign start time in Utc | [optional]
+
+
diff --git a/docs/StoreChannelAssignment.md b/docs/StoreChannelAssignment.md
new file mode 100644
index 00000000..812cb04a
--- /dev/null
+++ b/docs/StoreChannelAssignment.md
@@ -0,0 +1,11 @@
+# Flipdish.StoreChannelAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ChannelId** | **Number** | Channel ID | [optional]
+**StoreId** | **Number** | Store ID | [optional]
+**StoreName** | **String** | Store Name | [optional]
+
+
diff --git a/docs/StoreCloneSettings.md b/docs/StoreCloneSettings.md
new file mode 100644
index 00000000..8bb1ca8e
--- /dev/null
+++ b/docs/StoreCloneSettings.md
@@ -0,0 +1,9 @@
+# Flipdish.StoreCloneSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TargetStoreGroupId** | **Number** | If specified will clone to a specific store group, otherwise will clone to the store group of the Store which is being cloned | [optional]
+
+
diff --git a/docs/StoreCollectionSettings.md b/docs/StoreCollectionSettings.md
new file mode 100644
index 00000000..618ee421
--- /dev/null
+++ b/docs/StoreCollectionSettings.md
@@ -0,0 +1,14 @@
+# Flipdish.StoreCollectionSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PickupEnabled** | **Boolean** | True if the store accepts pickup orders |
+**MinimumPickupOrderAmount** | **Number** | Minimum pickup order amount |
+**RequireCustomerNameForPickup** | **Boolean** | True if customer name required for pickup orders |
+**CashOrdersPickupEnabled** | **Boolean** | True if the store accepts cash payment for pickup orders |
+**LeadTimeMinutes** | **Number** | Auto accept lead time for collection orders |
+**EtaInPickupConfirmationSmsEnabled** | **Boolean** | True if order confirmation sms includes estimated time when order will be ready for collection |
+
+
diff --git a/docs/StoreConfig.md b/docs/StoreConfig.md
new file mode 100644
index 00000000..d4b928f9
--- /dev/null
+++ b/docs/StoreConfig.md
@@ -0,0 +1,14 @@
+# Flipdish.StoreConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PickupEnabled** | **Boolean** | True if the store accepts pickup orders | [optional]
+**BankAccountAttached** | **Boolean** | True if the store has a Bank Account attached | [optional]
+**MenuAssigned** | **Boolean** | True if the store is assigned to a Menu | [optional]
+**HasFullAddress** | **Boolean** | True if the store has a valid Address | [optional]
+**PickupHours** | **Boolean** | True if the store has Pickup hours | [optional]
+**IsPublished** | **Boolean** | Is the Store Published | [optional]
+
+
diff --git a/docs/StoreCreateBase.md b/docs/StoreCreateBase.md
new file mode 100644
index 00000000..3c5d92b4
--- /dev/null
+++ b/docs/StoreCreateBase.md
@@ -0,0 +1,30 @@
+# Flipdish.StoreCreateBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Name | [optional]
+**EmailAddress** | **String** | Email address (visible to customers) | [optional]
+**StaffLanguage** | **String** | Staff Language (used for communication with the staff) Emails, Printouts etc | [optional]
+**SalesChannelType** | **String** | Sales Channel Type | [optional]
+**PhoneNumber** | **String** | Phone Number | [optional]
+
+
+
+## Enum: SalesChannelTypeEnum
+
+
+* `Web` (value: `"Web"`)
+
+* `App` (value: `"App"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `None` (value: `"None"`)
+
+
+
+
diff --git a/docs/StoreCreatedEvent.md b/docs/StoreCreatedEvent.md
new file mode 100644
index 00000000..59c2fb91
--- /dev/null
+++ b/docs/StoreCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreDataPoint.md b/docs/StoreDataPoint.md
new file mode 100644
index 00000000..84970d36
--- /dev/null
+++ b/docs/StoreDataPoint.md
@@ -0,0 +1,10 @@
+# Flipdish.StoreDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Day** | **Date** | Day | [optional]
+**Value** | **Number** | Value for the day | [optional]
+
+
diff --git a/docs/StoreDeletedEvent.md b/docs/StoreDeletedEvent.md
new file mode 100644
index 00000000..74e36999
--- /dev/null
+++ b/docs/StoreDeletedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional] [readonly]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreDeliveryZoneFeeConfig.md b/docs/StoreDeliveryZoneFeeConfig.md
new file mode 100644
index 00000000..8f793f07
--- /dev/null
+++ b/docs/StoreDeliveryZoneFeeConfig.md
@@ -0,0 +1,10 @@
+# Flipdish.StoreDeliveryZoneFeeConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryZoneId** | **Number** | ID of the delivery zone this fee corresponds to | [optional]
+**Fee** | **Number** | Fee for delivery within this zone | [optional]
+
+
diff --git a/docs/StoreDeliveryZoneFeeConfigUpdateRequest.md b/docs/StoreDeliveryZoneFeeConfigUpdateRequest.md
new file mode 100644
index 00000000..63660b3e
--- /dev/null
+++ b/docs/StoreDeliveryZoneFeeConfigUpdateRequest.md
@@ -0,0 +1,9 @@
+# Flipdish.StoreDeliveryZoneFeeConfigUpdateRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryZoneFees** | [**[StoreDeliveryZoneFeeConfig]**](StoreDeliveryZoneFeeConfig.md) | Delivery zone fees to update | [optional]
+
+
diff --git a/docs/StoreEndOfDayReport.md b/docs/StoreEndOfDayReport.md
new file mode 100644
index 00000000..306eb45b
--- /dev/null
+++ b/docs/StoreEndOfDayReport.md
@@ -0,0 +1,267 @@
+# Flipdish.StoreEndOfDayReport
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store Id | [optional]
+**StoreName** | **String** | Store name | [optional]
+**Currency** | **String** | Currency | [optional]
+**OrderCount** | **Number** | Order Count | [optional]
+**OrderValue** | **Number** | Order Value | [optional]
+**OrderValueExcludingDeliveryFees** | **Number** | Order Value Excluding Delivery Fees | [optional]
+**CollectionOrderCount** | **Number** | Collection Order Count | [optional]
+**CollectionCashOrderCount** | **Number** | Collection Cash Order Count | [optional]
+**CollectionPaidOnlineOrderCount** | **Number** | Collection Paid Online Order Count | [optional]
+**CollectionOrderValue** | **Number** | Collection Order Value | [optional]
+**CollectionCashOrderValue** | **Number** | Collection Cash Order Value | [optional]
+**CollectionPaidOnlineOrderValue** | **Number** | Collection Paid Online Order Value | [optional]
+**DeliveryOrderCount** | **Number** | Delivery Order Count | [optional]
+**DeliveryCashOrderCount** | **Number** | Delivery Cash Order Count | [optional]
+**DeliveryPaidOnlineOrderCount** | **Number** | Delivery Paid Online Order Count | [optional]
+**DeliveryOrderValue** | **Number** | Delivery Order Value | [optional]
+**DeliveryCashOrderValue** | **Number** | Delivery Cash Order Value | [optional]
+**DeliveryPaidOnlineOrderValue** | **Number** | Delivery Paid Online Order Value | [optional]
+**PaidOnlineOrderCount** | **Number** | Paid Online Order Count | [optional]
+**CashOrderCount** | **Number** | Cash Order Count | [optional]
+**PaidOnlineOrderValue** | **Number** | Paid Online Order Value | [optional]
+**CashOrderValue** | **Number** | Cash Order Value | [optional]
+**PaidOnlineOrderValueExcludingDeliveryFees** | **Number** | Paid Online Order Value Excluding Delivery Fees | [optional]
+**CashOrderValueExcludingDeliveryFees** | **Number** | Cash Order Value Excluding Delivery Fees | [optional]
+**StartTime** | **Date** | Start Time | [optional]
+**EndTime** | **Date** | End Time | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/StoreFeeConfig.md b/docs/StoreFeeConfig.md
new file mode 100644
index 00000000..944770d2
--- /dev/null
+++ b/docs/StoreFeeConfig.md
@@ -0,0 +1,53 @@
+# Flipdish.StoreFeeConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FeeConfigId** | **Number** | | [optional]
+**StoreId** | **Number** | | [optional]
+**StartTime** | **Date** | | [optional]
+**PercentFeeCardOrders** | **Number** | | [optional]
+**PercentFeeCashOrders** | **Number** | | [optional]
+**PercentFeeCardOrdersWeb** | **Number** | | [optional]
+**PercentFeeCashOrdersWeb** | **Number** | | [optional]
+**PercentFeeCardOrdersKiosk** | **Number** | | [optional]
+**PercentFeeCashOrdersKiosk** | **Number** | | [optional]
+**FixedFeeCardOrdersKiosk** | **Number** | | [optional]
+**FixedFeeCashOrdersKiosk** | **Number** | | [optional]
+**PercentFeeCardOrdersKioskChargedToCustomerIncludingVat** | **Number** | | [optional]
+**FixedFeeCardOrdersKioskChargedToCustomerIncludingVat** | **Number** | | [optional]
+**PercentFeeCashOrdersKioskChargedToCustomerIncludingVat** | **Number** | | [optional]
+**FixedFeeCashOrdersKioskChargedToCustomerIncludingVat** | **Number** | | [optional]
+**FixedFeeCardOrders** | **Number** | | [optional]
+**FixedFeeCashOrders** | **Number** | | [optional]
+**PercentFeeCardOrdersChargedToCustomerIncludingVat** | **Number** | | [optional]
+**FixedFeeCardOrdersChargedToCustomerIncludingVat** | **Number** | | [optional]
+**PercentFeeCashOrdersChargedToCustomerIncludingVat** | **Number** | | [optional]
+**FixedFeeCashOrdersChargedToCustomerIncludingVat** | **Number** | | [optional]
+**PercentFeeTips** | **Number** | Gets or sets the percent fee tips. | [optional]
+**PercentFeeTipsCollection** | **Number** | Gets or sets the percent fee tips for collection. | [optional]
+**PercentFeeTipsDelivery** | **Number** | Gets or sets the percent fee tips for delivery. | [optional]
+**TaxRatePercent** | **Number** | Gets or sets the tax rate percent. | [optional]
+**PercentFeeCardOrdersLocationService** | **Number** | Gets or sets the percent fee card orders location service. | [optional]
+**PercentFeeCashOrdersLocationService** | **Number** | Gets or sets the percent fee cash orders location service. | [optional]
+**FixedFeeCardOrdersLocationService** | **Number** | Gets or sets the fixed fee card orders location service. | [optional]
+**FixedFeeCashOrdersLocationService** | **Number** | Gets or sets the fixed fee cash orders location service. | [optional]
+**PercentFeeCardOrdersLocationServiceChargedToCustomerIncludingVat** | **Number** | Gets or sets the percent fee card orders location service charged to customer including vat. | [optional]
+**PercentFeeCashOrdersLocationServiceChargedToCustomerIncludingVat** | **Number** | Gets or sets the percent fee cash orders location service charged to customer including vat. | [optional]
+**FixedFeeCardOrdersLocationServiceChargedToCustomerIncludingVat** | **Number** | Gets or sets the fixed fee card orders location service charged to customer including vat. | [optional]
+**FixedFeeCashOrdersLocationServiceChargedToCustomerIncludingVat** | **Number** | Gets or sets the fixed fee cash orders location service charged to customer including vat. | [optional]
+**PercentFeeCardOrdersIngest** | **Number** | Gets or sets the percent fee card orders ingest. | [optional]
+**PercentFeeCashOrdersIngest** | **Number** | Gets or sets the percent fee cash orders ingest. | [optional]
+**FixedFeeCardOrdersIngest** | **Number** | Gets or sets the fixed fee card orders ingest. | [optional]
+**FixedFeeCashOrdersIngest** | **Number** | Gets or sets the fixed fee cash orders ingest. | [optional]
+**PercentFeeDelivery** | **Number** | Gets or sets the percent fee for delivery orders. | [optional]
+**FixedFeeDelivery** | **Number** | Gets or sets the fixed fee for delivery orders. | [optional]
+**PercentFeeCardPosTransaction** | **Number** | Gets or sets the percent fee for POS transactions. | [optional]
+**FixedFeeCardPosTransaction** | **Number** | Gets or sets the fixed fee for POS transactions. | [optional]
+**PercentFeeOrderWithGoogle** | **Number** | Additional percentage fee charged on orders submitted through Order With Google | [optional]
+**FixedFeeOrderWithGoogle** | **Number** | Additional fixed fee charged on orders submitted through Order With Google | [optional]
+**ShouldNotAutoIncreaseBefore** | **Date** | Should not auto increase fees before this date | [optional]
+**Reason** | **String** | Reason for the last fee change (optional) | [optional]
+
+
diff --git a/docs/StoreFeeConfigUpdatedEvent.md b/docs/StoreFeeConfigUpdatedEvent.md
new file mode 100644
index 00000000..7b2c46f8
--- /dev/null
+++ b/docs/StoreFeeConfigUpdatedEvent.md
@@ -0,0 +1,21 @@
+# Flipdish.StoreFeeConfigUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Changes** | **String** | Diff between before and after | [optional]
+**StoreFeeConfig** | [**StoreFeeConfig**](StoreFeeConfig.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreGroup.md b/docs/StoreGroup.md
new file mode 100644
index 00000000..ca7a0873
--- /dev/null
+++ b/docs/StoreGroup.md
@@ -0,0 +1,249 @@
+# Flipdish.StoreGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreGroupId** | **Number** | Unique Store Group Identifier | [optional]
+**GeneralRating** | **Number** | Store Group rating | [optional]
+**GeneralRatingCount** | **Number** | Store Group rating count | [optional]
+**DeliveryMenuMessage** | **String** | Delivery menu message | [optional]
+**PickupMenuMessage** | **String** | Pickup menu message | [optional]
+**BrandIds** | **[String]** | List of brand ids (AppIds) that are associated with this store group | [optional]
+**Name** | **String** | Store Group Name | [optional]
+**Currency** | **String** | Currency used by the stores in this group | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/StoreGroupBase.md b/docs/StoreGroupBase.md
new file mode 100644
index 00000000..647fbc25
--- /dev/null
+++ b/docs/StoreGroupBase.md
@@ -0,0 +1,243 @@
+# Flipdish.StoreGroupBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Store Group Name | [optional]
+**Currency** | **String** | Currency used by the stores in this group | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/StoreGroupCreatedEvent.md b/docs/StoreGroupCreatedEvent.md
new file mode 100644
index 00000000..e0b9a75c
--- /dev/null
+++ b/docs/StoreGroupCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreGroupCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreGroupId** | **Number** | Store Group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**StoreGroup** | [**StoreGroup**](StoreGroup.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreGroupDeletedEvent.md b/docs/StoreGroupDeletedEvent.md
new file mode 100644
index 00000000..65e7f729
--- /dev/null
+++ b/docs/StoreGroupDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreGroupDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreGroupId** | **Number** | Store Group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**StoreGroup** | [**StoreGroup**](StoreGroup.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreGroupExtended.md b/docs/StoreGroupExtended.md
new file mode 100644
index 00000000..083a7dbc
--- /dev/null
+++ b/docs/StoreGroupExtended.md
@@ -0,0 +1,252 @@
+# Flipdish.StoreGroupExtended
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TotalStores** | **Number** | Total Amount of Stores | [optional]
+**GroupedCoordinates** | [**[GroupedCoordinates]**](GroupedCoordinates.md) | Grouped store coordinates | [optional]
+**StoreHeaders** | [**[StoreHeader]**](StoreHeader.md) | Store Headers associated with Store Group | [optional]
+**StoreGroupId** | **Number** | Unique Store Group Identifier | [optional]
+**GeneralRating** | **Number** | Store Group rating | [optional]
+**GeneralRatingCount** | **Number** | Store Group rating count | [optional]
+**DeliveryMenuMessage** | **String** | Delivery menu message | [optional]
+**PickupMenuMessage** | **String** | Pickup menu message | [optional]
+**BrandIds** | **[String]** | List of brand ids (AppIds) that are associated with this store group | [optional]
+**Name** | **String** | Store Group Name | [optional]
+**Currency** | **String** | Currency used by the stores in this group | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/StoreGroupUpdatedEvent.md b/docs/StoreGroupUpdatedEvent.md
new file mode 100644
index 00000000..fcc6b71c
--- /dev/null
+++ b/docs/StoreGroupUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreGroupUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreGroupId** | **Number** | Store Group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**StoreGroup** | [**StoreGroup**](StoreGroup.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreGroupsApi.md b/docs/StoreGroupsApi.md
new file mode 100644
index 00000000..d357b33a
--- /dev/null
+++ b/docs/StoreGroupsApi.md
@@ -0,0 +1,420 @@
+# Flipdish.StoreGroupsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**assignStoresToStoreGroup**](StoreGroupsApi.md#assignStoresToStoreGroup) | **POST** /api/v1.0/{appId}/storegroups/{storeGroupId}/assignStores |
+[**createStoreGroup**](StoreGroupsApi.md#createStoreGroup) | **POST** /api/v1.0/{appNameId}/storegroups |
+[**getStoreGroup**](StoreGroupsApi.md#getStoreGroup) | **GET** /api/v1.0/storegroups/{storeGroupId} |
+[**getStoreGroups**](StoreGroupsApi.md#getStoreGroups) | **GET** /api/v1.0/{appNameId}/storegroups |
+[**getStoreGroupsExtended**](StoreGroupsApi.md#getStoreGroupsExtended) | **GET** /api/v1.0/{appNameId}/storegroups/extended |
+[**removeStoreGroup**](StoreGroupsApi.md#removeStoreGroup) | **DELETE** /api/v1.0/storegroups/{storeGroupId} |
+[**setCustomerMessages**](StoreGroupsApi.md#setCustomerMessages) | **POST** /api/v1.0/storegroups/{storeGroupId}/CustomerMessages |
+[**updateStoreGroup**](StoreGroupsApi.md#updateStoreGroup) | **POST** /api/v1.0/storegroups/{storeGroupId} |
+
+
+
+## assignStoresToStoreGroup
+
+> assignStoresToStoreGroup(appId, storeGroupId, storeIds)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let appId = "appId_example"; // String |
+let storeGroupId = 56; // Number |
+let storeIds = [null]; // [Number] |
+apiInstance.assignStoresToStoreGroup(appId, storeGroupId, storeIds, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeGroupId** | **Number**| |
+ **storeIds** | [**[Number]**](Number.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## createStoreGroup
+
+> RestApiResultStoreGroup createStoreGroup(appNameId, storeGroup)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let appNameId = "appNameId_example"; // String |
+let storeGroup = new Flipdish.StoreGroupBase(); // StoreGroupBase |
+apiInstance.createStoreGroup(appNameId, storeGroup, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appNameId** | **String**| |
+ **storeGroup** | [**StoreGroupBase**](StoreGroupBase.md)| |
+
+### Return type
+
+[**RestApiResultStoreGroup**](RestApiResultStoreGroup.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreGroup
+
+> RestApiResultStoreGroup getStoreGroup(storeGroupId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let storeGroupId = 56; // Number |
+apiInstance.getStoreGroup(storeGroupId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeGroupId** | **Number**| |
+
+### Return type
+
+[**RestApiResultStoreGroup**](RestApiResultStoreGroup.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreGroups
+
+> RestApiPaginationResultStoreGroup getStoreGroups(appNameId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let appNameId = "appNameId_example"; // String |
+let opts = {
+ 'searchQuery': "searchQuery_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getStoreGroups(appNameId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appNameId** | **String**| |
+ **searchQuery** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultStoreGroup**](RestApiPaginationResultStoreGroup.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreGroupsExtended
+
+> RestApiPaginationResultStoreGroupExtended getStoreGroupsExtended(appNameId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let appNameId = "appNameId_example"; // String |
+let opts = {
+ 'searchQuery': "searchQuery_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'groupingRadius': 56 // Number |
+};
+apiInstance.getStoreGroupsExtended(appNameId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appNameId** | **String**| |
+ **searchQuery** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **groupingRadius** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultStoreGroupExtended**](RestApiPaginationResultStoreGroupExtended.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## removeStoreGroup
+
+> removeStoreGroup(storeGroupId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let storeGroupId = 56; // Number |
+apiInstance.removeStoreGroup(storeGroupId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeGroupId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setCustomerMessages
+
+> setCustomerMessages(storeGroupId, customerMessages)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let storeGroupId = 56; // Number |
+let customerMessages = new Flipdish.CustomerMessages(); // CustomerMessages |
+apiInstance.setCustomerMessages(storeGroupId, customerMessages, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeGroupId** | **Number**| |
+ **customerMessages** | [**CustomerMessages**](CustomerMessages.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateStoreGroup
+
+> RestApiResultStoreGroupBase updateStoreGroup(storeGroupId, storeGroup)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreGroupsApi();
+let storeGroupId = 56; // Number |
+let storeGroup = new Flipdish.StoreGroupBase(); // StoreGroupBase |
+apiInstance.updateStoreGroup(storeGroupId, storeGroup, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeGroupId** | **Number**| |
+ **storeGroup** | [**StoreGroupBase**](StoreGroupBase.md)| |
+
+### Return type
+
+[**RestApiResultStoreGroupBase**](RestApiResultStoreGroupBase.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/StoreHeader.md b/docs/StoreHeader.md
new file mode 100644
index 00000000..35f529a4
--- /dev/null
+++ b/docs/StoreHeader.md
@@ -0,0 +1,11 @@
+# Flipdish.StoreHeader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store identifier | [optional]
+**Name** | **String** | Name | [optional]
+**Category** | **String** | Name | [optional]
+
+
diff --git a/docs/StoreItemHeader.md b/docs/StoreItemHeader.md
new file mode 100644
index 00000000..30817651
--- /dev/null
+++ b/docs/StoreItemHeader.md
@@ -0,0 +1,10 @@
+# Flipdish.StoreItemHeader
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | | [optional]
+**Name** | **String** | | [optional]
+
+
diff --git a/docs/StoreKioskSetting.md b/docs/StoreKioskSetting.md
new file mode 100644
index 00000000..757e6a32
--- /dev/null
+++ b/docs/StoreKioskSetting.md
@@ -0,0 +1,17 @@
+# Flipdish.StoreKioskSetting
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**KioskSettingId** | **Number** | Kiosk setting id | [optional]
+**KioskName** | **String** | Store kiosk name | [optional]
+**RequireCustomerName** | **Boolean** | Require customer name flag | [optional]
+**RequireCustomerPhoneNumber** | **Boolean** | Require customer phone number flag | [optional]
+**RequestCustomerPhoneNumber** | **Boolean** | Request customer phone number flag (Option to Skip) | [optional]
+**RequestTableNumber** | **Boolean** | Request table number flag | [optional]
+**OfferDineInOrTakeawayOption** | **Boolean** | Offer Dine-In/Takeaway option flag | [optional]
+**PhysicalRestaurantId** | **Number** | Physical restaurant id | [optional]
+**HydraConfigId** | **Number** | Hydra config id | [optional]
+
+
diff --git a/docs/StoreKioskSettingUpdatedEvent.md b/docs/StoreKioskSettingUpdatedEvent.md
new file mode 100644
index 00000000..27395244
--- /dev/null
+++ b/docs/StoreKioskSettingUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreKioskSettingUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**StoreKioskSetting** | [**StoreKioskSetting**](StoreKioskSetting.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreListItem.md b/docs/StoreListItem.md
new file mode 100644
index 00000000..19bcae4c
--- /dev/null
+++ b/docs/StoreListItem.md
@@ -0,0 +1,15 @@
+# Flipdish.StoreListItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store Id | [optional]
+**StoreName** | **String** | Store Name | [optional]
+**StoreGroupId** | **Number** | Store Group Id | [optional]
+**StoreGroupName** | **String** | Store Group Name | [optional]
+**HasLoyaltyCampaign** | **Boolean** | Store has loyalty campaign | [optional]
+**HasRetentionCampaign** | **Boolean** | Store has retention campaign | [optional]
+**IsPublished** | **Boolean** | Is Published store | [optional]
+
+
diff --git a/docs/StoreLogoCreatedEvent.md b/docs/StoreLogoCreatedEvent.md
new file mode 100644
index 00000000..e519d880
--- /dev/null
+++ b/docs/StoreLogoCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreLogoCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | ID of store that the logo has been added to | [optional]
+**LogoUrl** | **String** | Url of logo | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreLogoDeletedEvent.md b/docs/StoreLogoDeletedEvent.md
new file mode 100644
index 00000000..dcae9f57
--- /dev/null
+++ b/docs/StoreLogoDeletedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.StoreLogoDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | ID of store that the logo has been added to | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreLogoUpdatedEvent.md b/docs/StoreLogoUpdatedEvent.md
new file mode 100644
index 00000000..4001aa07
--- /dev/null
+++ b/docs/StoreLogoUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreLogoUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | ID of store that the logo has been added to | [optional]
+**LogoUrl** | **String** | Url of logo | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreMenuAssignedEvent.md b/docs/StoreMenuAssignedEvent.md
new file mode 100644
index 00000000..61042618
--- /dev/null
+++ b/docs/StoreMenuAssignedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreMenuAssignedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**MenuId** | **Number** | MenuId Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreNote.md b/docs/StoreNote.md
new file mode 100644
index 00000000..d5fe2f40
--- /dev/null
+++ b/docs/StoreNote.md
@@ -0,0 +1,11 @@
+# Flipdish.StoreNote
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**UserId** | **Number** | User identifier | [optional]
+**CreateTime** | **Date** | Create time | [optional]
+**Note** | **String** | Note | [optional]
+
+
diff --git a/docs/StoreOpeningHoursUpdatedEvent.md b/docs/StoreOpeningHoursUpdatedEvent.md
new file mode 100644
index 00000000..3e0a443d
--- /dev/null
+++ b/docs/StoreOpeningHoursUpdatedEvent.md
@@ -0,0 +1,45 @@
+# Flipdish.StoreOpeningHoursUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**DeliveryType** | **String** | Type of opening hours Delivery / Pickup | [optional]
+**DeliveryTypeString** | **String** | Type of opening hours Delivery / Pickup as a string | [optional]
+**BusinessHoursPeriodOld** | [**BusinessHoursPeriod**](BusinessHoursPeriod.md) | | [optional]
+**BusinessHoursPeriod** | [**BusinessHoursPeriod**](BusinessHoursPeriod.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
+
+## Enum: DeliveryTypeEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
+
+## Enum: DeliveryTypeStringEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
diff --git a/docs/StoreOrderCapacityApi.md b/docs/StoreOrderCapacityApi.md
new file mode 100644
index 00000000..48daa417
--- /dev/null
+++ b/docs/StoreOrderCapacityApi.md
@@ -0,0 +1,114 @@
+# Flipdish.StoreOrderCapacityApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getStoreOrderCapacity**](StoreOrderCapacityApi.md#getStoreOrderCapacity) | **GET** /api/v1.0/{appId}/storeordercapacity/{storeId}/{deliveryType} |
+[**updateStoreOrderCapacityConfig**](StoreOrderCapacityApi.md#updateStoreOrderCapacityConfig) | **POST** /api/v1.0/{appId}/storeordercapacity/{storeId} |
+
+
+
+## getStoreOrderCapacity
+
+> RestApiResultStoreOrderCapacityConfig getStoreOrderCapacity(appId, storeId, deliveryType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreOrderCapacityApi();
+let appId = "appId_example"; // String |
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+apiInstance.getStoreOrderCapacity(appId, storeId, deliveryType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+
+### Return type
+
+[**RestApiResultStoreOrderCapacityConfig**](RestApiResultStoreOrderCapacityConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateStoreOrderCapacityConfig
+
+> updateStoreOrderCapacityConfig(storeId, deliveryType, appId, newOrderCapacityConfig)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoreOrderCapacityApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+let appId = "appId_example"; // String |
+let newOrderCapacityConfig = new Flipdish.StoreOrderCapacityConfigEditModel(); // StoreOrderCapacityConfigEditModel |
+apiInstance.updateStoreOrderCapacityConfig(storeId, deliveryType, appId, newOrderCapacityConfig, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+ **appId** | **String**| |
+ **newOrderCapacityConfig** | [**StoreOrderCapacityConfigEditModel**](StoreOrderCapacityConfigEditModel.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/StoreOrderCapacityConfig.md b/docs/StoreOrderCapacityConfig.md
new file mode 100644
index 00000000..fc46a7d6
--- /dev/null
+++ b/docs/StoreOrderCapacityConfig.md
@@ -0,0 +1,23 @@
+# Flipdish.StoreOrderCapacityConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store identifier | [optional]
+**DeliveryType** | **String** | Signifies whether the order capacity configuration is for Delivery / Pickup | [optional]
+**StoreIntervalInMinutes** | **Number** | Store Interval - time between orders, e.g. 10 minutes between each order time available to customer | [optional]
+**OrderCapacityPeriods** | [**[StoreOrderCapacityPeriod]**](StoreOrderCapacityPeriod.md) | Order capacity periods | [optional]
+
+
+
+## Enum: DeliveryTypeEnum
+
+
+* `Delivery` (value: `"Delivery"`)
+
+* `Pickup` (value: `"Pickup"`)
+
+
+
+
diff --git a/docs/StoreOrderCapacityConfigEditModel.md b/docs/StoreOrderCapacityConfigEditModel.md
new file mode 100644
index 00000000..a54ad3a4
--- /dev/null
+++ b/docs/StoreOrderCapacityConfigEditModel.md
@@ -0,0 +1,9 @@
+# Flipdish.StoreOrderCapacityConfigEditModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OrderCapacityPeriods** | [**[StoreOrderCapacityPeriod]**](StoreOrderCapacityPeriod.md) | Order capacity periods | [optional]
+
+
diff --git a/docs/StoreOrderCapacityPeriod.md b/docs/StoreOrderCapacityPeriod.md
new file mode 100644
index 00000000..0343b1dd
--- /dev/null
+++ b/docs/StoreOrderCapacityPeriod.md
@@ -0,0 +1,35 @@
+# Flipdish.StoreOrderCapacityPeriod
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MaxOrderNumberPerStoreInterval** | **Number** | The maximum number of orders per each store order interval in this order capacity period. E.g. for a period from 9:00 till 11:00, if the store's interval is 10 minutes, and MaxOrderNumberPerStoreInterval is set to 5, it means that within each 10-minute interval between 9:00 and 11:00 (i.e. 9:00-9:10, 9:10-9:20, .. , 10:50-11:00) it will be possible to request at most 5 orders. | [optional]
+**DayOfTheWeek** | **String** | Day of the week the period pertains to | [optional]
+**PeriodStartHour** | **Number** | The hour the period starts at | [optional]
+**PeriodStartMinutes** | **Number** | The minutes after the hour the period starts at | [optional]
+**PeriodEndHour** | **Number** | The hour the period ends at | [optional]
+**PeriodEndMinutes** | **Number** | The minutes after the hour the period ends at | [optional]
+
+
+
+## Enum: DayOfTheWeekEnum
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/StorePreOrderConfigUpdatedEvent.md b/docs/StorePreOrderConfigUpdatedEvent.md
new file mode 100644
index 00000000..ab675429
--- /dev/null
+++ b/docs/StorePreOrderConfigUpdatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StorePreOrderConfigUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**PreOrderConfig** | [**PreOrderConfig**](PreOrderConfig.md) | | [optional]
+**OldPreOrderConfig** | [**PreOrderConfig**](PreOrderConfig.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StorePublishedEvent.md b/docs/StorePublishedEvent.md
new file mode 100644
index 00000000..6ba33f63
--- /dev/null
+++ b/docs/StorePublishedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StorePublishedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional] [readonly]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreServiceChargeUpdatedEvent.md b/docs/StoreServiceChargeUpdatedEvent.md
new file mode 100644
index 00000000..2b7c44cd
--- /dev/null
+++ b/docs/StoreServiceChargeUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreServiceChargeUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**ServiceCharge** | [**ServiceCharge**](ServiceCharge.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreStatistics.md b/docs/StoreStatistics.md
new file mode 100644
index 00000000..456683e0
--- /dev/null
+++ b/docs/StoreStatistics.md
@@ -0,0 +1,10 @@
+# Flipdish.StoreStatistics
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store Id | [optional]
+**Data** | [**[StoreDataPoint]**](StoreDataPoint.md) | Store Data Points | [optional]
+
+
diff --git a/docs/StoreSummary.md b/docs/StoreSummary.md
new file mode 100644
index 00000000..191441ac
--- /dev/null
+++ b/docs/StoreSummary.md
@@ -0,0 +1,252 @@
+# Flipdish.StoreSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Store identifier | [optional]
+**Name** | **String** | Store name | [optional]
+**MenuId** | **Number** | Stores menu identifier | [optional]
+**Metadata** | **{String: String}** | Store metadata | [optional]
+**Currency** | **String** | Currency which used by the Store | [optional]
+**Coordinates** | [**Coordinates**](Coordinates.md) | | [optional]
+**StoreTimezone** | **String** | Timezone of store | [optional]
+**StoreIanaTimezone** | **String** | IANA Timezone of store | [optional]
+**StoreGroupId** | **Number** | Store group id of store | [optional]
+**TaxId** | **String** | VAT number or generic Tax ID of the store | [optional]
+**PrettyAddress** | **String** | Address of the store | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/StoreTipUpdatedEvent.md b/docs/StoreTipUpdatedEvent.md
new file mode 100644
index 00000000..02361732
--- /dev/null
+++ b/docs/StoreTipUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.StoreTipUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Config** | [**UpdateTipConfiguration**](UpdateTipConfiguration.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreUnarchivedEvent.md b/docs/StoreUnarchivedEvent.md
new file mode 100644
index 00000000..0fa690c8
--- /dev/null
+++ b/docs/StoreUnarchivedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreUnarchivedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional] [readonly]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreUnpublishedEvent.md b/docs/StoreUnpublishedEvent.md
new file mode 100644
index 00000000..35983e81
--- /dev/null
+++ b/docs/StoreUnpublishedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreUnpublishedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional] [readonly]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreUpdatedEvent.md b/docs/StoreUpdatedEvent.md
new file mode 100644
index 00000000..da554d9f
--- /dev/null
+++ b/docs/StoreUpdatedEvent.md
@@ -0,0 +1,20 @@
+# Flipdish.StoreUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**OrgId** | **String** | Organisation Id | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional] [readonly]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Store** | [**Store**](Store.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/StoreValidationConfig.md b/docs/StoreValidationConfig.md
new file mode 100644
index 00000000..b2ae6dbe
--- /dev/null
+++ b/docs/StoreValidationConfig.md
@@ -0,0 +1,13 @@
+# Flipdish.StoreValidationConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Store identifier | [optional]
+**Name** | **String** | Name | [optional]
+**IsValid** | **Boolean** | Is Store Valid for Kiosk | [optional]
+**StoreGroupId** | **Number** | Store group Id | [optional]
+**ConfigValidation** | [**StoreConfig**](StoreConfig.md) | | [optional]
+
+
diff --git a/docs/StoresApi.md b/docs/StoresApi.md
new file mode 100644
index 00000000..099c93ef
--- /dev/null
+++ b/docs/StoresApi.md
@@ -0,0 +1,2078 @@
+# Flipdish.StoresApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**archiveStore**](StoresApi.md#archiveStore) | **POST** /api/v1.0/stores/{storeId}/archive |
+[**assignMenu**](StoresApi.md#assignMenu) | **POST** /api/v1.0/stores/{storeId}/menu/{menuId} |
+[**cloneStore**](StoresApi.md#cloneStore) | **POST** /api/v1.0/stores/{storeId}/clone |
+[**configureStoreServiceCharge**](StoresApi.md#configureStoreServiceCharge) | **POST** /api/v1.0/stores/{storeId}/servicecharge |
+[**createBusinessHoursOverrideByStoreId**](StoresApi.md#createBusinessHoursOverrideByStoreId) | **POST** /api/v1.0/stores/{storeId}/businesshoursoverrides |
+[**createStore**](StoresApi.md#createStore) | **POST** /api/v1.0/stores |
+[**createStoreInProperty**](StoresApi.md#createStoreInProperty) | **POST** /api/v1.0/properties/{propertyId}/stores |
+[**deleteBusinessHoursOverride**](StoresApi.md#deleteBusinessHoursOverride) | **DELETE** /api/v1.0/stores/{storeId}/businesshoursoverrides/{businessHoursOverrideId} |
+[**getBankAccountForStore**](StoresApi.md#getBankAccountForStore) | **GET** /api/v1.0/stores/{storeId}/bankaccount |
+[**getBusinessHours**](StoresApi.md#getBusinessHours) | **GET** /api/v1.0/stores/{storeId}/availability/{deliveryType} |
+[**getBusinessHoursOverrideByStoreId**](StoresApi.md#getBusinessHoursOverrideByStoreId) | **GET** /api/v1.0/stores/{storeId}/businesshoursoverrides |
+[**getEndOfDayReport**](StoresApi.md#getEndOfDayReport) | **GET** /api/v1.0/stores/{storeId}/endofdayreport |
+[**getPreOrderConfig**](StoresApi.md#getPreOrderConfig) | **GET** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType} |
+[**getPreOrderPreview**](StoresApi.md#getPreOrderPreview) | **GET** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/preview |
+[**getProcessingFeeConfigsByStoreId**](StoresApi.md#getProcessingFeeConfigsByStoreId) | **GET** /api/v1.0/stores/{storeId}/processingfeeconfigs |
+[**getProcessingFeeConfigsByStoreIdAndPaymentAccountType**](StoresApi.md#getProcessingFeeConfigsByStoreIdAndPaymentAccountType) | **GET** /api/v1.0/stores/{storeId}/processingfeeconfigs/{paymentAccountType} |
+[**getStoreById**](StoresApi.md#getStoreById) | **GET** /api/v1.0/stores/{storeId} |
+[**getStoreDeliveryFeeConfig**](StoresApi.md#getStoreDeliveryFeeConfig) | **GET** /api/v1.0/stores/{storeId}/feeConfig/deliveryZones |
+[**getStoreFeeConfig**](StoresApi.md#getStoreFeeConfig) | **GET** /api/v1.0/stores/{storeId}/feeConfig |
+[**getStoreHeadersByAppId**](StoresApi.md#getStoreHeadersByAppId) | **GET** /api/v1.0/{appId}/stores/header |
+[**getStoreLeadTimes**](StoresApi.md#getStoreLeadTimes) | **GET** /api/v1.0/stores/{storeId}/leadTimes |
+[**getStoreNetSales**](StoresApi.md#getStoreNetSales) | **GET** /api/v1.0/{appId}/stores/stats |
+[**getStoreServiceCharge**](StoresApi.md#getStoreServiceCharge) | **GET** /api/v1.0/stores/{storeId}/servicecharge |
+[**getStores**](StoresApi.md#getStores) | **GET** /api/v1.0/stores |
+[**getStoresByAppId**](StoresApi.md#getStoresByAppId) | **GET** /api/v1.0/{appId}/stores |
+[**getStoresByStoreIdWithValidations**](StoresApi.md#getStoresByStoreIdWithValidations) | **GET** /api/v1.0/{appId}/storevalidation/kiosk |
+[**publishStore**](StoresApi.md#publishStore) | **POST** /api/v1.0/stores/{storeId}/publish |
+[**putStoreDeliveryFeeConfig**](StoresApi.md#putStoreDeliveryFeeConfig) | **PUT** /api/v1.0/stores/{storeId}/feeConfig/deliveryZones |
+[**setBusinessHours**](StoresApi.md#setBusinessHours) | **POST** /api/v1.0/stores/{storeId}/availability/{deliveryType} |
+[**setPreOrdeEnabled**](StoresApi.md#setPreOrdeEnabled) | **POST** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/enabled |
+[**setStoreCollectionSettings**](StoresApi.md#setStoreCollectionSettings) | **POST** /api/v1.0/stores/{storeId}/collectionsettings |
+[**setStoreLeadTimes**](StoresApi.md#setStoreLeadTimes) | **POST** /api/v1.0/stores/{storeId}/leadTimes |
+[**storesSetPropertyId**](StoresApi.md#storesSetPropertyId) | **POST** /api/v1.0/stores/{storeId}/propertyId/{propertyId} |
+[**supportedSalesChannelsTypes**](StoresApi.md#supportedSalesChannelsTypes) | **POST** /api/v1.0/properties/{propertyId}/stores/{storeId}/supportedSalesChannels |
+[**unpublishStore**](StoresApi.md#unpublishStore) | **POST** /api/v1.0/stores/{storeId}/unpublish |
+[**updatePreOrderConfig**](StoresApi.md#updatePreOrderConfig) | **POST** /api/v1.0/stores/{storeId}/preorderconfig/{deliveryType} |
+[**updateStore**](StoresApi.md#updateStore) | **POST** /api/v1.0/stores/{storeId} |
+[**updateStoreAddress**](StoresApi.md#updateStoreAddress) | **POST** /api/v1.0/stores/{storeId}/address |
+[**updateStoreAddressCoordinates**](StoresApi.md#updateStoreAddressCoordinates) | **POST** /api/v1.0/stores/{storeId}/address/coordinates |
+[**updateStoreAddressForm**](StoresApi.md#updateStoreAddressForm) | **POST** /api/v1.0/stores/{storeId}/addressform |
+
+
+
+## archiveStore
+
+> archiveStore(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.archiveStore(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Data, application/json, text/json, application/xml, text/xml
+
+
+## assignMenu
+
+> RestApiArrayResultRestApiDefaultResponse assignMenu(storeId, menuId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let menuId = 56; // Number |
+apiInstance.assignMenu(storeId, menuId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **menuId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultRestApiDefaultResponse**](RestApiArrayResultRestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## cloneStore
+
+> RestApiResultStore cloneStore(storeId, settings)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let settings = new Flipdish.StoreCloneSettings(); // StoreCloneSettings |
+apiInstance.cloneStore(storeId, settings, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **settings** | [**StoreCloneSettings**](StoreCloneSettings.md)| |
+
+### Return type
+
+[**RestApiResultStore**](RestApiResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## configureStoreServiceCharge
+
+> RestApiResultServiceCharge configureStoreServiceCharge(storeId, serviceCharge)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let serviceCharge = new Flipdish.ServiceCharge(); // ServiceCharge |
+apiInstance.configureStoreServiceCharge(storeId, serviceCharge, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **serviceCharge** | [**ServiceCharge**](ServiceCharge.md)| |
+
+### Return type
+
+[**RestApiResultServiceCharge**](RestApiResultServiceCharge.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## createBusinessHoursOverrideByStoreId
+
+> RestApiResultBusinessHoursOverride createBusinessHoursOverrideByStoreId(storeId, businessHoursOverride)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let businessHoursOverride = new Flipdish.BusinessHoursOverrideBase(); // BusinessHoursOverrideBase |
+apiInstance.createBusinessHoursOverrideByStoreId(storeId, businessHoursOverride, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **businessHoursOverride** | [**BusinessHoursOverrideBase**](BusinessHoursOverrideBase.md)| |
+
+### Return type
+
+[**RestApiResultBusinessHoursOverride**](RestApiResultBusinessHoursOverride.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createStore
+
+> RestApiResultStore createStore(storeGroupId, store)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeGroupId = 56; // Number |
+let store = new Flipdish.StoreCreateBase(); // StoreCreateBase |
+apiInstance.createStore(storeGroupId, store, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeGroupId** | **Number**| |
+ **store** | [**StoreCreateBase**](StoreCreateBase.md)| |
+
+### Return type
+
+[**RestApiResultStore**](RestApiResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createStoreInProperty
+
+> RestApiResultStore createStoreInProperty(storeGroupId, propertyId, store, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeGroupId = 56; // Number |
+let propertyId = "propertyId_example"; // String |
+let store = new Flipdish.StoreCreateBase(); // StoreCreateBase |
+let opts = {
+ 'autoAssignMenu': true // Boolean |
+};
+apiInstance.createStoreInProperty(storeGroupId, propertyId, store, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeGroupId** | **Number**| |
+ **propertyId** | **String**| |
+ **store** | [**StoreCreateBase**](StoreCreateBase.md)| |
+ **autoAssignMenu** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiResultStore**](RestApiResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteBusinessHoursOverride
+
+> RestApiArrayResultRestApiDefaultResponse deleteBusinessHoursOverride(storeId, businessHoursOverrideId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let businessHoursOverrideId = 56; // Number |
+apiInstance.deleteBusinessHoursOverride(storeId, businessHoursOverrideId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **businessHoursOverrideId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultRestApiDefaultResponse**](RestApiArrayResultRestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getBankAccountForStore
+
+> RestApiResultAssignedBankAccount getBankAccountForStore(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.getBankAccountForStore(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultAssignedBankAccount**](RestApiResultAssignedBankAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getBusinessHours
+
+> RestApiArrayResultBusinessHoursPeriod getBusinessHours(storeId, deliveryType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+apiInstance.getBusinessHours(storeId, deliveryType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultBusinessHoursPeriod**](RestApiArrayResultBusinessHoursPeriod.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getBusinessHoursOverrideByStoreId
+
+> RestApiPaginationResultBusinessHoursOverride getBusinessHoursOverrideByStoreId(storeId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let opts = {
+ 'after': new Date("2013-10-20T19:20:30+01:00"), // Date |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getBusinessHoursOverrideByStoreId(storeId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **after** | **Date**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultBusinessHoursOverride**](RestApiPaginationResultBusinessHoursOverride.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getEndOfDayReport
+
+> RestApiResultStoreEndOfDayReport getEndOfDayReport(storeId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let opts = {
+ 'date': new Date("2013-10-20T19:20:30+01:00") // Date |
+};
+apiInstance.getEndOfDayReport(storeId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **date** | **Date**| | [optional]
+
+### Return type
+
+[**RestApiResultStoreEndOfDayReport**](RestApiResultStoreEndOfDayReport.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPreOrderConfig
+
+> RestApiResultPreOrderConfig getPreOrderConfig(storeId, deliveryType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+apiInstance.getPreOrderConfig(storeId, deliveryType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+
+### Return type
+
+[**RestApiResultPreOrderConfig**](RestApiResultPreOrderConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getPreOrderPreview
+
+> RestApiArrayResultPreOrderTime getPreOrderPreview(storeId, deliveryType, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+let opts = {
+ 'preOrderConfig_leadTimeMinutes': 56, // Number | Lead Time in Minutes
+ 'preOrderConfig_intervalMinutes': 56, // Number | Interval in minutes
+ 'preOrderConfig_maxOrderAheadDays': 56, // Number | Max Days to order ahead
+ 'preOrderConfig_includeAsap': true, // Boolean | Show ASAP as option
+ 'preOrderConfig_includeMoreGranularInitialTime': true, // Boolean | Granual Init' Time
+ 'preOrderConfig_cutOffTimePreviousDayBasic': "preOrderConfig_cutOffTimePreviousDayBasic_example", // String | Cut off time previous day
+ 'preOrderConfig_cutOffTimeCurrentDayBasic': "preOrderConfig_cutOffTimeCurrentDayBasic_example", // String | Cut off time current day
+ 'preOrderConfig_preOrderTimeDisplayType': "preOrderConfig_preOrderTimeDisplayType_example", // String | Type of time displayed.
+ 'preOrderConfig_alwaysAppearOpen': true, // Boolean | Specifies whether a customer can pre-order outside the store opening hours or not.
+ 'preOrderConfig_requireExplicitSelectAlways': true // Boolean | Force customer to select collection time.
+};
+apiInstance.getPreOrderPreview(storeId, deliveryType, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+ **preOrderConfig_leadTimeMinutes** | **Number**| Lead Time in Minutes | [optional]
+ **preOrderConfig_intervalMinutes** | **Number**| Interval in minutes | [optional]
+ **preOrderConfig_maxOrderAheadDays** | **Number**| Max Days to order ahead | [optional]
+ **preOrderConfig_includeAsap** | **Boolean**| Show ASAP as option | [optional]
+ **preOrderConfig_includeMoreGranularInitialTime** | **Boolean**| Granual Init' Time | [optional]
+ **preOrderConfig_cutOffTimePreviousDayBasic** | **String**| Cut off time previous day | [optional]
+ **preOrderConfig_cutOffTimeCurrentDayBasic** | **String**| Cut off time current day | [optional]
+ **preOrderConfig_preOrderTimeDisplayType** | **String**| Type of time displayed. | [optional]
+ **preOrderConfig_alwaysAppearOpen** | **Boolean**| Specifies whether a customer can pre-order outside the store opening hours or not. | [optional]
+ **preOrderConfig_requireExplicitSelectAlways** | **Boolean**| Force customer to select collection time. | [optional]
+
+### Return type
+
+[**RestApiArrayResultPreOrderTime**](RestApiArrayResultPreOrderTime.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getProcessingFeeConfigsByStoreId
+
+> RestApiArrayResultProcessingFeeConfig getProcessingFeeConfigsByStoreId(storeId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let opts = {
+ 'appNameId': "appNameId_example" // String |
+};
+apiInstance.getProcessingFeeConfigsByStoreId(storeId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **appNameId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultProcessingFeeConfig**](RestApiArrayResultProcessingFeeConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getProcessingFeeConfigsByStoreIdAndPaymentAccountType
+
+> RestApiResultProcessingFeeConfig getProcessingFeeConfigsByStoreIdAndPaymentAccountType(storeId, paymentAccountType, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let paymentAccountType = "paymentAccountType_example"; // String |
+let opts = {
+ 'appNameId': "appNameId_example" // String |
+};
+apiInstance.getProcessingFeeConfigsByStoreIdAndPaymentAccountType(storeId, paymentAccountType, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **paymentAccountType** | **String**| |
+ **appNameId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultProcessingFeeConfig**](RestApiResultProcessingFeeConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getStoreById
+
+> RestApiResultStore getStoreById(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.getStoreById(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultStore**](RestApiResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreDeliveryFeeConfig
+
+> RestApiArrayResultStoreDeliveryZoneFeeConfig getStoreDeliveryFeeConfig(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.getStoreDeliveryFeeConfig(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultStoreDeliveryZoneFeeConfig**](RestApiArrayResultStoreDeliveryZoneFeeConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreFeeConfig
+
+> StoreFeeConfig getStoreFeeConfig(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.getStoreFeeConfig(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**StoreFeeConfig**](StoreFeeConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, FeeConfigId, StoreId, StartTime, PercentFeeCardOrders, PercentFeeCashOrders, PercentFeeCardOrdersWeb, PercentFeeCashOrdersWeb, PercentFeeCardOrdersKiosk, PercentFeeCashOrdersKiosk, FixedFeeCardOrdersKiosk, FixedFeeCashOrdersKiosk, PercentFeeCardOrdersKioskChargedToCustomerIncludingVat, FixedFeeCardOrdersKioskChargedToCustomerIncludingVat, PercentFeeCashOrdersKioskChargedToCustomerIncludingVat, FixedFeeCashOrdersKioskChargedToCustomerIncludingVat, FixedFeeCardOrders, FixedFeeCashOrders, PercentFeeCardOrdersChargedToCustomerIncludingVat, FixedFeeCardOrdersChargedToCustomerIncludingVat, PercentFeeCashOrdersChargedToCustomerIncludingVat, FixedFeeCashOrdersChargedToCustomerIncludingVat, PercentFeeTips, PercentFeeTipsCollection, PercentFeeTipsDelivery, TaxRatePercent, PercentFeeCardOrdersLocationService, PercentFeeCashOrdersLocationService, FixedFeeCardOrdersLocationService, FixedFeeCashOrdersLocationService, PercentFeeCardOrdersLocationServiceChargedToCustomerIncludingVat, PercentFeeCashOrdersLocationServiceChargedToCustomerIncludingVat, FixedFeeCardOrdersLocationServiceChargedToCustomerIncludingVat, FixedFeeCashOrdersLocationServiceChargedToCustomerIncludingVat, PercentFeeDelivery, FixedFeeDelivery, PercentFeeCardPosTransaction, FixedFeeCardPosTransaction, PercentFeeOrderWithGoogle, FixedFeeOrderWithGoogle
+
+
+## getStoreHeadersByAppId
+
+> RestApiPaginationResultStoreHeader getStoreHeadersByAppId(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'storeNameQuery': "storeNameQuery_example", // String |
+ 'salesChannelType': "salesChannelType_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getStoreHeadersByAppId(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeNameQuery** | **String**| | [optional]
+ **salesChannelType** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultStoreHeader**](RestApiPaginationResultStoreHeader.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreLeadTimes
+
+> RestApiResultOrderLeadTimes getStoreLeadTimes(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.getStoreLeadTimes(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultOrderLeadTimes**](RestApiResultOrderLeadTimes.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreNetSales
+
+> RestApiArrayResultStoreStatistics getStoreNetSales(appId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let appId = "appId_example"; // String |
+let storeId = [null]; // [Number] |
+apiInstance.getStoreNetSales(appId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **storeId** | [**[Number]**](Number.md)| |
+
+### Return type
+
+[**RestApiArrayResultStoreStatistics**](RestApiArrayResultStoreStatistics.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoreServiceCharge
+
+> ServiceCharge getStoreServiceCharge(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.getStoreServiceCharge(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**ServiceCharge**](ServiceCharge.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, StoreId, PercentageValue, Enabled, IsOptional, DisplayWithProcessingFee, IncludesVouchers
+
+
+## getStores
+
+> RestApiPaginationResultStore getStores(opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let opts = {
+ 'searchQuery': "searchQuery_example", // String |
+ 'page': 56, // Number |
+ 'limit': 56, // Number |
+ 'storeGroupId': 56 // Number |
+};
+apiInstance.getStores(opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **searchQuery** | **String**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+ **storeGroupId** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultStore**](RestApiPaginationResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoresByAppId
+
+> RestApiPaginationResultStore getStoresByAppId(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'searchQuery': "searchQuery_example", // String |
+ 'salesChannelType': "salesChannelType_example", // String |
+ 'excludeUnpublished': true, // Boolean |
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getStoresByAppId(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **searchQuery** | **String**| | [optional]
+ **salesChannelType** | **String**| | [optional]
+ **excludeUnpublished** | **Boolean**| | [optional]
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultStore**](RestApiPaginationResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getStoresByStoreIdWithValidations
+
+> RestApiPaginationResultStoreValidationConfig getStoresByStoreIdWithValidations(storeId, appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = [null]; // [Number] |
+let appId = "appId_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getStoresByStoreIdWithValidations(storeId, appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | [**[Number]**](Number.md)| |
+ **appId** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultStoreValidationConfig**](RestApiPaginationResultStoreValidationConfig.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## publishStore
+
+> publishStore(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.publishStore(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Data, application/json, text/json, application/xml, text/xml
+
+
+## putStoreDeliveryFeeConfig
+
+> putStoreDeliveryFeeConfig(storeId, feeConfigUpdateRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let feeConfigUpdateRequest = new Flipdish.StoreDeliveryZoneFeeConfigUpdateRequest(); // StoreDeliveryZoneFeeConfigUpdateRequest |
+apiInstance.putStoreDeliveryFeeConfig(storeId, feeConfigUpdateRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **feeConfigUpdateRequest** | [**StoreDeliveryZoneFeeConfigUpdateRequest**](StoreDeliveryZoneFeeConfigUpdateRequest.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Message, ErrorCode, StackTrace, application/json, text/json, application/xml, text/xml
+
+
+## setBusinessHours
+
+> RestApiResultBusinessHoursPeriod setBusinessHours(storeId, deliveryType, businessHoursPeriod)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+let businessHoursPeriod = new Flipdish.BusinessHoursPeriodBase(); // BusinessHoursPeriodBase |
+apiInstance.setBusinessHours(storeId, deliveryType, businessHoursPeriod, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+ **businessHoursPeriod** | [**BusinessHoursPeriodBase**](BusinessHoursPeriodBase.md)| |
+
+### Return type
+
+[**RestApiResultBusinessHoursPeriod**](RestApiResultBusinessHoursPeriod.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setPreOrdeEnabled
+
+> RestApiArrayResultRestApiDefaultResponse setPreOrdeEnabled(storeId, deliveryType, enabled)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+let enabled = true; // Boolean |
+apiInstance.setPreOrdeEnabled(storeId, deliveryType, enabled, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+ **enabled** | **Boolean**| |
+
+### Return type
+
+[**RestApiArrayResultRestApiDefaultResponse**](RestApiArrayResultRestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## setStoreCollectionSettings
+
+> RestApiResultRestApiDefaultResponse setStoreCollectionSettings(storeId, settings, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let settings = new Flipdish.StoreCollectionSettings(); // StoreCollectionSettings |
+let opts = {
+ 'inheritFromProperty': true // Boolean |
+};
+apiInstance.setStoreCollectionSettings(storeId, settings, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **settings** | [**StoreCollectionSettings**](StoreCollectionSettings.md)| |
+ **inheritFromProperty** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiResultRestApiDefaultResponse**](RestApiResultRestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## setStoreLeadTimes
+
+> RestApiResultOrderLeadTimes setStoreLeadTimes(storeId, leadTime)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let leadTime = new Flipdish.LeadTime(); // LeadTime |
+apiInstance.setStoreLeadTimes(storeId, leadTime, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **leadTime** | [**LeadTime**](LeadTime.md)| |
+
+### Return type
+
+[**RestApiResultOrderLeadTimes**](RestApiResultOrderLeadTimes.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## storesSetPropertyId
+
+> Object storesSetPropertyId(storeId, propertyId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let propertyId = "propertyId_example"; // String |
+apiInstance.storesSetPropertyId(storeId, propertyId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **propertyId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## supportedSalesChannelsTypes
+
+> supportedSalesChannelsTypes(propertyId, storeId, salesChannelTypes)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let propertyId = "propertyId_example"; // String |
+let storeId = 56; // Number |
+let salesChannelTypes = ["null"]; // [String] |
+apiInstance.supportedSalesChannelsTypes(propertyId, storeId, salesChannelTypes, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **propertyId** | **String**| |
+ **storeId** | **Number**| |
+ **salesChannelTypes** | [**[String]**](String.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## unpublishStore
+
+> unpublishStore(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+apiInstance.unpublishStore(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Data, application/json, text/json, application/xml, text/xml
+
+
+## updatePreOrderConfig
+
+> RestApiArrayResultRestApiDefaultResponse updatePreOrderConfig(storeId, deliveryType, preOrderConfig)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let deliveryType = "deliveryType_example"; // String |
+let preOrderConfig = new Flipdish.PreOrderConfig(); // PreOrderConfig |
+apiInstance.updatePreOrderConfig(storeId, deliveryType, preOrderConfig, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **deliveryType** | **String**| |
+ **preOrderConfig** | [**PreOrderConfig**](PreOrderConfig.md)| |
+
+### Return type
+
+[**RestApiArrayResultRestApiDefaultResponse**](RestApiArrayResultRestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateStore
+
+> RestApiResultStore updateStore(storeId, store)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let store = new Flipdish.StoreBase(); // StoreBase |
+apiInstance.updateStore(storeId, store, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **store** | [**StoreBase**](StoreBase.md)| |
+
+### Return type
+
+[**RestApiResultStore**](RestApiResultStore.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateStoreAddress
+
+> RestApiResultStoreAddress updateStoreAddress(storeId, storeAddress)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let storeAddress = new Flipdish.StoreAddressBase(); // StoreAddressBase |
+apiInstance.updateStoreAddress(storeId, storeAddress, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **storeAddress** | [**StoreAddressBase**](StoreAddressBase.md)| |
+
+### Return type
+
+[**RestApiResultStoreAddress**](RestApiResultStoreAddress.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateStoreAddressCoordinates
+
+> RestApiResultCoordinates updateStoreAddressCoordinates(storeId, coordinates, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let coordinates = new Flipdish.Coordinates(); // Coordinates |
+let opts = {
+ 'appNameId': "appNameId_example" // String |
+};
+apiInstance.updateStoreAddressCoordinates(storeId, coordinates, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **coordinates** | [**Coordinates**](Coordinates.md)| |
+ **appNameId** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultCoordinates**](RestApiResultCoordinates.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateStoreAddressForm
+
+> Object updateStoreAddressForm(storeId, address)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StoresApi();
+let storeId = 56; // Number |
+let address = new Flipdish.StoreAddressForm(); // StoreAddressForm |
+apiInstance.updateStoreAddressForm(storeId, address, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **address** | [**StoreAddressForm**](StoreAddressForm.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/Stream.md b/docs/Stream.md
new file mode 100644
index 00000000..f7b35e7a
--- /dev/null
+++ b/docs/Stream.md
@@ -0,0 +1,16 @@
+# Flipdish.Stream
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CanRead** | **Boolean** | | [optional] [readonly]
+**CanSeek** | **Boolean** | | [optional] [readonly]
+**CanTimeout** | **Boolean** | | [optional] [readonly]
+**CanWrite** | **Boolean** | | [optional] [readonly]
+**Length** | **Number** | | [optional] [readonly]
+**Position** | **Number** | | [optional]
+**ReadTimeout** | **Number** | | [optional]
+**WriteTimeout** | **Number** | | [optional]
+
+
diff --git a/docs/StripeAccountLinkRequest.md b/docs/StripeAccountLinkRequest.md
new file mode 100644
index 00000000..a2b6a1ad
--- /dev/null
+++ b/docs/StripeAccountLinkRequest.md
@@ -0,0 +1,34 @@
+# Flipdish.StripeAccountLinkRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StripeId** | **String** | Stripe's own connected account identifier | [optional]
+**ReturnUrl** | **String** | URL to be hit if link creation succeeds | [optional]
+**Collect** | **String** | Which information to collect from users at this stage | [optional]
+**Type** | **String** | Either onboarding or edit user information | [optional]
+
+
+
+## Enum: CollectEnum
+
+
+* `CurrentlyDue` (value: `"CurrentlyDue"`)
+
+* `EventuallyDue` (value: `"EventuallyDue"`)
+
+
+
+
+
+## Enum: TypeEnum
+
+
+* `Onboarding` (value: `"Onboarding"`)
+
+* `Update` (value: `"Update"`)
+
+
+
+
diff --git a/docs/StripeConnectedAccount.md b/docs/StripeConnectedAccount.md
new file mode 100644
index 00000000..a4263dab
--- /dev/null
+++ b/docs/StripeConnectedAccount.md
@@ -0,0 +1,69 @@
+# Flipdish.StripeConnectedAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FlipdishConnectedAccountId** | **Number** | Flipdish connected account identifier | [optional]
+**StripeId** | **String** | Stripe's own connected account identifier | [optional]
+**WhitelabelConfigId** | **Number** | Id of the WhitelabelConfig the connected account is assigned to | [optional]
+**CardPaymentsStatus** | **String** | Card payments capability status (Inactive, Pending, Active, Unrequested) | [optional]
+**TransfersStatus** | **String** | Transfers capability status (Inactive, Pending, Active, Unrequested) | [optional]
+**AccountStatus** | **String** | Current status of the account | [optional]
+**PayoutsEnabled** | **Boolean** | Payouts Enabled status | [optional]
+**PaymentsEnabled** | **Boolean** | Payments Enabled status | [optional]
+
+
+
+## Enum: CardPaymentsStatusEnum
+
+
+* `Inactive` (value: `"Inactive"`)
+
+* `Pending` (value: `"Pending"`)
+
+* `Active` (value: `"Active"`)
+
+* `Unrequested` (value: `"Unrequested"`)
+
+
+
+
+
+## Enum: TransfersStatusEnum
+
+
+* `Inactive` (value: `"Inactive"`)
+
+* `Pending` (value: `"Pending"`)
+
+* `Active` (value: `"Active"`)
+
+* `Unrequested` (value: `"Unrequested"`)
+
+
+
+
+
+## Enum: AccountStatusEnum
+
+
+* `Disabled` (value: `"Disabled"`)
+
+* `Enabled` (value: `"Enabled"`)
+
+* `AdditionalInformationRequired` (value: `"AdditionalInformationRequired"`)
+
+* `PendingVerification` (value: `"PendingVerification"`)
+
+* `Unverified` (value: `"Unverified"`)
+
+* `Rejected` (value: `"Rejected"`)
+
+* `UpdateExternalAccount` (value: `"UpdateExternalAccount"`)
+
+* `PlatformPaused` (value: `"PlatformPaused"`)
+
+
+
+
diff --git a/docs/StripeConnectedAccountInfo.md b/docs/StripeConnectedAccountInfo.md
new file mode 100644
index 00000000..cc537115
--- /dev/null
+++ b/docs/StripeConnectedAccountInfo.md
@@ -0,0 +1,68 @@
+# Flipdish.StripeConnectedAccountInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AccountStatus** | **String** | Stripe connected account status | [optional]
+**StripeId** | **String** | Stripe connected account id | [optional]
+**CardPaymentStatus** | **String** | Current status of the Card Payment capability of the account | [optional]
+**PayoutScheduleInterval** | **String** | Payouts Schedule Interval | [optional]
+**PayoutsEnabled** | **Boolean** | Payouts Enabled status | [optional]
+**PayoutsPaused** | **Boolean** | Flag indicating if payouts are paused | [optional]
+**PaymentsEnabled** | **Boolean** | Flag indicating if payments are enabled | [optional]
+
+
+
+## Enum: AccountStatusEnum
+
+
+* `Disabled` (value: `"Disabled"`)
+
+* `Enabled` (value: `"Enabled"`)
+
+* `AdditionalInformationRequired` (value: `"AdditionalInformationRequired"`)
+
+* `PendingVerification` (value: `"PendingVerification"`)
+
+* `Unverified` (value: `"Unverified"`)
+
+* `Rejected` (value: `"Rejected"`)
+
+* `UpdateExternalAccount` (value: `"UpdateExternalAccount"`)
+
+* `PlatformPaused` (value: `"PlatformPaused"`)
+
+
+
+
+
+## Enum: CardPaymentStatusEnum
+
+
+* `Inactive` (value: `"Inactive"`)
+
+* `Pending` (value: `"Pending"`)
+
+* `Active` (value: `"Active"`)
+
+* `Unrequested` (value: `"Unrequested"`)
+
+
+
+
+
+## Enum: PayoutScheduleIntervalEnum
+
+
+* `Manual` (value: `"Manual"`)
+
+* `Daily` (value: `"Daily"`)
+
+* `Weekly` (value: `"Weekly"`)
+
+* `Monthly` (value: `"Monthly"`)
+
+
+
+
diff --git a/docs/StripeCustomConnectApi.md b/docs/StripeCustomConnectApi.md
new file mode 100644
index 00000000..f2bac4bd
--- /dev/null
+++ b/docs/StripeCustomConnectApi.md
@@ -0,0 +1,466 @@
+# Flipdish.StripeCustomConnectApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createBankAccountAndConnectedAccount**](StripeCustomConnectApi.md#createBankAccountAndConnectedAccount) | **POST** /api/v1.0/{appId}/customconnect/bank-account |
+[**createStripeConnectedAccount**](StripeCustomConnectApi.md#createStripeConnectedAccount) | **POST** /api/v1.0/{appId}/customconnect/{bankAccountId}/create-update-account |
+[**createStripeConnectedAccountLink**](StripeCustomConnectApi.md#createStripeConnectedAccountLink) | **POST** /api/v1.0/{appId}/customconnect/{stripeConnectedAccountId}/create-account-link |
+[**getCustomConnect**](StripeCustomConnectApi.md#getCustomConnect) | **GET** /api/v1.0/{appId}/customconnect/{storeId} |
+[**getVerificationStatus**](StripeCustomConnectApi.md#getVerificationStatus) | **GET** /api/v1.0/{appId}/customconnect/verification-status |
+[**setBankAccountBusinessType**](StripeCustomConnectApi.md#setBankAccountBusinessType) | **POST** /api/v1.0/{appId}/customconnect/bank-account/{bankAccountId}/businesstype |
+[**stripeCustomConnectRefresh**](StripeCustomConnectApi.md#stripeCustomConnectRefresh) | **GET** /api/v1.0/{appId}/customconnect/refresh-link |
+[**updateBankAccountDetails**](StripeCustomConnectApi.md#updateBankAccountDetails) | **POST** /api/v1.0/{appId}/customconnect/{bankAccountId}/update-bank-account-details |
+[**updatePayoutSchedule**](StripeCustomConnectApi.md#updatePayoutSchedule) | **POST** /api/v1.0/{appId}/customconnect/update-payout-schedule/{stripeConnectedAccountId}/{interval} |
+
+
+
+## createBankAccountAndConnectedAccount
+
+> RestApiResultBankAccountDetail createBankAccountAndConnectedAccount(appId, account)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let account = new Flipdish.BankAccountCreate(); // BankAccountCreate |
+apiInstance.createBankAccountAndConnectedAccount(appId, account, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **account** | [**BankAccountCreate**](BankAccountCreate.md)| |
+
+### Return type
+
+[**RestApiResultBankAccountDetail**](RestApiResultBankAccountDetail.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createStripeConnectedAccount
+
+> RestApiResultStripeConnectedAccount createStripeConnectedAccount(appId, bankAccountId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+apiInstance.createStripeConnectedAccount(appId, bankAccountId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+
+### Return type
+
+[**RestApiResultStripeConnectedAccount**](RestApiResultStripeConnectedAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## createStripeConnectedAccountLink
+
+> RestApiResultStripeConnectedAccount createStripeConnectedAccountLink(appId, stripeConnectedAccountId, stripeAccountLinkRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let stripeConnectedAccountId = "stripeConnectedAccountId_example"; // String |
+let stripeAccountLinkRequest = new Flipdish.StripeAccountLinkRequest(); // StripeAccountLinkRequest |
+apiInstance.createStripeConnectedAccountLink(appId, stripeConnectedAccountId, stripeAccountLinkRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **stripeConnectedAccountId** | **String**| |
+ **stripeAccountLinkRequest** | [**StripeAccountLinkRequest**](StripeAccountLinkRequest.md)| |
+
+### Return type
+
+[**RestApiResultStripeConnectedAccount**](RestApiResultStripeConnectedAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getCustomConnect
+
+> RestApiArrayResultStripeCustomConnectedAccount getCustomConnect(storeId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let storeId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.getCustomConnect(storeId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultStripeCustomConnectedAccount**](RestApiArrayResultStripeCustomConnectedAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getVerificationStatus
+
+> RestApiResultStripeConnectedAccount getVerificationStatus(appId, stripeConnectedAccountId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let stripeConnectedAccountId = "stripeConnectedAccountId_example"; // String |
+apiInstance.getVerificationStatus(appId, stripeConnectedAccountId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **stripeConnectedAccountId** | **String**| |
+
+### Return type
+
+[**RestApiResultStripeConnectedAccount**](RestApiResultStripeConnectedAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setBankAccountBusinessType
+
+> RestApiResultBankAccountDetail setBankAccountBusinessType(appId, bankAccountId, businessType)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let businessType = "businessType_example"; // String |
+apiInstance.setBankAccountBusinessType(appId, bankAccountId, businessType, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **businessType** | **String**| |
+
+### Return type
+
+[**RestApiResultBankAccountDetail**](RestApiResultBankAccountDetail.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## stripeCustomConnectRefresh
+
+> Object stripeCustomConnectRefresh(linkRequestId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let linkRequestId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.stripeCustomConnectRefresh(linkRequestId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **linkRequestId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## updateBankAccountDetails
+
+> RestApiResultStripeConnectedAccount updateBankAccountDetails(appId, bankAccountId, updateRequest)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let bankAccountId = 56; // Number |
+let updateRequest = new Flipdish.BankAccountDetailsUpdateRequest(); // BankAccountDetailsUpdateRequest |
+apiInstance.updateBankAccountDetails(appId, bankAccountId, updateRequest, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **bankAccountId** | **Number**| |
+ **updateRequest** | [**BankAccountDetailsUpdateRequest**](BankAccountDetailsUpdateRequest.md)| |
+
+### Return type
+
+[**RestApiResultStripeConnectedAccount**](RestApiResultStripeConnectedAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updatePayoutSchedule
+
+> RestApiResultModelBase updatePayoutSchedule(appId, stripeConnectedAccountId, interval)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StripeCustomConnectApi();
+let appId = "appId_example"; // String |
+let stripeConnectedAccountId = "stripeConnectedAccountId_example"; // String |
+let interval = "interval_example"; // String |
+apiInstance.updatePayoutSchedule(appId, stripeConnectedAccountId, interval, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **stripeConnectedAccountId** | **String**| |
+ **interval** | **String**| |
+
+### Return type
+
+[**RestApiResultModelBase**](RestApiResultModelBase.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/StripeCustomConnectedAccount.md b/docs/StripeCustomConnectedAccount.md
new file mode 100644
index 00000000..f5f5606b
--- /dev/null
+++ b/docs/StripeCustomConnectedAccount.md
@@ -0,0 +1,66 @@
+# Flipdish.StripeCustomConnectedAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Physical Restaurant Id | [optional]
+**StripeId** | **String** | Stripe's own connected account identifier | [optional]
+**CardPaymentsStatus** | **String** | Card payments capability status (Inactive, Pending, Active, Unrequested) | [optional]
+**TransfersStatus** | **String** | Transfers capability status (Inactive, Pending, Active, Unrequested) | [optional]
+**AccountStatus** | **String** | Current status of the account | [optional]
+
+
+
+## Enum: CardPaymentsStatusEnum
+
+
+* `Inactive` (value: `"Inactive"`)
+
+* `Pending` (value: `"Pending"`)
+
+* `Active` (value: `"Active"`)
+
+* `Unrequested` (value: `"Unrequested"`)
+
+
+
+
+
+## Enum: TransfersStatusEnum
+
+
+* `Inactive` (value: `"Inactive"`)
+
+* `Pending` (value: `"Pending"`)
+
+* `Active` (value: `"Active"`)
+
+* `Unrequested` (value: `"Unrequested"`)
+
+
+
+
+
+## Enum: AccountStatusEnum
+
+
+* `Disabled` (value: `"Disabled"`)
+
+* `Enabled` (value: `"Enabled"`)
+
+* `AdditionalInformationRequired` (value: `"AdditionalInformationRequired"`)
+
+* `PendingVerification` (value: `"PendingVerification"`)
+
+* `Unverified` (value: `"Unverified"`)
+
+* `Rejected` (value: `"Rejected"`)
+
+* `UpdateExternalAccount` (value: `"UpdateExternalAccount"`)
+
+* `PlatformPaused` (value: `"PlatformPaused"`)
+
+
+
+
diff --git a/docs/StripeTerminalConnectionToken.md b/docs/StripeTerminalConnectionToken.md
new file mode 100644
index 00000000..1966dbce
--- /dev/null
+++ b/docs/StripeTerminalConnectionToken.md
@@ -0,0 +1,9 @@
+# Flipdish.StripeTerminalConnectionToken
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Token** | **String** | Connection Token | [optional]
+
+
diff --git a/docs/StripeTerminalLocation.md b/docs/StripeTerminalLocation.md
new file mode 100644
index 00000000..8265658c
--- /dev/null
+++ b/docs/StripeTerminalLocation.md
@@ -0,0 +1,9 @@
+# Flipdish.StripeTerminalLocation
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Location** | **String** | Registered location of the terminal | [optional]
+
+
diff --git a/docs/StuartApi.md b/docs/StuartApi.md
new file mode 100644
index 00000000..1da8e3ed
--- /dev/null
+++ b/docs/StuartApi.md
@@ -0,0 +1,206 @@
+# Flipdish.StuartApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**stuartCancelJob**](StuartApi.md#stuartCancelJob) | **DELETE** /api/v1.0/stuart/jobs/{jobId} |
+[**stuartGetJob**](StuartApi.md#stuartGetJob) | **GET** /api/v1.0/stuart/jobs/{jobId} |
+[**stuartGetStuartSettings**](StuartApi.md#stuartGetStuartSettings) | **GET** /api/v1.0/stuart/settings/{storeId} |
+[**stuartPostStuartSettings**](StuartApi.md#stuartPostStuartSettings) | **POST** /api/v1.0/stuart/settings/{storeId} |
+
+
+
+## stuartCancelJob
+
+> Object stuartCancelJob(jobId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StuartApi();
+let jobId = 56; // Number |
+let storeId = 56; // Number |
+apiInstance.stuartCancelJob(jobId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **jobId** | **Number**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## stuartGetJob
+
+> RestApiResultJobResponse stuartGetJob(jobId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StuartApi();
+let jobId = 56; // Number |
+let storeId = 56; // Number |
+apiInstance.stuartGetJob(jobId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **jobId** | **Number**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultJobResponse**](RestApiResultJobResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## stuartGetStuartSettings
+
+> RestApiResultStuartSettings stuartGetStuartSettings(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StuartApi();
+let storeId = 56; // Number |
+apiInstance.stuartGetStuartSettings(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultStuartSettings**](RestApiResultStuartSettings.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## stuartPostStuartSettings
+
+> Object stuartPostStuartSettings(storeId, stuartSettings)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.StuartApi();
+let storeId = 56; // Number |
+let stuartSettings = new Flipdish.StuartSettings(); // StuartSettings |
+apiInstance.stuartPostStuartSettings(storeId, stuartSettings, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **stuartSettings** | [**StuartSettings**](StuartSettings.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/StuartSettings.md b/docs/StuartSettings.md
new file mode 100644
index 00000000..777a30f2
--- /dev/null
+++ b/docs/StuartSettings.md
@@ -0,0 +1,56 @@
+# Flipdish.StuartSettings
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ClientId** | **String** | Client Id | [optional]
+**ClientSecret** | **String** | Client Secret | [optional]
+**Enabled** | **Boolean** | Enabled | [optional]
+**WebhookUrlBasicAuthentication** | **String** | Webhook url to settle in the Stuart portal | [optional]
+**OverrideWebhookUrl** | **Boolean** | Override Flipdish Webhook Url | [optional]
+**MinutesToPickupBeforeThanDeliveryTime** | **Number** | MinutesToPickupBeforeThanDeliveryTime | [optional]
+**PackageType** | **String** | Package type | [optional]
+**TransportType** | **String** | Transport type | [optional]
+**CancelOrderIfStuartCancelDelivery** | **Boolean** | Determines if Flipdish order should be cancel when Stuart cancels delivery | [optional]
+**TransportPrices** | [**StuartSettingsTransportPrices**](StuartSettingsTransportPrices.md) | | [optional]
+
+
+
+## Enum: PackageTypeEnum
+
+
+* `Xsmall` (value: `"Xsmall"`)
+
+* `Small` (value: `"Small"`)
+
+* `Medium` (value: `"Medium"`)
+
+* `Large` (value: `"Large"`)
+
+* `Xlarge` (value: `"Xlarge"`)
+
+
+
+
+
+## Enum: TransportTypeEnum
+
+
+* `Bike` (value: `"Bike"`)
+
+* `Cargobike` (value: `"Cargobike"`)
+
+* `Cargobikexl` (value: `"Cargobikexl"`)
+
+* `Motorbike` (value: `"Motorbike"`)
+
+* `Motorbikexl` (value: `"Motorbikexl"`)
+
+* `Car` (value: `"Car"`)
+
+* `Van` (value: `"Van"`)
+
+
+
+
diff --git a/docs/StuartSettingsTransportPrices.md b/docs/StuartSettingsTransportPrices.md
new file mode 100644
index 00000000..5874800d
--- /dev/null
+++ b/docs/StuartSettingsTransportPrices.md
@@ -0,0 +1,15 @@
+# Flipdish.StuartSettingsTransportPrices
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Bike** | **Number** | | [optional]
+**Cargobike** | **Number** | | [optional]
+**Cargobikexl** | **Number** | | [optional]
+**Motorbike** | **Number** | | [optional]
+**Motorbikexl** | **Number** | | [optional]
+**Car** | **Number** | | [optional]
+**Van** | **Number** | | [optional]
+
+
diff --git a/docs/Subscription.md b/docs/Subscription.md
new file mode 100644
index 00000000..fce124c9
--- /dev/null
+++ b/docs/Subscription.md
@@ -0,0 +1,276 @@
+# Flipdish.Subscription
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Products** | [**[SubscriptionProduct]**](SubscriptionProduct.md) | Products |
+**NextInvoiceAmount** | **Number** | Next invoice amount | [optional]
+**NextInvoiceBillingDate** | **Date** | Next invoice billing date | [optional]
+**UpcomingInvoiceItems** | [**[InvoiceItem]**](InvoiceItem.md) | Upcoming invoice items | [optional]
+**UpcomingInvoiceDiscounts** | [**[InvoiceDiscount]**](InvoiceDiscount.md) | Upcoming invoice discounts | [optional]
+**UpcomingInvoice** | [**UpcomingInvoice**](UpcomingInvoice.md) | | [optional]
+**SubscriptionId** | **String** | The subscription identifier |
+**Name** | **String** | |
+**Status** | **String** | Status |
+**Currency** | **String** | Currency |
+**User** | **String** | User |
+**DefaultPaymentDescription** | **String** | Default payment description | [optional]
+**CancellationRequestDate** | **Date** | Cancellation Date | [optional]
+**CancellationDate** | **Date** | Cancel Date | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `Incomplete` (value: `"Incomplete"`)
+
+* `IncompleteExpired` (value: `"IncompleteExpired"`)
+
+* `Trialing` (value: `"Trialing"`)
+
+* `Active` (value: `"Active"`)
+
+* `PastDue` (value: `"PastDue"`)
+
+* `Canceled` (value: `"Canceled"`)
+
+* `Unpaid` (value: `"Unpaid"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/SubscriptionInvoice.md b/docs/SubscriptionInvoice.md
new file mode 100644
index 00000000..518bf742
--- /dev/null
+++ b/docs/SubscriptionInvoice.md
@@ -0,0 +1,269 @@
+# Flipdish.SubscriptionInvoice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**InvoiceId** | **String** | The invoice identifier |
+**_Number** | **String** | Invoice number |
+**Total** | **Number** | Total | [optional]
+**Currency** | **String** | Currency |
+**Status** | **String** | Status |
+**SubscriptionId** | **String** | The subscription identifier | [optional]
+**PaidAt** | **Date** | Paid At | [optional]
+**FinalisedAt** | **Date** | Finalised At | [optional]
+**PdfLink** | **String** | Pdf Link |
+**HostedUrl** | **String** | Hosted Url |
+**Overdue** | **Boolean** | Overdue |
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: StatusEnum
+
+
+* `Draft` (value: `"Draft"`)
+
+* `Open` (value: `"Open"`)
+
+* `Paid` (value: `"Paid"`)
+
+* `UnCollectible` (value: `"UnCollectible"`)
+
+* `Void` (value: `"Void"`)
+
+
+
+
diff --git a/docs/SubscriptionProduct.md b/docs/SubscriptionProduct.md
new file mode 100644
index 00000000..6481c2ee
--- /dev/null
+++ b/docs/SubscriptionProduct.md
@@ -0,0 +1,30 @@
+# Flipdish.SubscriptionProduct
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ProductId** | **String** | Product Identifier |
+**Name** | **String** | Name |
+**Quantity** | **Number** | Quantity |
+**PricePerUnit** | **Number** | Price Per Unit | [optional]
+**PriceTotal** | **Number** | Price Total | [optional]
+**PaymentFrequency** | **String** | Payment Frequency |
+**Stores** | [**[SubscriptionStore]**](SubscriptionStore.md) | Stores | [optional]
+
+
+
+## Enum: PaymentFrequencyEnum
+
+
+* `day` (value: `"day"`)
+
+* `week` (value: `"week"`)
+
+* `month` (value: `"month"`)
+
+* `year` (value: `"year"`)
+
+
+
+
diff --git a/docs/SubscriptionStore.md b/docs/SubscriptionStore.md
new file mode 100644
index 00000000..e56fba47
--- /dev/null
+++ b/docs/SubscriptionStore.md
@@ -0,0 +1,10 @@
+# Flipdish.SubscriptionStore
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Store Id |
+**Name** | **String** | Name |
+
+
diff --git a/docs/SubscriptionSummary.md b/docs/SubscriptionSummary.md
new file mode 100644
index 00000000..9274efd0
--- /dev/null
+++ b/docs/SubscriptionSummary.md
@@ -0,0 +1,272 @@
+# Flipdish.SubscriptionSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**NextInvoiceAmount** | **Number** | Next invoice amount | [optional]
+**NextInvoiceBillingDate** | **Date** | Next invoice billing date | [optional]
+**SubscriptionId** | **String** | The subscription identifier |
+**Name** | **String** | |
+**Status** | **String** | Status |
+**Currency** | **String** | Currency |
+**User** | **String** | User |
+**DefaultPaymentDescription** | **String** | Default payment description | [optional]
+**CancellationRequestDate** | **Date** | Cancellation Date | [optional]
+**CancellationDate** | **Date** | Cancel Date | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `Incomplete` (value: `"Incomplete"`)
+
+* `IncompleteExpired` (value: `"IncompleteExpired"`)
+
+* `Trialing` (value: `"Trialing"`)
+
+* `Active` (value: `"Active"`)
+
+* `PastDue` (value: `"PastDue"`)
+
+* `Canceled` (value: `"Canceled"`)
+
+* `Unpaid` (value: `"Unpaid"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/SubscriptionsApi.md b/docs/SubscriptionsApi.md
new file mode 100644
index 00000000..5823cbb8
--- /dev/null
+++ b/docs/SubscriptionsApi.md
@@ -0,0 +1,166 @@
+# Flipdish.SubscriptionsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getSubscriptionById**](SubscriptionsApi.md#getSubscriptionById) | **GET** /api/v1.0/{appId}/subscriptions/{subscriptionId} |
+[**getSubscriptionsForApp**](SubscriptionsApi.md#getSubscriptionsForApp) | **GET** /api/v1.0/{appId}/subscriptions |
+[**hasCustomerGotPaymentMethodOnFile**](SubscriptionsApi.md#hasCustomerGotPaymentMethodOnFile) | **GET** /api/v1.0/{appId}/subscriptions/hasPaymentMethod |
+
+
+
+## getSubscriptionById
+
+> RestApiResultSubscription getSubscriptionById(appId, subscriptionId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SubscriptionsApi();
+let appId = "appId_example"; // String |
+let subscriptionId = "subscriptionId_example"; // String |
+apiInstance.getSubscriptionById(appId, subscriptionId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **subscriptionId** | **String**| |
+
+### Return type
+
+[**RestApiResultSubscription**](RestApiResultSubscription.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getSubscriptionsForApp
+
+> RestApiArrayResultSubscriptionSummary getSubscriptionsForApp(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SubscriptionsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'excludeNotOwnedSubscriptions': true, // Boolean |
+ 'storeId': [null], // [Number] |
+ 'excludeCancelledSubscriptions': true // Boolean |
+};
+apiInstance.getSubscriptionsForApp(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **excludeNotOwnedSubscriptions** | **Boolean**| | [optional]
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+ **excludeCancelledSubscriptions** | **Boolean**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultSubscriptionSummary**](RestApiArrayResultSubscriptionSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## hasCustomerGotPaymentMethodOnFile
+
+> RestApiResultHasPaymentMethodResponse hasCustomerGotPaymentMethodOnFile(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.SubscriptionsApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'email': "email_example" // String |
+};
+apiInstance.hasCustomerGotPaymentMethodOnFile(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **email** | **String**| | [optional]
+
+### Return type
+
+[**RestApiResultHasPaymentMethodResponse**](RestApiResultHasPaymentMethodResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/SupportedCountry.md b/docs/SupportedCountry.md
new file mode 100644
index 00000000..11dec157
--- /dev/null
+++ b/docs/SupportedCountry.md
@@ -0,0 +1,57 @@
+# Flipdish.SupportedCountry
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CountryCode** | **String** | Country code | [optional]
+**Name** | **String** | Nice display name for a country | [optional]
+**PhoneCode** | **Number** | Country internatinoal phone code prefix | [optional]
+**LanguageCode** | **String** | Language code | [optional]
+**LanguageName** | **String** | Language name | [optional]
+**OtpNumber** | **String** | The phone number provided to Store staff which, in conjunction with a one-time-code, will connect them to the customer. | [optional]
+**SupportNumber** | **String** | The store's support phone number, displayed to customers. | [optional]
+**AddressLayout** | **String** | Address layout format. This changes the layout of address entry forms on the web app, iOS and Android app and should be set based on local custom. | [optional]
+**PostCodeType** | **String** | Post code type | [optional]
+**SupportRegion** | **String** | Supported region. This is not used. | [optional]
+
+
+
+## Enum: AddressLayoutEnum
+
+
+* `BuildingFirst` (value: `"BuildingFirst"`)
+
+* `AddressFirst` (value: `"AddressFirst"`)
+
+* `FullStreetAddressFirst` (value: `"FullStreetAddressFirst"`)
+
+
+
+
+
+## Enum: PostCodeTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `PostCode` (value: `"PostCode"`)
+
+* `Zip` (value: `"Zip"`)
+
+
+
+
+
+## Enum: SupportRegionEnum
+
+
+* `Default` (value: `"Default"`)
+
+* `Spain` (value: `"Spain"`)
+
+* `Benelux` (value: `"Benelux"`)
+
+
+
+
diff --git a/docs/TaxItem.md b/docs/TaxItem.md
new file mode 100644
index 00000000..f5cc4ee0
--- /dev/null
+++ b/docs/TaxItem.md
@@ -0,0 +1,11 @@
+# Flipdish.TaxItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | The name of the tax item. | [optional]
+**Rate** | **Number** | The tax rate applied to the item. | [optional]
+**Amount** | **Number** | The amount of tax applied to the item. | [optional]
+
+
diff --git a/docs/TaxRate.md b/docs/TaxRate.md
new file mode 100644
index 00000000..29e23691
--- /dev/null
+++ b/docs/TaxRate.md
@@ -0,0 +1,11 @@
+# Flipdish.TaxRate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**Percentage** | **Number** | | [optional]
+**Total** | **Number** | | [optional]
+
+
diff --git a/docs/Teammate.md b/docs/Teammate.md
new file mode 100644
index 00000000..d5147be8
--- /dev/null
+++ b/docs/Teammate.md
@@ -0,0 +1,65 @@
+# Flipdish.Teammate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TeammateId** | **String** | Unique indentifier | [optional]
+**UserId** | **Number** | User ID of the teammate | [optional]
+**Name** | **String** | Name | [optional]
+**LastActivity** | **Date** | Last activity | [optional]
+**AppId** | **String** | Access level is for this App | [optional]
+**InvitationStatus** | **String** | Invitation status | [optional]
+**Email** | **String** | Email address | [optional]
+**AppAccessLevel** | **String** | App access level | [optional]
+**HasAccessToAllStores** | **Boolean** | The user has access to all stores for the app (including new stores that added later) | [optional]
+**StoreIds** | **[Number]** | Store IDs the user has access to (if HasAccessToAllStores is false) | [optional]
+**PropertyIds** | **[String]** | Property Ids the user has access to (if HasAccessToAllStores is false) | [optional]
+
+
+
+## Enum: InvitationStatusEnum
+
+
+* `Pending` (value: `"Pending"`)
+
+* `Accepted` (value: `"Accepted"`)
+
+* `Expired` (value: `"Expired"`)
+
+
+
+
+
+## Enum: AppAccessLevelEnum
+
+
+* `None` (value: `"None"`)
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+* `Onboarding` (value: `"Onboarding"`)
+
+* `Support` (value: `"Support"`)
+
+
+
+
diff --git a/docs/TeammateBase.md b/docs/TeammateBase.md
new file mode 100644
index 00000000..ce4ac6b9
--- /dev/null
+++ b/docs/TeammateBase.md
@@ -0,0 +1,45 @@
+# Flipdish.TeammateBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppAccessLevel** | **String** | App access level | [optional]
+**HasAccessToAllStores** | **Boolean** | The user has access to all stores for the app (including new stores that added later) | [optional]
+**StoreIds** | **[Number]** | Store IDs the user has access to (if HasAccessToAllStores is false) | [optional]
+**PropertyIds** | **[String]** | Property Ids the user has access to (if HasAccessToAllStores is false) | [optional]
+
+
+
+## Enum: AppAccessLevelEnum
+
+
+* `None` (value: `"None"`)
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+* `Onboarding` (value: `"Onboarding"`)
+
+* `Support` (value: `"Support"`)
+
+
+
+
diff --git a/docs/TeammateDeletedEvent.md b/docs/TeammateDeletedEvent.md
new file mode 100644
index 00000000..c8d75651
--- /dev/null
+++ b/docs/TeammateDeletedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.TeammateDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Teammate** | [**Teammate**](Teammate.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/TeammateInviteAcceptedEvent.md b/docs/TeammateInviteAcceptedEvent.md
new file mode 100644
index 00000000..e99d7f50
--- /dev/null
+++ b/docs/TeammateInviteAcceptedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.TeammateInviteAcceptedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Teammate** | [**Teammate**](Teammate.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/TeammateInviteSentEvent.md b/docs/TeammateInviteSentEvent.md
new file mode 100644
index 00000000..dcf964fd
--- /dev/null
+++ b/docs/TeammateInviteSentEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.TeammateInviteSentEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Teammate** | [**Teammate**](Teammate.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/TeammateUpdatedEvent.md b/docs/TeammateUpdatedEvent.md
new file mode 100644
index 00000000..95fde8c9
--- /dev/null
+++ b/docs/TeammateUpdatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.TeammateUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Teammate** | [**Teammate**](Teammate.md) | | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/TeammatesApi.md b/docs/TeammatesApi.md
new file mode 100644
index 00000000..41a7db67
--- /dev/null
+++ b/docs/TeammatesApi.md
@@ -0,0 +1,496 @@
+# Flipdish.TeammatesApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createTeammate**](TeammatesApi.md#createTeammate) | **POST** /api/v1.0/{appId}/teammates |
+[**deleteTeammate**](TeammatesApi.md#deleteTeammate) | **DELETE** /api/v1.0/{appId}/teammates/{id} |
+[**getTeammateByAppIdAndTeammateId**](TeammatesApi.md#getTeammateByAppIdAndTeammateId) | **GET** /api/v1.0/{appId}/teammates/{id} |
+[**getTeammatesByAppId**](TeammatesApi.md#getTeammatesByAppId) | **GET** /api/v1.0/{appId}/teammates |
+[**grantaccess**](TeammatesApi.md#grantaccess) | **POST** /api/v1.0/{appId}/teammates/grantaccess |
+[**redeemInvitation**](TeammatesApi.md#redeemInvitation) | **GET** /api/v1.0/{appId}/teammates/redeem/{otc} |
+[**teammatesAcceptInvitation**](TeammatesApi.md#teammatesAcceptInvitation) | **GET** /api/v1.0/{appId}/teammates/accept/{otc} |
+[**teammatesAcceptInvitations**](TeammatesApi.md#teammatesAcceptInvitations) | **POST** /api/v1.0/teammates/acceptInvitations |
+[**teammatesPendingInvitations**](TeammatesApi.md#teammatesPendingInvitations) | **GET** /api/v1.0/teammates/pending-invitations |
+[**updateTeammate**](TeammatesApi.md#updateTeammate) | **POST** /api/v1.0/{appId}/teammates/{id} |
+
+
+
+## createTeammate
+
+> RestApiResultTeammate createTeammate(appId, teammate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let appId = "appId_example"; // String |
+let teammate = new Flipdish.CreateTeammate(); // CreateTeammate |
+apiInstance.createTeammate(appId, teammate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **teammate** | [**CreateTeammate**](CreateTeammate.md)| |
+
+### Return type
+
+[**RestApiResultTeammate**](RestApiResultTeammate.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteTeammate
+
+> deleteTeammate(appId, id)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let appId = "appId_example"; // String |
+let id = "id_example"; // String |
+apiInstance.deleteTeammate(appId, id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **id** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## getTeammateByAppIdAndTeammateId
+
+> RestApiResultTeammate getTeammateByAppIdAndTeammateId(appId, id)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let appId = "appId_example"; // String |
+let id = "id_example"; // String |
+apiInstance.getTeammateByAppIdAndTeammateId(appId, id, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **id** | **String**| |
+
+### Return type
+
+[**RestApiResultTeammate**](RestApiResultTeammate.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getTeammatesByAppId
+
+> RestApiArrayResultTeammate getTeammatesByAppId(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let appId = "appId_example"; // String |
+apiInstance.getTeammatesByAppId(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiArrayResultTeammate**](RestApiArrayResultTeammate.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## grantaccess
+
+> Object grantaccess(appId, teammate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let appId = "appId_example"; // String |
+let teammate = new Flipdish.CreateTeammate(); // CreateTeammate |
+apiInstance.grantaccess(appId, teammate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **teammate** | [**CreateTeammate**](CreateTeammate.md)| |
+
+### Return type
+
+**Object**
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## redeemInvitation
+
+> RestApiResultRedeemInvitationResult redeemInvitation(otc, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let otc = "otc_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.redeemInvitation(otc, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **otc** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultRedeemInvitationResult**](RestApiResultRedeemInvitationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## teammatesAcceptInvitation
+
+> RestApiResultAcceptInvitationResult teammatesAcceptInvitation(otc, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let otc = "otc_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.teammatesAcceptInvitation(otc, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **otc** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultAcceptInvitationResult**](RestApiResultAcceptInvitationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## teammatesAcceptInvitations
+
+> RestApiArrayResultRedeemInvitationResult teammatesAcceptInvitations()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+apiInstance.teammatesAcceptInvitations((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiArrayResultRedeemInvitationResult**](RestApiArrayResultRedeemInvitationResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## teammatesPendingInvitations
+
+> RestApiArrayResultPendingInvitation teammatesPendingInvitations()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+apiInstance.teammatesPendingInvitations((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiArrayResultPendingInvitation**](RestApiArrayResultPendingInvitation.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## updateTeammate
+
+> RestApiResultTeammate updateTeammate(appId, id, teammate)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TeammatesApi();
+let appId = "appId_example"; // String |
+let id = "id_example"; // String |
+let teammate = new Flipdish.TeammateBase(); // TeammateBase |
+apiInstance.updateTeammate(appId, id, teammate, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **id** | **String**| |
+ **teammate** | [**TeammateBase**](TeammateBase.md)| |
+
+### Return type
+
+[**RestApiResultTeammate**](RestApiResultTeammate.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
diff --git a/docs/TelemetrySeriesProperty.md b/docs/TelemetrySeriesProperty.md
new file mode 100644
index 00000000..332bb1ed
--- /dev/null
+++ b/docs/TelemetrySeriesProperty.md
@@ -0,0 +1,13 @@
+# Flipdish.TelemetrySeriesProperty
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**Type** | **String** | | [optional]
+**IntValues** | **[Number]** | | [optional]
+**StringValues** | **[String]** | | [optional]
+**DoubleValues** | **[Number]** | | [optional]
+
+
diff --git a/docs/TelemetrySeriesQueryParameters.md b/docs/TelemetrySeriesQueryParameters.md
new file mode 100644
index 00000000..689d7923
--- /dev/null
+++ b/docs/TelemetrySeriesQueryParameters.md
@@ -0,0 +1,12 @@
+# Flipdish.TelemetrySeriesQueryParameters
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**KioskId** | **String** | | [optional]
+**Variables** | **[String]** | | [optional]
+**StartDate** | **Date** | | [optional]
+**EndDate** | **Date** | | [optional]
+
+
diff --git a/docs/TelemetrySeriesResult.md b/docs/TelemetrySeriesResult.md
new file mode 100644
index 00000000..15996375
--- /dev/null
+++ b/docs/TelemetrySeriesResult.md
@@ -0,0 +1,10 @@
+# Flipdish.TelemetrySeriesResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Timestamps** | **[Date]** | | [optional]
+**Properties** | [**[TelemetrySeriesProperty]**](TelemetrySeriesProperty.md) | | [optional]
+
+
diff --git a/docs/TelephonyConfig.md b/docs/TelephonyConfig.md
new file mode 100644
index 00000000..4ca44154
--- /dev/null
+++ b/docs/TelephonyConfig.md
@@ -0,0 +1,29 @@
+# Flipdish.TelephonyConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TelephonyConfigId** | **Number** | ID of the phone call | [optional]
+**ApmEnabled** | **Boolean** | APM enabled flag | [optional]
+**Type** | **String** | Type of telephony service | [optional]
+**ConsentEnabled** | **Boolean** | Consent enabled flag | [optional]
+**PhoneNumber** | **String** | APM phone number of the store | [optional]
+**SendAppLinkSms** | **Boolean** | Send app link SMS flag | [optional]
+**UseCustomAppLinkSmsMessage** | **Boolean** | Use custom app link SMS message flag | [optional]
+**UseCustomVoiceMessage** | **Boolean** | Use custom voice message flag | [optional]
+**AppLinkSmsMessage** | **String** | App link SMS message | [optional]
+**ResendApmMessageAfterDays** | **Number** | Amount of days to resend APM message | [optional]
+
+
+
+## Enum: TypeEnum
+
+
+* `PreRecorded` (value: `"PreRecorded"`)
+
+* `VoiceAI` (value: `"VoiceAI"`)
+
+
+
+
diff --git a/docs/TelephonyConfigUpdatedEvent.md b/docs/TelephonyConfigUpdatedEvent.md
new file mode 100644
index 00000000..b07f32f3
--- /dev/null
+++ b/docs/TelephonyConfigUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.TelephonyConfigUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**TelephonyConfig** | [**TelephonyConfig**](TelephonyConfig.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/TerminalIotApi.md b/docs/TerminalIotApi.md
new file mode 100644
index 00000000..22707e70
--- /dev/null
+++ b/docs/TerminalIotApi.md
@@ -0,0 +1,52 @@
+# Flipdish.TerminalIotApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**getTerminalIotConnection**](TerminalIotApi.md#getTerminalIotConnection) | **POST** /api/v1.0/terminaliot/connect |
+
+
+
+## getTerminalIotConnection
+
+> RestApiResultKioskIotConnectionParameters getTerminalIotConnection()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TerminalIotApi();
+apiInstance.getTerminalIotConnection((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiResultKioskIotConnectionParameters**](RestApiResultKioskIotConnectionParameters.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/ThirdPartyFeesDetails.md b/docs/ThirdPartyFeesDetails.md
new file mode 100644
index 00000000..5e0ac9f1
--- /dev/null
+++ b/docs/ThirdPartyFeesDetails.md
@@ -0,0 +1,11 @@
+# Flipdish.ThirdPartyFeesDetails
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DeliveryIntegrationFee** | **Number** | Third party integration delivery fee | [optional]
+**DeliveryTipFee** | **Number** | Third party integration delivery tip fee | [optional]
+**TotalThirdPartyFees** | **Number** | Total third party integration fees | [optional]
+
+
diff --git a/docs/TipConfiguration.md b/docs/TipConfiguration.md
new file mode 100644
index 00000000..84baa931
--- /dev/null
+++ b/docs/TipConfiguration.md
@@ -0,0 +1,15 @@
+# Flipdish.TipConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**StoreId** | **Number** | Configuration is for this StoreId | [optional]
+**IsEnabled** | **Boolean** | Are tips enabled? | [optional]
+**AllowCustomTips** | **Boolean** | Are custom tips allowed? | [optional]
+**AllowRoundUp** | **Boolean** | Is round up allowed? | [optional]
+**AllowEmojis** | **Boolean** | Are emojis allowed? | [optional]
+**Percentages** | **[Number]** | Ordered list of tip breakpoints (smallest -> largest) | [optional]
+**DefaultPercentage** | **Number** | Defines a default percentage, it must be in the list of Percentages | [optional]
+
+
diff --git a/docs/TipsApi.md b/docs/TipsApi.md
new file mode 100644
index 00000000..3f17ecc0
--- /dev/null
+++ b/docs/TipsApi.md
@@ -0,0 +1,106 @@
+# Flipdish.TipsApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**tipConfigGet**](TipsApi.md#tipConfigGet) | **GET** /api/v1.0/stores/{storeId}/tipconfig |
+[**tipConfigUpsert**](TipsApi.md#tipConfigUpsert) | **POST** /api/v1.0/stores/{storeId}/tipconfig |
+
+
+
+## tipConfigGet
+
+> RestApiResultTipConfiguration tipConfigGet(storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TipsApi();
+let storeId = 56; // Number |
+apiInstance.tipConfigGet(storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiResultTipConfiguration**](RestApiResultTipConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## tipConfigUpsert
+
+> RestApiResultTipConfiguration tipConfigUpsert(storeId, updateConfig)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.TipsApi();
+let storeId = 56; // Number |
+let updateConfig = new Flipdish.UpdateTipConfiguration(); // UpdateTipConfiguration |
+apiInstance.tipConfigUpsert(storeId, updateConfig, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **storeId** | **Number**| |
+ **updateConfig** | [**UpdateTipConfiguration**](UpdateTipConfiguration.md)| |
+
+### Return type
+
+[**RestApiResultTipConfiguration**](RestApiResultTipConfiguration.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
diff --git a/docs/UnRegisterCardReaderRequest.md b/docs/UnRegisterCardReaderRequest.md
new file mode 100644
index 00000000..ca70ca7d
--- /dev/null
+++ b/docs/UnRegisterCardReaderRequest.md
@@ -0,0 +1,10 @@
+# Flipdish.UnRegisterCardReaderRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ReaderId** | **String** | Device card readerid |
+**KioskDeviceId** | **String** | The kiosk device id |
+
+
diff --git a/docs/UpcomingInvoice.md b/docs/UpcomingInvoice.md
new file mode 100644
index 00000000..876bb6e4
--- /dev/null
+++ b/docs/UpcomingInvoice.md
@@ -0,0 +1,16 @@
+# Flipdish.UpcomingInvoice
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Amount** | **Number** | Amount | [optional]
+**NextBillingDate** | **Date** | Next billing date | [optional]
+**Subtotal** | **Number** | Subtotal |
+**TotalExcludingTax** | **Number** | Total excluding tax | [optional]
+**AmountDue** | **Number** | Amount due |
+**Tax** | **Number** | Tax |
+**Items** | [**[InvoiceItem]**](InvoiceItem.md) | Items | [optional]
+**Discounts** | [**[InvoiceDiscount]**](InvoiceDiscount.md) | Discounts | [optional]
+
+
diff --git a/docs/UpdateAppStoreApp.md b/docs/UpdateAppStoreApp.md
new file mode 100644
index 00000000..77dddb98
--- /dev/null
+++ b/docs/UpdateAppStoreApp.md
@@ -0,0 +1,148 @@
+# Flipdish.UpdateAppStoreApp
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Details** | **String** | |
+**ConfigurationType** | **String** | |
+**StoreSelectorType** | **String** | |
+**FieldGroups** | [**[FieldGroup]**](FieldGroup.md) | | [optional]
+**SetupInstructions** | **String** | | [optional]
+**ExternalSetupLink** | **String** | | [optional]
+**TeammateAppAccessLevel** | **String** | | [optional]
+**PermissionsType** | **String** | |
+**Support** | [**AppStoreAppSupportInfo**](AppStoreAppSupportInfo.md) | | [optional]
+**ExternalFunctionActionUrl** | **String** | | [optional]
+**ExternalFunctionSignatureKey** | **String** | | [optional]
+**IsPaid** | **Boolean** | | [optional]
+**Name** | **String** | |
+**Description** | **String** | |
+**IsEnabled** | **Boolean** | | [optional]
+**Categories** | **[String]** | |
+**Countries** | **[String]** | |
+**DeveloperName** | **String** | | [optional]
+
+
+
+## Enum: ConfigurationTypeEnum
+
+
+* `ExternalLink` (value: `"ExternalLink"`)
+
+* `FlipdishHosted` (value: `"FlipdishHosted"`)
+
+
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
+
+## Enum: TeammateAppAccessLevelEnum
+
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManger` (value: `"FinanceManger"`)
+
+
+
+
+
+## Enum: PermissionsTypeEnum
+
+
+* `Teammate` (value: `"Teammate"`)
+
+
+
+
+
+## Enum: [CategoriesEnum]
+
+
+* `PointOfSale` (value: `"PointOfSale"`)
+
+* `DeliveryAndLogistics` (value: `"DeliveryAndLogistics"`)
+
+* `CRM` (value: `"CRM"`)
+
+* `GiftCard` (value: `"GiftCard"`)
+
+* `Accounting` (value: `"Accounting"`)
+
+* `LoyaltyAndMarketing` (value: `"LoyaltyAndMarketing"`)
+
+* `Other` (value: `"Other"`)
+
+
+
+
+
+## Enum: [CountriesEnum]
+
+
+* `GB` (value: `"GB"`)
+
+* `IE` (value: `"IE"`)
+
+* `FR` (value: `"FR"`)
+
+* `ES` (value: `"ES"`)
+
+* `PT` (value: `"PT"`)
+
+* `IT` (value: `"IT"`)
+
+* `DE` (value: `"DE"`)
+
+* `PL` (value: `"PL"`)
+
+* `BE` (value: `"BE"`)
+
+* `LU` (value: `"LU"`)
+
+* `NL` (value: `"NL"`)
+
+* `US` (value: `"US"`)
+
+* `CA` (value: `"CA"`)
+
+* `BG` (value: `"BG"`)
+
+* `MX` (value: `"MX"`)
+
+* `AU` (value: `"AU"`)
+
+* `NZ` (value: `"NZ"`)
+
+
+
+
diff --git a/docs/UpdateAppStoreAppConfiguration.md b/docs/UpdateAppStoreAppConfiguration.md
new file mode 100644
index 00000000..d688f1d4
--- /dev/null
+++ b/docs/UpdateAppStoreAppConfiguration.md
@@ -0,0 +1,11 @@
+# Flipdish.UpdateAppStoreAppConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsEnabled** | **Boolean** | |
+**StoreIds** | **[Number]** | | [optional]
+**Settings** | [**[Setting]**](Setting.md) | | [optional]
+
+
diff --git a/docs/UpdateAppStoreAppConfigurationValuesBatch.md b/docs/UpdateAppStoreAppConfigurationValuesBatch.md
new file mode 100644
index 00000000..c360fdc2
--- /dev/null
+++ b/docs/UpdateAppStoreAppConfigurationValuesBatch.md
@@ -0,0 +1,9 @@
+# Flipdish.UpdateAppStoreAppConfigurationValuesBatch
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Settings** | [**[Setting]**](Setting.md) | | [optional]
+
+
diff --git a/docs/UpdateAppStoreAppConfigurationWebhookDTO.md b/docs/UpdateAppStoreAppConfigurationWebhookDTO.md
new file mode 100644
index 00000000..5d7c2653
--- /dev/null
+++ b/docs/UpdateAppStoreAppConfigurationWebhookDTO.md
@@ -0,0 +1,12 @@
+# Flipdish.UpdateAppStoreAppConfigurationWebhookDTO
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **String** | |
+**IsEnabled** | **Boolean** | |
+**StoreIds** | **[Number]** | | [optional]
+**Settings** | [**[Setting]**](Setting.md) | | [optional]
+
+
diff --git a/docs/UpdateAppStoreAppExternalProduct.md b/docs/UpdateAppStoreAppExternalProduct.md
new file mode 100644
index 00000000..897894f4
--- /dev/null
+++ b/docs/UpdateAppStoreAppExternalProduct.md
@@ -0,0 +1,9 @@
+# Flipdish.UpdateAppStoreAppExternalProduct
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ExternalProductId** | **String** | | [optional]
+
+
diff --git a/docs/UpdateCatalogGroupReference.md b/docs/UpdateCatalogGroupReference.md
new file mode 100644
index 00000000..c7358c8d
--- /dev/null
+++ b/docs/UpdateCatalogGroupReference.md
@@ -0,0 +1,20 @@
+# Flipdish.UpdateCatalogGroupReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogGroupId** | **String** | Identifier of the ProductId to use as SubProduct |
+**CatalogItemId** | **String** | Identifier of the ProductId to use as SubProduct | [optional]
+**GroupType** | **String** | Type of the SupProduct |
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/UpdateCatalogItem.md b/docs/UpdateCatalogItem.md
new file mode 100644
index 00000000..79582cc3
--- /dev/null
+++ b/docs/UpdateCatalogItem.md
@@ -0,0 +1,16 @@
+# Flipdish.UpdateCatalogItem
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Sku** | **String** | Stock Keeping Unit (SKU) | [optional]
+**Name** | **String** | Product name | [optional]
+**Description** | **String** | Product description | [optional]
+**Price** | **Number** | Product price | [optional]
+**ImageFileName** | **String** | Image File Name | [optional]
+**Alcohol** | **Boolean** | Product contains alcohol | [optional]
+**Groups** | [**[UpdateCatalogGroupReference]**](UpdateCatalogGroupReference.md) | Collection of groups associated with this item | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+
+
diff --git a/docs/UpdateDriverNotificationToken.md b/docs/UpdateDriverNotificationToken.md
new file mode 100644
index 00000000..a975285f
--- /dev/null
+++ b/docs/UpdateDriverNotificationToken.md
@@ -0,0 +1,9 @@
+# Flipdish.UpdateDriverNotificationToken
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PushNotificationsToken** | **String** | Push notifications token, cannot be null |
+
+
diff --git a/docs/UpdateDriverProfileModel.md b/docs/UpdateDriverProfileModel.md
new file mode 100644
index 00000000..08417b71
--- /dev/null
+++ b/docs/UpdateDriverProfileModel.md
@@ -0,0 +1,9 @@
+# Flipdish.UpdateDriverProfileModel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | The new name of the Driver. | [optional]
+
+
diff --git a/docs/UpdateFulfillmentStatesConfiguration.md b/docs/UpdateFulfillmentStatesConfiguration.md
new file mode 100644
index 00000000..a49a514c
--- /dev/null
+++ b/docs/UpdateFulfillmentStatesConfiguration.md
@@ -0,0 +1,27 @@
+# Flipdish.UpdateFulfillmentStatesConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OverwriteSystemTemplate** | **Boolean** | Set to true if a system configuration template is to be updated (permissions also needed) | [optional]
+**StoreIds** | **[Number]** | Stores id's | [optional]
+**StoreSelectorType** | **String** | Store Selector Type | [optional]
+**States** | [**[FulfillmentStatusConfigurationItem]**](FulfillmentStatusConfigurationItem.md) | Settings | [optional]
+**AutomaticTransitionsEnabled** | **Boolean** | Enable automatic transitions | [optional]
+**Name** | **String** | Name | [optional]
+
+
+
+## Enum: StoreSelectorTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Single` (value: `"Single"`)
+
+* `Multiple` (value: `"Multiple"`)
+
+
+
+
diff --git a/docs/UpdateGroup.md b/docs/UpdateGroup.md
new file mode 100644
index 00000000..52cf98bb
--- /dev/null
+++ b/docs/UpdateGroup.md
@@ -0,0 +1,16 @@
+# Flipdish.UpdateGroup
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Sku** | **String** | Stock Keeping Unit (SKU) | [optional]
+**Name** | **String** | Group name | [optional]
+**AutogenerateDisplayText** | **Boolean** | Autogenerate display text in ordering applications | [optional]
+**ImageFileName** | **String** | Image File Name | [optional]
+**MinSelectCount** | **Number** | Minimum number of items that the user has to select | [optional]
+**MaxSelectCount** | **Number** | Maximum number of items that the user has to select | [optional]
+**Products** | [**[UpdateProductReference]**](UpdateProductReference.md) | Collection of items associated with this group | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+
+
diff --git a/docs/UpdateGroupReference.md b/docs/UpdateGroupReference.md
new file mode 100644
index 00000000..3d90de3a
--- /dev/null
+++ b/docs/UpdateGroupReference.md
@@ -0,0 +1,19 @@
+# Flipdish.UpdateGroupReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Identifier of the ProductId to use as SubProduct |
+**GroupType** | **String** | Type of the SupProduct |
+
+
+
+## Enum: GroupTypeEnum
+
+
+* `ModifierGroup` (value: `"ModifierGroup"`)
+
+
+
+
diff --git a/docs/UpdateLocationArea.md b/docs/UpdateLocationArea.md
new file mode 100644
index 00000000..ea5a71bd
--- /dev/null
+++ b/docs/UpdateLocationArea.md
@@ -0,0 +1,11 @@
+# Flipdish.UpdateLocationArea
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**LocationAreaId** | **Number** | Location Area Id |
+**LocationAreaName** | **String** | Descriptive LocationArea name |
+**IsDeleted** | **Boolean** | Sets if the Location Area should be soft deleted or not | [optional]
+
+
diff --git a/docs/UpdateMetafieldDefinition.md b/docs/UpdateMetafieldDefinition.md
new file mode 100644
index 00000000..89971d52
--- /dev/null
+++ b/docs/UpdateMetafieldDefinition.md
@@ -0,0 +1,22 @@
+# Flipdish.UpdateMetafieldDefinition
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | Field Name | [optional]
+**Description** | **String** | Field Description | [optional]
+**Behaviors** | **[String]** | Enable Metafield Behaviors | [optional]
+
+
+
+## Enum: [BehaviorsEnum]
+
+
+* `SendToOrder` (value: `"SendToOrder"`)
+
+* `SendToMenu` (value: `"SendToMenu"`)
+
+
+
+
diff --git a/docs/UpdateMobileAppsSubmissionStatus.md b/docs/UpdateMobileAppsSubmissionStatus.md
new file mode 100644
index 00000000..24b85aa7
--- /dev/null
+++ b/docs/UpdateMobileAppsSubmissionStatus.md
@@ -0,0 +1,59 @@
+# Flipdish.UpdateMobileAppsSubmissionStatus
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**MobileAppsSubmissionStatusId** | **Number** | Mobile Apps Submission Status Id | [optional]
+**Type** | **String** | Mobile Type | [optional]
+**AppStatus** | **String** | Mobile App Status | [optional]
+**UpdateStatus** | **String** | Mobile App Status | [optional]
+**LastUpdateStatusTime** | **Date** | Mobile LastUpdateStatusTime | [optional]
+**Notes** | **String** | Mobile Notes | [optional]
+
+
+
+## Enum: TypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `Android` (value: `"Android"`)
+
+* `IOS` (value: `"IOS"`)
+
+
+
+
+
+## Enum: AppStatusEnum
+
+
+* `None` (value: `"None"`)
+
+* `Published` (value: `"Published"`)
+
+* `Unpublished` (value: `"Unpublished"`)
+
+
+
+
+
+## Enum: UpdateStatusEnum
+
+
+* `None` (value: `"None"`)
+
+* `Submitted` (value: `"Submitted"`)
+
+* `InReview` (value: `"InReview"`)
+
+* `Rejected` (value: `"Rejected"`)
+
+* `Approved` (value: `"Approved"`)
+
+* `Published` (value: `"Published"`)
+
+
+
+
diff --git a/docs/UpdatePayGreenConfigurationRequest.md b/docs/UpdatePayGreenConfigurationRequest.md
new file mode 100644
index 00000000..56145fa1
--- /dev/null
+++ b/docs/UpdatePayGreenConfigurationRequest.md
@@ -0,0 +1,10 @@
+# Flipdish.UpdatePayGreenConfigurationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Name** | **String** | | [optional]
+**AssignedStores** | **[Number]** | | [optional]
+
+
diff --git a/docs/UpdateProduct.md b/docs/UpdateProduct.md
new file mode 100644
index 00000000..778e70ff
--- /dev/null
+++ b/docs/UpdateProduct.md
@@ -0,0 +1,16 @@
+# Flipdish.UpdateProduct
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Sku** | **String** | Stock Keeping Unit (SKU) | [optional]
+**Name** | **String** | Product name | [optional]
+**Description** | **String** | Product description | [optional]
+**Price** | **Number** | Product price | [optional]
+**ImageFileName** | **String** | Image File Name | [optional]
+**Alcohol** | **Boolean** | Product contains alcohol | [optional]
+**Groups** | [**[UpdateGroupReference]**](UpdateGroupReference.md) | Collection of groups associated with this item | [optional]
+**Metafields** | [**[Metafield]**](Metafield.md) | Collection of metafields | [optional]
+
+
diff --git a/docs/UpdateProductReference.md b/docs/UpdateProductReference.md
new file mode 100644
index 00000000..42af7e18
--- /dev/null
+++ b/docs/UpdateProductReference.md
@@ -0,0 +1,22 @@
+# Flipdish.UpdateProductReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**CatalogItemId** | **String** | Identifier of the CatalogItemId to use as SubProduct |
+**ProductType** | **String** | Type of the SupProduct |
+**PreselectedQuantity** | **Number** | Quantity of the modifier that will be set when the parent product is placed in the basket | [optional]
+
+
+
+## Enum: ProductTypeEnum
+
+
+* `Product` (value: `"Product"`)
+
+* `Modifier` (value: `"Modifier"`)
+
+
+
+
diff --git a/docs/UpdateStorePayGreenConfigurationRequest.md b/docs/UpdateStorePayGreenConfigurationRequest.md
new file mode 100644
index 00000000..27d2df3e
--- /dev/null
+++ b/docs/UpdateStorePayGreenConfigurationRequest.md
@@ -0,0 +1,10 @@
+# Flipdish.UpdateStorePayGreenConfigurationRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Active** | **Boolean** | | [optional]
+**PayGreenConfigurationId** | **Number** | | [optional]
+
+
diff --git a/docs/UpdateTipConfiguration.md b/docs/UpdateTipConfiguration.md
new file mode 100644
index 00000000..1353a3c1
--- /dev/null
+++ b/docs/UpdateTipConfiguration.md
@@ -0,0 +1,14 @@
+# Flipdish.UpdateTipConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsEnabled** | **Boolean** | Are tips enabled? | [optional]
+**AllowCustomTips** | **Boolean** | Are custom tips allowed? | [optional]
+**AllowRoundUp** | **Boolean** | Is round up allowed? | [optional]
+**AllowEmojis** | **Boolean** | Are emojis allowed? | [optional]
+**Percentages** | **[Number]** | Ordered list of tip breakpoints (smallest -> largest) | [optional]
+**DefaultPercentage** | **Number** | Defines a default percentage, it must be in the list of Percentages | [optional]
+
+
diff --git a/docs/UpdateVoucher.md b/docs/UpdateVoucher.md
new file mode 100644
index 00000000..0d76b78d
--- /dev/null
+++ b/docs/UpdateVoucher.md
@@ -0,0 +1,75 @@
+# Flipdish.UpdateVoucher
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PromotionId** | **Number** | Promotion ID to update | [optional]
+**PromotionName** | **String** | The updated name of the promotion | [optional]
+**PromotionAwardMenuItemPublicIds** | **[String]** | The updated menu items that the promotion awards | [optional]
+**Code** | **String** | Voucher Code | [optional]
+**Description** | **String** | Voucher Description (Visible on printout) | [optional]
+**Stores** | **[Number]** | Stores that this voucher applies to | [optional]
+**ValidOnOrdersOver** | **Number** | Valid on orders on or above | [optional]
+**TakesPriority** | **Boolean** | Takes priority | [optional]
+**IsEnabled** | **Boolean** | Is voucher enabled | [optional]
+**IsAutomaticallyApplied** | **Boolean** | Is voucher automatically applied | [optional]
+**IncludeDeliveryFee** | **Boolean** | Include delivery fees | [optional]
+**IsValidForDeliveryOrders** | **Boolean** | Valid for delivery orders | [optional]
+**IsValidForPickupOrders** | **Boolean** | Valid for pickup orders | [optional]
+**IsValidForOrdersPayedOnline** | **Boolean** | Valid for orders payed online | [optional]
+**IsValidForOrdersPayedByCash** | **Boolean** | Valid for orders payed in cash | [optional]
+**IsValidForFirstOrderOnly** | **Boolean** | Valid only on the first order by the customer | [optional]
+**IsValidOncePerCustomer** | **Boolean** | Valid once per customer | [optional]
+**IsValidOnlyOnce** | **Boolean** | Valid only once, by any customer (once used cannot be used again by any other customer) | [optional]
+**IsDiscoverable** | **Boolean** | Enables the voucher to be offered in the Voucher Discoverability feature | [optional]
+**ForceDiscount** | **Boolean** | Force the discount to be applied which bypasses some menu restrictions | [optional]
+**StartDate** | **Date** | Voucher Starts On (Time in UTC) | [optional]
+**ExpiryDate** | **Date** | Voucher Expires On (Time in UTC) | [optional]
+**ChannelRestrictions** | **[String]** | Limit the channels this voucher can be used on | [optional]
+**ValidityPeriods** | [**[ValidityPeriod]**](ValidityPeriod.md) | Periods in which the voucher is valid. An empty list means the voucher is valid at all times. When updating the voucher, if this is set to null, the validity periods won't be updated. | [optional]
+**VoucherSubType** | **String** | Voucher Subtype | [optional]
+**CustomerId** | **Number** | Customer UserID | [optional]
+**MaxRedemptions** | **Number** | Maximum number of times the voucher can be redeemed (used) | [optional]
+
+
+
+## Enum: [ChannelRestrictionsEnum]
+
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
+
+## Enum: VoucherSubTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `SignUp` (value: `"SignUp"`)
+
+* `Loyalty` (value: `"Loyalty"`)
+
+* `Loyalty25` (value: `"Loyalty25"`)
+
+* `Retention` (value: `"Retention"`)
+
+* `SecondaryRetention` (value: `"SecondaryRetention"`)
+
+* `Custom` (value: `"Custom"`)
+
+
+
+
diff --git a/docs/UpdateVoucherUsage.md b/docs/UpdateVoucherUsage.md
new file mode 100644
index 00000000..554377b9
--- /dev/null
+++ b/docs/UpdateVoucherUsage.md
@@ -0,0 +1,11 @@
+# Flipdish.UpdateVoucherUsage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**IsUsed** | **Boolean** | Flag indicating whether the voucher is used | [optional]
+**UsedByCustomerId** | **Number** | Indicates Customer that used the voucher. | [optional]
+**TransactionKey** | **String** | An opaque string, to ensure idempotency. This allows for safely retrying requests without accidentally performing the same stamp operation twice. This will typically contain the the ID of the sale order. | [optional]
+
+
diff --git a/docs/UserAnsweredSignupQuestionsEvent.md b/docs/UserAnsweredSignupQuestionsEvent.md
new file mode 100644
index 00000000..9c177a91
--- /dev/null
+++ b/docs/UserAnsweredSignupQuestionsEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.UserAnsweredSignupQuestionsEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**SignupAnswers** | **String** | The users answers | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/UserCreatedEvent.md b/docs/UserCreatedEvent.md
new file mode 100644
index 00000000..fedd744a
--- /dev/null
+++ b/docs/UserCreatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.UserCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/UserDeletedEvent.md b/docs/UserDeletedEvent.md
new file mode 100644
index 00000000..27402a65
--- /dev/null
+++ b/docs/UserDeletedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.UserDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/UserEventInfo.md b/docs/UserEventInfo.md
new file mode 100644
index 00000000..97aa1add
--- /dev/null
+++ b/docs/UserEventInfo.md
@@ -0,0 +1,12 @@
+# Flipdish.UserEventInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**UserId** | **Number** | User Id | [optional]
+**UserName** | **String** | User Name | [optional]
+**UserPhoneNumber** | **String** | User Phone Number | [optional]
+**UserEmail** | **String** | User Email | [optional]
+
+
diff --git a/docs/UserFlipdishAccount.md b/docs/UserFlipdishAccount.md
new file mode 100644
index 00000000..65324133
--- /dev/null
+++ b/docs/UserFlipdishAccount.md
@@ -0,0 +1,10 @@
+# Flipdish.UserFlipdishAccount
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FlipdishAccountId** | **Number** | Flipdish Account Id | [optional]
+**Name** | **String** | Flipdish Account Name | [optional]
+
+
diff --git a/docs/UserInfo.md b/docs/UserInfo.md
new file mode 100644
index 00000000..e66d9cf6
--- /dev/null
+++ b/docs/UserInfo.md
@@ -0,0 +1,35 @@
+# Flipdish.UserInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PhoneNumber** | **String** | The user's phone number. | [optional]
+**Email** | **String** | The user's email address. | [optional]
+**EmailConfirmed** | **Boolean** | Indicates if the user's email address has been confirmed. | [optional]
+**PreventFromUsingCards** | **Boolean** | Indicates if the user is prevented from using cards. | [optional]
+**IsUserPhoneNumberBlocked** | **Boolean** | Indicates if the user's phone number is blocked. | [optional]
+**UserWhiteLabels** | [**[UserWhiteLabelInfo]**](UserWhiteLabelInfo.md) | List of white label information associated with the user. | [optional]
+**UserId** | **Number** | The unique identifier for the user. | [optional]
+**UserName** | **String** | The user's username. | [optional]
+**CustomerName** | **String** | The customer's name. | [optional]
+**HasLoggedIn** | **Boolean** | Indicates if the user has logged in. | [optional]
+**DisableAppRatingControl** | **Boolean** | Indicates if the app rating control is disabled for the user. | [optional]
+**GloballyOptedOut** | **Boolean** | Indicates if the user has globally opted out. | [optional]
+**CompletedOrderCount** | **Number** | The number of completed orders by the user. | [optional]
+**CancelledOrderCount** | **Number** | The number of cancelled orders by the user. | [optional]
+**OrderTotalValue** | **Number** | The total value of orders placed by the user. | [optional]
+**TsMostRecentOrder** | **Date** | The timestamp of the user's most recent order. | [optional]
+**TsFirstOrder** | **Date** | The timestamp of the user's first order. | [optional]
+**IsRestaurantUser** | **Boolean** | Indicates if the user is a restaurant user. | [optional]
+**Installs** | [**[AppInstall]**](AppInstall.md) | List of app installs associated with the user. | [optional]
+**DeliveryLocations** | [**[DeliveryLocation]**](DeliveryLocation.md) | List of delivery locations associated with the user. | [optional]
+**PaymentAccounts** | [**[PaymentAccount]**](PaymentAccount.md) | List of payment accounts associated with the user. | [optional]
+**LanguageId** | **String** | The language identifier for the user. | [optional]
+**CurrentLanguageName** | **String** | Current language name for the user. | [optional]
+**Languages** | [**[Language]**](Language.md) | Available languages that the user can choose from. | [optional]
+**SalesForceContactId** | **String** | The Salesforce contact ID for the user. | [optional]
+**StripeCustomerId** | **String** | The Stripe customer ID for the user. | [optional]
+**UserMonthlyCommissions** | [**[UserMonthlyCommission]**](UserMonthlyCommission.md) | User's monthly commissions. | [optional]
+
+
diff --git a/docs/UserLoginEvent.md b/docs/UserLoginEvent.md
new file mode 100644
index 00000000..a89bed1d
--- /dev/null
+++ b/docs/UserLoginEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.UserLoginEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/UserMonthlyCommission.md b/docs/UserMonthlyCommission.md
new file mode 100644
index 00000000..9befa4b0
--- /dev/null
+++ b/docs/UserMonthlyCommission.md
@@ -0,0 +1,246 @@
+# Flipdish.UserMonthlyCommission
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**UserId** | **Number** | The unique identifier of the user. | [optional]
+**MonthStart** | **Date** | The start date of the month for which the commission is calculated. | [optional]
+**CommissionAmount** | **Number** | The total commission amount for the user in the specified month. | [optional]
+**Currency** | **String** | The currency in which the commission is paid. | [optional]
+**IsoCurrency** | **String** | The ISO currency code for the commission currency. | [optional]
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
diff --git a/docs/UserNote.md b/docs/UserNote.md
new file mode 100644
index 00000000..bb30cd5e
--- /dev/null
+++ b/docs/UserNote.md
@@ -0,0 +1,15 @@
+# Flipdish.UserNote
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**UserNoteId** | **Number** | Identifier for the user note. | [optional]
+**UserId** | **Number** | User identifier associated with the note. | [optional]
+**Note** | **String** | Note content. | [optional]
+**TsCreate** | **Date** | Creation timestamp of the note. | [optional]
+**CreatedByUserId** | **Number** | Identifier of the user who created the note. | [optional]
+**CreatedByUserName** | **String** | Name of the user who created the note. | [optional]
+**CreatedByUserEmail** | **String** | Email of the user who created the note. | [optional]
+
+
diff --git a/docs/UserPasswordCreatedEvent.md b/docs/UserPasswordCreatedEvent.md
new file mode 100644
index 00000000..248d39fe
--- /dev/null
+++ b/docs/UserPasswordCreatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.UserPasswordCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/UserRole.md b/docs/UserRole.md
new file mode 100644
index 00000000..e6177978
--- /dev/null
+++ b/docs/UserRole.md
@@ -0,0 +1,10 @@
+# Flipdish.UserRole
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RolesUserIn** | **[String]** | Roles the user is in | [optional]
+**RolesUserNotIn** | **[String]** | Roles the user is not in | [optional]
+
+
diff --git a/docs/UserSearch.md b/docs/UserSearch.md
new file mode 100644
index 00000000..4f74779b
--- /dev/null
+++ b/docs/UserSearch.md
@@ -0,0 +1,32 @@
+# Flipdish.UserSearch
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | User Id | [optional]
+**PhoneNumber** | **String** | Phone Number | [optional]
+**Email** | **String** | Email | [optional]
+**CustomerName** | **String** | Customer Name | [optional]
+**HasLoggedIn** | **Boolean** | Has Logged In | [optional]
+**UserDiscriminator** | **String** | User Discriminator | [optional]
+**TsCreate** | **Date** | Timestamp Created | [optional]
+**WhiteLabelConfigs** | [**[UserWhiteLabelConfig]**](UserWhiteLabelConfig.md) | WhiteLabel Configs | [optional]
+**UserType** | **String** | User Type | [optional] [readonly]
+
+
+
+## Enum: UserDiscriminatorEnum
+
+
+* `All` (value: `"All"`)
+
+* `ApplicationUsers` (value: `"ApplicationUsers"`)
+
+* `RestaurantUsers` (value: `"RestaurantUsers"`)
+
+* `HydraUsers` (value: `"HydraUsers"`)
+
+
+
+
diff --git a/docs/UserStoreInfo.md b/docs/UserStoreInfo.md
new file mode 100644
index 00000000..9da1a440
--- /dev/null
+++ b/docs/UserStoreInfo.md
@@ -0,0 +1,11 @@
+# Flipdish.UserStoreInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PropertyId** | **String** | Property Id | [optional]
+**StoreId** | **Number** | Store Id | [optional]
+**StoreName** | **String** | Store Name | [optional]
+
+
diff --git a/docs/UserUpdatedEvent.md b/docs/UserUpdatedEvent.md
new file mode 100644
index 00000000..18d121e3
--- /dev/null
+++ b/docs/UserUpdatedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.UserUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/UserWhiteLabelConfig.md b/docs/UserWhiteLabelConfig.md
new file mode 100644
index 00000000..dbcc905a
--- /dev/null
+++ b/docs/UserWhiteLabelConfig.md
@@ -0,0 +1,44 @@
+# Flipdish.UserWhiteLabelConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Identifier | [optional]
+**ConfigId** | **Number** | WlConfigId | [optional]
+**AppId** | **String** | Brand Id | [optional]
+**Name** | **String** | WhiteLabel Name | [optional]
+**Level** | **String** | WhiteLabel Access Level | [optional]
+
+
+
+## Enum: LevelEnum
+
+
+* `None` (value: `"None"`)
+
+* `Owner` (value: `"Owner"`)
+
+* `StoreOwner` (value: `"StoreOwner"`)
+
+* `PropertyOwner` (value: `"PropertyOwner"`)
+
+* `ManagedOwner` (value: `"ManagedOwner"`)
+
+* `Integrator` (value: `"Integrator"`)
+
+* `PropertyManager` (value: `"PropertyManager"`)
+
+* `StoreManager` (value: `"StoreManager"`)
+
+* `StoreStaff` (value: `"StoreStaff"`)
+
+* `StoreReadOnlyAccess` (value: `"StoreReadOnlyAccess"`)
+
+* `FinanceManager` (value: `"FinanceManager"`)
+
+* `Support` (value: `"Support"`)
+
+
+
+
diff --git a/docs/UserWhiteLabelInfo.md b/docs/UserWhiteLabelInfo.md
new file mode 100644
index 00000000..239b92d6
--- /dev/null
+++ b/docs/UserWhiteLabelInfo.md
@@ -0,0 +1,11 @@
+# Flipdish.UserWhiteLabelInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WlConfigId** | **Number** | WhiteLabelConfig Id | [optional]
+**AppId** | **String** | Brand Id (AppId) | [optional]
+**WhiteLabelName** | **String** | WhiteLabel Name | [optional]
+
+
diff --git a/docs/UsersApi.md b/docs/UsersApi.md
new file mode 100644
index 00000000..a2c27ca6
--- /dev/null
+++ b/docs/UsersApi.md
@@ -0,0 +1,940 @@
+# Flipdish.UsersApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addUserNote**](UsersApi.md#addUserNote) | **POST** /api/v1.0/users/{userId}/AddUserNote |
+[**addUserToRole**](UsersApi.md#addUserToRole) | **POST** /api/v1.0/users/{userId}/AddUserToRole/{roleName} |
+[**anonymizeUser**](UsersApi.md#anonymizeUser) | **POST** /api/v1.0/users/{userId}/AnonymizeUser |
+[**blockUserPhoneNumber**](UsersApi.md#blockUserPhoneNumber) | **POST** /api/v1.0/users/{userId}/BlockUserPhoneNumber |
+[**getPreviousOrderCountForStore**](UsersApi.md#getPreviousOrderCountForStore) | **GET** /api/v1.0/users/{userId}/previousordercount/{storeId} |
+[**getRestaurantUserAccounts**](UsersApi.md#getRestaurantUserAccounts) | **GET** /api/v1.0/users/{userId}/RestaurantUserAccounts |
+[**getRestaurantUserStores**](UsersApi.md#getRestaurantUserStores) | **GET** /api/v1.0/users/{userId}/RestaurantUserStores |
+[**getRoles**](UsersApi.md#getRoles) | **GET** /api/v1.0/users/roles |
+[**getRolesAndUnassignedRoles**](UsersApi.md#getRolesAndUnassignedRoles) | **GET** /api/v1.0/users/{userId}/roles |
+[**getUserById**](UsersApi.md#getUserById) | **GET** /api/v1.0/users/{userId} |
+[**getUserNotes**](UsersApi.md#getUserNotes) | **GET** /api/v1.0/users/{userId}/UserNotes |
+[**markUserAsFraudulent**](UsersApi.md#markUserAsFraudulent) | **POST** /api/v1.0/users/{userId}/MarkUserAsFraudulent |
+[**markUserAsSuspicious**](UsersApi.md#markUserAsSuspicious) | **POST** /api/v1.0/users/{userId}/MarkUserAsSuspicious |
+[**removeUserFromRole**](UsersApi.md#removeUserFromRole) | **POST** /api/v1.0/users/{userId}/RemoveUserFromRole/{roleName} |
+[**resetMfa**](UsersApi.md#resetMfa) | **POST** /api/v1.0/users/{userId}/ResetMfa |
+[**searchUsers**](UsersApi.md#searchUsers) | **GET** /api/v1.0/users/search |
+[**setCustomerName**](UsersApi.md#setCustomerName) | **POST** /api/v1.0/users/{userId}/SetCustomerName |
+[**setUserLanguage**](UsersApi.md#setUserLanguage) | **POST** /api/v1.0/users/{userId}/SetLanguage/{languageId} |
+[**unblockUserPhoneNumber**](UsersApi.md#unblockUserPhoneNumber) | **POST** /api/v1.0/users/{userId}/UnblockUserPhoneNumber |
+
+
+
+## addUserNote
+
+> RestApiDefaultResponse addUserNote(userId, note)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+let note = "note_example"; // String |
+apiInstance.addUserNote(userId, note, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+ **note** | **String**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## addUserToRole
+
+> RestApiResultUserRole addUserToRole(userId, roleName)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+let roleName = "roleName_example"; // String |
+apiInstance.addUserToRole(userId, roleName, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+ **roleName** | **String**| |
+
+### Return type
+
+[**RestApiResultUserRole**](RestApiResultUserRole.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## anonymizeUser
+
+> RestApiDefaultResponse anonymizeUser(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.anonymizeUser(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## blockUserPhoneNumber
+
+> RestApiDefaultResponse blockUserPhoneNumber(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.blockUserPhoneNumber(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getPreviousOrderCountForStore
+
+> RestApiStringResult getPreviousOrderCountForStore(userId, storeId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+let storeId = 56; // Number |
+apiInstance.getPreviousOrderCountForStore(userId, storeId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+ **storeId** | **Number**| |
+
+### Return type
+
+[**RestApiStringResult**](RestApiStringResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getRestaurantUserAccounts
+
+> RestApiArrayResultUserFlipdishAccount getRestaurantUserAccounts(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.getRestaurantUserAccounts(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultUserFlipdishAccount**](RestApiArrayResultUserFlipdishAccount.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getRestaurantUserStores
+
+> RestApiArrayResultUserStoreInfo getRestaurantUserStores(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.getRestaurantUserStores(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultUserStoreInfo**](RestApiArrayResultUserStoreInfo.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getRoles
+
+> RestApiStringArrayResult getRoles()
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+apiInstance.getRoles((error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**RestApiStringArrayResult**](RestApiStringArrayResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getRolesAndUnassignedRoles
+
+> RestApiResultUserRole getRolesAndUnassignedRoles(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.getRolesAndUnassignedRoles(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiResultUserRole**](RestApiResultUserRole.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getUserById
+
+> RestApiResultUserInfo getUserById(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.getUserById(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiResultUserInfo**](RestApiResultUserInfo.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getUserNotes
+
+> RestApiArrayResultUserNote getUserNotes(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.getUserNotes(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiArrayResultUserNote**](RestApiArrayResultUserNote.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## markUserAsFraudulent
+
+> RestApiDefaultResponse markUserAsFraudulent(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.markUserAsFraudulent(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## markUserAsSuspicious
+
+> RestApiDefaultResponse markUserAsSuspicious(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.markUserAsSuspicious(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## removeUserFromRole
+
+> RestApiResultUserRole removeUserFromRole(userId, roleName)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+let roleName = "roleName_example"; // String |
+apiInstance.removeUserFromRole(userId, roleName, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+ **roleName** | **String**| |
+
+### Return type
+
+[**RestApiResultUserRole**](RestApiResultUserRole.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## resetMfa
+
+> RestApiDefaultResponse resetMfa(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.resetMfa(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## searchUsers
+
+> RestApiPaginationResultUserSearch searchUsers(searchQuery, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let searchQuery = "searchQuery_example"; // String |
+let opts = {
+ 'hasUserLoggedIn': true, // Boolean |
+ 'userDiscriminator': "userDiscriminator_example", // String |
+ 'searchIn': "searchIn_example", // String |
+ 'pageIndex': 56, // Number |
+ 'pageSize': 56 // Number |
+};
+apiInstance.searchUsers(searchQuery, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **searchQuery** | **String**| |
+ **hasUserLoggedIn** | **Boolean**| | [optional]
+ **userDiscriminator** | **String**| | [optional]
+ **searchIn** | **String**| | [optional]
+ **pageIndex** | **Number**| | [optional]
+ **pageSize** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultUserSearch**](RestApiPaginationResultUserSearch.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## setCustomerName
+
+> RestApiDefaultResponse setCustomerName(userId, customerName)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+let customerName = "customerName_example"; // String |
+apiInstance.setCustomerName(userId, customerName, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+ **customerName** | **String**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## setUserLanguage
+
+> RestApiDefaultResponse setUserLanguage(userId, languageId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+let languageId = "languageId_example"; // String |
+apiInstance.setUserLanguage(userId, languageId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+ **languageId** | **String**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## unblockUserPhoneNumber
+
+> RestApiDefaultResponse unblockUserPhoneNumber(userId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.UsersApi();
+let userId = 56; // Number |
+apiInstance.unblockUserPhoneNumber(userId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **userId** | **Number**| |
+
+### Return type
+
+[**RestApiDefaultResponse**](RestApiDefaultResponse.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
diff --git a/docs/ValidValue.md b/docs/ValidValue.md
new file mode 100644
index 00000000..a65c24de
--- /dev/null
+++ b/docs/ValidValue.md
@@ -0,0 +1,10 @@
+# Flipdish.ValidValue
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Code** | **String** | |
+**Name** | **String** | |
+
+
diff --git a/docs/ValidationErrorResult.md b/docs/ValidationErrorResult.md
new file mode 100644
index 00000000..7bab7247
--- /dev/null
+++ b/docs/ValidationErrorResult.md
@@ -0,0 +1,10 @@
+# Flipdish.ValidationErrorResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**FieldName** | **String** | Field name | [optional]
+**Errors** | **[String]** | List of errors relates to field | [optional]
+
+
diff --git a/docs/ValidityPeriod.md b/docs/ValidityPeriod.md
new file mode 100644
index 00000000..3721ad17
--- /dev/null
+++ b/docs/ValidityPeriod.md
@@ -0,0 +1,32 @@
+# Flipdish.ValidityPeriod
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DayOfWeek** | **String** | | [optional]
+**StartTime** | **String** | | [optional]
+**EndTime** | **String** | | [optional]
+
+
+
+## Enum: DayOfWeekEnum
+
+
+* `Sunday` (value: `"Sunday"`)
+
+* `Monday` (value: `"Monday"`)
+
+* `Tuesday` (value: `"Tuesday"`)
+
+* `Wednesday` (value: `"Wednesday"`)
+
+* `Thursday` (value: `"Thursday"`)
+
+* `Friday` (value: `"Friday"`)
+
+* `Saturday` (value: `"Saturday"`)
+
+
+
+
diff --git a/docs/Voucher.md b/docs/Voucher.md
new file mode 100644
index 00000000..ccb282ea
--- /dev/null
+++ b/docs/Voucher.md
@@ -0,0 +1,348 @@
+# Flipdish.Voucher
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher Id | [optional]
+**Status** | **String** | Voucher Status | [optional]
+**VoucherType** | **String** | Voucher Type | [optional]
+**Currency** | **String** | Currency of the voucher | [optional]
+**StoreNames** | **[String]** | Stores that this voucher applies to | [optional]
+**PromotionDetails** | [**PromotionDetails**](PromotionDetails.md) | | [optional]
+**CreditNoteDetails** | [**CreditNoteDetails**](CreditNoteDetails.md) | | [optional]
+**LumpDiscountDetails** | [**LumpDiscountDetails**](LumpDiscountDetails.md) | | [optional]
+**PercentDiscountDetails** | [**PercentDiscountDetails**](PercentDiscountDetails.md) | | [optional]
+**Code** | **String** | Voucher Code | [optional]
+**Description** | **String** | Voucher Description (Visible on printout) | [optional]
+**Stores** | **[Number]** | Stores that this voucher applies to | [optional]
+**ValidOnOrdersOver** | **Number** | Valid on orders on or above | [optional]
+**TakesPriority** | **Boolean** | Takes priority | [optional]
+**IsEnabled** | **Boolean** | Is voucher enabled | [optional]
+**IsAutomaticallyApplied** | **Boolean** | Is voucher automatically applied | [optional]
+**IncludeDeliveryFee** | **Boolean** | Include delivery fees | [optional]
+**IsValidForDeliveryOrders** | **Boolean** | Valid for delivery orders | [optional]
+**IsValidForPickupOrders** | **Boolean** | Valid for pickup orders | [optional]
+**IsValidForOrdersPayedOnline** | **Boolean** | Valid for orders payed online | [optional]
+**IsValidForOrdersPayedByCash** | **Boolean** | Valid for orders payed in cash | [optional]
+**IsValidForFirstOrderOnly** | **Boolean** | Valid only on the first order by the customer | [optional]
+**IsValidOncePerCustomer** | **Boolean** | Valid once per customer | [optional]
+**IsValidOnlyOnce** | **Boolean** | Valid only once, by any customer (once used cannot be used again by any other customer) | [optional]
+**IsDiscoverable** | **Boolean** | Enables the voucher to be offered in the Voucher Discoverability feature | [optional]
+**ForceDiscount** | **Boolean** | Force the discount to be applied which bypasses some menu restrictions | [optional]
+**StartDate** | **Date** | Voucher Starts On (Time in UTC) | [optional]
+**ExpiryDate** | **Date** | Voucher Expires On (Time in UTC) | [optional]
+**ChannelRestrictions** | **[String]** | Limit the channels this voucher can be used on | [optional]
+**ValidityPeriods** | [**[ValidityPeriod]**](ValidityPeriod.md) | Periods in which the voucher is valid. An empty list means the voucher is valid at all times. When updating the voucher, if this is set to null, the validity periods won't be updated. | [optional]
+**VoucherSubType** | **String** | Voucher Subtype | [optional]
+**CustomerId** | **Number** | Customer UserID | [optional]
+**MaxRedemptions** | **Number** | Maximum number of times the voucher can be redeemed (used) | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `Valid` (value: `"Valid"`)
+
+* `NotYetValid` (value: `"NotYetValid"`)
+
+* `Expired` (value: `"Expired"`)
+
+* `Used` (value: `"Used"`)
+
+* `Disabled` (value: `"Disabled"`)
+
+
+
+
+
+## Enum: VoucherTypeEnum
+
+
+* `PercentageDiscount` (value: `"PercentageDiscount"`)
+
+* `LumpDiscount` (value: `"LumpDiscount"`)
+
+* `AddItem` (value: `"AddItem"`)
+
+* `CreditNote` (value: `"CreditNote"`)
+
+* `FreeDelivery` (value: `"FreeDelivery"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: [ChannelRestrictionsEnum]
+
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
+
+## Enum: VoucherSubTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `SignUp` (value: `"SignUp"`)
+
+* `Loyalty` (value: `"Loyalty"`)
+
+* `Loyalty25` (value: `"Loyalty25"`)
+
+* `Retention` (value: `"Retention"`)
+
+* `SecondaryRetention` (value: `"SecondaryRetention"`)
+
+* `Custom` (value: `"Custom"`)
+
+
+
+
diff --git a/docs/VoucherAppliedEvent.md b/docs/VoucherAppliedEvent.md
new file mode 100644
index 00000000..fc42932d
--- /dev/null
+++ b/docs/VoucherAppliedEvent.md
@@ -0,0 +1,17 @@
+# Flipdish.VoucherAppliedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher Id | [optional]
+**EventName** | **String** | The event name | [optional]
+**OrderId** | **Number** | Order id | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/VoucherCreatedEvent.md b/docs/VoucherCreatedEvent.md
new file mode 100644
index 00000000..45e70516
--- /dev/null
+++ b/docs/VoucherCreatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.VoucherCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher Id | [optional]
+**EventName** | **String** | The event name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Voucher** | [**Voucher**](Voucher.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/VoucherDataPoint.md b/docs/VoucherDataPoint.md
new file mode 100644
index 00000000..8ff0b9bc
--- /dev/null
+++ b/docs/VoucherDataPoint.md
@@ -0,0 +1,11 @@
+# Flipdish.VoucherDataPoint
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**PeriodStart** | **Date** | Date from which the data point starts | [optional]
+**PeriodLengthInDays** | **Number** | The length in days that this data point covers | [optional]
+**Value** | **Number** | The value of this data point | [optional]
+
+
diff --git a/docs/VoucherDeletedEvent.md b/docs/VoucherDeletedEvent.md
new file mode 100644
index 00000000..3046ac36
--- /dev/null
+++ b/docs/VoucherDeletedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.VoucherDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher Id | [optional]
+**EventName** | **String** | The event name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Voucher** | [**Voucher**](Voucher.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/VoucherSummary.md b/docs/VoucherSummary.md
new file mode 100644
index 00000000..34a83251
--- /dev/null
+++ b/docs/VoucherSummary.md
@@ -0,0 +1,70 @@
+# Flipdish.VoucherSummary
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher Id | [optional]
+**Code** | **String** | Voucher Code | [optional]
+**Status** | **String** | Voucher Status | [optional]
+**VoucherType** | **String** | Voucher Type | [optional]
+**VoucherSubType** | **String** | Voucher Sub Type | [optional]
+**Description** | **String** | Voucher Description (Visible on printout) | [optional]
+**IsEnabled** | **Boolean** | Is voucher enabled | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `Valid` (value: `"Valid"`)
+
+* `NotYetValid` (value: `"NotYetValid"`)
+
+* `Expired` (value: `"Expired"`)
+
+* `Used` (value: `"Used"`)
+
+* `Disabled` (value: `"Disabled"`)
+
+
+
+
+
+## Enum: VoucherTypeEnum
+
+
+* `PercentageDiscount` (value: `"PercentageDiscount"`)
+
+* `LumpDiscount` (value: `"LumpDiscount"`)
+
+* `AddItem` (value: `"AddItem"`)
+
+* `CreditNote` (value: `"CreditNote"`)
+
+* `FreeDelivery` (value: `"FreeDelivery"`)
+
+
+
+
+
+## Enum: VoucherSubTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `SignUp` (value: `"SignUp"`)
+
+* `Loyalty` (value: `"Loyalty"`)
+
+* `Loyalty25` (value: `"Loyalty25"`)
+
+* `Retention` (value: `"Retention"`)
+
+* `SecondaryRetention` (value: `"SecondaryRetention"`)
+
+* `Custom` (value: `"Custom"`)
+
+
+
+
diff --git a/docs/VoucherUpdatedEvent.md b/docs/VoucherUpdatedEvent.md
new file mode 100644
index 00000000..b9eae71e
--- /dev/null
+++ b/docs/VoucherUpdatedEvent.md
@@ -0,0 +1,19 @@
+# Flipdish.VoucherUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**VoucherId** | **Number** | Voucher Id | [optional]
+**EventName** | **String** | The event name | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description | [optional]
+**Voucher** | [**Voucher**](Voucher.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/VoucherWithStats.md b/docs/VoucherWithStats.md
new file mode 100644
index 00000000..30bdb138
--- /dev/null
+++ b/docs/VoucherWithStats.md
@@ -0,0 +1,353 @@
+# Flipdish.VoucherWithStats
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TotalUsed** | **Number** | Total times the voucher was used | [optional]
+**TotalCustomers** | **Number** | Total amount of customers who used this voucher | [optional]
+**TotalAmountFromOrders** | **Number** | Total amount of money from orders | [optional]
+**TotalDiscounted** | **Number** | Total amount of money given away | [optional]
+**AverageOrderSize** | **Number** | Average Order Size | [optional]
+**VoucherId** | **Number** | Voucher Id | [optional]
+**Status** | **String** | Voucher Status | [optional]
+**VoucherType** | **String** | Voucher Type | [optional]
+**Currency** | **String** | Currency of the voucher | [optional]
+**StoreNames** | **[String]** | Stores that this voucher applies to | [optional]
+**PromotionDetails** | [**PromotionDetails**](PromotionDetails.md) | | [optional]
+**CreditNoteDetails** | [**CreditNoteDetails**](CreditNoteDetails.md) | | [optional]
+**LumpDiscountDetails** | [**LumpDiscountDetails**](LumpDiscountDetails.md) | | [optional]
+**PercentDiscountDetails** | [**PercentDiscountDetails**](PercentDiscountDetails.md) | | [optional]
+**Code** | **String** | Voucher Code | [optional]
+**Description** | **String** | Voucher Description (Visible on printout) | [optional]
+**Stores** | **[Number]** | Stores that this voucher applies to | [optional]
+**ValidOnOrdersOver** | **Number** | Valid on orders on or above | [optional]
+**TakesPriority** | **Boolean** | Takes priority | [optional]
+**IsEnabled** | **Boolean** | Is voucher enabled | [optional]
+**IsAutomaticallyApplied** | **Boolean** | Is voucher automatically applied | [optional]
+**IncludeDeliveryFee** | **Boolean** | Include delivery fees | [optional]
+**IsValidForDeliveryOrders** | **Boolean** | Valid for delivery orders | [optional]
+**IsValidForPickupOrders** | **Boolean** | Valid for pickup orders | [optional]
+**IsValidForOrdersPayedOnline** | **Boolean** | Valid for orders payed online | [optional]
+**IsValidForOrdersPayedByCash** | **Boolean** | Valid for orders payed in cash | [optional]
+**IsValidForFirstOrderOnly** | **Boolean** | Valid only on the first order by the customer | [optional]
+**IsValidOncePerCustomer** | **Boolean** | Valid once per customer | [optional]
+**IsValidOnlyOnce** | **Boolean** | Valid only once, by any customer (once used cannot be used again by any other customer) | [optional]
+**IsDiscoverable** | **Boolean** | Enables the voucher to be offered in the Voucher Discoverability feature | [optional]
+**ForceDiscount** | **Boolean** | Force the discount to be applied which bypasses some menu restrictions | [optional]
+**StartDate** | **Date** | Voucher Starts On (Time in UTC) | [optional]
+**ExpiryDate** | **Date** | Voucher Expires On (Time in UTC) | [optional]
+**ChannelRestrictions** | **[String]** | Limit the channels this voucher can be used on | [optional]
+**ValidityPeriods** | [**[ValidityPeriod]**](ValidityPeriod.md) | Periods in which the voucher is valid. An empty list means the voucher is valid at all times. When updating the voucher, if this is set to null, the validity periods won't be updated. | [optional]
+**VoucherSubType** | **String** | Voucher Subtype | [optional]
+**CustomerId** | **Number** | Customer UserID | [optional]
+**MaxRedemptions** | **Number** | Maximum number of times the voucher can be redeemed (used) | [optional]
+
+
+
+## Enum: StatusEnum
+
+
+* `Valid` (value: `"Valid"`)
+
+* `NotYetValid` (value: `"NotYetValid"`)
+
+* `Expired` (value: `"Expired"`)
+
+* `Used` (value: `"Used"`)
+
+* `Disabled` (value: `"Disabled"`)
+
+
+
+
+
+## Enum: VoucherTypeEnum
+
+
+* `PercentageDiscount` (value: `"PercentageDiscount"`)
+
+* `LumpDiscount` (value: `"LumpDiscount"`)
+
+* `AddItem` (value: `"AddItem"`)
+
+* `CreditNote` (value: `"CreditNote"`)
+
+* `FreeDelivery` (value: `"FreeDelivery"`)
+
+
+
+
+
+## Enum: CurrencyEnum
+
+
+* `EUR` (value: `"EUR"`)
+
+* `USD` (value: `"USD"`)
+
+* `GBP` (value: `"GBP"`)
+
+* `CAD` (value: `"CAD"`)
+
+* `AUD` (value: `"AUD"`)
+
+* `DJF` (value: `"DJF"`)
+
+* `ZAR` (value: `"ZAR"`)
+
+* `ETB` (value: `"ETB"`)
+
+* `AED` (value: `"AED"`)
+
+* `BHD` (value: `"BHD"`)
+
+* `DZD` (value: `"DZD"`)
+
+* `EGP` (value: `"EGP"`)
+
+* `IQD` (value: `"IQD"`)
+
+* `JOD` (value: `"JOD"`)
+
+* `KWD` (value: `"KWD"`)
+
+* `LBP` (value: `"LBP"`)
+
+* `LYD` (value: `"LYD"`)
+
+* `MAD` (value: `"MAD"`)
+
+* `OMR` (value: `"OMR"`)
+
+* `QAR` (value: `"QAR"`)
+
+* `SAR` (value: `"SAR"`)
+
+* `SYP` (value: `"SYP"`)
+
+* `TND` (value: `"TND"`)
+
+* `YER` (value: `"YER"`)
+
+* `CLP` (value: `"CLP"`)
+
+* `INR` (value: `"INR"`)
+
+* `AZN` (value: `"AZN"`)
+
+* `RUB` (value: `"RUB"`)
+
+* `BYN` (value: `"BYN"`)
+
+* `BGN` (value: `"BGN"`)
+
+* `NGN` (value: `"NGN"`)
+
+* `BDT` (value: `"BDT"`)
+
+* `CNY` (value: `"CNY"`)
+
+* `BAM` (value: `"BAM"`)
+
+* `CZK` (value: `"CZK"`)
+
+* `DKK` (value: `"DKK"`)
+
+* `CHF` (value: `"CHF"`)
+
+* `MVR` (value: `"MVR"`)
+
+* `BTN` (value: `"BTN"`)
+
+* `XCD` (value: `"XCD"`)
+
+* `BZD` (value: `"BZD"`)
+
+* `HKD` (value: `"HKD"`)
+
+* `IDR` (value: `"IDR"`)
+
+* `JMD` (value: `"JMD"`)
+
+* `MYR` (value: `"MYR"`)
+
+* `NZD` (value: `"NZD"`)
+
+* `PHP` (value: `"PHP"`)
+
+* `SGD` (value: `"SGD"`)
+
+* `TTD` (value: `"TTD"`)
+
+* `XDR` (value: `"XDR"`)
+
+* `ARS` (value: `"ARS"`)
+
+* `BOB` (value: `"BOB"`)
+
+* `COP` (value: `"COP"`)
+
+* `CRC` (value: `"CRC"`)
+
+* `CUP` (value: `"CUP"`)
+
+* `DOP` (value: `"DOP"`)
+
+* `GTQ` (value: `"GTQ"`)
+
+* `HNL` (value: `"HNL"`)
+
+* `MXN` (value: `"MXN"`)
+
+* `NIO` (value: `"NIO"`)
+
+* `PAB` (value: `"PAB"`)
+
+* `PEN` (value: `"PEN"`)
+
+* `PYG` (value: `"PYG"`)
+
+* `UYU` (value: `"UYU"`)
+
+* `VEF` (value: `"VEF"`)
+
+* `IRR` (value: `"IRR"`)
+
+* `XOF` (value: `"XOF"`)
+
+* `CDF` (value: `"CDF"`)
+
+* `XAF` (value: `"XAF"`)
+
+* `HTG` (value: `"HTG"`)
+
+* `ILS` (value: `"ILS"`)
+
+* `HRK` (value: `"HRK"`)
+
+* `HUF` (value: `"HUF"`)
+
+* `AMD` (value: `"AMD"`)
+
+* `ISK` (value: `"ISK"`)
+
+* `JPY` (value: `"JPY"`)
+
+* `GEL` (value: `"GEL"`)
+
+* `KZT` (value: `"KZT"`)
+
+* `KHR` (value: `"KHR"`)
+
+* `KRW` (value: `"KRW"`)
+
+* `KGS` (value: `"KGS"`)
+
+* `LAK` (value: `"LAK"`)
+
+* `MKD` (value: `"MKD"`)
+
+* `MNT` (value: `"MNT"`)
+
+* `BND` (value: `"BND"`)
+
+* `MMK` (value: `"MMK"`)
+
+* `NOK` (value: `"NOK"`)
+
+* `NPR` (value: `"NPR"`)
+
+* `PKR` (value: `"PKR"`)
+
+* `PLN` (value: `"PLN"`)
+
+* `AFN` (value: `"AFN"`)
+
+* `BRL` (value: `"BRL"`)
+
+* `MDL` (value: `"MDL"`)
+
+* `RON` (value: `"RON"`)
+
+* `RWF` (value: `"RWF"`)
+
+* `SEK` (value: `"SEK"`)
+
+* `LKR` (value: `"LKR"`)
+
+* `SOS` (value: `"SOS"`)
+
+* `ALL` (value: `"ALL"`)
+
+* `RSD` (value: `"RSD"`)
+
+* `KES` (value: `"KES"`)
+
+* `TJS` (value: `"TJS"`)
+
+* `THB` (value: `"THB"`)
+
+* `ERN` (value: `"ERN"`)
+
+* `TMT` (value: `"TMT"`)
+
+* `BWP` (value: `"BWP"`)
+
+* `TRY` (value: `"TRY"`)
+
+* `UAH` (value: `"UAH"`)
+
+* `UZS` (value: `"UZS"`)
+
+* `VND` (value: `"VND"`)
+
+* `MOP` (value: `"MOP"`)
+
+* `TWD` (value: `"TWD"`)
+
+* `BMD` (value: `"BMD"`)
+
+
+
+
+
+## Enum: [ChannelRestrictionsEnum]
+
+
+* `Ios` (value: `"Ios"`)
+
+* `Android` (value: `"Android"`)
+
+* `Web` (value: `"Web"`)
+
+* `Kiosk` (value: `"Kiosk"`)
+
+* `Pos` (value: `"Pos"`)
+
+* `Google` (value: `"Google"`)
+
+
+
+
+
+## Enum: VoucherSubTypeEnum
+
+
+* `None` (value: `"None"`)
+
+* `SignUp` (value: `"SignUp"`)
+
+* `Loyalty` (value: `"Loyalty"`)
+
+* `Loyalty25` (value: `"Loyalty25"`)
+
+* `Retention` (value: `"Retention"`)
+
+* `SecondaryRetention` (value: `"SecondaryRetention"`)
+
+* `Custom` (value: `"Custom"`)
+
+
+
+
diff --git a/docs/VouchersApi.md b/docs/VouchersApi.md
new file mode 100644
index 00000000..070ee832
--- /dev/null
+++ b/docs/VouchersApi.md
@@ -0,0 +1,490 @@
+# Flipdish.VouchersApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createVoucher**](VouchersApi.md#createVoucher) | **POST** /api/v1.0/vouchers/{appId} |
+[**getVoucherByCode**](VouchersApi.md#getVoucherByCode) | **GET** /api/v1.0/{appId}/vouchers/code/{code} |
+[**getVoucherById**](VouchersApi.md#getVoucherById) | **GET** /api/v1.0/vouchers/{voucherId} |
+[**getVoucherStatsById**](VouchersApi.md#getVoucherStatsById) | **GET** /api/v1.0/vouchers/stats/{voucherId} |
+[**getVoucherValidityPeriods**](VouchersApi.md#getVoucherValidityPeriods) | **GET** /api/v1.0/{appId}/vouchers/{voucherId}/validity-periods |
+[**getVouchers**](VouchersApi.md#getVouchers) | **GET** /api/v1.0/{appId}/vouchers/summaries |
+[**setVoucherValidityPeriodsSimplified**](VouchersApi.md#setVoucherValidityPeriodsSimplified) | **POST** /api/v1.0/{appId}/vouchers/{voucherId}/validity-periods-simplified |
+[**updateVoucher**](VouchersApi.md#updateVoucher) | **POST** /api/v1.0/vouchers/{voucherId} |
+[**updateVoucherUsage**](VouchersApi.md#updateVoucherUsage) | **POST** /api/v1.0/{appId}/vouchers/{voucherId}/usage |
+
+
+
+## createVoucher
+
+> RestApiResultVoucherWithStats createVoucher(appId, voucher)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let appId = "appId_example"; // String |
+let voucher = new Flipdish.CreateVoucher(); // CreateVoucher |
+apiInstance.createVoucher(appId, voucher, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **voucher** | [**CreateVoucher**](CreateVoucher.md)| |
+
+### Return type
+
+[**RestApiResultVoucherWithStats**](RestApiResultVoucherWithStats.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getVoucherByCode
+
+> RestApiResultVoucher getVoucherByCode(appId, code)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let appId = "appId_example"; // String |
+let code = "code_example"; // String |
+apiInstance.getVoucherByCode(appId, code, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **code** | **String**| |
+
+### Return type
+
+[**RestApiResultVoucher**](RestApiResultVoucher.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getVoucherById
+
+> RestApiResultVoucherWithStats getVoucherById(voucherId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let voucherId = 56; // Number |
+apiInstance.getVoucherById(voucherId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **voucherId** | **Number**| |
+
+### Return type
+
+[**RestApiResultVoucherWithStats**](RestApiResultVoucherWithStats.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getVoucherStatsById
+
+> RestApiArrayResultVoucherDataPoint getVoucherStatsById(voucherId, aggregateDataBy, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let voucherId = 56; // Number |
+let aggregateDataBy = "aggregateDataBy_example"; // String |
+let opts = {
+ 'dataPointLimit': 56 // Number |
+};
+apiInstance.getVoucherStatsById(voucherId, aggregateDataBy, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **voucherId** | **Number**| |
+ **aggregateDataBy** | **String**| |
+ **dataPointLimit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiArrayResultVoucherDataPoint**](RestApiArrayResultVoucherDataPoint.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## getVoucherValidityPeriods
+
+> getVoucherValidityPeriods(appId, voucherId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let appId = "appId_example"; // String |
+let voucherId = 56; // Number |
+apiInstance.getVoucherValidityPeriods(appId, voucherId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **voucherId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Data, application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## getVouchers
+
+> RestApiPaginationResultVoucherSummary getVouchers(appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let appId = "appId_example"; // String |
+let opts = {
+ 'pageIndex': 56, // Number |
+ 'pageSize': 56, // Number |
+ 'searchCodes': ["null"], // [String] |
+ 'statusSearch': ["null"], // [String] |
+ 'typeSearch': ["null"], // [String] |
+ 'subTypeSearch': ["null"], // [String] |
+ 'storeIds': [null], // [Number] |
+ 'channelRestrictions': ["null"] // [String] |
+};
+apiInstance.getVouchers(appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **pageIndex** | **Number**| | [optional]
+ **pageSize** | **Number**| | [optional]
+ **searchCodes** | [**[String]**](String.md)| | [optional]
+ **statusSearch** | [**[String]**](String.md)| | [optional]
+ **typeSearch** | [**[String]**](String.md)| | [optional]
+ **subTypeSearch** | [**[String]**](String.md)| | [optional]
+ **storeIds** | [**[Number]**](Number.md)| | [optional]
+ **channelRestrictions** | [**[String]**](String.md)| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultVoucherSummary**](RestApiPaginationResultVoucherSummary.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## setVoucherValidityPeriodsSimplified
+
+> setVoucherValidityPeriodsSimplified(appId, voucherId, request)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let appId = "appId_example"; // String |
+let voucherId = 56; // Number |
+let request = new Flipdish.SetVoucherValidityPeriodsSimplifiedRequest(); // SetVoucherValidityPeriodsSimplifiedRequest |
+apiInstance.setVoucherValidityPeriodsSimplified(appId, voucherId, request, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **voucherId** | **Number**| |
+ **request** | [**SetVoucherValidityPeriodsSimplifiedRequest**](SetVoucherValidityPeriodsSimplifiedRequest.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Data, application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
+
+## updateVoucher
+
+> RestApiResultVoucherWithStats updateVoucher(voucherId, voucher, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let voucherId = 56; // Number |
+let voucher = new Flipdish.UpdateVoucher(); // UpdateVoucher |
+let opts = {
+ 'storeId': [null], // [Number] |
+ 'percentValue': 56, // Number |
+ 'lumpValue': 3.4, // Number |
+ 'maxDiscountAmount': 3.4 // Number |
+};
+apiInstance.updateVoucher(voucherId, voucher, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **voucherId** | **Number**| |
+ **voucher** | [**UpdateVoucher**](UpdateVoucher.md)| |
+ **storeId** | [**[Number]**](Number.md)| | [optional]
+ **percentValue** | **Number**| | [optional]
+ **lumpValue** | **Number**| | [optional]
+ **maxDiscountAmount** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiResultVoucherWithStats**](RestApiResultVoucherWithStats.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message, ErrorCode, StackTrace
+
+
+## updateVoucherUsage
+
+> updateVoucherUsage(appId, voucherId, voucherUsage)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.VouchersApi();
+let appId = "appId_example"; // String |
+let voucherId = 56; // Number |
+let voucherUsage = new Flipdish.UpdateVoucherUsage(); // UpdateVoucherUsage |
+apiInstance.updateVoucherUsage(appId, voucherId, voucherUsage, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **voucherId** | **Number**| |
+ **voucherUsage** | [**UpdateVoucherUsage**](UpdateVoucherUsage.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: Data, application/json, text/json, application/xml, text/xml, Message, ErrorCode, StackTrace
+
diff --git a/docs/WaitHandle.md b/docs/WaitHandle.md
new file mode 100644
index 00000000..3643f18d
--- /dev/null
+++ b/docs/WaitHandle.md
@@ -0,0 +1,10 @@
+# Flipdish.WaitHandle
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Handle** | **Object** | | [optional]
+**SafeWaitHandle** | [**SafeWaitHandle**](SafeWaitHandle.md) | | [optional]
+
+
diff --git a/docs/WebhookEventSample.md b/docs/WebhookEventSample.md
new file mode 100644
index 00000000..5224cf44
--- /dev/null
+++ b/docs/WebhookEventSample.md
@@ -0,0 +1,11 @@
+# Flipdish.WebhookEventSample
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Type** | **String** | Event name | [optional]
+**CreateTime** | **Date** | Sample event creation date and time | [optional]
+**Body** | [**FlipdishEventBase**](FlipdishEventBase.md) | | [optional]
+
+
diff --git a/docs/WebhookLog.md b/docs/WebhookLog.md
new file mode 100644
index 00000000..e18ee0c9
--- /dev/null
+++ b/docs/WebhookLog.md
@@ -0,0 +1,23 @@
+# Flipdish.WebhookLog
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WebhookSubscriptionOwnerUserId** | **Number** | Webhook subscription owner user identifier | [optional]
+**EventCreated** | **String** | Event created | [optional]
+**WebhookTriggered** | **String** | Webhook triggered | [optional]
+**WebhookEventName** | **String** | Webhook event name | [optional]
+**WebhookSubscriptionCallbackUrl** | **String** | Webhook subscription callback url | [optional]
+**HttpResponseStatusCode** | **String** | Received HTTP repsonse status HTTP code | [optional]
+**HttpResponseStatus** | **String** | Received HTTP repsonse status | [optional]
+**RequestHeaders** | **String** | Request headers | [optional]
+**RequestBody** | **String** | Request body | [optional]
+**ResponseHeaders** | **String** | Received response headers | [optional]
+**ResponseBody** | **String** | Received response body | [optional]
+**Duration** | **String** | Duration of HTTP request | [optional]
+**RetryCount** | **Number** | Retry count | [optional]
+**FlipdishWebhookId** | **String** | Flipdish webhook identifier | [optional]
+**Version** | **String** | Flipdish webhook version | [optional]
+
+
diff --git a/docs/WebhookSubscription.md b/docs/WebhookSubscription.md
new file mode 100644
index 00000000..98042af9
--- /dev/null
+++ b/docs/WebhookSubscription.md
@@ -0,0 +1,15 @@
+# Flipdish.WebhookSubscription
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **Number** | Webhook subscription identifier | [optional]
+**OwnerUserId** | **Number** | Webhook subscription owner user identifier | [optional]
+**Version** | **String** | Webhook subscription owner user identifier | [optional]
+**EventNames** | **[String]** | Webhook subscription event names | [optional]
+**CallbackUrl** | **String** | Callback url. Flipdish system POST messages to this url. | [optional]
+**Enabled** | **Boolean** | Is webhook subscription enabled. | [optional]
+**VerifyToken** | **String** | This is your token which will be in the Header of each POST request from Flipdish with name: X-Verify-Token. | [optional]
+
+
diff --git a/docs/WebhookSubscriptionCreatedEvent.md b/docs/WebhookSubscriptionCreatedEvent.md
new file mode 100644
index 00000000..6b9666e8
--- /dev/null
+++ b/docs/WebhookSubscriptionCreatedEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.WebhookSubscriptionCreatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**WebhookSubscriptionEventInfo** | [**WebhookSubscriptionEventInfo**](WebhookSubscriptionEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/WebhookSubscriptionDeletedEvent.md b/docs/WebhookSubscriptionDeletedEvent.md
new file mode 100644
index 00000000..4295782d
--- /dev/null
+++ b/docs/WebhookSubscriptionDeletedEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.WebhookSubscriptionDeletedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**WebhookSubscriptionEventInfo** | [**WebhookSubscriptionEventInfo**](WebhookSubscriptionEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/WebhookSubscriptionEventInfo.md b/docs/WebhookSubscriptionEventInfo.md
new file mode 100644
index 00000000..09434833
--- /dev/null
+++ b/docs/WebhookSubscriptionEventInfo.md
@@ -0,0 +1,12 @@
+# Flipdish.WebhookSubscriptionEventInfo
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**OwnerUserId** | **Number** | Webhook subscription owner user identifier | [optional]
+**WebhookSubscriptionId** | **Number** | Webhook subscription identifier | [optional]
+**ClientId** | **String** | Oauth client identifier | [optional]
+**CallbackUrl** | **String** | Webhook callback url | [optional]
+
+
diff --git a/docs/WebhookSubscriptionUpdatedEvent.md b/docs/WebhookSubscriptionUpdatedEvent.md
new file mode 100644
index 00000000..5c0fa940
--- /dev/null
+++ b/docs/WebhookSubscriptionUpdatedEvent.md
@@ -0,0 +1,16 @@
+# Flipdish.WebhookSubscriptionUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**WebhookSubscriptionEventInfo** | [**WebhookSubscriptionEventInfo**](WebhookSubscriptionEventInfo.md) | | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md
new file mode 100644
index 00000000..ed696d26
--- /dev/null
+++ b/docs/WebhooksApi.md
@@ -0,0 +1,550 @@
+# Flipdish.WebhooksApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**createWebhookSubscription**](WebhooksApi.md#createWebhookSubscription) | **POST** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions |
+[**createWebhookSubscriptionEventNames**](WebhooksApi.md#createWebhookSubscriptionEventNames) | **POST** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName} |
+[**deleteWebhookSubscription**](WebhooksApi.md#deleteWebhookSubscription) | **DELETE** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId} |
+[**deleteWebhookSubscriptionEventName**](WebhooksApi.md#deleteWebhookSubscriptionEventName) | **DELETE** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName} |
+[**getWebhookEventNames**](WebhooksApi.md#getWebhookEventNames) | **GET** /api/v1.0/{appId}/webhooks/events |
+[**getWebhookEventNamesBySubscriptionId**](WebhooksApi.md#getWebhookEventNamesBySubscriptionId) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events |
+[**getWebhookEventSample**](WebhooksApi.md#getWebhookEventSample) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}/test |
+[**getWebhookLogs**](WebhooksApi.md#getWebhookLogs) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/logs |
+[**getWebhookSubscriptions**](WebhooksApi.md#getWebhookSubscriptions) | **GET** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions |
+[**updateWebhookSubscription**](WebhooksApi.md#updateWebhookSubscription) | **PUT** /api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId} |
+
+
+
+## createWebhookSubscription
+
+> RestApiIntegerResult createWebhookSubscription(oauthAppId, appId, webhookSubscription)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+let webhookSubscription = new Flipdish.WebhookSubscription(); // WebhookSubscription |
+apiInstance.createWebhookSubscription(oauthAppId, appId, webhookSubscription, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+ **webhookSubscription** | [**WebhookSubscription**](WebhookSubscription.md)| |
+
+### Return type
+
+[**RestApiIntegerResult**](RestApiIntegerResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## createWebhookSubscriptionEventNames
+
+> createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = 56; // Number |
+let eventName = "eventName_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **Number**| |
+ **eventName** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message
+
+
+## deleteWebhookSubscription
+
+> deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message
+
+
+## deleteWebhookSubscriptionEventName
+
+> deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = 56; // Number |
+let eventName = "eventName_example"; // String |
+let appId = "appId_example"; // String |
+apiInstance.deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **Number**| |
+ **eventName** | **String**| |
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Message
+
+
+## getWebhookEventNames
+
+> RestApiStringArrayResult getWebhookEventNames(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let appId = "appId_example"; // String |
+apiInstance.getWebhookEventNames(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringArrayResult**](RestApiStringArrayResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getWebhookEventNamesBySubscriptionId
+
+> RestApiStringArrayResult getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = 56; // Number |
+let appId = "appId_example"; // String |
+apiInstance.getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **Number**| |
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiStringArrayResult**](RestApiStringArrayResult.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getWebhookEventSample
+
+> WebhookEventSample getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let eventName = "eventName_example"; // String |
+let appId = "appId_example"; // String |
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = "webhookSubscriptionId_example"; // String |
+let opts = {
+ 'version': "version_example" // String |
+};
+apiInstance.getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **eventName** | **String**| |
+ **appId** | **String**| |
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **String**| |
+ **version** | **String**| | [optional]
+
+### Return type
+
+[**WebhookEventSample**](WebhookEventSample.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Type, CreateTime, Body
+
+
+## getWebhookLogs
+
+> RestApiPaginationResultWebhookLog getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = 56; // Number |
+let start = new Date("2013-10-20T19:20:30+01:00"); // Date |
+let end = new Date("2013-10-20T19:20:30+01:00"); // Date |
+let appId = "appId_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **Number**| |
+ **start** | **Date**| |
+ **end** | **Date**| |
+ **appId** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultWebhookLog**](RestApiPaginationResultWebhookLog.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## getWebhookSubscriptions
+
+> RestApiPaginationResultWebhookSubscription getWebhookSubscriptions(oauthAppId, appId, opts)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let appId = "appId_example"; // String |
+let opts = {
+ 'page': 56, // Number |
+ 'limit': 56 // Number |
+};
+apiInstance.getWebhookSubscriptions(oauthAppId, appId, opts, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **appId** | **String**| |
+ **page** | **Number**| | [optional]
+ **limit** | **Number**| | [optional]
+
+### Return type
+
+[**RestApiPaginationResultWebhookSubscription**](RestApiPaginationResultWebhookSubscription.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data, Message
+
+
+## updateWebhookSubscription
+
+> updateWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, webhookSubscription)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebhooksApi();
+let oauthAppId = "oauthAppId_example"; // String |
+let webhookSubscriptionId = 56; // Number |
+let appId = "appId_example"; // String |
+let webhookSubscription = new Flipdish.WebhookSubscription(); // WebhookSubscription |
+apiInstance.updateWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, webhookSubscription, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **oauthAppId** | **String**| |
+ **webhookSubscriptionId** | **Number**| |
+ **appId** | **String**| |
+ **webhookSubscription** | [**WebhookSubscription**](WebhookSubscription.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Message
+
diff --git a/docs/WebsiteApi.md b/docs/WebsiteApi.md
new file mode 100644
index 00000000..9574571f
--- /dev/null
+++ b/docs/WebsiteApi.md
@@ -0,0 +1,408 @@
+# Flipdish.WebsiteApi
+
+All URIs are relative to *https://api.flipdish.co*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**addTestimonial**](WebsiteApi.md#addTestimonial) | **POST** /api/v1.0/{appId}/website/testimonial |
+[**deleteTestimonial**](WebsiteApi.md#deleteTestimonial) | **DELETE** /api/v1.0/{appId}/website/testimonial/{testimonialId} |
+[**deleteWebsiteImage**](WebsiteApi.md#deleteWebsiteImage) | **DELETE** /api/v1.0/{appId}/website/image/{imageId} |
+[**editTestimonial**](WebsiteApi.md#editTestimonial) | **POST** /api/v1.0/{appId}/website/testimonial/{testimonialId} |
+[**getIndexConfiguration**](WebsiteApi.md#getIndexConfiguration) | **GET** /api/v1.0/{appId}/website/index |
+[**setIndexConfiguration**](WebsiteApi.md#setIndexConfiguration) | **POST** /api/v1.0/{appId}/website/index |
+[**uploadWebsiteImage**](WebsiteApi.md#uploadWebsiteImage) | **POST** /api/v1.0/{appId}/website/image/{imageLocation} |
+[**websiteCheckNow**](WebsiteApi.md#websiteCheckNow) | **GET** /api/v1.0/{appId}/website/dnscheck |
+
+
+
+## addTestimonial
+
+> RestApiResultWebsiteTestimonial addTestimonial(appId, testimonial)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+let testimonial = new Flipdish.WebsiteTestimonialBase(); // WebsiteTestimonialBase |
+apiInstance.addTestimonial(appId, testimonial, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **testimonial** | [**WebsiteTestimonialBase**](WebsiteTestimonialBase.md)| |
+
+### Return type
+
+[**RestApiResultWebsiteTestimonial**](RestApiResultWebsiteTestimonial.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## deleteTestimonial
+
+> deleteTestimonial(appId, testimonialId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+let testimonialId = 56; // Number |
+apiInstance.deleteTestimonial(appId, testimonialId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **testimonialId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## deleteWebsiteImage
+
+> deleteWebsiteImage(appId, imageId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+let imageId = 56; // Number |
+apiInstance.deleteWebsiteImage(appId, imageId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **imageId** | **Number**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
+
+## editTestimonial
+
+> RestApiResultWebsiteTestimonial editTestimonial(appId, testimonialId, testimonial)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+let testimonialId = 56; // Number |
+let testimonial = new Flipdish.WebsiteTestimonialBase(); // WebsiteTestimonialBase |
+apiInstance.editTestimonial(appId, testimonialId, testimonial, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **testimonialId** | **Number**| |
+ **testimonial** | [**WebsiteTestimonialBase**](WebsiteTestimonialBase.md)| |
+
+### Return type
+
+[**RestApiResultWebsiteTestimonial**](RestApiResultWebsiteTestimonial.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## getIndexConfiguration
+
+> RestApiResultIndexPage getIndexConfiguration(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+apiInstance.getIndexConfiguration(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+[**RestApiResultIndexPage**](RestApiResultIndexPage.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## setIndexConfiguration
+
+> RestApiResultIndexPageBase setIndexConfiguration(appId, indexPage)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+let indexPage = new Flipdish.IndexPageBase(); // IndexPageBase |
+apiInstance.setIndexConfiguration(appId, indexPage, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **indexPage** | [**IndexPageBase**](IndexPageBase.md)| |
+
+### Return type
+
+[**RestApiResultIndexPageBase**](RestApiResultIndexPageBase.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## uploadWebsiteImage
+
+> RestApiResultWebsiteImage uploadWebsiteImage(appId, imageLocation, Image)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+let imageLocation = "imageLocation_example"; // String |
+let Image = "/path/to/file"; // File | App Logo
+apiInstance.uploadWebsiteImage(appId, imageLocation, Image, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+ **imageLocation** | **String**| |
+ **Image** | **File**| App Logo |
+
+### Return type
+
+[**RestApiResultWebsiteImage**](RestApiResultWebsiteImage.md)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json, text/json, application/xml, text/xml, Data
+
+
+## websiteCheckNow
+
+> websiteCheckNow(appId)
+
+
+
+### Example
+
+```javascript
+import Flipdish from '@flipdish/api-client-javascript';
+let defaultClient = Flipdish.ApiClient.instance;
+// Configure OAuth2 access token for authorization: oauth2
+let oauth2 = defaultClient.authentications['oauth2'];
+oauth2.accessToken = 'YOUR ACCESS TOKEN';
+
+let apiInstance = new Flipdish.WebsiteApi();
+let appId = "appId_example"; // String |
+apiInstance.websiteCheckNow(appId, (error, data, response) => {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully.');
+ }
+});
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **appId** | **String**| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[oauth2](../README.md#oauth2)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/json, application/xml, text/xml
+
diff --git a/docs/WebsiteImage.md b/docs/WebsiteImage.md
new file mode 100644
index 00000000..a6b3c318
--- /dev/null
+++ b/docs/WebsiteImage.md
@@ -0,0 +1,30 @@
+# Flipdish.WebsiteImage
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ImageId** | **Number** | Represents the id of the image | [optional]
+**ImageLocation** | **String** | Represents the location of the image | [optional]
+**ImageUrl** | **String** | Represents the image url | [optional]
+
+
+
+## Enum: ImageLocationEnum
+
+
+* `IndexHeader` (value: `"IndexHeader"`)
+
+* `IndexAboutSectionLeft` (value: `"IndexAboutSectionLeft"`)
+
+* `IndexAboutSectionRight` (value: `"IndexAboutSectionRight"`)
+
+* `IndexGallery` (value: `"IndexGallery"`)
+
+* `IndexOpeningHoursHeader` (value: `"IndexOpeningHoursHeader"`)
+
+* `IndexTestimonialsHeader` (value: `"IndexTestimonialsHeader"`)
+
+
+
+
diff --git a/docs/WebsiteTestimonial.md b/docs/WebsiteTestimonial.md
new file mode 100644
index 00000000..837c3d76
--- /dev/null
+++ b/docs/WebsiteTestimonial.md
@@ -0,0 +1,11 @@
+# Flipdish.WebsiteTestimonial
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**TestimonialId** | **Number** | Id of the testimonial | [optional]
+**Author** | **String** | Author of the testimonial | [optional]
+**Message** | **String** | Message of the testimonial | [optional]
+
+
diff --git a/docs/WebsiteTestimonialBase.md b/docs/WebsiteTestimonialBase.md
new file mode 100644
index 00000000..79002f9e
--- /dev/null
+++ b/docs/WebsiteTestimonialBase.md
@@ -0,0 +1,10 @@
+# Flipdish.WebsiteTestimonialBase
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Author** | **String** | Author of the testimonial | [optional]
+**Message** | **String** | Message of the testimonial | [optional]
+
+
diff --git a/docs/WebsiteUpdatedEvent.md b/docs/WebsiteUpdatedEvent.md
new file mode 100644
index 00000000..a71c4b22
--- /dev/null
+++ b/docs/WebsiteUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.WebsiteUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**AppNameId** | **String** | App Name id of the whitelabel of the website | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**Description** | **String** | Description of event | [optional]
+**EventName** | **String** | The event name | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/WebsiteVanityUrlUpdatedEvent.md b/docs/WebsiteVanityUrlUpdatedEvent.md
new file mode 100644
index 00000000..62a441e0
--- /dev/null
+++ b/docs/WebsiteVanityUrlUpdatedEvent.md
@@ -0,0 +1,18 @@
+# Flipdish.WebsiteVanityUrlUpdatedEvent
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**EventName** | **String** | The event name | [optional]
+**Description** | **String** | Description | [optional]
+**User** | [**UserEventInfo**](UserEventInfo.md) | | [optional]
+**VanityUrl** | **String** | New vanity url | [optional]
+**FlipdishEventId** | **String** | The identitfier of the event | [optional]
+**CreateTime** | **Date** | The time of creation of the event | [optional]
+**Position** | **Number** | Position | [optional]
+**AppId** | **String** | App id | [optional]
+**OrgId** | **String** | Org id | [optional]
+**IpAddress** | **String** | Ip Address | [optional]
+
+
diff --git a/docs/WhiteLabelConfig.md b/docs/WhiteLabelConfig.md
new file mode 100644
index 00000000..57ddb584
--- /dev/null
+++ b/docs/WhiteLabelConfig.md
@@ -0,0 +1,14 @@
+# Flipdish.WhiteLabelConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**WhiteLabelId** | **Number** | White label identifier | [optional]
+**WhiteLabelName** | **String** | White label name | [optional]
+**CountryId** | **String** | Country identifier | [optional]
+**AppNameId** | **String** | App id | [optional]
+**Website** | **String** | Website URL | [optional]
+**PanaceaVanityUrl** | **String** | Panacea vanity URL | [optional]
+
+
diff --git a/mocha.opts b/mocha.opts
new file mode 100644
index 00000000..90701180
--- /dev/null
+++ b/mocha.opts
@@ -0,0 +1 @@
+--timeout 10000
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..7103a9be
--- /dev/null
+++ b/package.json
@@ -0,0 +1,46 @@
+{
+ "name": "@flipdish/api-client-javascript",
+ "version": "1.0.0",
+ "description": "JS API client generated by OpenAPI Generator",
+ "license": "Unlicense",
+ "main": "dist/index.js",
+ "scripts": {
+ "build": "babel src -d dist",
+ "prepare": "npm run build",
+ "test": "mocha --require @babel/register --recursive"
+ },
+ "browser": {
+ "fs": false
+ },
+ "dependencies": {
+ "@babel/cli": "^7.0.0",
+ "superagent": "^5.3.0"
+ },
+ "devDependencies": {
+ "@babel/core": "^7.0.0",
+ "@babel/plugin-proposal-class-properties": "^7.0.0",
+ "@babel/plugin-proposal-decorators": "^7.0.0",
+ "@babel/plugin-proposal-do-expressions": "^7.0.0",
+ "@babel/plugin-proposal-export-default-from": "^7.0.0",
+ "@babel/plugin-proposal-export-namespace-from": "^7.0.0",
+ "@babel/plugin-proposal-function-bind": "^7.0.0",
+ "@babel/plugin-proposal-function-sent": "^7.0.0",
+ "@babel/plugin-proposal-json-strings": "^7.0.0",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
+ "@babel/plugin-proposal-numeric-separator": "^7.0.0",
+ "@babel/plugin-proposal-optional-chaining": "^7.0.0",
+ "@babel/plugin-proposal-pipeline-operator": "^7.0.0",
+ "@babel/plugin-proposal-throw-expressions": "^7.0.0",
+ "@babel/plugin-syntax-dynamic-import": "^7.0.0",
+ "@babel/plugin-syntax-import-meta": "^7.0.0",
+ "@babel/preset-env": "^7.0.0",
+ "@babel/register": "^7.0.0",
+ "expect.js": "^0.3.1",
+ "mocha": "^8.0.1",
+ "sinon": "^7.2.0"
+ },
+ "files": [
+ "dist"
+ ]
+}
diff --git a/src/ApiClient.js b/src/ApiClient.js
new file mode 100644
index 00000000..faa0f5a3
--- /dev/null
+++ b/src/ApiClient.js
@@ -0,0 +1,687 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import superagent from "superagent";
+import querystring from "querystring";
+
+/**
+* @module ApiClient
+* @version 1.0.0
+*/
+
+/**
+* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
+* application to use this class directly - the *Api and model classes provide the public API for the service. The
+* contents of this file should be regarded as internal but are documented for completeness.
+* @alias module:ApiClient
+* @class
+*/
+class ApiClient {
+ constructor() {
+ /**
+ * The base URL against which to resolve every API call's (relative) path.
+ * @type {String}
+ * @default https://api.flipdish.co
+ */
+ this.basePath = 'https://api.flipdish.co'.replace(/\/+$/, '');
+
+ /**
+ * The authentication methods to be included for all API calls.
+ * @type {Array.}
+ */
+ this.authentications = {
+ 'oauth2': {type: 'oauth2'}
+ }
+
+ /**
+ * The default HTTP headers to be included for all API calls.
+ * @type {Array.}
+ * @default {}
+ */
+ this.defaultHeaders = {
+ 'User-Agent': 'OpenAPI-Generator/1.0.0/Javascript'
+ };
+
+ /**
+ * The default HTTP timeout for all API calls.
+ * @type {Number}
+ * @default 60000
+ */
+ this.timeout = 60000;
+
+ /**
+ * If set to false an additional timestamp parameter is added to all API GET calls to
+ * prevent browser caching
+ * @type {Boolean}
+ * @default true
+ */
+ this.cache = true;
+
+ /**
+ * If set to true, the client will save the cookies from each server
+ * response, and return them in the next request.
+ * @default false
+ */
+ this.enableCookies = false;
+
+ /*
+ * Used to save and return cookies in a node.js (non-browser) setting,
+ * if this.enableCookies is set to true.
+ */
+ if (typeof window === 'undefined') {
+ this.agent = new superagent.agent();
+ }
+
+ /*
+ * Allow user to override superagent agent
+ */
+ this.requestAgent = null;
+
+ /*
+ * Allow user to add superagent plugins
+ */
+ this.plugins = null;
+
+ }
+
+ /**
+ * Returns a string representation for an actual parameter.
+ * @param param The actual parameter.
+ * @returns {String} The string representation of param.
+ */
+ paramToString(param) {
+ if (param == undefined || param == null) {
+ return '';
+ }
+ if (param instanceof Date) {
+ return param.toJSON();
+ }
+ if (ApiClient.canBeJsonified(param)) {
+ return JSON.stringify(param);
+ }
+
+ return param.toString();
+ }
+
+ /**
+ * Returns a boolean indicating if the parameter could be JSON.stringified
+ * @param param The actual parameter
+ * @returns {Boolean} Flag indicating if param can be JSON.stringified
+ */
+ static canBeJsonified(str) {
+ if (typeof str !== 'string' && typeof str !== 'object') return false;
+ try {
+ const type = str.toString();
+ return type === '[object Object]'
+ || type === '[object Array]';
+ } catch (err) {
+ return false;
+ }
+ };
+
+ /**
+ * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
+ * NOTE: query parameters are not handled here.
+ * @param {String} path The path to append to the base URL.
+ * @param {Object} pathParams The parameter values to append.
+ * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
+ * @returns {String} The encoded path with parameter values substituted.
+ */
+ buildUrl(path, pathParams, apiBasePath) {
+ if (!path.match(/^\//)) {
+ path = '/' + path;
+ }
+
+ var url = this.basePath + path;
+
+ // use API (operation, path) base path if defined
+ if (apiBasePath !== null && apiBasePath !== undefined) {
+ url = apiBasePath + path;
+ }
+
+ url = url.replace(/\{([\w-\.]+)\}/g, (fullMatch, key) => {
+ var value;
+ if (pathParams.hasOwnProperty(key)) {
+ value = this.paramToString(pathParams[key]);
+ } else {
+ value = fullMatch;
+ }
+
+ return encodeURIComponent(value);
+ });
+
+ return url;
+ }
+
+ /**
+ * Checks whether the given content type represents JSON.
+ * JSON content type examples:
+ *
+ * - application/json
+ * - application/json; charset=UTF8
+ * - APPLICATION/JSON
+ *
+ * @param {String} contentType The MIME content type to check.
+ * @returns {Boolean} true if contentType represents JSON, otherwise false.
+ */
+ isJsonMime(contentType) {
+ return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
+ }
+
+ /**
+ * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
+ * @param {Array.} contentTypes
+ * @returns {String} The chosen content type, preferring JSON.
+ */
+ jsonPreferredMime(contentTypes) {
+ for (var i = 0; i < contentTypes.length; i++) {
+ if (this.isJsonMime(contentTypes[i])) {
+ return contentTypes[i];
+ }
+ }
+
+ return contentTypes[0];
+ }
+
+ /**
+ * Checks whether the given parameter value represents file-like content.
+ * @param param The parameter to check.
+ * @returns {Boolean} true if param represents a file.
+ */
+ isFileParam(param) {
+ // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
+ if (typeof require === 'function') {
+ let fs;
+ try {
+ fs = require('fs');
+ } catch (err) {}
+ if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
+ return true;
+ }
+ }
+
+ // Buffer in Node.js
+ if (typeof Buffer === 'function' && param instanceof Buffer) {
+ return true;
+ }
+
+ // Blob in browser
+ if (typeof Blob === 'function' && param instanceof Blob) {
+ return true;
+ }
+
+ // File in browser (it seems File object is also instance of Blob, but keep this for safe)
+ if (typeof File === 'function' && param instanceof File) {
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * Normalizes parameter values:
+ *
+ * - remove nils
+ * - keep files and arrays
+ * - format to string with `paramToString` for other cases
+ *
+ * @param {Object.} params The parameters as object properties.
+ * @returns {Object.} normalized parameters.
+ */
+ normalizeParams(params) {
+ var newParams = {};
+ for (var key in params) {
+ if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) {
+ var value = params[key];
+ if (this.isFileParam(value) || Array.isArray(value)) {
+ newParams[key] = value;
+ } else {
+ newParams[key] = this.paramToString(value);
+ }
+ }
+ }
+
+ return newParams;
+ }
+
+ /**
+ * Builds a string representation of an array-type actual parameter, according to the given collection format.
+ * @param {Array} param An array parameter.
+ * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
+ * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
+ * param as is if collectionFormat is multi.
+ */
+ buildCollectionParam(param, collectionFormat) {
+ if (param == null) {
+ return null;
+ }
+ switch (collectionFormat) {
+ case 'csv':
+ return param.map(this.paramToString, this).join(',');
+ case 'ssv':
+ return param.map(this.paramToString, this).join(' ');
+ case 'tsv':
+ return param.map(this.paramToString, this).join('\t');
+ case 'pipes':
+ return param.map(this.paramToString, this).join('|');
+ case 'multi':
+ //return the array directly as SuperAgent will handle it as expected
+ return param.map(this.paramToString, this);
+ case 'passthrough':
+ return param;
+ default:
+ throw new Error('Unknown collection format: ' + collectionFormat);
+ }
+ }
+
+ /**
+ * Applies authentication headers to the request.
+ * @param {Object} request The request object created by a superagent() call.
+ * @param {Array.} authNames An array of authentication method names.
+ */
+ applyAuthToRequest(request, authNames) {
+ authNames.forEach((authName) => {
+ var auth = this.authentications[authName];
+ switch (auth.type) {
+ case 'basic':
+ if (auth.username || auth.password) {
+ request.auth(auth.username || '', auth.password || '');
+ }
+
+ break;
+ case 'bearer':
+ if (auth.accessToken) {
+ var localVarBearerToken = typeof auth.accessToken === 'function'
+ ? auth.accessToken()
+ : auth.accessToken
+ request.set({'Authorization': 'Bearer ' + localVarBearerToken});
+ }
+
+ break;
+ case 'apiKey':
+ if (auth.apiKey) {
+ var data = {};
+ if (auth.apiKeyPrefix) {
+ data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey;
+ } else {
+ data[auth.name] = auth.apiKey;
+ }
+
+ if (auth['in'] === 'header') {
+ request.set(data);
+ } else {
+ request.query(data);
+ }
+ }
+
+ break;
+ case 'oauth2':
+ if (auth.accessToken) {
+ request.set({'Authorization': 'Bearer ' + auth.accessToken});
+ }
+
+ break;
+ default:
+ throw new Error('Unknown authentication type: ' + auth.type);
+ }
+ });
+ }
+
+ /**
+ * Deserializes an HTTP response body into a value of the specified type.
+ * @param {Object} response A SuperAgent response object.
+ * @param {(String|Array.|Object.|Function)} returnType The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns A value of the specified type.
+ */
+ deserialize(response, returnType) {
+ if (response == null || returnType == null || response.status == 204) {
+ return null;
+ }
+
+ // Rely on SuperAgent for parsing response body.
+ // See http://visionmedia.github.io/superagent/#parsing-response-bodies
+ var data = response.body;
+ if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
+ // SuperAgent does not always produce a body; use the unparsed response as a fallback
+ data = response.text;
+ }
+
+ return ApiClient.convertToType(data, returnType);
+ }
+
+ /**
+ * Callback function to receive the result of the operation.
+ * @callback module:ApiClient~callApiCallback
+ * @param {String} error Error message, if any.
+ * @param data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Invokes the REST service using the supplied settings and parameters.
+ * @param {String} path The base URL to invoke.
+ * @param {String} httpMethod The HTTP method to use.
+ * @param {Object.} pathParams A map of path parameters and their values.
+ * @param {Object.} queryParams A map of query parameters and their values.
+ * @param {Object.} headerParams A map of header parameters and their values.
+ * @param {Object.} formParams A map of form parameters and their values.
+ * @param {Object} bodyParam The value to pass as the request body.
+ * @param {Array.} authNames An array of authentication type names.
+ * @param {Array.} contentTypes An array of request MIME types.
+ * @param {Array.} accepts An array of acceptable response MIME types.
+ * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
+ * constructor for a complex type.
+ * @param {String} apiBasePath base path defined in the operation/path level to override the default one
+ * @param {module:ApiClient~callApiCallback} callback The callback function.
+ * @returns {Object} The SuperAgent request object.
+ */
+ callApi(path, httpMethod, pathParams,
+ queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
+ returnType, apiBasePath, callback) {
+
+ var url = this.buildUrl(path, pathParams, apiBasePath);
+ var request = superagent(httpMethod, url);
+
+ if (this.plugins !== null) {
+ for (var index in this.plugins) {
+ if (this.plugins.hasOwnProperty(index)) {
+ request.use(this.plugins[index])
+ }
+ }
+ }
+
+ // apply authentications
+ this.applyAuthToRequest(request, authNames);
+
+ // set query parameters
+ if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
+ queryParams['_'] = new Date().getTime();
+ }
+
+ request.query(this.normalizeParams(queryParams));
+
+ // set header parameters
+ request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
+
+ // set requestAgent if it is set by user
+ if (this.requestAgent) {
+ request.agent(this.requestAgent);
+ }
+
+ // set request timeout
+ request.timeout(this.timeout);
+
+ var contentType = this.jsonPreferredMime(contentTypes);
+ if (contentType) {
+ // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
+ if(contentType != 'multipart/form-data') {
+ request.type(contentType);
+ }
+ }
+
+ if (contentType === 'application/x-www-form-urlencoded') {
+ request.send(querystring.stringify(this.normalizeParams(formParams)));
+ } else if (contentType == 'multipart/form-data') {
+ var _formParams = this.normalizeParams(formParams);
+ for (var key in _formParams) {
+ if (_formParams.hasOwnProperty(key)) {
+ let _formParamsValue = _formParams[key];
+ if (this.isFileParam(_formParamsValue)) {
+ // file field
+ request.attach(key, _formParamsValue);
+ } else if (Array.isArray(_formParamsValue) && _formParamsValue.length
+ && this.isFileParam(_formParamsValue[0])) {
+ // multiple files
+ _formParamsValue.forEach(file => request.attach(key, file));
+ } else {
+ request.field(key, _formParamsValue);
+ }
+ }
+ }
+ } else if (bodyParam !== null && bodyParam !== undefined) {
+ if (!request.header['Content-Type']) {
+ request.type('application/json');
+ }
+ request.send(bodyParam);
+ }
+
+ var accept = this.jsonPreferredMime(accepts);
+ if (accept) {
+ request.accept(accept);
+ }
+
+ if (returnType === 'Blob') {
+ request.responseType('blob');
+ } else if (returnType === 'String') {
+ request.responseType('string');
+ }
+
+ // Attach previously saved cookies, if enabled
+ if (this.enableCookies){
+ if (typeof window === 'undefined') {
+ this.agent._attachCookies(request);
+ }
+ else {
+ request.withCredentials();
+ }
+ }
+
+ request.end((error, response) => {
+ if (callback) {
+ var data = null;
+ if (!error) {
+ try {
+ data = this.deserialize(response, returnType);
+ if (this.enableCookies && typeof window === 'undefined'){
+ this.agent._saveCookies(response);
+ }
+ } catch (err) {
+ error = err;
+ }
+ }
+
+ callback(error, data, response);
+ }
+ });
+
+ return request;
+ }
+
+ /**
+ * Parses an ISO-8601 string representation or epoch representation of a date value.
+ * @param {String} str The date value as a string.
+ * @returns {Date} The parsed date object.
+ */
+ static parseDate(str) {
+ if (isNaN(str)) {
+ return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
+ }
+ return new Date(+str);
+ }
+
+ /**
+ * Converts a value to the specified type.
+ * @param {(String|Object)} data The data to convert, as a string or object.
+ * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns An instance of the specified type or null or undefined if data is null or undefined.
+ */
+ static convertToType(data, type) {
+ if (data === null || data === undefined)
+ return data
+
+ switch (type) {
+ case 'Boolean':
+ return Boolean(data);
+ case 'Integer':
+ return parseInt(data, 10);
+ case 'Number':
+ return parseFloat(data);
+ case 'String':
+ return String(data);
+ case 'Date':
+ return ApiClient.parseDate(String(data));
+ case 'Blob':
+ return data;
+ default:
+ if (type === Object) {
+ // generic object, return directly
+ return data;
+ } else if (typeof type.constructFromObject === 'function') {
+ // for model type like User and enum class
+ return type.constructFromObject(data);
+ } else if (Array.isArray(type)) {
+ // for array type like: ['String']
+ var itemType = type[0];
+
+ return data.map((item) => {
+ return ApiClient.convertToType(item, itemType);
+ });
+ } else if (typeof type === 'object') {
+ // for plain object type like: {'String': 'Integer'}
+ var keyType, valueType;
+ for (var k in type) {
+ if (type.hasOwnProperty(k)) {
+ keyType = k;
+ valueType = type[k];
+ break;
+ }
+ }
+
+ var result = {};
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) {
+ var key = ApiClient.convertToType(k, keyType);
+ var value = ApiClient.convertToType(data[k], valueType);
+ result[key] = value;
+ }
+ }
+
+ return result;
+ } else {
+ // for unknown type, return the data directly
+ return data;
+ }
+ }
+ }
+
+ /**
+ * Gets an array of host settings
+ * @returns An array of host settings
+ */
+ hostSettings() {
+ return [
+ {
+ 'url': "https://api.flipdish.co",
+ 'description': "No description provided",
+ }
+ ];
+ }
+
+ getBasePathFromSettings(index, variables={}) {
+ var servers = this.hostSettings();
+
+ // check array index out of bound
+ if (index < 0 || index >= servers.length) {
+ throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
+ }
+
+ var server = servers[index];
+ var url = server['url'];
+
+ // go through variable and assign a value
+ for (var variable_name in server['variables']) {
+ if (variable_name in variables) {
+ let variable = server['variables'][variable_name];
+ if ( !('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name]) ) {
+ url = url.replace("{" + variable_name + "}", variables[variable_name]);
+ } else {
+ throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
+ }
+ } else {
+ // use default value
+ url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value'])
+ }
+ }
+ return url;
+ }
+
+ /**
+ * Constructs a new map or array model from REST data.
+ * @param data {Object|Array} The REST data.
+ * @param obj {Object|Array} The target object or array.
+ */
+ static constructFromObject(data, obj, itemType) {
+ if (Array.isArray(data)) {
+ for (var i = 0; i < data.length; i++) {
+ if (data.hasOwnProperty(i))
+ obj[i] = ApiClient.convertToType(data[i], itemType);
+ }
+ } else {
+ for (var k in data) {
+ if (data.hasOwnProperty(k))
+ obj[k] = ApiClient.convertToType(data[k], itemType);
+ }
+ }
+ };
+}
+
+/**
+ * Enumeration of collection format separator strategies.
+ * @enum {String}
+ * @readonly
+ */
+ApiClient.CollectionFormatEnum = {
+ /**
+ * Comma-separated values. Value: csv
+ * @const
+ */
+ CSV: ',',
+
+ /**
+ * Space-separated values. Value: ssv
+ * @const
+ */
+ SSV: ' ',
+
+ /**
+ * Tab-separated values. Value: tsv
+ * @const
+ */
+ TSV: '\t',
+
+ /**
+ * Pipe(|)-separated values. Value: pipes
+ * @const
+ */
+ PIPES: '|',
+
+ /**
+ * Native array. Value: multi
+ * @const
+ */
+ MULTI: 'multi'
+};
+
+/**
+* The default API client implementation.
+* @type {module:ApiClient}
+*/
+ApiClient.instance = new ApiClient();
+export default ApiClient;
diff --git a/src/api/AccountsApi.js b/src/api/AccountsApi.js
new file mode 100644
index 00000000..89bb8665
--- /dev/null
+++ b/src/api/AccountsApi.js
@@ -0,0 +1,749 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import AccountDetailBase from '../model/AccountDetailBase';
+import ChangePasswordModel from '../model/ChangePasswordModel';
+import CreateAccountModel from '../model/CreateAccountModel';
+import CreateBasicAccountModel from '../model/CreateBasicAccountModel';
+import LoginModel from '../model/LoginModel';
+import LoginWithPinModel from '../model/LoginWithPinModel';
+import PasswordResetModel from '../model/PasswordResetModel';
+import RequestLoginPinModel from '../model/RequestLoginPinModel';
+import RequestLoginPinResponse from '../model/RequestLoginPinResponse';
+import RequestPasswordResetModel from '../model/RequestPasswordResetModel';
+import RequestPasswordResetPinResponse from '../model/RequestPasswordResetPinResponse';
+import RestApiArrayResultLocalisedTimeZone from '../model/RestApiArrayResultLocalisedTimeZone';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAccountDetail from '../model/RestApiResultAccountDetail';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import SetPasswordWithPinModel from '../model/SetPasswordWithPinModel';
+
+/**
+* Accounts service.
+* @module api/AccountsApi
+* @version 1.0.0
+*/
+export default class AccountsApi {
+
+ /**
+ * Constructs a new AccountsApi.
+ * @alias module:api/AccountsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the answerSignUpQuestion operation.
+ * @callback module:api/AccountsApi~answerSignUpQuestionCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/String} signupStepAction
+ * @param {Number} answerId
+ * @param {module:api/AccountsApi~answerSignUpQuestionCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ answerSignUpQuestion(signupStepAction, answerId, callback) {
+ let postBody = answerId;
+ // verify the required parameter 'signupStepAction' is set
+ if (signupStepAction === undefined || signupStepAction === null) {
+ throw new Error("Missing the required parameter 'signupStepAction' when calling answerSignUpQuestion");
+ }
+ // verify the required parameter 'answerId' is set
+ if (answerId === undefined || answerId === null) {
+ throw new Error("Missing the required parameter 'answerId' when calling answerSignUpQuestion");
+ }
+
+ let pathParams = {
+ 'signupStepAction': signupStepAction
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/signupstep/{signupStepAction}/answer', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the changePassword operation.
+ * @callback module:api/AccountsApi~changePasswordCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/ChangePasswordModel} changePasswordModel
+ * @param {module:api/AccountsApi~changePasswordCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ changePassword(changePasswordModel, callback) {
+ let postBody = changePasswordModel;
+ // verify the required parameter 'changePasswordModel' is set
+ if (changePasswordModel === undefined || changePasswordModel === null) {
+ throw new Error("Missing the required parameter 'changePasswordModel' when calling changePassword");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/password', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the changePasswordWithPin operation.
+ * @callback module:api/AccountsApi~changePasswordWithPinCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/SetPasswordWithPinModel} changePasswordModel
+ * @param {module:api/AccountsApi~changePasswordWithPinCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ changePasswordWithPin(changePasswordModel, callback) {
+ let postBody = changePasswordModel;
+ // verify the required parameter 'changePasswordModel' is set
+ if (changePasswordModel === undefined || changePasswordModel === null) {
+ throw new Error("Missing the required parameter 'changePasswordModel' when calling changePasswordWithPin");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/password/pin', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createAccount operation.
+ * @callback module:api/AccountsApi~createAccountCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/CreateAccountModel} createAccountModel
+ * @param {module:api/AccountsApi~createAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ createAccount(createAccountModel, callback) {
+ let postBody = createAccountModel;
+ // verify the required parameter 'createAccountModel' is set
+ if (createAccountModel === undefined || createAccountModel === null) {
+ throw new Error("Missing the required parameter 'createAccountModel' when calling createAccount");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createBasicAccount operation.
+ * @callback module:api/AccountsApi~createBasicAccountCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/CreateBasicAccountModel} basicAccountModel
+ * @param {module:api/AccountsApi~createBasicAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ createBasicAccount(basicAccountModel, callback) {
+ let postBody = basicAccountModel;
+ // verify the required parameter 'basicAccountModel' is set
+ if (basicAccountModel === undefined || basicAccountModel === null) {
+ throw new Error("Missing the required parameter 'basicAccountModel' when calling createBasicAccount");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/basic-account', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAccountDetails operation.
+ * @callback module:api/AccountsApi~getAccountDetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAccountDetail} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/AccountsApi~getAccountDetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAccountDetail}
+ */
+ getAccountDetails(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAccountDetail;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getLocalisedTimeZones operation.
+ * @callback module:api/AccountsApi~getLocalisedTimeZonesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultLocalisedTimeZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/AccountsApi~getLocalisedTimeZonesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultLocalisedTimeZone}
+ */
+ getLocalisedTimeZones(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultLocalisedTimeZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/timezones', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the login operation.
+ * @callback module:api/AccountsApi~loginCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/LoginModel} loginModel
+ * @param {module:api/AccountsApi~loginCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ login(loginModel, callback) {
+ let postBody = loginModel;
+ // verify the required parameter 'loginModel' is set
+ if (loginModel === undefined || loginModel === null) {
+ throw new Error("Missing the required parameter 'loginModel' when calling login");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/login', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the loginSso operation.
+ * @callback module:api/AccountsApi~loginSsoCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/AccountsApi~loginSsoCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ loginSso(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/login/sso', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the loginWithPin operation.
+ * @callback module:api/AccountsApi~loginWithPinCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/LoginWithPinModel} loginModel
+ * @param {module:api/AccountsApi~loginWithPinCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ loginWithPin(loginModel, callback) {
+ let postBody = loginModel;
+ // verify the required parameter 'loginModel' is set
+ if (loginModel === undefined || loginModel === null) {
+ throw new Error("Missing the required parameter 'loginModel' when calling loginWithPin");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/login/pin', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the logout operation.
+ * @callback module:api/AccountsApi~logoutCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/AccountsApi~logoutCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ logout(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/logout', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the passwordResetWithToken operation.
+ * @callback module:api/AccountsApi~passwordResetWithTokenCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/PasswordResetModel} passwordResetModel
+ * @param {module:api/AccountsApi~passwordResetWithTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ passwordResetWithToken(passwordResetModel, callback) {
+ let postBody = passwordResetModel;
+ // verify the required parameter 'passwordResetModel' is set
+ if (passwordResetModel === undefined || passwordResetModel === null) {
+ throw new Error("Missing the required parameter 'passwordResetModel' when calling passwordResetWithToken");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/password', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the recaptchaValidate operation.
+ * @callback module:api/AccountsApi~recaptchaValidateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} token
+ * @param {module:api/AccountsApi~recaptchaValidateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ recaptchaValidate(token, callback) {
+ let postBody = null;
+ // verify the required parameter 'token' is set
+ if (token === undefined || token === null) {
+ throw new Error("Missing the required parameter 'token' when calling recaptchaValidate");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'token': token
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/recaptcha', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the requestLoginPin operation.
+ * @callback module:api/AccountsApi~requestLoginPinCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RequestLoginPinResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/RequestLoginPinModel} requestLoginPinRequest
+ * @param {module:api/AccountsApi~requestLoginPinCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RequestLoginPinResponse}
+ */
+ requestLoginPin(requestLoginPinRequest, callback) {
+ let postBody = requestLoginPinRequest;
+ // verify the required parameter 'requestLoginPinRequest' is set
+ if (requestLoginPinRequest === undefined || requestLoginPinRequest === null) {
+ throw new Error("Missing the required parameter 'requestLoginPinRequest' when calling requestLoginPin");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RequestLoginPinResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/pin', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the requestPasswordReset operation.
+ * @callback module:api/AccountsApi~requestPasswordResetCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/RequestPasswordResetModel} requestPasswordResetModel
+ * @param {module:api/AccountsApi~requestPasswordResetCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ requestPasswordReset(requestPasswordResetModel, callback) {
+ let postBody = requestPasswordResetModel;
+ // verify the required parameter 'requestPasswordResetModel' is set
+ if (requestPasswordResetModel === undefined || requestPasswordResetModel === null) {
+ throw new Error("Missing the required parameter 'requestPasswordResetModel' when calling requestPasswordReset");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/passwordreset', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the sendPinForPasswordReset operation.
+ * @callback module:api/AccountsApi~sendPinForPasswordResetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RequestPasswordResetPinResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/RequestPasswordResetModel} requestPasswordResetRequest
+ * @param {module:api/AccountsApi~sendPinForPasswordResetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RequestPasswordResetPinResponse}
+ */
+ sendPinForPasswordReset(requestPasswordResetRequest, callback) {
+ let postBody = requestPasswordResetRequest;
+ // verify the required parameter 'requestPasswordResetRequest' is set
+ if (requestPasswordResetRequest === undefined || requestPasswordResetRequest === null) {
+ throw new Error("Missing the required parameter 'requestPasswordResetRequest' when calling sendPinForPasswordReset");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RequestPasswordResetPinResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/password/resetpin', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the skipSignupStep operation.
+ * @callback module:api/AccountsApi~skipSignupStepCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/String} signupStepAction
+ * @param {module:api/AccountsApi~skipSignupStepCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ skipSignupStep(signupStepAction, callback) {
+ let postBody = null;
+ // verify the required parameter 'signupStepAction' is set
+ if (signupStepAction === undefined || signupStepAction === null) {
+ throw new Error("Missing the required parameter 'signupStepAction' when calling skipSignupStep");
+ }
+
+ let pathParams = {
+ 'signupStepAction': signupStepAction
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts/signupstep/{signupStepAction}/skip', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateAccount operation.
+ * @callback module:api/AccountsApi~updateAccountCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/AccountDetailBase} updateAccountModel
+ * @param {module:api/AccountsApi~updateAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateAccount(updateAccountModel, callback) {
+ let postBody = updateAccountModel;
+ // verify the required parameter 'updateAccountModel' is set
+ if (updateAccountModel === undefined || updateAccountModel === null) {
+ throw new Error("Missing the required parameter 'updateAccountModel' when calling updateAccount");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/accounts', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AddressApi.js b/src/api/AddressApi.js
new file mode 100644
index 00000000..02823a1c
--- /dev/null
+++ b/src/api/AddressApi.js
@@ -0,0 +1,258 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import GoogleAddress from '../model/GoogleAddress';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAddressFormResponse from '../model/RestApiResultAddressFormResponse';
+import RestApiResultCountryFormResponse from '../model/RestApiResultCountryFormResponse';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import StoreAddressForm from '../model/StoreAddressForm';
+
+/**
+* Address service.
+* @module api/AddressApi
+* @version 1.0.0
+*/
+export default class AddressApi {
+
+ /**
+ * Constructs a new AddressApi.
+ * @alias module:api/AddressApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addressTemplates operation.
+ * @callback module:api/AddressApi~addressTemplatesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/StoreAddressForm} address
+ * @param {module:api/AddressApi~addressTemplatesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ addressTemplates(address, callback) {
+ let postBody = address;
+ // verify the required parameter 'address' is set
+ if (address === undefined || address === null) {
+ throw new Error("Missing the required parameter 'address' when calling addressTemplates");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/address/templates', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the formByApp operation.
+ * @callback module:api/AddressApi~formByAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAddressFormResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.language
+ * @param {module:api/AddressApi~formByAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAddressFormResponse}
+ */
+ formByApp(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling formByApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'language': opts['language']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAddressFormResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/app/{appId}/address/form', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the formByCountry operation.
+ * @callback module:api/AddressApi~formByCountryCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAddressFormResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} countryCode
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.language
+ * @param {module:api/AddressApi~formByCountryCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAddressFormResponse}
+ */
+ formByCountry(countryCode, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'countryCode' is set
+ if (countryCode === undefined || countryCode === null) {
+ throw new Error("Missing the required parameter 'countryCode' when calling formByCountry");
+ }
+
+ let pathParams = {
+ 'countryCode': countryCode
+ };
+ let queryParams = {
+ 'language': opts['language']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAddressFormResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/address/country/{countryCode}/form', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the formatGoogleAddress operation.
+ * @callback module:api/AddressApi~formatGoogleAddressCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAddressFormResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/GoogleAddress} googleAddress
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.language
+ * @param {module:api/AddressApi~formatGoogleAddressCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAddressFormResponse}
+ */
+ formatGoogleAddress(googleAddress, opts, callback) {
+ opts = opts || {};
+ let postBody = googleAddress;
+ // verify the required parameter 'googleAddress' is set
+ if (googleAddress === undefined || googleAddress === null) {
+ throw new Error("Missing the required parameter 'googleAddress' when calling formatGoogleAddress");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'language': opts['language']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAddressFormResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/address/google', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCountries operation.
+ * @callback module:api/AddressApi~getCountriesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCountryFormResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.language
+ * @param {module:api/AddressApi~getCountriesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCountryFormResponse}
+ */
+ getCountries(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'language': opts['language']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCountryFormResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/address/countries', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/ApmApi.js b/src/api/ApmApi.js
new file mode 100644
index 00000000..9d33d2bd
--- /dev/null
+++ b/src/api/ApmApi.js
@@ -0,0 +1,332 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultApmCurrencyDataPoint from '../model/RestApiArrayResultApmCurrencyDataPoint';
+import RestApiArrayResultApmDataPoint from '../model/RestApiArrayResultApmDataPoint';
+import RestApiArrayResultApmHourlyDataPoint from '../model/RestApiArrayResultApmHourlyDataPoint';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultPhoneCall from '../model/RestApiPaginationResultPhoneCall';
+import RestApiResultApmStatistics from '../model/RestApiResultApmStatistics';
+import RestApiResultApmStatus from '../model/RestApiResultApmStatus';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Apm service.
+* @module api/ApmApi
+* @version 1.0.0
+*/
+export default class ApmApi {
+
+ /**
+ * Constructs a new ApmApi.
+ * @alias module:api/ApmApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getApmStatus operation.
+ * @callback module:api/ApmApi~getApmStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultApmStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/ApmApi~getApmStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultApmStatus}
+ */
+ getApmStatus(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getApmStatus");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultApmStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/apm/status', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBasicStatistics operation.
+ * @callback module:api/ApmApi~getBasicStatisticsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultApmStatistics} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeId
+ * @param {module:api/ApmApi~getBasicStatisticsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultApmStatistics}
+ */
+ getBasicStatistics(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getBasicStatistics");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultApmStatistics;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/apm/statistics', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCalendarWeekStatistics operation.
+ * @callback module:api/ApmApi~getCalendarWeekStatisticsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultApmHourlyDataPoint} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeId
+ * @param {module:api/ApmApi~getCalendarWeekStatisticsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultApmHourlyDataPoint}
+ */
+ getCalendarWeekStatistics(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCalendarWeekStatistics");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultApmHourlyDataPoint;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/apm/statistics/calendar', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCallsStatistics operation.
+ * @callback module:api/ApmApi~getCallsStatisticsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultApmDataPoint} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} aggregateDataBy
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.dataPointLimit
+ * @param {Array.} opts.storeId
+ * @param {module:api/ApmApi~getCallsStatisticsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultApmDataPoint}
+ */
+ getCallsStatistics(appId, aggregateDataBy, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCallsStatistics");
+ }
+ // verify the required parameter 'aggregateDataBy' is set
+ if (aggregateDataBy === undefined || aggregateDataBy === null) {
+ throw new Error("Missing the required parameter 'aggregateDataBy' when calling getCallsStatistics");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'aggregateDataBy': aggregateDataBy
+ };
+ let queryParams = {
+ 'dataPointLimit': opts['dataPointLimit'],
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultApmDataPoint;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/apm/statistics/calls/{aggregateDataBy}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrderStatistics operation.
+ * @callback module:api/ApmApi~getOrderStatisticsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultApmCurrencyDataPoint} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} aggregateDataBy
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.dataPointLimit
+ * @param {Array.} opts.storeId
+ * @param {module:api/ApmApi~getOrderStatisticsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultApmCurrencyDataPoint}
+ */
+ getOrderStatistics(appId, aggregateDataBy, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOrderStatistics");
+ }
+ // verify the required parameter 'aggregateDataBy' is set
+ if (aggregateDataBy === undefined || aggregateDataBy === null) {
+ throw new Error("Missing the required parameter 'aggregateDataBy' when calling getOrderStatistics");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'aggregateDataBy': aggregateDataBy
+ };
+ let queryParams = {
+ 'dataPointLimit': opts['dataPointLimit'],
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultApmCurrencyDataPoint;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/apm/statistics/orders/{aggregateDataBy}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPaginatedCallList operation.
+ * @callback module:api/ApmApi~getPaginatedCallListCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPhoneCall} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Array.} opts.storeId
+ * @param {module:api/ApmApi~getPaginatedCallListCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPhoneCall}
+ */
+ getPaginatedCallList(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPaginatedCallList");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPhoneCall;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/apm/calls', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AppStoreApi.js b/src/api/AppStoreApi.js
new file mode 100644
index 00000000..0dec1b2b
--- /dev/null
+++ b/src/api/AppStoreApi.js
@@ -0,0 +1,138 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultAppStoreAppSummary from '../model/RestApiPaginationResultAppStoreAppSummary';
+import RestApiResultAppStoreApp from '../model/RestApiResultAppStoreApp';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* AppStore service.
+* @module api/AppStoreApi
+* @version 1.0.0
+*/
+export default class AppStoreApi {
+
+ /**
+ * Constructs a new AppStoreApi.
+ * @alias module:api/AppStoreApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getAppStoreApp operation.
+ * @callback module:api/AppStoreApi~getAppStoreAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppStoreApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appStoreAppId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.appId
+ * @param {module:api/AppStoreApi~getAppStoreAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppStoreApp}
+ */
+ getAppStoreApp(appStoreAppId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling getAppStoreApp");
+ }
+
+ let pathParams = {
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ 'appId': opts['appId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAppStoreApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/appstore/apps/{appStoreAppId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAppStoreApps operation.
+ * @callback module:api/AppStoreApi~getAppStoreAppsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultAppStoreAppSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} search
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Boolean} opts.excludeNotOwned
+ * @param {Boolean} opts.showOnlyVerified
+ * @param {module:api/AppStoreApi~getAppStoreAppsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultAppStoreAppSummary}
+ */
+ getAppStoreApps(search, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'search' is set
+ if (search === undefined || search === null) {
+ throw new Error("Missing the required parameter 'search' when calling getAppStoreApps");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'search': search,
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'excludeNotOwned': opts['excludeNotOwned'],
+ 'showOnlyVerified': opts['showOnlyVerified']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultAppStoreAppSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/appstore/apps', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AppStoreConfigurationsApi.js b/src/api/AppStoreConfigurationsApi.js
new file mode 100644
index 00000000..48cccf9c
--- /dev/null
+++ b/src/api/AppStoreConfigurationsApi.js
@@ -0,0 +1,502 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import ExecuteConfigurationActionRequest from '../model/ExecuteConfigurationActionRequest';
+import RestApiArrayResultAppStoreAppConfigurationSummary from '../model/RestApiArrayResultAppStoreAppConfigurationSummary';
+import RestApiArrayResultAppStoreAppSummary from '../model/RestApiArrayResultAppStoreAppSummary';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAppStoreAppConfiguration from '../model/RestApiResultAppStoreAppConfiguration';
+import RestApiResultExecuteConfigurationActionResult from '../model/RestApiResultExecuteConfigurationActionResult';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateAppStoreAppConfiguration from '../model/UpdateAppStoreAppConfiguration';
+import UpdateAppStoreAppConfigurationValuesBatch from '../model/UpdateAppStoreAppConfigurationValuesBatch';
+
+/**
+* AppStoreConfigurations service.
+* @module api/AppStoreConfigurationsApi
+* @version 1.0.0
+*/
+export default class AppStoreConfigurationsApi {
+
+ /**
+ * Constructs a new AppStoreConfigurationsApi.
+ * @alias module:api/AppStoreConfigurationsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the appStoreConfigurationsAppStoreHandleOauthResponseCode operation.
+ * @callback module:api/AppStoreConfigurationsApi~appStoreConfigurationsAppStoreHandleOauthResponseCodeCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreConfigurationsApi~appStoreConfigurationsAppStoreHandleOauthResponseCodeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ appStoreConfigurationsAppStoreHandleOauthResponseCode(appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling appStoreConfigurationsAppStoreHandleOauthResponseCode");
+ }
+
+ let pathParams = {
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/appstore/oauthresponse/{appStoreAppId}/responsecode', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createAppStoreConfig operation.
+ * @callback module:api/AppStoreConfigurationsApi~createAppStoreConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppStoreAppConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreConfigurationsApi~createAppStoreConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppStoreAppConfiguration}
+ */
+ createAppStoreConfig(appId, appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createAppStoreConfig");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling createAppStoreConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAppStoreAppConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteAppStoreConfig operation.
+ * @callback module:api/AppStoreConfigurationsApi~deleteAppStoreConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {String} configId
+ * @param {module:api/AppStoreConfigurationsApi~deleteAppStoreConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ deleteAppStoreConfig(appId, appStoreAppId, configId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteAppStoreConfig");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling deleteAppStoreConfig");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling deleteAppStoreConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the executeConfigurationAction operation.
+ * @callback module:api/AppStoreConfigurationsApi~executeConfigurationActionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultExecuteConfigurationActionResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {String} configId
+ * @param {module:model/ExecuteConfigurationActionRequest} executeConfigurationActionRequest
+ * @param {module:api/AppStoreConfigurationsApi~executeConfigurationActionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultExecuteConfigurationActionResult}
+ */
+ executeConfigurationAction(appId, appStoreAppId, configId, executeConfigurationActionRequest, callback) {
+ let postBody = executeConfigurationActionRequest;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling executeConfigurationAction");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling executeConfigurationAction");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling executeConfigurationAction");
+ }
+ // verify the required parameter 'executeConfigurationActionRequest' is set
+ if (executeConfigurationActionRequest === undefined || executeConfigurationActionRequest === null) {
+ throw new Error("Missing the required parameter 'executeConfigurationActionRequest' when calling executeConfigurationAction");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultExecuteConfigurationActionResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}/action', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAppStoreConfig operation.
+ * @callback module:api/AppStoreConfigurationsApi~getAppStoreConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppStoreAppConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {String} configId
+ * @param {module:api/AppStoreConfigurationsApi~getAppStoreConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppStoreAppConfiguration}
+ */
+ getAppStoreConfig(appId, appStoreAppId, configId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAppStoreConfig");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling getAppStoreConfig");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling getAppStoreConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAppStoreAppConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getConfiguredAppSingleApp operation.
+ * @callback module:api/AppStoreConfigurationsApi~getConfiguredAppSingleAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultAppStoreAppConfigurationSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreConfigurationsApi~getConfiguredAppSingleAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultAppStoreAppConfigurationSummary}
+ */
+ getConfiguredAppSingleApp(appId, appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getConfiguredAppSingleApp");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling getConfiguredAppSingleApp");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultAppStoreAppConfigurationSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getConfiguredApps operation.
+ * @callback module:api/AppStoreConfigurationsApi~getConfiguredAppsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultAppStoreAppSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/AppStoreConfigurationsApi~getConfiguredAppsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultAppStoreAppSummary}
+ */
+ getConfiguredApps(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getConfiguredApps");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultAppStoreAppSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateAppStoreConfig operation.
+ * @callback module:api/AppStoreConfigurationsApi~updateAppStoreConfigCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {String} configId
+ * @param {module:model/UpdateAppStoreAppConfiguration} updateAppStoreAppConfiguration
+ * @param {module:api/AppStoreConfigurationsApi~updateAppStoreConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateAppStoreConfig(appId, appStoreAppId, configId, updateAppStoreAppConfiguration, callback) {
+ let postBody = updateAppStoreAppConfiguration;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateAppStoreConfig");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling updateAppStoreConfig");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling updateAppStoreConfig");
+ }
+ // verify the required parameter 'updateAppStoreAppConfiguration' is set
+ if (updateAppStoreAppConfiguration === undefined || updateAppStoreAppConfiguration === null) {
+ throw new Error("Missing the required parameter 'updateAppStoreAppConfiguration' when calling updateAppStoreConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateAppStoreConfigSettingValues operation.
+ * @callback module:api/AppStoreConfigurationsApi~updateAppStoreConfigSettingValuesCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {String} configId
+ * @param {module:model/UpdateAppStoreAppConfigurationValuesBatch} updateAppStoreAppConfigurationValues
+ * @param {module:api/AppStoreConfigurationsApi~updateAppStoreConfigSettingValuesCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateAppStoreConfigSettingValues(appId, appStoreAppId, configId, updateAppStoreAppConfigurationValues, callback) {
+ let postBody = updateAppStoreAppConfigurationValues;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateAppStoreConfigSettingValues");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling updateAppStoreConfigSettingValues");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling updateAppStoreConfigSettingValues");
+ }
+ // verify the required parameter 'updateAppStoreAppConfigurationValues' is set
+ if (updateAppStoreAppConfigurationValues === undefined || updateAppStoreAppConfigurationValues === null) {
+ throw new Error("Missing the required parameter 'updateAppStoreAppConfigurationValues' when calling updateAppStoreConfigSettingValues");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/config/{configId}/updatesettings', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AppStoreDeveloperApi.js b/src/api/AppStoreDeveloperApi.js
new file mode 100644
index 00000000..9fe71154
--- /dev/null
+++ b/src/api/AppStoreDeveloperApi.js
@@ -0,0 +1,437 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateAppStoreApp from '../model/CreateAppStoreApp';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAppStoreApp from '../model/RestApiResultAppStoreApp';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateAppStoreApp from '../model/UpdateAppStoreApp';
+import UpdateAppStoreAppExternalProduct from '../model/UpdateAppStoreAppExternalProduct';
+
+/**
+* AppStoreDeveloper service.
+* @module api/AppStoreDeveloperApi
+* @version 1.0.0
+*/
+export default class AppStoreDeveloperApi {
+
+ /**
+ * Constructs a new AppStoreDeveloperApi.
+ * @alias module:api/AppStoreDeveloperApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the appVerificationUpdate operation.
+ * @callback module:api/AppStoreDeveloperApi~appVerificationUpdateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {module:model/String} verificationStatus
+ * @param {module:api/AppStoreDeveloperApi~appVerificationUpdateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ appVerificationUpdate(oauthAppId, appStoreAppId, verificationStatus, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling appVerificationUpdate");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling appVerificationUpdate");
+ }
+ // verify the required parameter 'verificationStatus' is set
+ if (verificationStatus === undefined || verificationStatus === null) {
+ throw new Error("Missing the required parameter 'verificationStatus' when calling appVerificationUpdate");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ 'verificationStatus': verificationStatus
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/verification', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createAppStoreApp operation.
+ * @callback module:api/AppStoreDeveloperApi~createAppStoreAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppStoreApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {module:model/CreateAppStoreApp} createAppStoreApp
+ * @param {module:api/AppStoreDeveloperApi~createAppStoreAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppStoreApp}
+ */
+ createAppStoreApp(oauthAppId, createAppStoreApp, callback) {
+ let postBody = createAppStoreApp;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling createAppStoreApp");
+ }
+ // verify the required parameter 'createAppStoreApp' is set
+ if (createAppStoreApp === undefined || createAppStoreApp === null) {
+ throw new Error("Missing the required parameter 'createAppStoreApp' when calling createAppStoreApp");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAppStoreApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteAppStoreApp operation.
+ * @callback module:api/AppStoreDeveloperApi~deleteAppStoreAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreDeveloperApi~deleteAppStoreAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ deleteAppStoreApp(oauthAppId, appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling deleteAppStoreApp");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling deleteAppStoreApp");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAppExternalProduct operation.
+ * @callback module:api/AppStoreDeveloperApi~getAppExternalProductCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreDeveloperApi~getAppExternalProductCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ getAppExternalProduct(oauthAppId, appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getAppExternalProduct");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling getAppExternalProduct");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getExternalFunctionSigningKey operation.
+ * @callback module:api/AppStoreDeveloperApi~getExternalFunctionSigningKeyCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreDeveloperApi~getExternalFunctionSigningKeyCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ getExternalFunctionSigningKey(oauthAppId, appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getExternalFunctionSigningKey");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling getExternalFunctionSigningKey");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_function_signing_key', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateAppStoreApp operation.
+ * @callback module:api/AppStoreDeveloperApi~updateAppStoreAppCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {module:model/UpdateAppStoreApp} appStoreApp
+ * @param {module:api/AppStoreDeveloperApi~updateAppStoreAppCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateAppStoreApp(oauthAppId, appStoreAppId, appStoreApp, callback) {
+ let postBody = appStoreApp;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling updateAppStoreApp");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling updateAppStoreApp");
+ }
+ // verify the required parameter 'appStoreApp' is set
+ if (appStoreApp === undefined || appStoreApp === null) {
+ throw new Error("Missing the required parameter 'appStoreApp' when calling updateAppStoreApp");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateExternalProduct operation.
+ * @callback module:api/AppStoreDeveloperApi~updateExternalProductCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {module:model/UpdateAppStoreAppExternalProduct} appStoreAppExternalProduct
+ * @param {module:api/AppStoreDeveloperApi~updateExternalProductCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateExternalProduct(oauthAppId, appStoreAppId, appStoreAppExternalProduct, callback) {
+ let postBody = appStoreAppExternalProduct;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling updateExternalProduct");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling updateExternalProduct");
+ }
+ // verify the required parameter 'appStoreAppExternalProduct' is set
+ if (appStoreAppExternalProduct === undefined || appStoreAppExternalProduct === null) {
+ throw new Error("Missing the required parameter 'appStoreAppExternalProduct' when calling updateExternalProduct");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/external_product', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadAppStoreAppLogo operation.
+ * @callback module:api/AppStoreDeveloperApi~uploadAppStoreAppLogoCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appStoreAppId
+ * @param {File} Image App Store App Logo
+ * @param {module:api/AppStoreDeveloperApi~uploadAppStoreAppLogoCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ uploadAppStoreAppLogo(oauthAppId, appStoreAppId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling uploadAppStoreAppLogo");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling uploadAppStoreAppLogo");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadAppStoreAppLogo");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/oauthclients/{oauthAppId}/appstore/apps/{appStoreAppId}/logo', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AppStoreEntitlementsApi.js b/src/api/AppStoreEntitlementsApi.js
new file mode 100644
index 00000000..0b009586
--- /dev/null
+++ b/src/api/AppStoreEntitlementsApi.js
@@ -0,0 +1,88 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAppStoreAppEntitlements from '../model/RestApiResultAppStoreAppEntitlements';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* AppStoreEntitlements service.
+* @module api/AppStoreEntitlementsApi
+* @version 1.0.0
+*/
+export default class AppStoreEntitlementsApi {
+
+ /**
+ * Constructs a new AppStoreEntitlementsApi.
+ * @alias module:api/AppStoreEntitlementsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getAppStoreAppEntitlements operation.
+ * @callback module:api/AppStoreEntitlementsApi~getAppStoreAppEntitlementsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppStoreAppEntitlements} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreAppId
+ * @param {module:api/AppStoreEntitlementsApi~getAppStoreAppEntitlementsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppStoreAppEntitlements}
+ */
+ getAppStoreAppEntitlements(appId, appStoreAppId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAppStoreAppEntitlements");
+ }
+ // verify the required parameter 'appStoreAppId' is set
+ if (appStoreAppId === undefined || appStoreAppId === null) {
+ throw new Error("Missing the required parameter 'appStoreAppId' when calling getAppStoreAppEntitlements");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'appStoreAppId': appStoreAppId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultAppStoreAppEntitlements;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/appstore/apps/{appStoreAppId}/entitlements', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AppsApi.js b/src/api/AppsApi.js
new file mode 100644
index 00000000..816409d5
--- /dev/null
+++ b/src/api/AppsApi.js
@@ -0,0 +1,895 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import AppConfigUpdateModel from '../model/AppConfigUpdateModel';
+import AppLookup from '../model/AppLookup';
+import CreateAppParameters from '../model/CreateAppParameters';
+import Language from '../model/Language';
+import RestApiArrayResultSupportedCountry from '../model/RestApiArrayResultSupportedCountry';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultApp from '../model/RestApiPaginationResultApp';
+import RestApiResultApp from '../model/RestApiResultApp';
+import RestApiResultAppCompliance from '../model/RestApiResultAppCompliance';
+import RestApiResultDnsRecordInformation from '../model/RestApiResultDnsRecordInformation';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Apps service.
+* @module api/AppsApi
+* @version 1.0.0
+*/
+export default class AppsApi {
+
+ /**
+ * Constructs a new AppsApi.
+ * @alias module:api/AppsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the appsSetPropertyId operation.
+ * @callback module:api/AppsApi~appsSetPropertyIdCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} orgId
+ * @param {module:api/AppsApi~appsSetPropertyIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ appsSetPropertyId(appId, orgId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling appsSetPropertyId");
+ }
+ // verify the required parameter 'orgId' is set
+ if (orgId === undefined || orgId === null) {
+ throw new Error("Missing the required parameter 'orgId' when calling appsSetPropertyId");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'orgId': orgId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/orgId/{orgId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createApp operation.
+ * @callback module:api/AppsApi~createAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/CreateAppParameters} parameters
+ * @param {module:api/AppsApi~createAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ createApp(parameters, callback) {
+ let postBody = parameters;
+ // verify the required parameter 'parameters' is set
+ if (parameters === undefined || parameters === null) {
+ throw new Error("Missing the required parameter 'parameters' when calling createApp");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getApp operation.
+ * @callback module:api/AppsApi~getAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/AppsApi~getAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultApp}
+ */
+ getApp(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAppHostnameStatus operation.
+ * @callback module:api/AppsApi~getAppHostnameStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultDnsRecordInformation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/AppsApi~getAppHostnameStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultDnsRecordInformation}
+ */
+ getAppHostnameStatus(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAppHostnameStatus");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultDnsRecordInformation;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/hostnamestatus', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAppName operation.
+ * @callback module:api/AppsApi~getAppNameCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/AppsApi~getAppNameCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ getAppName(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAppName");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/name', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getApps operation.
+ * @callback module:api/AppsApi~getAppsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.nameFilter
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/AppsApi~getAppsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultApp}
+ */
+ getApps(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'nameFilter': opts['nameFilter'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCompliance operation.
+ * @callback module:api/AppsApi~getComplianceCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppCompliance} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/AppsApi~getComplianceCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppCompliance}
+ */
+ getCompliance(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCompliance");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAppCompliance;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/compliance', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPanaceaVanityUrl operation.
+ * @callback module:api/AppsApi~getPanaceaVanityUrlCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/AppsApi~getPanaceaVanityUrlCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ getPanaceaVanityUrl(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPanaceaVanityUrl");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/panacea/url', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getSupportedCountries operation.
+ * @callback module:api/AppsApi~getSupportedCountriesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultSupportedCountry} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/AppsApi~getSupportedCountriesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultSupportedCountry}
+ */
+ getSupportedCountries(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultSupportedCountry;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/supportedcountries', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the isPanaceaVanityUrlAvailable operation.
+ * @callback module:api/AppsApi~isPanaceaVanityUrlAvailableCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} vanityUrl
+ * @param {String} appId
+ * @param {module:api/AppsApi~isPanaceaVanityUrlAvailableCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ isPanaceaVanityUrlAvailable(vanityUrl, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'vanityUrl' is set
+ if (vanityUrl === undefined || vanityUrl === null) {
+ throw new Error("Missing the required parameter 'vanityUrl' when calling isPanaceaVanityUrlAvailable");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling isPanaceaVanityUrlAvailable");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'vanityUrl': vanityUrl
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/panacea/url/available', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the lookupByWhitelabelId operation.
+ * @callback module:api/AppsApi~lookupByWhitelabelIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/AppLookup} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} whitelabelId
+ * @param {module:api/AppsApi~lookupByWhitelabelIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/AppLookup}
+ */
+ lookupByWhitelabelId(whitelabelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'whitelabelId' is set
+ if (whitelabelId === undefined || whitelabelId === null) {
+ throw new Error("Missing the required parameter 'whitelabelId' when calling lookupByWhitelabelId");
+ }
+
+ let pathParams = {
+ 'whitelabelId': whitelabelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = AppLookup;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{whitelabelId}/lookup', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setAppConfig operation.
+ * @callback module:api/AppsApi~setAppConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/AppConfigUpdateModel} appConfigUpdate
+ * @param {module:api/AppsApi~setAppConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultApp}
+ */
+ setAppConfig(appId, appConfigUpdate, callback) {
+ let postBody = appConfigUpdate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setAppConfig");
+ }
+ // verify the required parameter 'appConfigUpdate' is set
+ if (appConfigUpdate === undefined || appConfigUpdate === null) {
+ throw new Error("Missing the required parameter 'appConfigUpdate' when calling setAppConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/config', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setAppHostname operation.
+ * @callback module:api/AppsApi~setAppHostnameCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} hostname
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.isEmbed
+ * @param {module:api/AppsApi~setAppHostnameCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ setAppHostname(appId, hostname, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setAppHostname");
+ }
+ // verify the required parameter 'hostname' is set
+ if (hostname === undefined || hostname === null) {
+ throw new Error("Missing the required parameter 'hostname' when calling setAppHostname");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'hostname': hostname,
+ 'isEmbed': opts['isEmbed']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/hostname', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setAppLanguages operation.
+ * @callback module:api/AppsApi~setAppLanguagesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Array.} languages
+ * @param {module:api/AppsApi~setAppLanguagesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultApp}
+ */
+ setAppLanguages(appId, languages, callback) {
+ let postBody = languages;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setAppLanguages");
+ }
+ // verify the required parameter 'languages' is set
+ if (languages === undefined || languages === null) {
+ throw new Error("Missing the required parameter 'languages' when calling setAppLanguages");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/config/languages', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setAppStoreName operation.
+ * @callback module:api/AppsApi~setAppStoreNameCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} appStoreName
+ * @param {module:api/AppsApi~setAppStoreNameCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setAppStoreName(appId, appStoreName, callback) {
+ let postBody = appStoreName;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setAppStoreName");
+ }
+ // verify the required parameter 'appStoreName' is set
+ if (appStoreName === undefined || appStoreName === null) {
+ throw new Error("Missing the required parameter 'appStoreName' when calling setAppStoreName");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/appstorename', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setCompliance operation.
+ * @callback module:api/AppsApi~setComplianceCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppCompliance} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} complianceType
+ * @param {module:api/AppsApi~setComplianceCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppCompliance}
+ */
+ setCompliance(appId, complianceType, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setCompliance");
+ }
+ // verify the required parameter 'complianceType' is set
+ if (complianceType === undefined || complianceType === null) {
+ throw new Error("Missing the required parameter 'complianceType' when calling setCompliance");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'complianceType': complianceType
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAppCompliance;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/compliance', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setPanaceaVanityUrl operation.
+ * @callback module:api/AppsApi~setPanaceaVanityUrlCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} vanityUrl
+ * @param {module:api/AppsApi~setPanaceaVanityUrlCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ setPanaceaVanityUrl(appId, vanityUrl, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setPanaceaVanityUrl");
+ }
+ // verify the required parameter 'vanityUrl' is set
+ if (vanityUrl === undefined || vanityUrl === null) {
+ throw new Error("Missing the required parameter 'vanityUrl' when calling setPanaceaVanityUrl");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'vanityUrl': vanityUrl
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/panacea/url', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the toggleNextGenWeb operation.
+ * @callback module:api/AppsApi~toggleNextGenWebCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} hostname
+ * @param {String} vanityUrl
+ * @param {Boolean} isNextGenWeb
+ * @param {module:api/AppsApi~toggleNextGenWebCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ toggleNextGenWeb(appId, hostname, vanityUrl, isNextGenWeb, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling toggleNextGenWeb");
+ }
+ // verify the required parameter 'hostname' is set
+ if (hostname === undefined || hostname === null) {
+ throw new Error("Missing the required parameter 'hostname' when calling toggleNextGenWeb");
+ }
+ // verify the required parameter 'vanityUrl' is set
+ if (vanityUrl === undefined || vanityUrl === null) {
+ throw new Error("Missing the required parameter 'vanityUrl' when calling toggleNextGenWeb");
+ }
+ // verify the required parameter 'isNextGenWeb' is set
+ if (isNextGenWeb === undefined || isNextGenWeb === null) {
+ throw new Error("Missing the required parameter 'isNextGenWeb' when calling toggleNextGenWeb");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'hostname': hostname,
+ 'vanityUrl': vanityUrl,
+ 'isNextGenWeb': isNextGenWeb
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/nextgenweb', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadAppLogo operation.
+ * @callback module:api/AppsApi~uploadAppLogoCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {File} Image App Logo
+ * @param {module:api/AppsApi~uploadAppLogoCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ uploadAppLogo(appId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling uploadAppLogo");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadAppLogo");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/apps/{appId}/logo', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AuditLogsApi.js b/src/api/AuditLogsApi.js
new file mode 100644
index 00000000..796ba464
--- /dev/null
+++ b/src/api/AuditLogsApi.js
@@ -0,0 +1,131 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import ExternalStoreAuditLog from '../model/ExternalStoreAuditLog';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* AuditLogs service.
+* @module api/AuditLogsApi
+* @version 1.0.0
+*/
+export default class AuditLogsApi {
+
+ /**
+ * Constructs a new AuditLogsApi.
+ * @alias module:api/AuditLogsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addOrderAuditLog operation.
+ * @callback module:api/AuditLogsApi~addOrderAuditLogCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {Array.} externalEventCreate
+ * @param {module:api/AuditLogsApi~addOrderAuditLogCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ addOrderAuditLog(orderId, externalEventCreate, callback) {
+ let postBody = externalEventCreate;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling addOrderAuditLog");
+ }
+ // verify the required parameter 'externalEventCreate' is set
+ if (externalEventCreate === undefined || externalEventCreate === null) {
+ throw new Error("Missing the required parameter 'externalEventCreate' when calling addOrderAuditLog");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/auditlogs/orders/{orderId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the addStoreAuditLogEvent operation.
+ * @callback module:api/AuditLogsApi~addStoreAuditLogEventCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Array.} externalEventCreate
+ * @param {module:api/AuditLogsApi~addStoreAuditLogEventCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ addStoreAuditLogEvent(storeId, externalEventCreate, callback) {
+ let postBody = externalEventCreate;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling addStoreAuditLogEvent");
+ }
+ // verify the required parameter 'externalEventCreate' is set
+ if (externalEventCreate === undefined || externalEventCreate === null) {
+ throw new Error("Missing the required parameter 'externalEventCreate' when calling addStoreAuditLogEvent");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/auditlogs/stores/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/AuthorizationTokensApi.js b/src/api/AuthorizationTokensApi.js
new file mode 100644
index 00000000..569da7ab
--- /dev/null
+++ b/src/api/AuthorizationTokensApi.js
@@ -0,0 +1,140 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultOAuthTokenModel from '../model/RestApiPaginationResultOAuthTokenModel';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* AuthorizationTokens service.
+* @module api/AuthorizationTokensApi
+* @version 1.0.0
+*/
+export default class AuthorizationTokensApi {
+
+ /**
+ * Constructs a new AuthorizationTokensApi.
+ * @alias module:api/AuthorizationTokensApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getAuthorizationTokens operation.
+ * @callback module:api/AuthorizationTokensApi~getAuthorizationTokensCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultOAuthTokenModel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/AuthorizationTokensApi~getAuthorizationTokensCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultOAuthTokenModel}
+ */
+ getAuthorizationTokens(oauthAppId, appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getAuthorizationTokens");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAuthorizationTokens");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiPaginationResultOAuthTokenModel;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/authorizationtokens/{oauthAppId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the revokeToken operation.
+ * @callback module:api/AuthorizationTokensApi~revokeTokenCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} key
+ * @param {String} appId
+ * @param {module:api/AuthorizationTokensApi~revokeTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ revokeToken(key, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'key' is set
+ if (key === undefined || key === null) {
+ throw new Error("Missing the required parameter 'key' when calling revokeToken");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling revokeToken");
+ }
+
+ let pathParams = {
+ 'key': key,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/authorizationtokens/{key}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/BankAccountApi.js b/src/api/BankAccountApi.js
new file mode 100644
index 00000000..0defbc8b
--- /dev/null
+++ b/src/api/BankAccountApi.js
@@ -0,0 +1,467 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import BankAccountCreate from '../model/BankAccountCreate';
+import RestApiArrayResultBankAccountSummary from '../model/RestApiArrayResultBankAccountSummary';
+import RestApiArrayResultCountryWithAccountFieldsDefinitions from '../model/RestApiArrayResultCountryWithAccountFieldsDefinitions';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAccountFieldsDefinitions from '../model/RestApiResultAccountFieldsDefinitions';
+import RestApiResultBankAccountDetail from '../model/RestApiResultBankAccountDetail';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* BankAccount service.
+* @module api/BankAccountApi
+* @version 1.0.0
+*/
+export default class BankAccountApi {
+
+ /**
+ * Constructs a new BankAccountApi.
+ * @alias module:api/BankAccountApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the attachBankAccountToStore operation.
+ * @callback module:api/BankAccountApi~attachBankAccountToStoreCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} storeId
+ * @param {module:api/BankAccountApi~attachBankAccountToStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ attachBankAccountToStore(appId, bankAccountId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling attachBankAccountToStore");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling attachBankAccountToStore");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling attachBankAccountToStore");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/store/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createBankAccount operation.
+ * @callback module:api/BankAccountApi~createBankAccountCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBankAccountDetail} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/BankAccountCreate} account
+ * @param {module:api/BankAccountApi~createBankAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBankAccountDetail}
+ */
+ createBankAccount(appId, account, callback) {
+ let postBody = account;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createBankAccount");
+ }
+ // verify the required parameter 'account' is set
+ if (account === undefined || account === null) {
+ throw new Error("Missing the required parameter 'account' when calling createBankAccount");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBankAccountDetail;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteBankAccount operation.
+ * @callback module:api/BankAccountApi~deleteBankAccountCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {module:api/BankAccountApi~deleteBankAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteBankAccount(appId, bankAccountId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteBankAccount");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling deleteBankAccount");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBankAccountById operation.
+ * @callback module:api/BankAccountApi~getBankAccountByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBankAccountDetail} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} bankAccountId
+ * @param {String} appId
+ * @param {module:api/BankAccountApi~getBankAccountByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBankAccountDetail}
+ */
+ getBankAccountById(bankAccountId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getBankAccountById");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getBankAccountById");
+ }
+
+ let pathParams = {
+ 'bankAccountId': bankAccountId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBankAccountDetail;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBankAccounts operation.
+ * @callback module:api/BankAccountApi~getBankAccountsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultBankAccountSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/BankAccountApi~getBankAccountsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultBankAccountSummary}
+ */
+ getBankAccounts(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getBankAccounts");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultBankAccountSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCountriesWithFieldDefinitions operation.
+ * @callback module:api/BankAccountApi~getCountriesWithFieldDefinitionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultCountryWithAccountFieldsDefinitions} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/BankAccountApi~getCountriesWithFieldDefinitionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultCountryWithAccountFieldsDefinitions}
+ */
+ getCountriesWithFieldDefinitions(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCountriesWithFieldDefinitions");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultCountryWithAccountFieldsDefinitions;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/countries-field-definitions', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getFieldDefinitions operation.
+ * @callback module:api/BankAccountApi~getFieldDefinitionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAccountFieldsDefinitions} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/BankAccountApi~getFieldDefinitionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAccountFieldsDefinitions}
+ */
+ getFieldDefinitions(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getFieldDefinitions");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAccountFieldsDefinitions;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/field-definitions', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateBankAccount operation.
+ * @callback module:api/BankAccountApi~updateBankAccountCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {module:model/BankAccountCreate} account
+ * @param {module:api/BankAccountApi~updateBankAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateBankAccount(appId, bankAccountId, account, callback) {
+ let postBody = account;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateBankAccount");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling updateBankAccount");
+ }
+ // verify the required parameter 'account' is set
+ if (account === undefined || account === null) {
+ throw new Error("Missing the required parameter 'account' when calling updateBankAccount");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateBankAccountState operation.
+ * @callback module:api/BankAccountApi~updateBankAccountStateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {String} state
+ * @param {String} reason
+ * @param {module:api/BankAccountApi~updateBankAccountStateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateBankAccountState(appId, bankAccountId, state, reason, callback) {
+ let postBody = reason;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateBankAccountState");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling updateBankAccountState");
+ }
+ // verify the required parameter 'state' is set
+ if (state === undefined || state === null) {
+ throw new Error("Missing the required parameter 'state' when calling updateBankAccountState");
+ }
+ // verify the required parameter 'reason' is set
+ if (reason === undefined || reason === null) {
+ throw new Error("Missing the required parameter 'reason' when calling updateBankAccountState");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'state': state
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/state/{state}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CampaignsApi.js b/src/api/CampaignsApi.js
new file mode 100644
index 00000000..92e61344
--- /dev/null
+++ b/src/api/CampaignsApi.js
@@ -0,0 +1,510 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import LoyaltyCampaignBase from '../model/LoyaltyCampaignBase';
+import RestApiArrayResultLoyaltyCampaign from '../model/RestApiArrayResultLoyaltyCampaign';
+import RestApiArrayResultRetentionCampaign from '../model/RestApiArrayResultRetentionCampaign';
+import RestApiArrayResultStoreListItem from '../model/RestApiArrayResultStoreListItem';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultLoyaltyCampaign from '../model/RestApiResultLoyaltyCampaign';
+import RestApiResultRetentionCampaign from '../model/RestApiResultRetentionCampaign';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import RetentionCampaignBase from '../model/RetentionCampaignBase';
+
+/**
+* Campaigns service.
+* @module api/CampaignsApi
+* @version 1.0.0
+*/
+export default class CampaignsApi {
+
+ /**
+ * Constructs a new CampaignsApi.
+ * @alias module:api/CampaignsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createLoyaltyCampaign operation.
+ * @callback module:api/CampaignsApi~createLoyaltyCampaignCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLoyaltyCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/LoyaltyCampaignBase} campaign
+ * @param {module:api/CampaignsApi~createLoyaltyCampaignCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLoyaltyCampaign}
+ */
+ createLoyaltyCampaign(appId, campaign, callback) {
+ let postBody = campaign;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createLoyaltyCampaign");
+ }
+ // verify the required parameter 'campaign' is set
+ if (campaign === undefined || campaign === null) {
+ throw new Error("Missing the required parameter 'campaign' when calling createLoyaltyCampaign");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultLoyaltyCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/loyalty', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createRetentionCampaign operation.
+ * @callback module:api/CampaignsApi~createRetentionCampaignCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRetentionCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/RetentionCampaignBase} campaign
+ * @param {module:api/CampaignsApi~createRetentionCampaignCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRetentionCampaign}
+ */
+ createRetentionCampaign(appId, campaign, callback) {
+ let postBody = campaign;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createRetentionCampaign");
+ }
+ // verify the required parameter 'campaign' is set
+ if (campaign === undefined || campaign === null) {
+ throw new Error("Missing the required parameter 'campaign' when calling createRetentionCampaign");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultRetentionCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/retention', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getLoyaltyCampaignsForApp operation.
+ * @callback module:api/CampaignsApi~getLoyaltyCampaignsForAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultLoyaltyCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/CampaignsApi~getLoyaltyCampaignsForAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultLoyaltyCampaign}
+ */
+ getLoyaltyCampaignsForApp(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getLoyaltyCampaignsForApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultLoyaltyCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/loyalty', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getLoyaltyCampaignsForStore operation.
+ * @callback module:api/CampaignsApi~getLoyaltyCampaignsForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultLoyaltyCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/CampaignsApi~getLoyaltyCampaignsForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultLoyaltyCampaign}
+ */
+ getLoyaltyCampaignsForStore(appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getLoyaltyCampaignsForStore");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getLoyaltyCampaignsForStore");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultLoyaltyCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/loyalty/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRetentionCampaignsForApp operation.
+ * @callback module:api/CampaignsApi~getRetentionCampaignsForAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRetentionCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/CampaignsApi~getRetentionCampaignsForAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRetentionCampaign}
+ */
+ getRetentionCampaignsForApp(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getRetentionCampaignsForApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultRetentionCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/retention', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRetentionCampaignsForStore operation.
+ * @callback module:api/CampaignsApi~getRetentionCampaignsForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRetentionCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/CampaignsApi~getRetentionCampaignsForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRetentionCampaign}
+ */
+ getRetentionCampaignsForStore(appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getRetentionCampaignsForStore");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getRetentionCampaignsForStore");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultRetentionCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/retention/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreList operation.
+ * @callback module:api/CampaignsApi~getStoreListCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultStoreListItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.onlyPublished
+ * @param {module:api/CampaignsApi~getStoreListCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultStoreListItem}
+ */
+ getStoreList(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoreList");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'onlyPublished': opts['onlyPublished']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultStoreListItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the removeCampaign operation.
+ * @callback module:api/CampaignsApi~removeCampaignCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} campaignId
+ * @param {module:api/CampaignsApi~removeCampaignCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ removeCampaign(appId, campaignId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling removeCampaign");
+ }
+ // verify the required parameter 'campaignId' is set
+ if (campaignId === undefined || campaignId === null) {
+ throw new Error("Missing the required parameter 'campaignId' when calling removeCampaign");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'campaignId': campaignId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/{campaignId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateLoyaltyCampaign operation.
+ * @callback module:api/CampaignsApi~updateLoyaltyCampaignCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLoyaltyCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} campaignId
+ * @param {module:model/LoyaltyCampaignBase} campaign
+ * @param {module:api/CampaignsApi~updateLoyaltyCampaignCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLoyaltyCampaign}
+ */
+ updateLoyaltyCampaign(appId, campaignId, campaign, callback) {
+ let postBody = campaign;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateLoyaltyCampaign");
+ }
+ // verify the required parameter 'campaignId' is set
+ if (campaignId === undefined || campaignId === null) {
+ throw new Error("Missing the required parameter 'campaignId' when calling updateLoyaltyCampaign");
+ }
+ // verify the required parameter 'campaign' is set
+ if (campaign === undefined || campaign === null) {
+ throw new Error("Missing the required parameter 'campaign' when calling updateLoyaltyCampaign");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'campaignId': campaignId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultLoyaltyCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/loyalty/{campaignId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateRetentionCampaign operation.
+ * @callback module:api/CampaignsApi~updateRetentionCampaignCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRetentionCampaign} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} campaignId
+ * @param {module:model/RetentionCampaignBase} campaign
+ * @param {module:api/CampaignsApi~updateRetentionCampaignCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRetentionCampaign}
+ */
+ updateRetentionCampaign(appId, campaignId, campaign, callback) {
+ let postBody = campaign;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateRetentionCampaign");
+ }
+ // verify the required parameter 'campaignId' is set
+ if (campaignId === undefined || campaignId === null) {
+ throw new Error("Missing the required parameter 'campaignId' when calling updateRetentionCampaign");
+ }
+ // verify the required parameter 'campaign' is set
+ if (campaign === undefined || campaign === null) {
+ throw new Error("Missing the required parameter 'campaign' when calling updateRetentionCampaign");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'campaignId': campaignId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultRetentionCampaign;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/campaigns/retention/{campaignId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CardReadersApi.js b/src/api/CardReadersApi.js
new file mode 100644
index 00000000..4f423567
--- /dev/null
+++ b/src/api/CardReadersApi.js
@@ -0,0 +1,674 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CardReaderRegistrationRequest from '../model/CardReaderRegistrationRequest';
+import GeoPointRequest from '../model/GeoPointRequest';
+import ProcessPaymentIntentRequest from '../model/ProcessPaymentIntentRequest';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultBluetoothTerminalStatus from '../model/RestApiResultBluetoothTerminalStatus';
+import RestApiResultCardReader from '../model/RestApiResultCardReader';
+import RestApiResultStripeTerminalConnectionToken from '../model/RestApiResultStripeTerminalConnectionToken';
+import RestApiResultStripeTerminalLocation from '../model/RestApiResultStripeTerminalLocation';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UnRegisterCardReaderRequest from '../model/UnRegisterCardReaderRequest';
+
+/**
+* CardReaders service.
+* @module api/CardReadersApi
+* @version 1.0.0
+*/
+export default class CardReadersApi {
+
+ /**
+ * Constructs a new CardReadersApi.
+ * @alias module:api/CardReadersApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the cancelCurrentlyInitiatedBluetoothDeviceUpdate operation.
+ * @callback module:api/CardReadersApi~cancelCurrentlyInitiatedBluetoothDeviceUpdateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:model/String} terminalType
+ * @param {module:api/CardReadersApi~cancelCurrentlyInitiatedBluetoothDeviceUpdateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ cancelCurrentlyInitiatedBluetoothDeviceUpdate(appId, deviceId, terminalType, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling cancelCurrentlyInitiatedBluetoothDeviceUpdate");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling cancelCurrentlyInitiatedBluetoothDeviceUpdate");
+ }
+ // verify the required parameter 'terminalType' is set
+ if (terminalType === undefined || terminalType === null) {
+ throw new Error("Missing the required parameter 'terminalType' when calling cancelCurrentlyInitiatedBluetoothDeviceUpdate");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId,
+ 'terminalType': terminalType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/cancelUpdate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the cancelReaderAction operation.
+ * @callback module:api/CardReadersApi~cancelReaderActionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCardReader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} readerId
+ * @param {String} appId
+ * @param {module:api/CardReadersApi~cancelReaderActionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCardReader}
+ */
+ cancelReaderAction(readerId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'readerId' is set
+ if (readerId === undefined || readerId === null) {
+ throw new Error("Missing the required parameter 'readerId' when calling cancelReaderAction");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling cancelReaderAction");
+ }
+
+ let pathParams = {
+ 'readerId': readerId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCardReader;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payments/terminals/stripe/{readerId}/cancel_action', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the cardReadersGetReader operation.
+ * @callback module:api/CardReadersApi~cardReadersGetReaderCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCardReader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} readerId
+ * @param {String} appId
+ * @param {module:api/CardReadersApi~cardReadersGetReaderCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCardReader}
+ */
+ cardReadersGetReader(readerId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'readerId' is set
+ if (readerId === undefined || readerId === null) {
+ throw new Error("Missing the required parameter 'readerId' when calling cardReadersGetReader");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling cardReadersGetReader");
+ }
+
+ let pathParams = {
+ 'readerId': readerId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCardReader;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payments/terminals/stripe/{readerId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the generateStripeTerminalLocation operation.
+ * @callback module:api/CardReadersApi~generateStripeTerminalLocationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStripeTerminalLocation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/GeoPointRequest} geoPointRequest
+ * @param {module:api/CardReadersApi~generateStripeTerminalLocationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStripeTerminalLocation}
+ */
+ generateStripeTerminalLocation(appId, geoPointRequest, callback) {
+ let postBody = geoPointRequest;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling generateStripeTerminalLocation");
+ }
+ // verify the required parameter 'geoPointRequest' is set
+ if (geoPointRequest === undefined || geoPointRequest === null) {
+ throw new Error("Missing the required parameter 'geoPointRequest' when calling generateStripeTerminalLocation");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStripeTerminalLocation;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stripeterminal/location', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBluetoothTerminalStatus operation.
+ * @callback module:api/CardReadersApi~getBluetoothTerminalStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBluetoothTerminalStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:api/CardReadersApi~getBluetoothTerminalStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBluetoothTerminalStatus}
+ */
+ getBluetoothTerminalStatus(appId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getBluetoothTerminalStatus");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling getBluetoothTerminalStatus");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBluetoothTerminalStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/status', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStripeConnectionToken operation.
+ * @callback module:api/CardReadersApi~getStripeConnectionTokenCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStripeTerminalConnectionToken} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/CardReadersApi~getStripeConnectionTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStripeTerminalConnectionToken}
+ */
+ getStripeConnectionToken(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStripeConnectionToken");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStripeTerminalConnectionToken;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stripeterminal/connectiontoken', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the initiateBluetoothTerminalDeviceUpdateCheck operation.
+ * @callback module:api/CardReadersApi~initiateBluetoothTerminalDeviceUpdateCheckCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {String} terminalType
+ * @param {module:api/CardReadersApi~initiateBluetoothTerminalDeviceUpdateCheckCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ initiateBluetoothTerminalDeviceUpdateCheck(appId, deviceId, terminalType, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling initiateBluetoothTerminalDeviceUpdateCheck");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling initiateBluetoothTerminalDeviceUpdateCheck");
+ }
+ // verify the required parameter 'terminalType' is set
+ if (terminalType === undefined || terminalType === null) {
+ throw new Error("Missing the required parameter 'terminalType' when calling initiateBluetoothTerminalDeviceUpdateCheck");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId,
+ 'terminalType': terminalType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/checkForUpdate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the initiateKioskBluetoothPairingMode operation.
+ * @callback module:api/CardReadersApi~initiateKioskBluetoothPairingModeCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:model/String} terminalType
+ * @param {module:api/CardReadersApi~initiateKioskBluetoothPairingModeCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ initiateKioskBluetoothPairingMode(appId, deviceId, terminalType, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling initiateKioskBluetoothPairingMode");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling initiateKioskBluetoothPairingMode");
+ }
+ // verify the required parameter 'terminalType' is set
+ if (terminalType === undefined || terminalType === null) {
+ throw new Error("Missing the required parameter 'terminalType' when calling initiateKioskBluetoothPairingMode");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId,
+ 'terminalType': terminalType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/pair', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the initiateKioskBluetoothUpdateInstall operation.
+ * @callback module:api/CardReadersApi~initiateKioskBluetoothUpdateInstallCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:model/String} terminalType
+ * @param {module:api/CardReadersApi~initiateKioskBluetoothUpdateInstallCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ initiateKioskBluetoothUpdateInstall(appId, deviceId, terminalType, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling initiateKioskBluetoothUpdateInstall");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling initiateKioskBluetoothUpdateInstall");
+ }
+ // verify the required parameter 'terminalType' is set
+ if (terminalType === undefined || terminalType === null) {
+ throw new Error("Missing the required parameter 'terminalType' when calling initiateKioskBluetoothUpdateInstall");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId,
+ 'terminalType': terminalType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/{terminalType}/installUpdate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the initiateReaderProcessPaymentIntent operation.
+ * @callback module:api/CardReadersApi~initiateReaderProcessPaymentIntentCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCardReader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} readerId
+ * @param {String} appId
+ * @param {module:model/ProcessPaymentIntentRequest} request
+ * @param {module:api/CardReadersApi~initiateReaderProcessPaymentIntentCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCardReader}
+ */
+ initiateReaderProcessPaymentIntent(readerId, appId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'readerId' is set
+ if (readerId === undefined || readerId === null) {
+ throw new Error("Missing the required parameter 'readerId' when calling initiateReaderProcessPaymentIntent");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling initiateReaderProcessPaymentIntent");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling initiateReaderProcessPaymentIntent");
+ }
+
+ let pathParams = {
+ 'readerId': readerId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCardReader;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payments/terminals/stripe/{readerId}/processPaymentIntent', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the registerStripeTerminal operation.
+ * @callback module:api/CardReadersApi~registerStripeTerminalCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCardReader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CardReaderRegistrationRequest} request
+ * @param {module:api/CardReadersApi~registerStripeTerminalCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCardReader}
+ */
+ registerStripeTerminal(appId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling registerStripeTerminal");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling registerStripeTerminal");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCardReader;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payments/terminals/stripe/register', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unRegisterTerminal operation.
+ * @callback module:api/CardReadersApi~unRegisterTerminalCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCardReader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/UnRegisterCardReaderRequest} request
+ * @param {module:api/CardReadersApi~unRegisterTerminalCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCardReader}
+ */
+ unRegisterTerminal(appId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling unRegisterTerminal");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling unRegisterTerminal");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCardReader;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payments/terminals/stripe/unregister', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unpairCurrentlyPairedBluetoothDevice operation.
+ * @callback module:api/CardReadersApi~unpairCurrentlyPairedBluetoothDeviceCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:api/CardReadersApi~unpairCurrentlyPairedBluetoothDeviceCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ unpairCurrentlyPairedBluetoothDevice(appId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling unpairCurrentlyPairedBluetoothDevice");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling unpairCurrentlyPairedBluetoothDevice");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/cardreaders/kiosk/{deviceId}/bluetooth/unpair', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CatalogChangesApi.js b/src/api/CatalogChangesApi.js
new file mode 100644
index 00000000..9bf27233
--- /dev/null
+++ b/src/api/CatalogChangesApi.js
@@ -0,0 +1,185 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import PublishMenuChanges from '../model/PublishMenuChanges';
+import RestApiArrayResultPendingMenuChangesSummaries from '../model/RestApiArrayResultPendingMenuChangesSummaries';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultPendingMenuChanges from '../model/RestApiPaginationResultPendingMenuChanges';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* CatalogChanges service.
+* @module api/CatalogChangesApi
+* @version 1.0.0
+*/
+export default class CatalogChangesApi {
+
+ /**
+ * Constructs a new CatalogChangesApi.
+ * @alias module:api/CatalogChangesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getPendingMenuChanges operation.
+ * @callback module:api/CatalogChangesApi~getPendingMenuChangesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPendingMenuChanges} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu pending changes from Catalog groups and items
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.menuId
+ * @param {String} opts.catalogItemId
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/CatalogChangesApi~getPendingMenuChangesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPendingMenuChanges}
+ */
+ getPendingMenuChanges(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPendingMenuChanges");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'menuId': opts['menuId'],
+ 'catalogItemId': opts['catalogItemId'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPendingMenuChanges;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/catalog-changes', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPendingMenuChangesSummaries operation.
+ * @callback module:api/CatalogChangesApi~getPendingMenuChangesSummariesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultPendingMenuChangesSummaries} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu pending changes summaries by appId
+ * @param {String} appId
+ * @param {module:api/CatalogChangesApi~getPendingMenuChangesSummariesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultPendingMenuChangesSummaries}
+ */
+ getPendingMenuChangesSummaries(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPendingMenuChangesSummaries");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultPendingMenuChangesSummaries;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/catalog-changes/summaries', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the publishPendingMenuChanges operation.
+ * @callback module:api/CatalogChangesApi~publishPendingMenuChangesCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menus with the pending changes from Catalog groups and items
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {module:model/PublishMenuChanges} publishMenuChanges
+ * @param {module:api/CatalogChangesApi~publishPendingMenuChangesCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ publishPendingMenuChanges(appId, publishMenuChanges, callback) {
+ let postBody = publishMenuChanges;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling publishPendingMenuChanges");
+ }
+ // verify the required parameter 'publishMenuChanges' is set
+ if (publishMenuChanges === undefined || publishMenuChanges === null) {
+ throw new Error("Missing the required parameter 'publishMenuChanges' when calling publishPendingMenuChanges");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/catalog-changes/publish', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CatalogGroupsApi.js b/src/api/CatalogGroupsApi.js
new file mode 100644
index 00000000..836883b7
--- /dev/null
+++ b/src/api/CatalogGroupsApi.js
@@ -0,0 +1,348 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateGroup from '../model/CreateGroup';
+import Group from '../model/Group';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultGroup from '../model/RestApiPaginationResultGroup';
+import RestApiResultGroup from '../model/RestApiResultGroup';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateGroup from '../model/UpdateGroup';
+
+/**
+* CatalogGroups service.
+* @module api/CatalogGroupsApi
+* @version 1.0.0
+*/
+export default class CatalogGroupsApi {
+
+ /**
+ * Constructs a new CatalogGroupsApi.
+ * @alias module:api/CatalogGroupsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the archiveGroup operation.
+ * @callback module:api/CatalogGroupsApi~archiveGroupCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Archive Catalog Group
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogGroupsApi~archiveGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ archiveGroup(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling archiveGroup");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling archiveGroup");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/groups/{catalogItemId}/archive', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createGroup operation.
+ * @callback module:api/CatalogGroupsApi~createGroupCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultGroup} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a Catalog Group
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {module:model/CreateGroup} createGroup
+ * @param {module:api/CatalogGroupsApi~createGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultGroup}
+ */
+ createGroup(appId, createGroup, callback) {
+ let postBody = createGroup;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createGroup");
+ }
+ // verify the required parameter 'createGroup' is set
+ if (createGroup === undefined || createGroup === null) {
+ throw new Error("Missing the required parameter 'createGroup' when calling createGroup");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'MinSelectCount', 'MaxSelectCount', 'Products', 'GroupType', 'Sku', 'Name', 'AutogenerateDisplayText', 'ImageFileName'];
+ let returnType = RestApiResultGroup;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/groups', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the duplicateGroup operation.
+ * @callback module:api/CatalogGroupsApi~duplicateGroupCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Duplicate Catalog Group
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogGroupsApi~duplicateGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ duplicateGroup(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling duplicateGroup");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling duplicateGroup");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/groups/{catalogItemId}/duplicate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getGroupById operation.
+ * @callback module:api/CatalogGroupsApi~getGroupByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Group} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get group by Id
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogGroupsApi~getGroupByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Group}
+ */
+ getGroupById(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getGroupById");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling getGroupById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'CatalogGroupId', 'CatalogItemId', 'IsArchived', 'MinSelectCount', 'Products', 'GroupType', 'Sku', 'Name', 'AutogenerateDisplayText', 'ImageFileName'];
+ let returnType = Group;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/groups/{catalogItemId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getGroups operation.
+ * @callback module:api/CatalogGroupsApi~getGroupsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultGroup} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get paginated groups by app name id filtered by types
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {Array.} groupTypes
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchTerm
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/CatalogGroupsApi~getGroupsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultGroup}
+ */
+ getGroups(appId, groupTypes, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getGroups");
+ }
+ // verify the required parameter 'groupTypes' is set
+ if (groupTypes === undefined || groupTypes === null) {
+ throw new Error("Missing the required parameter 'groupTypes' when calling getGroups");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'groupTypes': this.apiClient.buildCollectionParam(groupTypes, 'multi'),
+ 'searchTerm': opts['searchTerm'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultGroup;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/groups', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateGroup operation.
+ * @callback module:api/CatalogGroupsApi~updateGroupCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update Catalog Group
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:model/UpdateGroup} updateGroup
+ * @param {module:api/CatalogGroupsApi~updateGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateGroup(appId, catalogItemId, updateGroup, callback) {
+ let postBody = updateGroup;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateGroup");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling updateGroup");
+ }
+ // verify the required parameter 'updateGroup' is set
+ if (updateGroup === undefined || updateGroup === null) {
+ throw new Error("Missing the required parameter 'updateGroup' when calling updateGroup");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/groups/{catalogItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CatalogImagesApi.js b/src/api/CatalogImagesApi.js
new file mode 100644
index 00000000..d4a2be67
--- /dev/null
+++ b/src/api/CatalogImagesApi.js
@@ -0,0 +1,90 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CatalogImage from '../model/CatalogImage';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* CatalogImages service.
+* @module api/CatalogImagesApi
+* @version 1.0.0
+*/
+export default class CatalogImagesApi {
+
+ /**
+ * Constructs a new CatalogImagesApi.
+ * @alias module:api/CatalogImagesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the uploadCatalogImage operation.
+ * @callback module:api/CatalogImagesApi~uploadCatalogImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/CatalogImage} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Upload a Catalog Image
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {File} Image Catalog image
+ * @param {module:api/CatalogImagesApi~uploadCatalogImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/CatalogImage}
+ */
+ uploadCatalogImage(appId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling uploadCatalogImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadCatalogImage");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'ImageUri'];
+ let returnType = CatalogImage;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/images', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CatalogItemsApi.js b/src/api/CatalogItemsApi.js
new file mode 100644
index 00000000..aae0e844
--- /dev/null
+++ b/src/api/CatalogItemsApi.js
@@ -0,0 +1,348 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CatalogItem from '../model/CatalogItem';
+import CreateCatalogItem from '../model/CreateCatalogItem';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultCatalogItem from '../model/RestApiPaginationResultCatalogItem';
+import RestApiResultCatalogItem from '../model/RestApiResultCatalogItem';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateCatalogItem from '../model/UpdateCatalogItem';
+
+/**
+* CatalogItems service.
+* @module api/CatalogItemsApi
+* @version 1.0.0
+*/
+export default class CatalogItemsApi {
+
+ /**
+ * Constructs a new CatalogItemsApi.
+ * @alias module:api/CatalogItemsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the archiveCatalogItem operation.
+ * @callback module:api/CatalogItemsApi~archiveCatalogItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Archive Catalog Item
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogItemsApi~archiveCatalogItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ archiveCatalogItem(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling archiveCatalogItem");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling archiveCatalogItem");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/items/{catalogItemId}/archive', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createCatalogItem operation.
+ * @callback module:api/CatalogItemsApi~createCatalogItemCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCatalogItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a Catalog Item
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {module:model/CreateCatalogItem} createCatalogItem
+ * @param {module:api/CatalogItemsApi~createCatalogItemCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCatalogItem}
+ */
+ createCatalogItem(appId, createCatalogItem, callback) {
+ let postBody = createCatalogItem;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createCatalogItem");
+ }
+ // verify the required parameter 'createCatalogItem' is set
+ if (createCatalogItem === undefined || createCatalogItem === null) {
+ throw new Error("Missing the required parameter 'createCatalogItem' when calling createCatalogItem");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'CatalogItemId', 'IsArchived', 'Groups', 'ItemType', 'Sku', 'Name', 'Description', 'Price', 'ImageFileName', 'Alcohol'];
+ let returnType = RestApiResultCatalogItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/items', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the duplicateCatalogItem operation.
+ * @callback module:api/CatalogItemsApi~duplicateCatalogItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Duplicate Catalog Item
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogItemsApi~duplicateCatalogItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ duplicateCatalogItem(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling duplicateCatalogItem");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling duplicateCatalogItem");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/items/{catalogItemId}/duplicate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCatalogItemById operation.
+ * @callback module:api/CatalogItemsApi~getCatalogItemByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/CatalogItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get item by Id
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogItemsApi~getCatalogItemByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/CatalogItem}
+ */
+ getCatalogItemById(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCatalogItemById");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling getCatalogItemById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'CatalogItemId', 'IsArchived', 'Groups', 'ItemType', 'Sku', 'Name', 'Description', 'Price', 'ImageFileName', 'Alcohol'];
+ let returnType = CatalogItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/items/{catalogItemId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getItems operation.
+ * @callback module:api/CatalogItemsApi~getItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultCatalogItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get paginated items by app name id filtered by types
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {Array.} itemTypes
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchTerm
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/CatalogItemsApi~getItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultCatalogItem}
+ */
+ getItems(appId, itemTypes, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getItems");
+ }
+ // verify the required parameter 'itemTypes' is set
+ if (itemTypes === undefined || itemTypes === null) {
+ throw new Error("Missing the required parameter 'itemTypes' when calling getItems");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'itemTypes': this.apiClient.buildCollectionParam(itemTypes, 'multi'),
+ 'searchTerm': opts['searchTerm'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultCatalogItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/items', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateCatalogItem operation.
+ * @callback module:api/CatalogItemsApi~updateCatalogItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update Catalog Item
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:model/UpdateCatalogItem} updateCatalogItem
+ * @param {module:api/CatalogItemsApi~updateCatalogItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateCatalogItem(appId, catalogItemId, updateCatalogItem, callback) {
+ let postBody = updateCatalogItem;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateCatalogItem");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling updateCatalogItem");
+ }
+ // verify the required parameter 'updateCatalogItem' is set
+ if (updateCatalogItem === undefined || updateCatalogItem === null) {
+ throw new Error("Missing the required parameter 'updateCatalogItem' when calling updateCatalogItem");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/items/{catalogItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CatalogProductsApi.js b/src/api/CatalogProductsApi.js
new file mode 100644
index 00000000..1101c79a
--- /dev/null
+++ b/src/api/CatalogProductsApi.js
@@ -0,0 +1,348 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateProduct from '../model/CreateProduct';
+import Product from '../model/Product';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultProduct from '../model/RestApiPaginationResultProduct';
+import RestApiResultProduct from '../model/RestApiResultProduct';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateProduct from '../model/UpdateProduct';
+
+/**
+* CatalogProducts service.
+* @module api/CatalogProductsApi
+* @version 1.0.0
+*/
+export default class CatalogProductsApi {
+
+ /**
+ * Constructs a new CatalogProductsApi.
+ * @alias module:api/CatalogProductsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the archiveProduct operation.
+ * @callback module:api/CatalogProductsApi~archiveProductCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Archive Product
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogProductsApi~archiveProductCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ archiveProduct(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling archiveProduct");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling archiveProduct");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/products/{catalogItemId}/archive', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createProduct operation.
+ * @callback module:api/CatalogProductsApi~createProductCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultProduct} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a Product
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {module:model/CreateProduct} createProduct
+ * @param {module:api/CatalogProductsApi~createProductCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultProduct}
+ */
+ createProduct(appId, createProduct, callback) {
+ let postBody = createProduct;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createProduct");
+ }
+ // verify the required parameter 'createProduct' is set
+ if (createProduct === undefined || createProduct === null) {
+ throw new Error("Missing the required parameter 'createProduct' when calling createProduct");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'CatalogItemId', 'IsArchived', 'Groups', 'ProductType', 'Sku', 'Name', 'Description', 'Price', 'ImageFileName', 'Alcohol'];
+ let returnType = RestApiResultProduct;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/products', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the duplicateProduct operation.
+ * @callback module:api/CatalogProductsApi~duplicateProductCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Duplicate Product
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogProductsApi~duplicateProductCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ duplicateProduct(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling duplicateProduct");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling duplicateProduct");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/products/{catalogItemId}/duplicate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getProductById operation.
+ * @callback module:api/CatalogProductsApi~getProductByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Product} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get Product by Id
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:api/CatalogProductsApi~getProductByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Product}
+ */
+ getProductById(appId, catalogItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getProductById");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling getProductById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'CatalogItemId', 'IsArchived', 'Groups', 'ProductType', 'Sku', 'Name', 'Description', 'Price', 'ImageFileName', 'Alcohol'];
+ let returnType = Product;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/products/{catalogItemId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getProducts operation.
+ * @callback module:api/CatalogProductsApi~getProductsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultProduct} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get paginated products by app name id filtered by types
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {Array.} productTypes
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchTerm
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/CatalogProductsApi~getProductsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultProduct}
+ */
+ getProducts(appId, productTypes, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getProducts");
+ }
+ // verify the required parameter 'productTypes' is set
+ if (productTypes === undefined || productTypes === null) {
+ throw new Error("Missing the required parameter 'productTypes' when calling getProducts");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'productTypes': this.apiClient.buildCollectionParam(productTypes, 'multi'),
+ 'searchTerm': opts['searchTerm'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultProduct;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/products', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateProduct operation.
+ * @callback module:api/CatalogProductsApi~updateProductCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update Product
+ * [BETA - this endpoint is under development, do not use it in your production system]
+ * @param {String} appId
+ * @param {String} catalogItemId
+ * @param {module:model/UpdateProduct} updateProduct
+ * @param {module:api/CatalogProductsApi~updateProductCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateProduct(appId, catalogItemId, updateProduct, callback) {
+ let postBody = updateProduct;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateProduct");
+ }
+ // verify the required parameter 'catalogItemId' is set
+ if (catalogItemId === undefined || catalogItemId === null) {
+ throw new Error("Missing the required parameter 'catalogItemId' when calling updateProduct");
+ }
+ // verify the required parameter 'updateProduct' is set
+ if (updateProduct === undefined || updateProduct === null) {
+ throw new Error("Missing the required parameter 'updateProduct' when calling updateProduct");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'catalogItemId': catalogItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/catalog/products/{catalogItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/ChannelsApi.js b/src/api/ChannelsApi.js
new file mode 100644
index 00000000..fe57e11c
--- /dev/null
+++ b/src/api/ChannelsApi.js
@@ -0,0 +1,616 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import Response from '../model/Response';
+import RestApiArrayResultChannel from '../model/RestApiArrayResultChannel';
+import RestApiArrayResultStoreChannelAssignment from '../model/RestApiArrayResultStoreChannelAssignment';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAppChannelAssignment from '../model/RestApiResultAppChannelAssignment';
+import RestApiResultChannel from '../model/RestApiResultChannel';
+import RestApiResultStoreChannelAssignment from '../model/RestApiResultStoreChannelAssignment';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Channels service.
+* @module api/ChannelsApi
+* @version 1.0.0
+*/
+export default class ChannelsApi {
+
+ /**
+ * Constructs a new ChannelsApi.
+ * @alias module:api/ChannelsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the assignAppIdToSalesChannel operation.
+ * @callback module:api/ChannelsApi~assignAppIdToSalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {module:api/ChannelsApi~assignAppIdToSalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ assignAppIdToSalesChannel(appId, channelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling assignAppIdToSalesChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling assignAppIdToSalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'channelId': channelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{channelId}/assign-appId', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the assignStoreToChannel operation.
+ * @callback module:api/ChannelsApi~assignStoreToChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {module:api/ChannelsApi~assignStoreToChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ assignStoreToChannel(storeId, appId, channelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling assignStoreToChannel");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling assignStoreToChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling assignStoreToChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': storeId,
+ 'channelId': channelId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/assign-store', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the attachStoreToSalesChannel operation.
+ * @callback module:api/ChannelsApi~attachStoreToSalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {Number} storeId
+ * @param {module:api/ChannelsApi~attachStoreToSalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ attachStoreToSalesChannel(appId, channelId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling attachStoreToSalesChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling attachStoreToSalesChannel");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling attachStoreToSalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'channelId': channelId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{channelId}/stores/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the detachAllStoresFromSalesChannel operation.
+ * @callback module:api/ChannelsApi~detachAllStoresFromSalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {module:api/ChannelsApi~detachAllStoresFromSalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ detachAllStoresFromSalesChannel(appId, channelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling detachAllStoresFromSalesChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling detachAllStoresFromSalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'channelId': channelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{channelId}/stores', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the detachStoreFromSalesChannel operation.
+ * @callback module:api/ChannelsApi~detachStoreFromSalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {Number} storeId
+ * @param {module:api/ChannelsApi~detachStoreFromSalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ detachStoreFromSalesChannel(appId, channelId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling detachStoreFromSalesChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling detachStoreFromSalesChannel");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling detachStoreFromSalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'channelId': channelId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{channelId}/stores/{storeId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAssignedChannels operation.
+ * @callback module:api/ChannelsApi~getAssignedChannelsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultChannel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/ChannelsApi~getAssignedChannelsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultChannel}
+ */
+ getAssignedChannels(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAssignedChannels");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultChannel;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/assigned-channels', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAvailableChannels operation.
+ * @callback module:api/ChannelsApi~getAvailableChannelsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultChannel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/ChannelsApi~getAvailableChannelsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultChannel}
+ */
+ getAvailableChannels(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAvailableChannels");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultChannel;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/available-channels', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getChannel operation.
+ * @callback module:api/ChannelsApi~getChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultChannel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} id
+ * @param {String} appId
+ * @param {module:api/ChannelsApi~getChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultChannel}
+ */
+ getChannel(id, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling getChannel");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getChannel");
+ }
+
+ let pathParams = {
+ 'id': id,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultChannel;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{id}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getChannels operation.
+ * @callback module:api/ChannelsApi~getChannelsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultChannel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/ChannelsApi~getChannelsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultChannel}
+ */
+ getChannels(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getChannels");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultChannel;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoresAssignedToChannel operation.
+ * @callback module:api/ChannelsApi~getStoresAssignedToChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultStoreChannelAssignment} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {module:api/ChannelsApi~getStoresAssignedToChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultStoreChannelAssignment}
+ */
+ getStoresAssignedToChannel(appId, channelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoresAssignedToChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling getStoresAssignedToChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'channelId': channelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultStoreChannelAssignment;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{channelId}/assigned-stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoresBySalesChannel operation.
+ * @callback module:api/ChannelsApi~getStoresBySalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Response} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {module:api/ChannelsApi~getStoresBySalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Response}
+ */
+ getStoresBySalesChannel(appId, channelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoresBySalesChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling getStoresBySalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'channelId': channelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Response;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/{channelId}/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unassignStoreFromChannel operation.
+ * @callback module:api/ChannelsApi~unassignStoreFromChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {String} appId
+ * @param {Number} channelId
+ * @param {module:api/ChannelsApi~unassignStoreFromChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ unassignStoreFromChannel(storeId, appId, channelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling unassignStoreFromChannel");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling unassignStoreFromChannel");
+ }
+ // verify the required parameter 'channelId' is set
+ if (channelId === undefined || channelId === null) {
+ throw new Error("Missing the required parameter 'channelId' when calling unassignStoreFromChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': storeId,
+ 'channelId': channelId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/channels/unassign-store', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/ClientsApi.js b/src/api/ClientsApi.js
new file mode 100644
index 00000000..b7ad1d4d
--- /dev/null
+++ b/src/api/ClientsApi.js
@@ -0,0 +1,169 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+
+/**
+* Clients service.
+* @module api/ClientsApi
+* @version 1.0.0
+*/
+export default class ClientsApi {
+
+ /**
+ * Constructs a new ClientsApi.
+ * @alias module:api/ClientsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getClient operation.
+ * @callback module:api/ClientsApi~getClientCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} clientId
+ * @param {module:api/ClientsApi~getClientCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ getClient(clientId, callback) {
+ let postBody = null;
+ // verify the required parameter 'clientId' is set
+ if (clientId === undefined || clientId === null) {
+ throw new Error("Missing the required parameter 'clientId' when calling getClient");
+ }
+
+ let pathParams = {
+ 'clientId': clientId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{clientId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setSalesForceContactId operation.
+ * @callback module:api/ClientsApi~setSalesForceContactIdCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} clientId
+ * @param {String} salesForceContactId
+ * @param {module:api/ClientsApi~setSalesForceContactIdCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setSalesForceContactId(clientId, salesForceContactId, callback) {
+ let postBody = salesForceContactId;
+ // verify the required parameter 'clientId' is set
+ if (clientId === undefined || clientId === null) {
+ throw new Error("Missing the required parameter 'clientId' when calling setSalesForceContactId");
+ }
+ // verify the required parameter 'salesForceContactId' is set
+ if (salesForceContactId === undefined || salesForceContactId === null) {
+ throw new Error("Missing the required parameter 'salesForceContactId' when calling setSalesForceContactId");
+ }
+
+ let pathParams = {
+ 'clientId': clientId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{clientId}/salesforcecontactid', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setStripeCustomerId operation.
+ * @callback module:api/ClientsApi~setStripeCustomerIdCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} clientId
+ * @param {String} stripeCustomerId
+ * @param {module:api/ClientsApi~setStripeCustomerIdCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setStripeCustomerId(clientId, stripeCustomerId, callback) {
+ let postBody = stripeCustomerId;
+ // verify the required parameter 'clientId' is set
+ if (clientId === undefined || clientId === null) {
+ throw new Error("Missing the required parameter 'clientId' when calling setStripeCustomerId");
+ }
+ // verify the required parameter 'stripeCustomerId' is set
+ if (stripeCustomerId === undefined || stripeCustomerId === null) {
+ throw new Error("Missing the required parameter 'stripeCustomerId' when calling setStripeCustomerId");
+ }
+
+ let pathParams = {
+ 'clientId': clientId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{clientId}/stripecustomerid', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/ContentSecurityPolicyApi.js b/src/api/ContentSecurityPolicyApi.js
new file mode 100644
index 00000000..626169fb
--- /dev/null
+++ b/src/api/ContentSecurityPolicyApi.js
@@ -0,0 +1,81 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CspReportRequest from '../model/CspReportRequest';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* ContentSecurityPolicy service.
+* @module api/ContentSecurityPolicyApi
+* @version 1.0.0
+*/
+export default class ContentSecurityPolicyApi {
+
+ /**
+ * Constructs a new ContentSecurityPolicyApi.
+ * @alias module:api/ContentSecurityPolicyApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the contentSecurityPolicyReport operation.
+ * @callback module:api/ContentSecurityPolicyApi~contentSecurityPolicyReportCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/CspReportRequest} request
+ * @param {module:api/ContentSecurityPolicyApi~contentSecurityPolicyReportCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ contentSecurityPolicyReport(request, callback) {
+ let postBody = request;
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling contentSecurityPolicyReport");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/csp/report', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CrossSellApi.js b/src/api/CrossSellApi.js
new file mode 100644
index 00000000..ede7709b
--- /dev/null
+++ b/src/api/CrossSellApi.js
@@ -0,0 +1,106 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultCrossSellMenuItems from '../model/RestApiResultCrossSellMenuItems';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* CrossSell service.
+* @module api/CrossSellApi
+* @version 1.0.0
+*/
+export default class CrossSellApi {
+
+ /**
+ * Constructs a new CrossSellApi.
+ * @alias module:api/CrossSellApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getCrossSellMenuItems operation.
+ * @callback module:api/CrossSellApi~getCrossSellMenuItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCrossSellMenuItems} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} menuId
+ * @param {Array.} menuItemId
+ * @param {Number} limit
+ * @param {Number} totalValue
+ * @param {String} appId
+ * @param {module:api/CrossSellApi~getCrossSellMenuItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCrossSellMenuItems}
+ */
+ getCrossSellMenuItems(menuId, menuItemId, limit, totalValue, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getCrossSellMenuItems");
+ }
+ // verify the required parameter 'menuItemId' is set
+ if (menuItemId === undefined || menuItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemId' when calling getCrossSellMenuItems");
+ }
+ // verify the required parameter 'limit' is set
+ if (limit === undefined || limit === null) {
+ throw new Error("Missing the required parameter 'limit' when calling getCrossSellMenuItems");
+ }
+ // verify the required parameter 'totalValue' is set
+ if (totalValue === undefined || totalValue === null) {
+ throw new Error("Missing the required parameter 'totalValue' when calling getCrossSellMenuItems");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCrossSellMenuItems");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'menuId': menuId,
+ 'menuItemId': this.apiClient.buildCollectionParam(menuItemId, 'multi'),
+ 'limit': limit,
+ 'totalValue': totalValue
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCrossSellMenuItems;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/crossSell/menuItems', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/CustomersApi.js b/src/api/CustomersApi.js
new file mode 100644
index 00000000..1a0b3479
--- /dev/null
+++ b/src/api/CustomersApi.js
@@ -0,0 +1,236 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CustomerCreateModel from '../model/CustomerCreateModel';
+import CustomerUpdateModel from '../model/CustomerUpdateModel';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultCustomer from '../model/RestApiResultCustomer';
+import RestApiResultCustomers from '../model/RestApiResultCustomers';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Customers service.
+* @module api/CustomersApi
+* @version 1.0.0
+*/
+export default class CustomersApi {
+
+ /**
+ * Constructs a new CustomersApi.
+ * @alias module:api/CustomersApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createCustomer operation.
+ * @callback module:api/CustomersApi~createCustomerCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCustomer} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CustomerCreateModel} customerCreateModel
+ * @param {module:api/CustomersApi~createCustomerCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCustomer}
+ */
+ createCustomer(appId, customerCreateModel, callback) {
+ let postBody = customerCreateModel;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createCustomer");
+ }
+ // verify the required parameter 'customerCreateModel' is set
+ if (customerCreateModel === undefined || customerCreateModel === null) {
+ throw new Error("Missing the required parameter 'customerCreateModel' when calling createCustomer");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCustomer;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customers', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCustomerById operation.
+ * @callback module:api/CustomersApi~getCustomerByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCustomer} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} customerId
+ * @param {module:api/CustomersApi~getCustomerByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCustomer}
+ */
+ getCustomerById(appId, customerId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCustomerById");
+ }
+ // verify the required parameter 'customerId' is set
+ if (customerId === undefined || customerId === null) {
+ throw new Error("Missing the required parameter 'customerId' when calling getCustomerById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'customerId': customerId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultCustomer;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customers/{customerId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCustomers operation.
+ * @callback module:api/CustomersApi~getCustomersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCustomers} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} phoneNumber
+ * @param {module:api/CustomersApi~getCustomersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCustomers}
+ */
+ getCustomers(appId, phoneNumber, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCustomers");
+ }
+ // verify the required parameter 'phoneNumber' is set
+ if (phoneNumber === undefined || phoneNumber === null) {
+ throw new Error("Missing the required parameter 'phoneNumber' when calling getCustomers");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'phoneNumber': phoneNumber
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultCustomers;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customers', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateCustomerById operation.
+ * @callback module:api/CustomersApi~updateCustomerByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCustomer} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} customerId
+ * @param {module:model/CustomerUpdateModel} updateCustomer
+ * @param {module:api/CustomersApi~updateCustomerByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCustomer}
+ */
+ updateCustomerById(appId, customerId, updateCustomer, callback) {
+ let postBody = updateCustomer;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateCustomerById");
+ }
+ // verify the required parameter 'customerId' is set
+ if (customerId === undefined || customerId === null) {
+ throw new Error("Missing the required parameter 'customerId' when calling updateCustomerById");
+ }
+ // verify the required parameter 'updateCustomer' is set
+ if (updateCustomer === undefined || updateCustomer === null) {
+ throw new Error("Missing the required parameter 'updateCustomer' when calling updateCustomerById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'customerId': customerId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultCustomer;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customers/{customerId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/DeliveryZoneApi.js b/src/api/DeliveryZoneApi.js
new file mode 100644
index 00000000..b9fda154
--- /dev/null
+++ b/src/api/DeliveryZoneApi.js
@@ -0,0 +1,228 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import DeliveryZoneBase from '../model/DeliveryZoneBase';
+import RestApiArrayResultDeliveryZone from '../model/RestApiArrayResultDeliveryZone';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultDeliveryZone from '../model/RestApiResultDeliveryZone';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* DeliveryZone service.
+* @module api/DeliveryZoneApi
+* @version 1.0.0
+*/
+export default class DeliveryZoneApi {
+
+ /**
+ * Constructs a new DeliveryZoneApi.
+ * @alias module:api/DeliveryZoneApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addDeliveryZone operation.
+ * @callback module:api/DeliveryZoneApi~addDeliveryZoneCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultDeliveryZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/DeliveryZoneBase} deliveryZoneBase
+ * @param {module:api/DeliveryZoneApi~addDeliveryZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultDeliveryZone}
+ */
+ addDeliveryZone(storeId, deliveryZoneBase, callback) {
+ let postBody = deliveryZoneBase;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling addDeliveryZone");
+ }
+ // verify the required parameter 'deliveryZoneBase' is set
+ if (deliveryZoneBase === undefined || deliveryZoneBase === null) {
+ throw new Error("Missing the required parameter 'deliveryZoneBase' when calling addDeliveryZone");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultDeliveryZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/deliveryzones', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getDeliveryZones operation.
+ * @callback module:api/DeliveryZoneApi~getDeliveryZonesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultDeliveryZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/DeliveryZoneApi~getDeliveryZonesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultDeliveryZone}
+ */
+ getDeliveryZones(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getDeliveryZones");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultDeliveryZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/deliveryzones', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the removeDeliveryZone operation.
+ * @callback module:api/DeliveryZoneApi~removeDeliveryZoneCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Number} deliveryZoneId
+ * @param {module:api/DeliveryZoneApi~removeDeliveryZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ removeDeliveryZone(storeId, deliveryZoneId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling removeDeliveryZone");
+ }
+ // verify the required parameter 'deliveryZoneId' is set
+ if (deliveryZoneId === undefined || deliveryZoneId === null) {
+ throw new Error("Missing the required parameter 'deliveryZoneId' when calling removeDeliveryZone");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryZoneId': deliveryZoneId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/deliveryzones/{deliveryZoneId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateDeliveryZone operation.
+ * @callback module:api/DeliveryZoneApi~updateDeliveryZoneCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultDeliveryZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Number} deliveryZoneId
+ * @param {module:model/DeliveryZoneBase} deliveryZone
+ * @param {module:api/DeliveryZoneApi~updateDeliveryZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultDeliveryZone}
+ */
+ updateDeliveryZone(storeId, deliveryZoneId, deliveryZone, callback) {
+ let postBody = deliveryZone;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateDeliveryZone");
+ }
+ // verify the required parameter 'deliveryZoneId' is set
+ if (deliveryZoneId === undefined || deliveryZoneId === null) {
+ throw new Error("Missing the required parameter 'deliveryZoneId' when calling updateDeliveryZone");
+ }
+ // verify the required parameter 'deliveryZone' is set
+ if (deliveryZone === undefined || deliveryZone === null) {
+ throw new Error("Missing the required parameter 'deliveryZone' when calling updateDeliveryZone");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryZoneId': deliveryZoneId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultDeliveryZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/deliveryzones/{deliveryZoneId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/DeviceApi.js b/src/api/DeviceApi.js
new file mode 100644
index 00000000..fd947aa2
--- /dev/null
+++ b/src/api/DeviceApi.js
@@ -0,0 +1,237 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import ClientDeviceAssignEnrolledDevice from '../model/ClientDeviceAssignEnrolledDevice';
+import ClientDeviceEnroll from '../model/ClientDeviceEnroll';
+import RestApiArrayResultClientDeviceSummary from '../model/RestApiArrayResultClientDeviceSummary';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultClientDevice from '../model/RestApiResultClientDevice';
+import RestApiResultClientDeviceEnrollmentResult from '../model/RestApiResultClientDeviceEnrollmentResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Device service.
+* @module api/DeviceApi
+* @version 1.0.0
+*/
+export default class DeviceApi {
+
+ /**
+ * Constructs a new DeviceApi.
+ * @alias module:api/DeviceApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the assignDevice operation.
+ * @callback module:api/DeviceApi~assignDeviceCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultClientDeviceEnrollmentResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/ClientDeviceAssignEnrolledDevice} assignDeviceRequest
+ * @param {module:api/DeviceApi~assignDeviceCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultClientDeviceEnrollmentResult}
+ */
+ assignDevice(appId, assignDeviceRequest, callback) {
+ let postBody = assignDeviceRequest;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling assignDevice");
+ }
+ // verify the required parameter 'assignDeviceRequest' is set
+ if (assignDeviceRequest === undefined || assignDeviceRequest === null) {
+ throw new Error("Missing the required parameter 'assignDeviceRequest' when calling assignDevice");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultClientDeviceEnrollmentResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/devices/assign', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the enrollDevice operation.
+ * @callback module:api/DeviceApi~enrollDeviceCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultClientDeviceEnrollmentResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/ClientDeviceEnroll} deviceEnrollmentRequest
+ * @param {module:api/DeviceApi~enrollDeviceCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultClientDeviceEnrollmentResult}
+ */
+ enrollDevice(appId, deviceEnrollmentRequest, callback) {
+ let postBody = deviceEnrollmentRequest;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling enrollDevice");
+ }
+ // verify the required parameter 'deviceEnrollmentRequest' is set
+ if (deviceEnrollmentRequest === undefined || deviceEnrollmentRequest === null) {
+ throw new Error("Missing the required parameter 'deviceEnrollmentRequest' when calling enrollDevice");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultClientDeviceEnrollmentResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/devices/enroll', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getDeviceDetails operation.
+ * @callback module:api/DeviceApi~getDeviceDetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultClientDevice} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceModel
+ * @param {String} deviceId
+ * @param {module:api/DeviceApi~getDeviceDetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultClientDevice}
+ */
+ getDeviceDetails(appId, deviceModel, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getDeviceDetails");
+ }
+ // verify the required parameter 'deviceModel' is set
+ if (deviceModel === undefined || deviceModel === null) {
+ throw new Error("Missing the required parameter 'deviceModel' when calling getDeviceDetails");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling getDeviceDetails");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceModel': deviceModel,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultClientDevice;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/devices/device/{deviceModel}/{deviceId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the searchDevices operation.
+ * @callback module:api/DeviceApi~searchDevicesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultClientDeviceSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.storeId
+ * @param {String} opts.deviceModel
+ * @param {module:api/DeviceApi~searchDevicesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultClientDeviceSummary}
+ */
+ searchDevices(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling searchDevices");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': opts['storeId'],
+ 'deviceModel': opts['deviceModel']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultClientDeviceSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/devices/search', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/DriversApi.js b/src/api/DriversApi.js
new file mode 100644
index 00000000..fdc8ab13
--- /dev/null
+++ b/src/api/DriversApi.js
@@ -0,0 +1,478 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import DriverLoginModel from '../model/DriverLoginModel';
+import DriverRequestLoginPinModel from '../model/DriverRequestLoginPinModel';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateDriverNotificationToken from '../model/UpdateDriverNotificationToken';
+import UpdateDriverProfileModel from '../model/UpdateDriverProfileModel';
+
+/**
+* Drivers service.
+* @module api/DriversApi
+* @version 1.0.0
+*/
+export default class DriversApi {
+
+ /**
+ * Constructs a new DriversApi.
+ * @alias module:api/DriversApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the driversAddDriverNotificationToken operation.
+ * @callback module:api/DriversApi~driversAddDriverNotificationTokenCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/UpdateDriverNotificationToken} updateDriverToken
+ * @param {module:api/DriversApi~driversAddDriverNotificationTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversAddDriverNotificationToken(updateDriverToken, callback) {
+ let postBody = updateDriverToken;
+ // verify the required parameter 'updateDriverToken' is set
+ if (updateDriverToken === undefined || updateDriverToken === null) {
+ throw new Error("Missing the required parameter 'updateDriverToken' when calling driversAddDriverNotificationToken");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/token', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversDeleteDriverProfileImage operation.
+ * @callback module:api/DriversApi~driversDeleteDriverProfileImageCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/DriversApi~driversDeleteDriverProfileImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversDeleteDriverProfileImage(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/profile/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversDriverLogin operation.
+ * @callback module:api/DriversApi~driversDriverLoginCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/DriverLoginModel} driverLoginModel
+ * @param {module:api/DriversApi~driversDriverLoginCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversDriverLogin(driverLoginModel, callback) {
+ let postBody = driverLoginModel;
+ // verify the required parameter 'driverLoginModel' is set
+ if (driverLoginModel === undefined || driverLoginModel === null) {
+ throw new Error("Missing the required parameter 'driverLoginModel' when calling driversDriverLogin");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/login', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversDriverRequestLoginCodeSms operation.
+ * @callback module:api/DriversApi~driversDriverRequestLoginCodeSmsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/DriverRequestLoginPinModel} driverRequestLoginPinModel
+ * @param {module:api/DriversApi~driversDriverRequestLoginCodeSmsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversDriverRequestLoginCodeSms(driverRequestLoginPinModel, callback) {
+ let postBody = driverRequestLoginPinModel;
+ // verify the required parameter 'driverRequestLoginPinModel' is set
+ if (driverRequestLoginPinModel === undefined || driverRequestLoginPinModel === null) {
+ throw new Error("Missing the required parameter 'driverRequestLoginPinModel' when calling driversDriverRequestLoginCodeSms");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/pin', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversGetDriverProfile operation.
+ * @callback module:api/DriversApi~driversGetDriverProfileCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/DriversApi~driversGetDriverProfileCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversGetDriverProfile(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/profile', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversGetStoresForDriver operation.
+ * @callback module:api/DriversApi~driversGetStoresForDriverCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/DriversApi~driversGetStoresForDriverCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversGetStoresForDriver(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/assignedstores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversRemoveDriverNotificationToken operation.
+ * @callback module:api/DriversApi~driversRemoveDriverNotificationTokenCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/UpdateDriverNotificationToken} removeDriverToken
+ * @param {module:api/DriversApi~driversRemoveDriverNotificationTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversRemoveDriverNotificationToken(removeDriverToken, callback) {
+ let postBody = removeDriverToken;
+ // verify the required parameter 'removeDriverToken' is set
+ if (removeDriverToken === undefined || removeDriverToken === null) {
+ throw new Error("Missing the required parameter 'removeDriverToken' when calling driversRemoveDriverNotificationToken");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/token', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversSetDriverPresenceForStore operation.
+ * @callback module:api/DriversApi~driversSetDriverPresenceForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} presence
+ * @param {module:api/DriversApi~driversSetDriverPresenceForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversSetDriverPresenceForStore(storeId, presence, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling driversSetDriverPresenceForStore");
+ }
+ // verify the required parameter 'presence' is set
+ if (presence === undefined || presence === null) {
+ throw new Error("Missing the required parameter 'presence' when calling driversSetDriverPresenceForStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'presence': presence
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/stores/{storeId}/presence/{presence}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversSetDriverProfileImage operation.
+ * @callback module:api/DriversApi~driversSetDriverProfileImageCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/DriversApi~driversSetDriverProfileImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversSetDriverProfileImage(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/profile/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversUpdateDeliveryTrackingStatus operation.
+ * @callback module:api/DriversApi~driversUpdateDeliveryTrackingStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:model/String} deliveryTrackingStatus
+ * @param {module:api/DriversApi~driversUpdateDeliveryTrackingStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversUpdateDeliveryTrackingStatus(orderId, deliveryTrackingStatus, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling driversUpdateDeliveryTrackingStatus");
+ }
+ // verify the required parameter 'deliveryTrackingStatus' is set
+ if (deliveryTrackingStatus === undefined || deliveryTrackingStatus === null) {
+ throw new Error("Missing the required parameter 'deliveryTrackingStatus' when calling driversUpdateDeliveryTrackingStatus");
+ }
+
+ let pathParams = {
+ 'orderId': orderId,
+ 'deliveryTrackingStatus': deliveryTrackingStatus
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{orderId}/tracking/{deliveryTrackingStatus}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the driversUpdateDriverProfile operation.
+ * @callback module:api/DriversApi~driversUpdateDriverProfileCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/UpdateDriverProfileModel} updateDriverProfile
+ * @param {module:api/DriversApi~driversUpdateDriverProfileCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ driversUpdateDriverProfile(updateDriverProfile, callback) {
+ let postBody = updateDriverProfile;
+ // verify the required parameter 'updateDriverProfile' is set
+ if (updateDriverProfile === undefined || updateDriverProfile === null) {
+ throw new Error("Missing the required parameter 'updateDriverProfile' when calling driversUpdateDriverProfile");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/drivers/profile', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/EventsApi.js b/src/api/EventsApi.js
new file mode 100644
index 00000000..47ffcad3
--- /dev/null
+++ b/src/api/EventsApi.js
@@ -0,0 +1,735 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import EventSearchResult from '../model/EventSearchResult';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiEventSearchPaginationResult from '../model/RestApiEventSearchPaginationResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Events service.
+* @module api/EventsApi
+* @version 1.0.0
+*/
+export default class EventsApi {
+
+ /**
+ * Constructs a new EventsApi.
+ * @alias module:api/EventsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getCustomerEvents operation.
+ * @callback module:api/EventsApi~getCustomerEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} customerId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getCustomerEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getCustomerEvents(appId, customerId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCustomerEvents");
+ }
+ // verify the required parameter 'customerId' is set
+ if (customerId === undefined || customerId === null) {
+ throw new Error("Missing the required parameter 'customerId' when calling getCustomerEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'customerId': customerId
+ };
+ let queryParams = {
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/customer/{customerId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getEvents operation.
+ * @callback module:api/EventsApi~getEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.whiteLabelId
+ * @param {Number} opts.customerId
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getEvents(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'whiteLabelId': opts['whiteLabelId'],
+ 'customerId': opts['customerId'],
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getEventsById operation.
+ * @callback module:api/EventsApi~getEventsByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/EventSearchResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} eventId
+ * @param {String} appId
+ * @param {module:api/EventsApi~getEventsByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/EventSearchResult}
+ */
+ getEventsById(eventId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'eventId' is set
+ if (eventId === undefined || eventId === null) {
+ throw new Error("Missing the required parameter 'eventId' when calling getEventsById");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getEventsById");
+ }
+
+ let pathParams = {
+ 'eventId': eventId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'AnalyticsClientEvent', 'OrderAcceptedEvent', 'OrderCustomerTrackingCreatedEvent', 'OrderDeliveryTrackingStatusUpdatedEvent', 'OrderBatchPublishedEvent', 'OrderCreatedEvent', 'OrderRatingUpdatedEvent', 'OrderRefundedEvent', 'OrderRejectedEvent', 'OrderTipUpdatedEvent', 'StoreCreatedEvent', 'StoreDeletedEvent', 'StoreAddressUpdatedEvent', 'StoreKioskSettingUpdatedEvent', 'DeliveryZoneCreatedEvent', 'DeliveryZoneUpdatedEvent', 'DeliveryZoneDeletedEvent', 'StoreOpeningHoursUpdatedEvent', 'StoreMenuAssignedEvent', 'StoreBusinessHoursOverrideCreatedEvent', 'StoreBusinessHoursOverrideDeletedEvent', 'StoreArchivedEvent', 'StoreUnarchivedEvent', 'StorePublishedEvent', 'StoreUnpublishedEvent', 'StoreUpdatedEvent', 'StorePreOrderConfigUpdatedEvent', 'StoreLogoCreatedEvent', 'StoreLogoUpdatedEvent', 'StoreLogoDeletedEvent', 'MenuCreatedEvent', 'MenuAsyncCreationCompletedEvent', 'MenuUpdatedEvent', 'MenuUploadedEvent', 'MenuBulkEditEvent', 'MenuCheckpointCreatedEvent', 'CustomerCreatedEvent', 'CustomerUpdatedEvent', 'CustomerConsentUpdatedEvent', 'WebhookSubscriptionCreatedEvent', 'WebhookSubscriptionUpdatedEvent', 'WebhookSubscriptionDeletedEvent', 'PrinterTurnedOnEvent', 'PrinterTurnedOffEvent', 'PrinterAssignedToStoreEvent', 'PrinterUnassignedFromStoreEvent', 'PhoneCallStartedEvent', 'PhoneCallEndedEvent', 'TelephonyConfigUpdatedEvent', 'LoyaltyCampaignCreatedEvent', 'LoyaltyCampaignDeletedEvent', 'LoyaltyCampaignUpdatedEvent', 'RetentionCampaignCreatedEvent', 'RetentionCampaignDeletedEvent', 'RetentionCampaignUpdatedEvent', 'SmsReceivedEvent', 'UserLoginEvent', 'UserCreatedEvent', 'UserUpdatedEvent', 'UserDeletedEvent', 'UserCreatedPasswordEvent', 'UserAnsweredSignupQuestionsEvent', 'VoucherCreatedEvent', 'VoucherUpdatedEvent', 'VoucherDeletedEvent', 'VoucherAppliedEvent', 'TeammateInviteSentEvent', 'TeammateInviteAcceptedEvent', 'TeammateUpdatedEvent', 'TeammateDeletedEvent', 'BankAccountCreatedEvent', 'BankAccountUpdatedEvent', 'BankAccountDeletedEvent', 'BankAccountAssignedEvent', 'HydraAssignedEvent', 'HydraRequestResetEvent', 'HydraSettingChangedEvent', 'HydraUnAssignedEvent', 'KioskBluetoothPairingModeEvent', 'KioskBluetoothUnpairingModeEvent', 'KioskBluetoothTerminalUnpairedEvent', 'KioskTerminalActionStateChangedEvent', 'KioskBluetoothTerminalUpdatedEvent', 'KioskBluetoothTerminalInitiateUpdateCheckEvent', 'KioskBluetoothInstallUpdateInitiateEvent', 'KioskBluetoothTerminalCancelUpdateEvent', 'KioskBluetoothTerminalFirmwareVersionStatusEvent', 'KioskBluetoothTerminalInstallationStatusEvent', 'PushNotificationScheduledEvent', 'PushNotificationSentEvent', 'PushNotificationDeletedEvent', 'DnsVerifiedEvent', 'CertificateCreatedEvent', 'CertificateRenewedEvent', 'WebsiteVanityUrlUpdatedEvent', 'WebsiteUpdatedEvent', 'OrderCapacityUpdatedEvent', 'ExternalStoreEvent', 'AppStoreConfigCreatedEvent', 'AppStoreConfigUpdatedEvent', 'AppStoreConfigDeletedEvent', 'AppStoreSubscriptionChangeJobUpdatedEvent', 'CatalogItemCreatedEvent', 'CatalogItemUpdatedEvent', 'CatalogItemArchivedEvent', 'CatalogGroupCreatedEvent', 'CatalogGroupUpdatedEvent', 'CatalogGroupArchivedEvent', 'StoreTipUpdatedEvent', 'LocationAreaCreatedEvent', 'LocationAreaUpdatedEvent', 'LocationCreatedEvent', 'LocationDeletedEvent', 'StoreServiceChargeUpdatedEvent', 'MobileAppsSubmissionStatusUpdatedEvent', 'MobileAppsSubmissionUpdatedEvent', 'StoreFeeConfigUpdatedEvent'];
+ let returnType = EventSearchResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/{eventId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuEvents operation.
+ * @callback module:api/EventsApi~getMenuEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} menuId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId2 Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getMenuEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getMenuEvents(appId, menuId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getMenuEvents");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId2'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/menu/{menuId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrderEvents operation.
+ * @callback module:api/EventsApi~getOrderEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} orderId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId2 Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getOrderEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getOrderEvents(appId, orderId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOrderEvents");
+ }
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getOrderEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'orderId': orderId
+ };
+ let queryParams = {
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId2'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/order/{orderId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrderEventsByCustomer operation.
+ * @callback module:api/EventsApi~getOrderEventsByCustomerCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} customerId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getOrderEventsByCustomerCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getOrderEventsByCustomer(appId, customerId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOrderEventsByCustomer");
+ }
+ // verify the required parameter 'customerId' is set
+ if (customerId === undefined || customerId === null) {
+ throw new Error("Missing the required parameter 'customerId' when calling getOrderEventsByCustomer");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'customerId': customerId,
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/order', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreEvents operation.
+ * @callback module:api/EventsApi~getStoreEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId2 Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getStoreEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getStoreEvents(appId, storeId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoreEvents");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId2'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/store/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getUserEvents operation.
+ * @callback module:api/EventsApi~getUserEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} userId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId2 Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getUserEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getUserEvents(appId, userId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getUserEvents");
+ }
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getUserEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'userId': userId
+ };
+ let queryParams = {
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId2'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/user/{userId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getWhiteLabelEvents operation.
+ * @callback module:api/EventsApi~getWhiteLabelEventsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiEventSearchPaginationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} whitelabelId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit The maximum elements to return
+ * @param {Number} opts.page The index of the page to return, starting by 1
+ * @param {Date} opts.start Start date
+ * @param {Date} opts.end End date
+ * @param {Number} opts.orderId Events that have Order Id
+ * @param {Number} opts.storeId Events that have Store Id
+ * @param {Array.} opts.storeIdList Events that have Store Id List
+ * @param {Number} opts.storeGroupId Events that have Store Group Id
+ * @param {Number} opts.userId Events that have User Id
+ * @param {Number} opts.menuId Events that have Menu Id
+ * @param {Number} opts.campaignId Events that have Campaign Id
+ * @param {String} opts.userEmail Events that have User Email
+ * @param {String} opts.userName Events that have User Name
+ * @param {String} opts.voucherCode Events that have voucher code
+ * @param {Array.} opts.eventType Events that have event type\\s
+ * @param {String} opts.flipdishEventId Unique Identifier of Event, if this is specified, all other criteria are ignored.
+ * @param {module:api/EventsApi~getWhiteLabelEventsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiEventSearchPaginationResult}
+ */
+ getWhiteLabelEvents(appId, whitelabelId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getWhiteLabelEvents");
+ }
+ // verify the required parameter 'whitelabelId' is set
+ if (whitelabelId === undefined || whitelabelId === null) {
+ throw new Error("Missing the required parameter 'whitelabelId' when calling getWhiteLabelEvents");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'whitelabelId': whitelabelId
+ };
+ let queryParams = {
+ 'limit': opts['limit'],
+ 'page': opts['page'],
+ 'start': opts['start'],
+ 'end': opts['end'],
+ 'orderId': opts['orderId'],
+ 'storeId': opts['storeId'],
+ 'storeIdList': this.apiClient.buildCollectionParam(opts['storeIdList'], 'multi'),
+ 'storeGroupId': opts['storeGroupId'],
+ 'userId': opts['userId'],
+ 'menuId': opts['menuId'],
+ 'campaignId': opts['campaignId'],
+ 'userEmail': opts['userEmail'],
+ 'userName': opts['userName'],
+ 'voucherCode': opts['voucherCode'],
+ 'eventType': this.apiClient.buildCollectionParam(opts['eventType'], 'multi'),
+ 'flipdishEventId': opts['flipdishEventId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Page', 'Limit', 'TotalRecordCount'];
+ let returnType = RestApiEventSearchPaginationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/events/whitelabel/{whitelabelId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/FeaturesApi.js b/src/api/FeaturesApi.js
new file mode 100644
index 00000000..9bce8f9e
--- /dev/null
+++ b/src/api/FeaturesApi.js
@@ -0,0 +1,133 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiStringArrayResult from '../model/RestApiStringArrayResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Features service.
+* @module api/FeaturesApi
+* @version 1.0.0
+*/
+export default class FeaturesApi {
+
+ /**
+ * Constructs a new FeaturesApi.
+ * @alias module:api/FeaturesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the disableFeatures operation.
+ * @callback module:api/FeaturesApi~disableFeaturesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringArrayResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Array.} features
+ * @param {module:api/FeaturesApi~disableFeaturesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringArrayResult}
+ */
+ disableFeatures(appId, features, callback) {
+ let postBody = features;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling disableFeatures");
+ }
+ // verify the required parameter 'features' is set
+ if (features === undefined || features === null) {
+ throw new Error("Missing the required parameter 'features' when calling disableFeatures");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiStringArrayResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/features/disable', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the enableFeatures operation.
+ * @callback module:api/FeaturesApi~enableFeaturesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringArrayResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Array.} features
+ * @param {module:api/FeaturesApi~enableFeaturesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringArrayResult}
+ */
+ enableFeatures(appId, features, callback) {
+ let postBody = features;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling enableFeatures");
+ }
+ // verify the required parameter 'features' is set
+ if (features === undefined || features === null) {
+ throw new Error("Missing the required parameter 'features' when calling enableFeatures");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiStringArrayResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/features/enable', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/FilesApi.js b/src/api/FilesApi.js
new file mode 100644
index 00000000..a55ba42b
--- /dev/null
+++ b/src/api/FilesApi.js
@@ -0,0 +1,87 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultFileDownloadResult from '../model/RestApiResultFileDownloadResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Files service.
+* @module api/FilesApi
+* @version 1.0.0
+*/
+export default class FilesApi {
+
+ /**
+ * Constructs a new FilesApi.
+ * @alias module:api/FilesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the downloadFile operation.
+ * @callback module:api/FilesApi~downloadFileCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultFileDownloadResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} fileId
+ * @param {module:api/FilesApi~downloadFileCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultFileDownloadResult}
+ */
+ downloadFile(appId, fileId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling downloadFile");
+ }
+ // verify the required parameter 'fileId' is set
+ if (fileId === undefined || fileId === null) {
+ throw new Error("Missing the required parameter 'fileId' when calling downloadFile");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'fileId': fileId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultFileDownloadResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/files/download/{fileId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/FirebaseAppsApi.js b/src/api/FirebaseAppsApi.js
new file mode 100644
index 00000000..b517ac2f
--- /dev/null
+++ b/src/api/FirebaseAppsApi.js
@@ -0,0 +1,163 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import FirebaseApp from '../model/FirebaseApp';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* FirebaseApps service.
+* @module api/FirebaseAppsApi
+* @version 1.0.0
+*/
+export default class FirebaseAppsApi {
+
+ /**
+ * Constructs a new FirebaseAppsApi.
+ * @alias module:api/FirebaseAppsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the firebaseAppsAddFirebaseApp operation.
+ * @callback module:api/FirebaseAppsApi~firebaseAppsAddFirebaseAppCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:model/FirebaseApp} firebaseApp
+ * @param {module:api/FirebaseAppsApi~firebaseAppsAddFirebaseAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ firebaseAppsAddFirebaseApp(firebaseApp, callback) {
+ let postBody = firebaseApp;
+ // verify the required parameter 'firebaseApp' is set
+ if (firebaseApp === undefined || firebaseApp === null) {
+ throw new Error("Missing the required parameter 'firebaseApp' when calling firebaseAppsAddFirebaseApp");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/FirebaseApp', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the firebaseAppsDeleteFirebaseApp operation.
+ * @callback module:api/FirebaseAppsApi~firebaseAppsDeleteFirebaseAppCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} whiteLabelId
+ * @param {module:api/FirebaseAppsApi~firebaseAppsDeleteFirebaseAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ firebaseAppsDeleteFirebaseApp(whiteLabelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'whiteLabelId' is set
+ if (whiteLabelId === undefined || whiteLabelId === null) {
+ throw new Error("Missing the required parameter 'whiteLabelId' when calling firebaseAppsDeleteFirebaseApp");
+ }
+
+ let pathParams = {
+ 'whiteLabelId': whiteLabelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/FirebaseApp/{whiteLabelId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the firebaseAppsGetFirebaseApp operation.
+ * @callback module:api/FirebaseAppsApi~firebaseAppsGetFirebaseAppCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} whitelabelId
+ * @param {module:api/FirebaseAppsApi~firebaseAppsGetFirebaseAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ firebaseAppsGetFirebaseApp(whitelabelId, callback) {
+ let postBody = null;
+ // verify the required parameter 'whitelabelId' is set
+ if (whitelabelId === undefined || whitelabelId === null) {
+ throw new Error("Missing the required parameter 'whitelabelId' when calling firebaseAppsGetFirebaseApp");
+ }
+
+ let pathParams = {
+ 'whitelabelId': whitelabelId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/FirebaseApp/{whitelabelId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/FpmApi.js b/src/api/FpmApi.js
new file mode 100644
index 00000000..5d19c8b1
--- /dev/null
+++ b/src/api/FpmApi.js
@@ -0,0 +1,173 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import TelephonyConfig from '../model/TelephonyConfig';
+
+/**
+* Fpm service.
+* @module api/FpmApi
+* @version 1.0.0
+*/
+export default class FpmApi {
+
+ /**
+ * Constructs a new FpmApi.
+ * @alias module:api/FpmApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createFpmForStore operation.
+ * @callback module:api/FpmApi~createFpmForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {String} phoneNumber
+ * @param {module:api/FpmApi~createFpmForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createFpmForStore(storeId, phoneNumber, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling createFpmForStore");
+ }
+ // verify the required parameter 'phoneNumber' is set
+ if (phoneNumber === undefined || phoneNumber === null) {
+ throw new Error("Missing the required parameter 'phoneNumber' when calling createFpmForStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'phoneNumber': phoneNumber
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'TelephonyConfigId', 'ApmEnabled', 'Type', 'ConsentEnabled', 'SendAppLinkSms', 'UseCustomAppLinkSmsMessage', 'UseCustomVoiceMessage', 'ResendApmMessageAfterDays'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{storeId}/fpm', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the editFpmForStore operation.
+ * @callback module:api/FpmApi~editFpmForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/TelephonyConfig} telephonyConfig
+ * @param {module:api/FpmApi~editFpmForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ editFpmForStore(storeId, telephonyConfig, callback) {
+ let postBody = telephonyConfig;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling editFpmForStore");
+ }
+ // verify the required parameter 'telephonyConfig' is set
+ if (telephonyConfig === undefined || telephonyConfig === null) {
+ throw new Error("Missing the required parameter 'telephonyConfig' when calling editFpmForStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{storeId}/fpm/edit', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getFpmForStore operation.
+ * @callback module:api/FpmApi~getFpmForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/TelephonyConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/FpmApi~getFpmForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/TelephonyConfig}
+ */
+ getFpmForStore(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getFpmForStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'TelephonyConfigId', 'ApmEnabled', 'Type', 'ConsentEnabled', 'SendAppLinkSms', 'UseCustomAppLinkSmsMessage', 'UseCustomVoiceMessage', 'ResendApmMessageAfterDays'];
+ let returnType = TelephonyConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/{storeId}/fpm', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/FulfillmentStateConfigurationApi.js b/src/api/FulfillmentStateConfigurationApi.js
new file mode 100644
index 00000000..80ac3bde
--- /dev/null
+++ b/src/api/FulfillmentStateConfigurationApi.js
@@ -0,0 +1,319 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateFulfillmentStatesConfiguration from '../model/CreateFulfillmentStatesConfiguration';
+import FulfillmentStatesConfiguration from '../model/FulfillmentStatesConfiguration';
+import RestApiArrayResultFulfillmentStatesConfigurationSummary from '../model/RestApiArrayResultFulfillmentStatesConfigurationSummary';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultFulfillmentStatesConfiguration from '../model/RestApiResultFulfillmentStatesConfiguration';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateFulfillmentStatesConfiguration from '../model/UpdateFulfillmentStatesConfiguration';
+
+/**
+* FulfillmentStateConfiguration service.
+* @module api/FulfillmentStateConfigurationApi
+* @version 1.0.0
+*/
+export default class FulfillmentStateConfigurationApi {
+
+ /**
+ * Constructs a new FulfillmentStateConfigurationApi.
+ * @alias module:api/FulfillmentStateConfigurationApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createFulfillmentStatesConfig operation.
+ * @callback module:api/FulfillmentStateConfigurationApi~createFulfillmentStatesConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultFulfillmentStatesConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CreateFulfillmentStatesConfiguration} fulfillmentStateConfiguration
+ * @param {module:api/FulfillmentStateConfigurationApi~createFulfillmentStatesConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultFulfillmentStatesConfiguration}
+ */
+ createFulfillmentStatesConfig(appId, fulfillmentStateConfiguration, callback) {
+ let postBody = fulfillmentStateConfiguration;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createFulfillmentStatesConfig");
+ }
+ // verify the required parameter 'fulfillmentStateConfiguration' is set
+ if (fulfillmentStateConfiguration === undefined || fulfillmentStateConfiguration === null) {
+ throw new Error("Missing the required parameter 'fulfillmentStateConfiguration' when calling createFulfillmentStatesConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultFulfillmentStatesConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/fulfillment/configuration/states', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteFulfillmentStatesConfig operation.
+ * @callback module:api/FulfillmentStateConfigurationApi~deleteFulfillmentStatesConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} configId
+ * @param {module:api/FulfillmentStateConfigurationApi~deleteFulfillmentStatesConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ deleteFulfillmentStatesConfig(appId, configId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteFulfillmentStatesConfig");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling deleteFulfillmentStatesConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/fulfillment/configuration/states/{configId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getFulfillmentStatesConfiguration operation.
+ * @callback module:api/FulfillmentStateConfigurationApi~getFulfillmentStatesConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/FulfillmentStatesConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} configId
+ * @param {module:api/FulfillmentStateConfigurationApi~getFulfillmentStatesConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/FulfillmentStatesConfiguration}
+ */
+ getFulfillmentStatesConfiguration(appId, configId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getFulfillmentStatesConfiguration");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling getFulfillmentStatesConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'States', 'StoreSelectorType', 'StoreIds', 'Name', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = FulfillmentStatesConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/fulfillment/configuration/states/{configId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getFulfillmentStatesConfigurationTemplate operation.
+ * @callback module:api/FulfillmentStateConfigurationApi~getFulfillmentStatesConfigurationTemplateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/FulfillmentStatesConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/FulfillmentStateConfigurationApi~getFulfillmentStatesConfigurationTemplateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/FulfillmentStatesConfiguration}
+ */
+ getFulfillmentStatesConfigurationTemplate(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getFulfillmentStatesConfigurationTemplate");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'States', 'StoreSelectorType', 'StoreIds', 'Name', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = FulfillmentStatesConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/fulfillment/configuration/states_template', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the searchFulfillmentStatesConfigurations operation.
+ * @callback module:api/FulfillmentStateConfigurationApi~searchFulfillmentStatesConfigurationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultFulfillmentStatesConfigurationSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/FulfillmentStateConfigurationApi~searchFulfillmentStatesConfigurationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultFulfillmentStatesConfigurationSummary}
+ */
+ searchFulfillmentStatesConfigurations(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling searchFulfillmentStatesConfigurations");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultFulfillmentStatesConfigurationSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/fulfillment/configuration/states', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateFulfillmentStatesConfig operation.
+ * @callback module:api/FulfillmentStateConfigurationApi~updateFulfillmentStatesConfigCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} configId
+ * @param {module:model/UpdateFulfillmentStatesConfiguration} updateFulfillmentStatesConfiguration
+ * @param {module:api/FulfillmentStateConfigurationApi~updateFulfillmentStatesConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateFulfillmentStatesConfig(appId, configId, updateFulfillmentStatesConfiguration, callback) {
+ let postBody = updateFulfillmentStatesConfiguration;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateFulfillmentStatesConfig");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling updateFulfillmentStatesConfig");
+ }
+ // verify the required parameter 'updateFulfillmentStatesConfiguration' is set
+ if (updateFulfillmentStatesConfiguration === undefined || updateFulfillmentStatesConfiguration === null) {
+ throw new Error("Missing the required parameter 'updateFulfillmentStatesConfiguration' when calling updateFulfillmentStatesConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/fulfillment/configuration/states/{configId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/HeartbeatApi.js b/src/api/HeartbeatApi.js
new file mode 100644
index 00000000..02361945
--- /dev/null
+++ b/src/api/HeartbeatApi.js
@@ -0,0 +1,181 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Heartbeat service.
+* @module api/HeartbeatApi
+* @version 1.0.0
+*/
+export default class HeartbeatApi {
+
+ /**
+ * Constructs a new HeartbeatApi.
+ * @alias module:api/HeartbeatApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the headHostname operation.
+ * @callback module:api/HeartbeatApi~headHostnameCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HeartbeatApi~headHostnameCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ headHostname(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/heartbeat/Hostname', 'HEAD',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the headPing operation.
+ * @callback module:api/HeartbeatApi~headPingCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HeartbeatApi~headPingCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ headPing(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/heartbeat', 'HEAD',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the hostname operation.
+ * @callback module:api/HeartbeatApi~hostnameCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HeartbeatApi~hostnameCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ hostname(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/heartbeat/Hostname', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the ping operation.
+ * @callback module:api/HeartbeatApi~pingCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HeartbeatApi~pingCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ ping(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/heartbeat', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/HomeApi.js b/src/api/HomeApi.js
new file mode 100644
index 00000000..16ff73fc
--- /dev/null
+++ b/src/api/HomeApi.js
@@ -0,0 +1,213 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultHomeAction from '../model/RestApiArrayResultHomeAction';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultHomeStatistics from '../model/RestApiResultHomeStatistics';
+import RestApiResultOktaPortalFeatureFlag from '../model/RestApiResultOktaPortalFeatureFlag';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Home service.
+* @module api/HomeApi
+* @version 1.0.0
+*/
+export default class HomeApi {
+
+ /**
+ * Constructs a new HomeApi.
+ * @alias module:api/HomeApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the completeHomeAction operation.
+ * @callback module:api/HomeApi~completeHomeActionCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} homeActionId
+ * @param {Boolean} isDismissed
+ * @param {module:api/HomeApi~completeHomeActionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ completeHomeAction(appId, homeActionId, isDismissed, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling completeHomeAction");
+ }
+ // verify the required parameter 'homeActionId' is set
+ if (homeActionId === undefined || homeActionId === null) {
+ throw new Error("Missing the required parameter 'homeActionId' when calling completeHomeAction");
+ }
+ // verify the required parameter 'isDismissed' is set
+ if (isDismissed === undefined || isDismissed === null) {
+ throw new Error("Missing the required parameter 'isDismissed' when calling completeHomeAction");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'homeActionId': homeActionId
+ };
+ let queryParams = {
+ 'isDismissed': isDismissed
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/home/{homeActionId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getHomeActions operation.
+ * @callback module:api/HomeApi~getHomeActionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultHomeAction} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/HomeApi~getHomeActionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultHomeAction}
+ */
+ getHomeActions(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getHomeActions");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultHomeAction;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/home', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getHomeStatistics operation.
+ * @callback module:api/HomeApi~getHomeStatisticsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHomeStatistics} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/HomeApi~getHomeStatisticsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHomeStatistics}
+ */
+ getHomeStatistics(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getHomeStatistics");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultHomeStatistics;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/home/stats', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOktaPortalFeatureFlag operation.
+ * @callback module:api/HomeApi~getOktaPortalFeatureFlagCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOktaPortalFeatureFlag} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HomeApi~getOktaPortalFeatureFlagCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOktaPortalFeatureFlag}
+ */
+ getOktaPortalFeatureFlag(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultOktaPortalFeatureFlag;
+ return this.apiClient.callApi(
+ '/api/v1.0/home/okta-portal', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/HydraApi.js b/src/api/HydraApi.js
new file mode 100644
index 00000000..d82a6839
--- /dev/null
+++ b/src/api/HydraApi.js
@@ -0,0 +1,1181 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import EmvTerminal from '../model/EmvTerminal';
+import HydraRegistrationRequest from '../model/HydraRegistrationRequest';
+import KioskSettings from '../model/KioskSettings';
+import RestApiArrayResultEmvTerminalWithAssignments from '../model/RestApiArrayResultEmvTerminalWithAssignments';
+import RestApiArrayResultKioskCashPaymentSettings from '../model/RestApiArrayResultKioskCashPaymentSettings';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultHydraDeviceDetails from '../model/RestApiPaginationResultHydraDeviceDetails';
+import RestApiResultHydraConfig from '../model/RestApiResultHydraConfig';
+import RestApiResultHydraDeviceDetails from '../model/RestApiResultHydraDeviceDetails';
+import RestApiResultHydraStatus from '../model/RestApiResultHydraStatus';
+import RestApiResultKioskSettings from '../model/RestApiResultKioskSettings';
+import RestApiResultPaymentTerminalDetails from '../model/RestApiResultPaymentTerminalDetails';
+import RestApiResultPaymentTerminalTransactionDetails from '../model/RestApiResultPaymentTerminalTransactionDetails';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Hydra service.
+* @module api/HydraApi
+* @version 1.0.0
+*/
+export default class HydraApi {
+
+ /**
+ * Constructs a new HydraApi.
+ * @alias module:api/HydraApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the assignEmv operation.
+ * @callback module:api/HydraApi~assignEmvCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} hydraConfigId
+ * @param {Number} emvTerminalId
+ * @param {module:api/HydraApi~assignEmvCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ assignEmv(appId, hydraConfigId, emvTerminalId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling assignEmv");
+ }
+ // verify the required parameter 'hydraConfigId' is set
+ if (hydraConfigId === undefined || hydraConfigId === null) {
+ throw new Error("Missing the required parameter 'hydraConfigId' when calling assignEmv");
+ }
+ // verify the required parameter 'emvTerminalId' is set
+ if (emvTerminalId === undefined || emvTerminalId === null) {
+ throw new Error("Missing the required parameter 'emvTerminalId' when calling assignEmv");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'hydraConfigId': hydraConfigId,
+ 'emvTerminalId': emvTerminalId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/emvterminal/assign/{hydraConfigId}/{emvTerminalId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the attachStoreToKiosk operation.
+ * @callback module:api/HydraApi~attachStoreToKioskCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {String} deviceId
+ * @param {module:api/HydraApi~attachStoreToKioskCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraStatus}
+ */
+ attachStoreToKiosk(appId, storeId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling attachStoreToKiosk");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling attachStoreToKiosk");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling attachStoreToKiosk");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/AttachStoreToKiosk/{deviceId}/store/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the attachStoreToTerminal operation.
+ * @callback module:api/HydraApi~attachStoreToTerminalCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {Number} storeId
+ * @param {module:api/HydraApi~attachStoreToTerminalCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraStatus}
+ */
+ attachStoreToTerminal(appId, deviceId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling attachStoreToTerminal");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling attachStoreToTerminal");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling attachStoreToTerminal");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/{deviceId}/attach/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the cancelEmvPayment operation.
+ * @callback module:api/HydraApi~cancelEmvPaymentCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {String} appId
+ * @param {module:api/HydraApi~cancelEmvPaymentCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ cancelEmvPayment(orderId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling cancelEmvPayment");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling cancelEmvPayment");
+ }
+
+ let pathParams = {
+ 'orderId': orderId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/cancelemvpayment/{orderId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the detachStoreFromTerminal operation.
+ * @callback module:api/HydraApi~detachStoreFromTerminalCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {Number} storeId
+ * @param {module:api/HydraApi~detachStoreFromTerminalCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraStatus}
+ */
+ detachStoreFromTerminal(appId, deviceId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling detachStoreFromTerminal");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling detachStoreFromTerminal");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling detachStoreFromTerminal");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/{deviceId}/detach/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAblyToken operation.
+ * @callback module:api/HydraApi~getAblyTokenCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HydraApi~getAblyTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ getAblyToken(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/hydra/ably_token', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAttachedDevice operation.
+ * @callback module:api/HydraApi~getAttachedDeviceCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraDeviceDetails} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} deviceType
+ * @param {String} deviceId
+ * @param {module:api/HydraApi~getAttachedDeviceCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraDeviceDetails}
+ */
+ getAttachedDevice(appId, deviceType, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAttachedDevice");
+ }
+ // verify the required parameter 'deviceType' is set
+ if (deviceType === undefined || deviceType === null) {
+ throw new Error("Missing the required parameter 'deviceType' when calling getAttachedDevice");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling getAttachedDevice");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceType': deviceType,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraDeviceDetails;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/{deviceType}/{deviceId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAttachedDevices operation.
+ * @callback module:api/HydraApi~getAttachedDevicesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultHydraDeviceDetails} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} deviceType
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.pageIndex
+ * @param {Number} opts.pageSize
+ * @param {Number} opts.storeId
+ * @param {String} opts.deviceName
+ * @param {String} opts.deviceSerial
+ * @param {module:api/HydraApi~getAttachedDevicesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultHydraDeviceDetails}
+ */
+ getAttachedDevices(appId, deviceType, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAttachedDevices");
+ }
+ // verify the required parameter 'deviceType' is set
+ if (deviceType === undefined || deviceType === null) {
+ throw new Error("Missing the required parameter 'deviceType' when calling getAttachedDevices");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceType': deviceType
+ };
+ let queryParams = {
+ 'pageIndex': opts['pageIndex'],
+ 'pageSize': opts['pageSize'],
+ 'storeId': opts['storeId'],
+ 'deviceName': opts['deviceName'],
+ 'deviceSerial': opts['deviceSerial']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultHydraDeviceDetails;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/{deviceType}/list', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getEMVTerminalDetails operation.
+ * @callback module:api/HydraApi~getEMVTerminalDetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPaymentTerminalDetails} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/HydraApi~getEMVTerminalDetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPaymentTerminalDetails}
+ */
+ getEMVTerminalDetails(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getEMVTerminalDetails");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultPaymentTerminalDetails;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/emvterminal', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getEmvOrderState operation.
+ * @callback module:api/HydraApi~getEmvOrderStateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPaymentTerminalTransactionDetails} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {String} appId
+ * @param {module:api/HydraApi~getEmvOrderStateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPaymentTerminalTransactionDetails}
+ */
+ getEmvOrderState(orderId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getEmvOrderState");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getEmvOrderState");
+ }
+
+ let pathParams = {
+ 'orderId': orderId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultPaymentTerminalTransactionDetails;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/emvorderstate/{orderId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getKioskCashPaymentSettings operation.
+ * @callback module:api/HydraApi~getKioskCashPaymentSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultKioskCashPaymentSettings} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:api/HydraApi~getKioskCashPaymentSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultKioskCashPaymentSettings}
+ */
+ getKioskCashPaymentSettings(appId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getKioskCashPaymentSettings");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling getKioskCashPaymentSettings");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultKioskCashPaymentSettings;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/kioskcashsettings/{deviceId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getKioskSettings operation.
+ * @callback module:api/HydraApi~getKioskSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultKioskSettings} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:api/HydraApi~getKioskSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultKioskSettings}
+ */
+ getKioskSettings(appId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getKioskSettings");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling getKioskSettings");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultKioskSettings;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/kiosksettings/{deviceId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRegistration operation.
+ * @callback module:api/HydraApi~getRegistrationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HydraApi~getRegistrationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraStatus}
+ */
+ getRegistration(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/hydra/registration', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getSettings operation.
+ * @callback module:api/HydraApi~getSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/HydraApi~getSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraConfig}
+ */
+ getSettings(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/hydra/settings', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the hydraCreateEmv operation.
+ * @callback module:api/HydraApi~hydraCreateEmvCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/EmvTerminal} emv
+ * @param {module:api/HydraApi~hydraCreateEmvCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ hydraCreateEmv(appId, emv, callback) {
+ let postBody = emv;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling hydraCreateEmv");
+ }
+ // verify the required parameter 'emv' is set
+ if (emv === undefined || emv === null) {
+ throw new Error("Missing the required parameter 'emv' when calling hydraCreateEmv");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/emvterminals', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the hydraDeleteEmv operation.
+ * @callback module:api/HydraApi~hydraDeleteEmvCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} id
+ * @param {module:api/HydraApi~hydraDeleteEmvCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ hydraDeleteEmv(appId, id, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling hydraDeleteEmv");
+ }
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling hydraDeleteEmv");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/emvterminals/{id}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the hydraDetachStoreFromKiosk operation.
+ * @callback module:api/HydraApi~hydraDetachStoreFromKioskCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {String} deviceId
+ * @param {module:api/HydraApi~hydraDetachStoreFromKioskCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraStatus}
+ */
+ hydraDetachStoreFromKiosk(appId, storeId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling hydraDetachStoreFromKiosk");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling hydraDetachStoreFromKiosk");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling hydraDetachStoreFromKiosk");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/DetachStoreFromKiosk/{deviceId}/store/{storeId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the hydraGetEmvsForAppId operation.
+ * @callback module:api/HydraApi~hydraGetEmvsForAppIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultEmvTerminalWithAssignments} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/HydraApi~hydraGetEmvsForAppIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultEmvTerminalWithAssignments}
+ */
+ hydraGetEmvsForAppId(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling hydraGetEmvsForAppId");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultEmvTerminalWithAssignments;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/emvterminals', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the loginWithDeviceId operation.
+ * @callback module:api/HydraApi~loginWithDeviceIdCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} deviceId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/String} opts.hydraUserType
+ * @param {String} opts.serialNumber
+ * @param {module:api/HydraApi~loginWithDeviceIdCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ loginWithDeviceId(deviceId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling loginWithDeviceId");
+ }
+
+ let pathParams = {
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ 'hydraUserType': opts['hydraUserType'],
+ 'serialNumber': opts['serialNumber']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/hydra/{deviceId}/login', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the register operation.
+ * @callback module:api/HydraApi~registerCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHydraStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/HydraRegistrationRequest} hydraRegistration
+ * @param {module:api/HydraApi~registerCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHydraStatus}
+ */
+ register(appId, hydraRegistration, callback) {
+ let postBody = hydraRegistration;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling register");
+ }
+ // verify the required parameter 'hydraRegistration' is set
+ if (hydraRegistration === undefined || hydraRegistration === null) {
+ throw new Error("Missing the required parameter 'hydraRegistration' when calling register");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultHydraStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/registration', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unAssign operation.
+ * @callback module:api/HydraApi~unAssignCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:api/HydraApi~unAssignCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ unAssign(appId, deviceId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling unAssign");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling unAssign");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/{deviceId}/registration', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unassignEmv operation.
+ * @callback module:api/HydraApi~unassignEmvCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} hydraConfigId
+ * @param {module:api/HydraApi~unassignEmvCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ unassignEmv(appId, hydraConfigId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling unassignEmv");
+ }
+ // verify the required parameter 'hydraConfigId' is set
+ if (hydraConfigId === undefined || hydraConfigId === null) {
+ throw new Error("Missing the required parameter 'hydraConfigId' when calling unassignEmv");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'hydraConfigId': hydraConfigId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/hydra/emvterminal/unassign/{hydraConfigId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateKioskCashVisibilitySettings operation.
+ * @callback module:api/HydraApi~updateKioskCashVisibilitySettingsCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {Boolean} isCashEnabled
+ * @param {module:api/HydraApi~updateKioskCashVisibilitySettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateKioskCashVisibilitySettings(appId, deviceId, isCashEnabled, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateKioskCashVisibilitySettings");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling updateKioskCashVisibilitySettings");
+ }
+ // verify the required parameter 'isCashEnabled' is set
+ if (isCashEnabled === undefined || isCashEnabled === null) {
+ throw new Error("Missing the required parameter 'isCashEnabled' when calling updateKioskCashVisibilitySettings");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'deviceId': deviceId,
+ 'isCashEnabled': isCashEnabled
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/kioskupdatecashsettings', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateKioskSettings operation.
+ * @callback module:api/HydraApi~updateKioskSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} deviceId
+ * @param {module:model/KioskSettings} settings
+ * @param {module:api/HydraApi~updateKioskSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateKioskSettings(appId, deviceId, settings, callback) {
+ let postBody = settings;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateKioskSettings");
+ }
+ // verify the required parameter 'deviceId' is set
+ if (deviceId === undefined || deviceId === null) {
+ throw new Error("Missing the required parameter 'deviceId' when calling updateKioskSettings");
+ }
+ // verify the required parameter 'settings' is set
+ if (settings === undefined || settings === null) {
+ throw new Error("Missing the required parameter 'settings' when calling updateKioskSettings");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'deviceId': deviceId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/kiosksettings/{deviceId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/IntercomApi.js b/src/api/IntercomApi.js
new file mode 100644
index 00000000..c30cb487
--- /dev/null
+++ b/src/api/IntercomApi.js
@@ -0,0 +1,76 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultIntercomUserHash from '../model/RestApiResultIntercomUserHash';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Intercom service.
+* @module api/IntercomApi
+* @version 1.0.0
+*/
+export default class IntercomApi {
+
+ /**
+ * Constructs a new IntercomApi.
+ * @alias module:api/IntercomApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the userHash operation.
+ * @callback module:api/IntercomApi~userHashCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultIntercomUserHash} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/IntercomApi~userHashCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultIntercomUserHash}
+ */
+ userHash(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultIntercomUserHash;
+ return this.apiClient.callApi(
+ '/api/v1.0/intercom/userHash', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/InvoicesApi.js b/src/api/InvoicesApi.js
new file mode 100644
index 00000000..ebaeb046
--- /dev/null
+++ b/src/api/InvoicesApi.js
@@ -0,0 +1,259 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiFinanceSearchPaginationResultInvoice from '../model/RestApiFinanceSearchPaginationResultInvoice';
+import RestApiFinanceSearchPaginationResultSubscriptionInvoice from '../model/RestApiFinanceSearchPaginationResultSubscriptionInvoice';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Invoices service.
+* @module api/InvoicesApi
+* @version 1.0.0
+*/
+export default class InvoicesApi {
+
+ /**
+ * Constructs a new InvoicesApi.
+ * @alias module:api/InvoicesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getInvoices operation.
+ * @callback module:api/InvoicesApi~getInvoicesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiFinanceSearchPaginationResultSubscriptionInvoice} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.subscriptionId
+ * @param {Number} opts.limit
+ * @param {String} opts.pageId
+ * @param {Boolean} opts.excludeNotOwnedInvoices
+ * @param {Date} opts.dateFrom
+ * @param {Date} opts.dateTo
+ * @param {String} opts.invoiceNumber
+ * @param {Array.} opts.storeId
+ * @param {module:api/InvoicesApi~getInvoicesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiFinanceSearchPaginationResultSubscriptionInvoice}
+ */
+ getInvoices(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getInvoices");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'subscriptionId': opts['subscriptionId'],
+ 'limit': opts['limit'],
+ 'pageId': opts['pageId'],
+ 'excludeNotOwnedInvoices': opts['excludeNotOwnedInvoices'],
+ 'dateFrom': opts['dateFrom'],
+ 'dateTo': opts['dateTo'],
+ 'invoiceNumber': opts['invoiceNumber'],
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiFinanceSearchPaginationResultSubscriptionInvoice;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/invoices', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the invoicePdf operation.
+ * @callback module:api/InvoicesApi~invoicePdfCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} invoiceNumber
+ * @param {String} appId
+ * @param {module:api/InvoicesApi~invoicePdfCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ invoicePdf(invoiceNumber, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'invoiceNumber' is set
+ if (invoiceNumber === undefined || invoiceNumber === null) {
+ throw new Error("Missing the required parameter 'invoiceNumber' when calling invoicePdf");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling invoicePdf");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'invoiceNumber': invoiceNumber
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/invoices/InvoicePdf', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the listInvoices operation.
+ * @callback module:api/InvoicesApi~listInvoicesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiFinanceSearchPaginationResultInvoice} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.limit
+ * @param {Number} opts.page
+ * @param {module:api/InvoicesApi~listInvoicesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiFinanceSearchPaginationResultInvoice}
+ */
+ listInvoices(storeId, appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling listInvoices");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling listInvoices");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': storeId,
+ 'limit': opts['limit'],
+ 'page': opts['page']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiFinanceSearchPaginationResultInvoice;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/invoices/ListInvoices', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the listSubscriptionInvoices operation.
+ * @callback module:api/InvoicesApi~listSubscriptionInvoicesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiFinanceSearchPaginationResultSubscriptionInvoice} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.subscriptionId
+ * @param {Number} opts.limit
+ * @param {String} opts.pageId
+ * @param {Boolean} opts.excludeNotOwnedInvoices
+ * @param {Date} opts.dateFrom
+ * @param {Date} opts.dateTo
+ * @param {String} opts.invoiceNumber
+ * @param {Array.} opts.storeId
+ * @param {module:api/InvoicesApi~listSubscriptionInvoicesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiFinanceSearchPaginationResultSubscriptionInvoice}
+ */
+ listSubscriptionInvoices(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling listSubscriptionInvoices");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'subscriptionId': opts['subscriptionId'],
+ 'limit': opts['limit'],
+ 'pageId': opts['pageId'],
+ 'excludeNotOwnedInvoices': opts['excludeNotOwnedInvoices'],
+ 'dateFrom': opts['dateFrom'],
+ 'dateTo': opts['dateTo'],
+ 'invoiceNumber': opts['invoiceNumber'],
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiFinanceSearchPaginationResultSubscriptionInvoice;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/invoices/ListSubscriptionInvoices', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/KioskEntitlementsApi.js b/src/api/KioskEntitlementsApi.js
new file mode 100644
index 00000000..3d40041d
--- /dev/null
+++ b/src/api/KioskEntitlementsApi.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultKioskEntitlementsResult from '../model/RestApiResultKioskEntitlementsResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* KioskEntitlements service.
+* @module api/KioskEntitlementsApi
+* @version 1.0.0
+*/
+export default class KioskEntitlementsApi {
+
+ /**
+ * Constructs a new KioskEntitlementsApi.
+ * @alias module:api/KioskEntitlementsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the queryKioskEntitlementsByOrgId operation.
+ * @callback module:api/KioskEntitlementsApi~queryKioskEntitlementsByOrgIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultKioskEntitlementsResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} orgId
+ * @param {module:api/KioskEntitlementsApi~queryKioskEntitlementsByOrgIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultKioskEntitlementsResult}
+ */
+ queryKioskEntitlementsByOrgId(orgId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orgId' is set
+ if (orgId === undefined || orgId === null) {
+ throw new Error("Missing the required parameter 'orgId' when calling queryKioskEntitlementsByOrgId");
+ }
+
+ let pathParams = {
+ 'orgId': orgId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultKioskEntitlementsResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/orgs/{orgId}/kiosk/entitlements', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/LightspeedApi.js b/src/api/LightspeedApi.js
new file mode 100644
index 00000000..43adb00c
--- /dev/null
+++ b/src/api/LightspeedApi.js
@@ -0,0 +1,170 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import LightspeedSettings from '../model/LightspeedSettings';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultLightspeedSettings from '../model/RestApiResultLightspeedSettings';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Lightspeed service.
+* @module api/LightspeedApi
+* @version 1.0.0
+*/
+export default class LightspeedApi {
+
+ /**
+ * Constructs a new LightspeedApi.
+ * @alias module:api/LightspeedApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the lightspeedGenerateMenu operation.
+ * @callback module:api/LightspeedApi~lightspeedGenerateMenuCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/LightspeedApi~lightspeedGenerateMenuCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ lightspeedGenerateMenu(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling lightspeedGenerateMenu");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/lightspeed/{storeId}/menu/generate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the lightspeedGetStoreSettings operation.
+ * @callback module:api/LightspeedApi~lightspeedGetStoreSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLightspeedSettings} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/LightspeedApi~lightspeedGetStoreSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLightspeedSettings}
+ */
+ lightspeedGetStoreSettings(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling lightspeedGetStoreSettings");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultLightspeedSettings;
+ return this.apiClient.callApi(
+ '/api/v1.0/lightspeed/{storeId}/settings', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the lightspeedSaveStoreSettings operation.
+ * @callback module:api/LightspeedApi~lightspeedSaveStoreSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLightspeedSettings} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/LightspeedSettings} lightspeedSettings
+ * @param {module:api/LightspeedApi~lightspeedSaveStoreSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLightspeedSettings}
+ */
+ lightspeedSaveStoreSettings(storeId, lightspeedSettings, callback) {
+ let postBody = lightspeedSettings;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling lightspeedSaveStoreSettings");
+ }
+ // verify the required parameter 'lightspeedSettings' is set
+ if (lightspeedSettings === undefined || lightspeedSettings === null) {
+ throw new Error("Missing the required parameter 'lightspeedSettings' when calling lightspeedSaveStoreSettings");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultLightspeedSettings;
+ return this.apiClient.callApi(
+ '/api/v1.0/lightspeed/{storeId}/settings', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/LocationApi.js b/src/api/LocationApi.js
new file mode 100644
index 00000000..4124cfc9
--- /dev/null
+++ b/src/api/LocationApi.js
@@ -0,0 +1,353 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateLocation from '../model/CreateLocation';
+import RestApiArrayResultLocationAreaLocation from '../model/RestApiArrayResultLocationAreaLocation';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultLocationAreaLocation from '../model/RestApiResultLocationAreaLocation';
+import RestApiResultMappedLocation from '../model/RestApiResultMappedLocation';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Location service.
+* @module api/LocationApi
+* @version 1.0.0
+*/
+export default class LocationApi {
+
+ /**
+ * Constructs a new LocationApi.
+ * @alias module:api/LocationApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createLocation operation.
+ * @callback module:api/LocationApi~createLocationCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} locationAreaId
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {Array.} createLocationInput
+ * @param {module:api/LocationApi~createLocationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createLocation(locationAreaId, appId, storeId, createLocationInput, callback) {
+ let postBody = createLocationInput;
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling createLocation");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createLocation");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling createLocation");
+ }
+ // verify the required parameter 'createLocationInput' is set
+ if (createLocationInput === undefined || createLocationInput === null) {
+ throw new Error("Missing the required parameter 'createLocationInput' when calling createLocation");
+ }
+
+ let pathParams = {
+ 'locationAreaId': locationAreaId,
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteLocation operation.
+ * @callback module:api/LocationApi~deleteLocationCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} locationId
+ * @param {Number} locationAreaId
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/LocationApi~deleteLocationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ deleteLocation(locationId, locationAreaId, appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'locationId' is set
+ if (locationId === undefined || locationId === null) {
+ throw new Error("Missing the required parameter 'locationId' when calling deleteLocation");
+ }
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling deleteLocation");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteLocation");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling deleteLocation");
+ }
+
+ let pathParams = {
+ 'locationId': locationId,
+ 'locationAreaId': locationAreaId,
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/delete', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the mapLocationToExternalId operation.
+ * @callback module:api/LocationApi~mapLocationToExternalIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMappedLocation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} locationId
+ * @param {Number} locationAreaId
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.externalLocationId
+ * @param {module:api/LocationApi~mapLocationToExternalIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMappedLocation}
+ */
+ mapLocationToExternalId(locationId, locationAreaId, appId, storeId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'locationId' is set
+ if (locationId === undefined || locationId === null) {
+ throw new Error("Missing the required parameter 'locationId' when calling mapLocationToExternalId");
+ }
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling mapLocationToExternalId");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling mapLocationToExternalId");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling mapLocationToExternalId");
+ }
+
+ let pathParams = {
+ 'locationId': locationId,
+ 'locationAreaId': locationAreaId,
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'externalLocationId': opts['externalLocationId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultMappedLocation;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/map-external', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the moveLocation operation.
+ * @callback module:api/LocationApi~moveLocationCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} locationId
+ * @param {Number} locationAreaId
+ * @param {Number} newLocationAreaId
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/LocationApi~moveLocationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ moveLocation(locationId, locationAreaId, newLocationAreaId, appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'locationId' is set
+ if (locationId === undefined || locationId === null) {
+ throw new Error("Missing the required parameter 'locationId' when calling moveLocation");
+ }
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling moveLocation");
+ }
+ // verify the required parameter 'newLocationAreaId' is set
+ if (newLocationAreaId === undefined || newLocationAreaId === null) {
+ throw new Error("Missing the required parameter 'newLocationAreaId' when calling moveLocation");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling moveLocation");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling moveLocation");
+ }
+
+ let pathParams = {
+ 'locationId': locationId,
+ 'locationAreaId': locationAreaId,
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'newLocationAreaId': newLocationAreaId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/move', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateLocation operation.
+ * @callback module:api/LocationApi~updateLocationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLocationAreaLocation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} locationAreaId
+ * @param {Number} locationId
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:model/CreateLocation} updateLocationInput
+ * @param {module:api/LocationApi~updateLocationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLocationAreaLocation}
+ */
+ updateLocation(locationAreaId, locationId, appId, storeId, updateLocationInput, callback) {
+ let postBody = updateLocationInput;
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling updateLocation");
+ }
+ // verify the required parameter 'locationId' is set
+ if (locationId === undefined || locationId === null) {
+ throw new Error("Missing the required parameter 'locationId' when calling updateLocation");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateLocation");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateLocation");
+ }
+ // verify the required parameter 'updateLocationInput' is set
+ if (updateLocationInput === undefined || updateLocationInput === null) {
+ throw new Error("Missing the required parameter 'updateLocationInput' when calling updateLocation");
+ }
+
+ let pathParams = {
+ 'locationAreaId': locationAreaId,
+ 'locationId': locationId,
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultLocationAreaLocation;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/location/{locationId}/update', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/LocationAreasApi.js b/src/api/LocationAreasApi.js
new file mode 100644
index 00000000..3c4c1f0f
--- /dev/null
+++ b/src/api/LocationAreasApi.js
@@ -0,0 +1,255 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateLocationArea from '../model/CreateLocationArea';
+import RestApiArrayResultLocationAreaWithLocations from '../model/RestApiArrayResultLocationAreaWithLocations';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultLocationArea from '../model/RestApiResultLocationArea';
+import RestApiResultLocationAreaWithLocations from '../model/RestApiResultLocationAreaWithLocations';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateLocationArea from '../model/UpdateLocationArea';
+
+/**
+* LocationAreas service.
+* @module api/LocationAreasApi
+* @version 1.0.0
+*/
+export default class LocationAreasApi {
+
+ /**
+ * Constructs a new LocationAreasApi.
+ * @alias module:api/LocationAreasApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createLocationArea operation.
+ * @callback module:api/LocationAreasApi~createLocationAreaCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:model/CreateLocationArea} locationAreaInput
+ * @param {module:api/LocationAreasApi~createLocationAreaCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createLocationArea(appId, storeId, locationAreaInput, callback) {
+ let postBody = locationAreaInput;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createLocationArea");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling createLocationArea");
+ }
+ // verify the required parameter 'locationAreaInput' is set
+ if (locationAreaInput === undefined || locationAreaInput === null) {
+ throw new Error("Missing the required parameter 'locationAreaInput' when calling createLocationArea");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getLocationArea operation.
+ * @callback module:api/LocationAreasApi~getLocationAreaCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLocationAreaWithLocations} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} locationAreaId
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/LocationAreasApi~getLocationAreaCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLocationAreaWithLocations}
+ */
+ getLocationArea(locationAreaId, appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling getLocationArea");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getLocationArea");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getLocationArea");
+ }
+
+ let pathParams = {
+ 'locationAreaId': locationAreaId,
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultLocationAreaWithLocations;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getLocationAreasForStore operation.
+ * @callback module:api/LocationAreasApi~getLocationAreasForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultLocationAreaWithLocations} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/LocationAreasApi~getLocationAreasForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultLocationAreaWithLocations}
+ */
+ getLocationAreasForStore(appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getLocationAreasForStore");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getLocationAreasForStore");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultLocationAreaWithLocations;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateLocationArea operation.
+ * @callback module:api/LocationAreasApi~updateLocationAreaCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultLocationArea} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {String} locationAreaId
+ * @param {module:model/UpdateLocationArea} locationAreaInput
+ * @param {module:api/LocationAreasApi~updateLocationAreaCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultLocationArea}
+ */
+ updateLocationArea(appId, storeId, locationAreaId, locationAreaInput, callback) {
+ let postBody = locationAreaInput;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateLocationArea");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateLocationArea");
+ }
+ // verify the required parameter 'locationAreaId' is set
+ if (locationAreaId === undefined || locationAreaId === null) {
+ throw new Error("Missing the required parameter 'locationAreaId' when calling updateLocationArea");
+ }
+ // verify the required parameter 'locationAreaInput' is set
+ if (locationAreaInput === undefined || locationAreaInput === null) {
+ throw new Error("Missing the required parameter 'locationAreaInput' when calling updateLocationArea");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId,
+ 'locationAreaId': locationAreaId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultLocationArea;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/{storeId}/location-areas/{locationAreaId}/update', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/LookerDashboardApi.js b/src/api/LookerDashboardApi.js
new file mode 100644
index 00000000..96391861
--- /dev/null
+++ b/src/api/LookerDashboardApi.js
@@ -0,0 +1,80 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* LookerDashboard service.
+* @module api/LookerDashboardApi
+* @version 1.0.0
+*/
+export default class LookerDashboardApi {
+
+ /**
+ * Constructs a new LookerDashboardApi.
+ * @alias module:api/LookerDashboardApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the lookerDashboardGetAll operation.
+ * @callback module:api/LookerDashboardApi~lookerDashboardGetAllCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/LookerDashboardApi~lookerDashboardGetAllCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ lookerDashboardGetAll(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling lookerDashboardGetAll");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/looker/dashboards', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/LookerSingleSignOnApi.js b/src/api/LookerSingleSignOnApi.js
new file mode 100644
index 00000000..84ae3863
--- /dev/null
+++ b/src/api/LookerSingleSignOnApi.js
@@ -0,0 +1,92 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import DashboardEmbed from '../model/DashboardEmbed';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* LookerSingleSignOn service.
+* @module api/LookerSingleSignOnApi
+* @version 1.0.0
+*/
+export default class LookerSingleSignOnApi {
+
+ /**
+ * Constructs a new LookerSingleSignOnApi.
+ * @alias module:api/LookerSingleSignOnApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getSSOEndpoint operation.
+ * @callback module:api/LookerSingleSignOnApi~getSSOEndpointCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/DashboardEmbed} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} embedPath
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.filters
+ * @param {module:api/LookerSingleSignOnApi~getSSOEndpointCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/DashboardEmbed}
+ */
+ getSSOEndpoint(appId, embedPath, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getSSOEndpoint");
+ }
+ // verify the required parameter 'embedPath' is set
+ if (embedPath === undefined || embedPath === null) {
+ throw new Error("Missing the required parameter 'embedPath' when calling getSSOEndpoint");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'embedPath': embedPath,
+ 'filters': opts['filters']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'EmbedUrl'];
+ let returnType = DashboardEmbed;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/looker/sso', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenuOptionSetItemsApi.js b/src/api/MenuOptionSetItemsApi.js
new file mode 100644
index 00000000..b3c93752
--- /dev/null
+++ b/src/api/MenuOptionSetItemsApi.js
@@ -0,0 +1,582 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import MenuItemOptionSetItemBase from '../model/MenuItemOptionSetItemBase';
+import RestApiArrayResultMenuItemOptionSetItem from '../model/RestApiArrayResultMenuItemOptionSetItem';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultMenuItemOptionSetItem from '../model/RestApiResultMenuItemOptionSetItem';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenuOptionSetItems service.
+* @module api/MenuOptionSetItemsApi
+* @version 1.0.0
+*/
+export default class MenuOptionSetItemsApi {
+
+ /**
+ * Constructs a new MenuOptionSetItemsApi.
+ * @alias module:api/MenuOptionSetItemsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addMenuItemOptionSetItem operation.
+ * @callback module:api/MenuOptionSetItemsApi~addMenuItemOptionSetItemCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create menu item option set item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {module:model/MenuItemOptionSetItemBase} menuItemOptionSetItem Option set item
+ * @param {module:api/MenuOptionSetItemsApi~addMenuItemOptionSetItemCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ addMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItem, callback) {
+ let postBody = menuItemOptionSetItem;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling addMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling addMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling addMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuItemOptionSetItem' is set
+ if (menuItemOptionSetItem === undefined || menuItemOptionSetItem === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItem' when calling addMenuItemOptionSetItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteOptionSetItemImage operation.
+ * @callback module:api/MenuOptionSetItemsApi~deleteOptionSetItemImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu item option set item image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {Number} menuItemOptionSetItemId Option set item identifier
+ * @param {module:api/MenuOptionSetItemsApi~deleteOptionSetItemImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteOptionSetItemImage(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteOptionSetItemImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteOptionSetItemImage");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling deleteOptionSetItemImage");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling deleteOptionSetItemImage");
+ }
+ // verify the required parameter 'menuItemOptionSetItemId' is set
+ if (menuItemOptionSetItemId === undefined || menuItemOptionSetItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItemId' when calling deleteOptionSetItemImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId,
+ 'menuItemOptionSetItemId': menuItemOptionSetItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemOptionSetItemById operation.
+ * @callback module:api/MenuOptionSetItemsApi~getMenuItemOptionSetItemByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuItemOptionSetItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item option set item by identifier
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {Number} menuItemOptionSetItemId Option set item identifier
+ * @param {module:api/MenuOptionSetItemsApi~getMenuItemOptionSetItemByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuItemOptionSetItem}
+ */
+ getMenuItemOptionSetItemById(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemOptionSetItemById");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuItemOptionSetItemById");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling getMenuItemOptionSetItemById");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling getMenuItemOptionSetItemById");
+ }
+ // verify the required parameter 'menuItemOptionSetItemId' is set
+ if (menuItemOptionSetItemId === undefined || menuItemOptionSetItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItemId' when calling getMenuItemOptionSetItemById");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId,
+ 'menuItemOptionSetItemId': menuItemOptionSetItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMenuItemOptionSetItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemOptionSetItems operation.
+ * @callback module:api/MenuOptionSetItemsApi~getMenuItemOptionSetItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuItemOptionSetItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item option set items
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {module:api/MenuOptionSetItemsApi~getMenuItemOptionSetItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuItemOptionSetItem}
+ */
+ getMenuItemOptionSetItems(menuId, menuSectionId, menuSectionItemId, optionSetId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemOptionSetItems");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuItemOptionSetItems");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling getMenuItemOptionSetItems");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling getMenuItemOptionSetItems");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMenuItemOptionSetItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the removeMenuItemOptionSetItem operation.
+ * @callback module:api/MenuOptionSetItemsApi~removeMenuItemOptionSetItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu item option set item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {Number} menuItemOptionSetItemId Option set item identifier
+ * @param {module:api/MenuOptionSetItemsApi~removeMenuItemOptionSetItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ removeMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling removeMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling removeMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling removeMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling removeMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuItemOptionSetItemId' is set
+ if (menuItemOptionSetItemId === undefined || menuItemOptionSetItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItemId' when calling removeMenuItemOptionSetItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId,
+ 'menuItemOptionSetItemId': menuItemOptionSetItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setOptionSetItemTax operation.
+ * @callback module:api/MenuOptionSetItemsApi~setOptionSetItemTaxCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Set Tax Rate on OptionSetItem
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId
+ * @param {Number} menuSectionItemId
+ * @param {Number} optionSetId
+ * @param {Number} menuItemOptionSetItemId Option set item identifier
+ * @param {Number} taxRateId Tax Rate to use
+ * @param {module:api/MenuOptionSetItemsApi~setOptionSetItemTaxCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setOptionSetItemTax(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, taxRateId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setOptionSetItemTax");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling setOptionSetItemTax");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling setOptionSetItemTax");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling setOptionSetItemTax");
+ }
+ // verify the required parameter 'menuItemOptionSetItemId' is set
+ if (menuItemOptionSetItemId === undefined || menuItemOptionSetItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItemId' when calling setOptionSetItemTax");
+ }
+ // verify the required parameter 'taxRateId' is set
+ if (taxRateId === undefined || taxRateId === null) {
+ throw new Error("Missing the required parameter 'taxRateId' when calling setOptionSetItemTax");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId,
+ 'menuItemOptionSetItemId': menuItemOptionSetItemId,
+ 'taxRateId': taxRateId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/taxrate/{taxRateId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMenuItemOptionSetItem operation.
+ * @callback module:api/MenuOptionSetItemsApi~updateMenuItemOptionSetItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu item option set item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {Number} menuItemOptionSetItemId Option set item identifier
+ * @param {module:model/MenuItemOptionSetItemBase} menuItemOptionSetItem Option set item (delta)
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.undoAfter An optional time period, in hours, after which the hide-section operation will be undone.
+ * @param {module:api/MenuOptionSetItemsApi~updateMenuItemOptionSetItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateMenuItemOptionSetItem(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, menuItemOptionSetItem, opts, callback) {
+ opts = opts || {};
+ let postBody = menuItemOptionSetItem;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling updateMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling updateMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling updateMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling updateMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuItemOptionSetItemId' is set
+ if (menuItemOptionSetItemId === undefined || menuItemOptionSetItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItemId' when calling updateMenuItemOptionSetItem");
+ }
+ // verify the required parameter 'menuItemOptionSetItem' is set
+ if (menuItemOptionSetItem === undefined || menuItemOptionSetItem === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItem' when calling updateMenuItemOptionSetItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId,
+ 'menuItemOptionSetItemId': menuItemOptionSetItemId
+ };
+ let queryParams = {
+ 'undoAfter': opts['undoAfter']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadOptionSetItemImage operation.
+ * @callback module:api/MenuOptionSetItemsApi~uploadOptionSetItemImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Upload menu item option set item image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {Number} menuItemOptionSetItemId Option set item identifier
+ * @param {File} Image Option set item image
+ * @param {module:api/MenuOptionSetItemsApi~uploadOptionSetItemImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ uploadOptionSetItemImage(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSetItemId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling uploadOptionSetItemImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling uploadOptionSetItemImage");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling uploadOptionSetItemImage");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling uploadOptionSetItemImage");
+ }
+ // verify the required parameter 'menuItemOptionSetItemId' is set
+ if (menuItemOptionSetItemId === undefined || menuItemOptionSetItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSetItemId' when calling uploadOptionSetItemImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadOptionSetItemImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId,
+ 'menuItemOptionSetItemId': menuItemOptionSetItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/optionsetitems/{menuItemOptionSetItemId}/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenuOptionSetsApi.js b/src/api/MenuOptionSetsApi.js
new file mode 100644
index 00000000..3e336a33
--- /dev/null
+++ b/src/api/MenuOptionSetsApi.js
@@ -0,0 +1,465 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import MenuItemOptionSetBase from '../model/MenuItemOptionSetBase';
+import RestApiArrayResultMenuItemOptionSet from '../model/RestApiArrayResultMenuItemOptionSet';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultMenuItemOptionSet from '../model/RestApiResultMenuItemOptionSet';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenuOptionSets service.
+* @module api/MenuOptionSetsApi
+* @version 1.0.0
+*/
+export default class MenuOptionSetsApi {
+
+ /**
+ * Constructs a new MenuOptionSetsApi.
+ * @alias module:api/MenuOptionSetsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createMenuItemOptionSet operation.
+ * @callback module:api/MenuOptionSetsApi~createMenuItemOptionSetCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create menu item option set
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {module:model/MenuItemOptionSetBase} menuItemOptionSet Menu item option set
+ * @param {module:api/MenuOptionSetsApi~createMenuItemOptionSetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createMenuItemOptionSet(menuId, menuSectionId, menuSectionItemId, menuItemOptionSet, callback) {
+ let postBody = menuItemOptionSet;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling createMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling createMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuItemOptionSet' is set
+ if (menuItemOptionSet === undefined || menuItemOptionSet === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSet' when calling createMenuItemOptionSet");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuItemOptionSet operation.
+ * @callback module:api/MenuOptionSetsApi~deleteMenuItemOptionSetCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu item option set
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {module:api/MenuOptionSetsApi~deleteMenuItemOptionSetCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuItemOptionSet(menuId, menuSectionItemId, menuSectionId, optionSetId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling deleteMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteMenuItemOptionSet");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling deleteMenuItemOptionSet");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'menuSectionId': menuSectionId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteOptionSetImage operation.
+ * @callback module:api/MenuOptionSetsApi~deleteOptionSetImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete option set image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {module:api/MenuOptionSetsApi~deleteOptionSetImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteOptionSetImage(menuId, menuSectionId, menuSectionItemId, optionSetId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteOptionSetImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteOptionSetImage");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling deleteOptionSetImage");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling deleteOptionSetImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemOptionSetById operation.
+ * @callback module:api/MenuOptionSetsApi~getMenuItemOptionSetByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuItemOptionSet} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item option set by identifier
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Menu item option set identifier
+ * @param {module:api/MenuOptionSetsApi~getMenuItemOptionSetByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuItemOptionSet}
+ */
+ getMenuItemOptionSetById(menuId, menuSectionId, menuSectionItemId, optionSetId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemOptionSetById");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuItemOptionSetById");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling getMenuItemOptionSetById");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling getMenuItemOptionSetById");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMenuItemOptionSet;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemOptionSets operation.
+ * @callback module:api/MenuOptionSetsApi~getMenuItemOptionSetsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuItemOptionSet} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item option sets
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {module:api/MenuOptionSetsApi~getMenuItemOptionSetsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuItemOptionSet}
+ */
+ getMenuItemOptionSets(menuId, menuSectionId, menuSectionItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemOptionSets");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuItemOptionSets");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling getMenuItemOptionSets");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMenuItemOptionSet;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMenuItemOptionSet operation.
+ * @callback module:api/MenuOptionSetsApi~updateMenuItemOptionSetCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu item option set
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {module:model/MenuItemOptionSetBase} menuItemOptionSet Menu item option set (delta)
+ * @param {module:api/MenuOptionSetsApi~updateMenuItemOptionSetCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateMenuItemOptionSet(menuId, menuSectionId, menuSectionItemId, optionSetId, menuItemOptionSet, callback) {
+ let postBody = menuItemOptionSet;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling updateMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling updateMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling updateMenuItemOptionSet");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling updateMenuItemOptionSet");
+ }
+ // verify the required parameter 'menuItemOptionSet' is set
+ if (menuItemOptionSet === undefined || menuItemOptionSet === null) {
+ throw new Error("Missing the required parameter 'menuItemOptionSet' when calling updateMenuItemOptionSet");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadOptionSetImage operation.
+ * @callback module:api/MenuOptionSetsApi~uploadOptionSetImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Upload menu item option set image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {Number} optionSetId Option set identifier
+ * @param {File} Image Option set image
+ * @param {module:api/MenuOptionSetsApi~uploadOptionSetImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ uploadOptionSetImage(menuId, menuSectionId, menuSectionItemId, optionSetId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling uploadOptionSetImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling uploadOptionSetImage");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling uploadOptionSetImage");
+ }
+ // verify the required parameter 'optionSetId' is set
+ if (optionSetId === undefined || optionSetId === null) {
+ throw new Error("Missing the required parameter 'optionSetId' when calling uploadOptionSetImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadOptionSetImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'optionSetId': optionSetId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/optionsets/{optionSetId}/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenuSectionItemsApi.js b/src/api/MenuSectionItemsApi.js
new file mode 100644
index 00000000..1a668b0e
--- /dev/null
+++ b/src/api/MenuSectionItemsApi.js
@@ -0,0 +1,655 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateMenuSectionItemFromCatalogItems from '../model/CreateMenuSectionItemFromCatalogItems';
+import MenuSectionItemBase from '../model/MenuSectionItemBase';
+import RestApiArrayResultMenuSectionItem from '../model/RestApiArrayResultMenuSectionItem';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultCreatedMenuSectionItems from '../model/RestApiResultCreatedMenuSectionItems';
+import RestApiResultMenuSectionItem from '../model/RestApiResultMenuSectionItem';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenuSectionItems service.
+* @module api/MenuSectionItemsApi
+* @version 1.0.0
+*/
+export default class MenuSectionItemsApi {
+
+ /**
+ * Constructs a new MenuSectionItemsApi.
+ * @alias module:api/MenuSectionItemsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the cloneMenuSectionItem operation.
+ * @callback module:api/MenuSectionItemsApi~cloneMenuSectionItemCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuSectionItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Clone menu section item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {module:api/MenuSectionItemsApi~cloneMenuSectionItemCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuSectionItem}
+ */
+ cloneMenuSectionItem(menuId, menuSectionId, menuSectionItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling cloneMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling cloneMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling cloneMenuSectionItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultMenuSectionItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/clone', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createMenuSectionItem operation.
+ * @callback module:api/MenuSectionItemsApi~createMenuSectionItemCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create menu section item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:model/MenuSectionItemBase} menuSectionItem Menu section item
+ * @param {module:api/MenuSectionItemsApi~createMenuSectionItemCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createMenuSectionItem(menuId, menuSectionId, menuSectionItem, callback) {
+ let postBody = menuSectionItem;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling createMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionItem' is set
+ if (menuSectionItem === undefined || menuSectionItem === null) {
+ throw new Error("Missing the required parameter 'menuSectionItem' when calling createMenuSectionItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createMenuSectionItemFromCatalogItems operation.
+ * @callback module:api/MenuSectionItemsApi~createMenuSectionItemFromCatalogItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create menu section items from a list of Catalog Items
+ * BETA - this endpoint is under development, do not use it in your production system
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:model/CreateMenuSectionItemFromCatalogItems} createFromCatalogItems Information to create the new MenuSectionItems
+ * @param {module:api/MenuSectionItemsApi~createMenuSectionItemFromCatalogItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createMenuSectionItemFromCatalogItems(menuId, menuSectionId, createFromCatalogItems, callback) {
+ let postBody = createFromCatalogItems;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createMenuSectionItemFromCatalogItems");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling createMenuSectionItemFromCatalogItems");
+ }
+ // verify the required parameter 'createFromCatalogItems' is set
+ if (createFromCatalogItems === undefined || createFromCatalogItems === null) {
+ throw new Error("Missing the required parameter 'createFromCatalogItems' when calling createMenuSectionItemFromCatalogItems");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/add-catalogitems', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuSectionItem operation.
+ * @callback module:api/MenuSectionItemsApi~deleteMenuSectionItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu section item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {module:api/MenuSectionItemsApi~deleteMenuSectionItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuSectionItem(menuId, menuSectionId, menuSectionItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling deleteMenuSectionItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuSectionItemImage operation.
+ * @callback module:api/MenuSectionItemsApi~deleteMenuSectionItemImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu section item image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {module:api/MenuSectionItemsApi~deleteMenuSectionItemImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuSectionItemImage(menuId, menuSectionId, menuSectionItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuSectionItemImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteMenuSectionItemImage");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling deleteMenuSectionItemImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemById operation.
+ * @callback module:api/MenuSectionItemsApi~getMenuItemByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuSectionItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item by identifier
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu item identifier
+ * @param {module:api/MenuSectionItemsApi~getMenuItemByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuSectionItem}
+ */
+ getMenuItemById(menuId, menuSectionId, menuSectionItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemById");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuItemById");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling getMenuItemById");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMenuSectionItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItems operation.
+ * @callback module:api/MenuSectionItemsApi~getMenuItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuSectionItem} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu items
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:api/MenuSectionItemsApi~getMenuItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuSectionItem}
+ */
+ getMenuItems(menuId, menuSectionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItems");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuItems");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMenuSectionItem;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the moveMenuItem operation.
+ * @callback module:api/MenuSectionItemsApi~moveMenuItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Move an Item within a menu
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Section to put item in (will usually be original section)
+ * @param {Number} menuSectionItemId ID of Item to be moved
+ * @param {Number} destinationDisplayOrder New Display Order of item
+ * @param {module:api/MenuSectionItemsApi~moveMenuItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ moveMenuItem(menuId, menuSectionId, menuSectionItemId, destinationDisplayOrder, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling moveMenuItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling moveMenuItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling moveMenuItem");
+ }
+ // verify the required parameter 'destinationDisplayOrder' is set
+ if (destinationDisplayOrder === undefined || destinationDisplayOrder === null) {
+ throw new Error("Missing the required parameter 'destinationDisplayOrder' when calling moveMenuItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'destinationDisplayOrder': destinationDisplayOrder
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/setorder/{destinationDisplayOrder}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setSectionItemTax operation.
+ * @callback module:api/MenuSectionItemsApi~setSectionItemTaxCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Set tax rate for menu item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Section to put item in (will usually be original section)
+ * @param {Number} menuSectionItemId ID of Item to be moved
+ * @param {Number} taxRateId tax rate to be set against item
+ * @param {module:api/MenuSectionItemsApi~setSectionItemTaxCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setSectionItemTax(menuId, menuSectionId, menuSectionItemId, taxRateId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setSectionItemTax");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling setSectionItemTax");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling setSectionItemTax");
+ }
+ // verify the required parameter 'taxRateId' is set
+ if (taxRateId === undefined || taxRateId === null) {
+ throw new Error("Missing the required parameter 'taxRateId' when calling setSectionItemTax");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId,
+ 'taxRateId': taxRateId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/taxrate/{taxRateId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMenuSectionItem operation.
+ * @callback module:api/MenuSectionItemsApi~updateMenuSectionItemCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu section item
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {module:model/MenuSectionItemBase} menuSectionItem Menu section item (delta)
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.undoAfter An optional time period, in hours, after which the hide-section operation will be undone
+ * @param {module:api/MenuSectionItemsApi~updateMenuSectionItemCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateMenuSectionItem(menuId, menuSectionId, menuSectionItemId, menuSectionItem, opts, callback) {
+ opts = opts || {};
+ let postBody = menuSectionItem;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling updateMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling updateMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling updateMenuSectionItem");
+ }
+ // verify the required parameter 'menuSectionItem' is set
+ if (menuSectionItem === undefined || menuSectionItem === null) {
+ throw new Error("Missing the required parameter 'menuSectionItem' when calling updateMenuSectionItem");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ 'undoAfter': opts['undoAfter']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadMenuSectionItemImage operation.
+ * @callback module:api/MenuSectionItemsApi~uploadMenuSectionItemImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Upload menu section item image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {Number} menuSectionItemId Menu section item identifier
+ * @param {File} Image Menu section item image
+ * @param {module:api/MenuSectionItemsApi~uploadMenuSectionItemImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ uploadMenuSectionItemImage(menuId, menuSectionId, menuSectionItemId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling uploadMenuSectionItemImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling uploadMenuSectionItemImage");
+ }
+ // verify the required parameter 'menuSectionItemId' is set
+ if (menuSectionItemId === undefined || menuSectionItemId === null) {
+ throw new Error("Missing the required parameter 'menuSectionItemId' when calling uploadMenuSectionItemImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadMenuSectionItemImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'menuSectionItemId': menuSectionItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitems/{menuSectionItemId}/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenuSectionsApi.js b/src/api/MenuSectionsApi.js
new file mode 100644
index 00000000..4ccd17a0
--- /dev/null
+++ b/src/api/MenuSectionsApi.js
@@ -0,0 +1,602 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import BusinessHoursPeriodBase from '../model/BusinessHoursPeriodBase';
+import MenuObjectDisplayOrders from '../model/MenuObjectDisplayOrders';
+import MenuSectionAvailabilityBase from '../model/MenuSectionAvailabilityBase';
+import MenuSectionBase from '../model/MenuSectionBase';
+import RestApiArrayResultMenuSection from '../model/RestApiArrayResultMenuSection';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultBusinessHoursPeriod from '../model/RestApiResultBusinessHoursPeriod';
+import RestApiResultMenuSection from '../model/RestApiResultMenuSection';
+import RestApiResultMenuSectionAvailability from '../model/RestApiResultMenuSectionAvailability';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenuSections service.
+* @module api/MenuSectionsApi
+* @version 1.0.0
+*/
+export default class MenuSectionsApi {
+
+ /**
+ * Constructs a new MenuSectionsApi.
+ * @alias module:api/MenuSectionsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the cloneMenuSection operation.
+ * @callback module:api/MenuSectionsApi~cloneMenuSectionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuSection} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Clone menu section
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:api/MenuSectionsApi~cloneMenuSectionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuSection}
+ */
+ cloneMenuSection(menuId, menuSectionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling cloneMenuSection");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling cloneMenuSection");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultMenuSection;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/clone', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createMenuAvailabilityForDay operation.
+ * @callback module:api/MenuSectionsApi~createMenuAvailabilityForDayCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Set/update menu section availability hours.
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:model/String} dayOfWeek Day of the week
+ * @param {module:model/BusinessHoursPeriodBase} businessHoursPeriod Menu section active hours, note: DayOfWeek property will be overriden by the path parameter.
+ * @param {module:api/MenuSectionsApi~createMenuAvailabilityForDayCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createMenuAvailabilityForDay(menuId, menuSectionId, dayOfWeek, businessHoursPeriod, callback) {
+ let postBody = businessHoursPeriod;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createMenuAvailabilityForDay");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling createMenuAvailabilityForDay");
+ }
+ // verify the required parameter 'dayOfWeek' is set
+ if (dayOfWeek === undefined || dayOfWeek === null) {
+ throw new Error("Missing the required parameter 'dayOfWeek' when calling createMenuAvailabilityForDay");
+ }
+ // verify the required parameter 'businessHoursPeriod' is set
+ if (businessHoursPeriod === undefined || businessHoursPeriod === null) {
+ throw new Error("Missing the required parameter 'businessHoursPeriod' when calling createMenuAvailabilityForDay");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId,
+ 'dayOfWeek': dayOfWeek
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/availability/times/{dayOfWeek}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createMenuSection operation.
+ * @callback module:api/MenuSectionsApi~createMenuSectionCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create menu section
+ * @param {Number} menuId Menu identifier
+ * @param {module:model/MenuSectionBase} menuSection Menu section
+ * @param {module:api/MenuSectionsApi~createMenuSectionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createMenuSection(menuId, menuSection, callback) {
+ let postBody = menuSection;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createMenuSection");
+ }
+ // verify the required parameter 'menuSection' is set
+ if (menuSection === undefined || menuSection === null) {
+ throw new Error("Missing the required parameter 'menuSection' when calling createMenuSection");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createMenuSectionAvailability operation.
+ * @callback module:api/MenuSectionsApi~createMenuSectionAvailabilityCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create menu availability type
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:model/MenuSectionAvailabilityBase} menuSectionAvailability DisplayAlways, DisplayBasedOnTimes, DisplayAlwaysStartCollapsed, DisplayAlwaysStartCollapsedBasedOnTimes
+ * @param {module:api/MenuSectionsApi~createMenuSectionAvailabilityCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createMenuSectionAvailability(menuId, menuSectionId, menuSectionAvailability, callback) {
+ let postBody = menuSectionAvailability;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createMenuSectionAvailability");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling createMenuSectionAvailability");
+ }
+ // verify the required parameter 'menuSectionAvailability' is set
+ if (menuSectionAvailability === undefined || menuSectionAvailability === null) {
+ throw new Error("Missing the required parameter 'menuSectionAvailability' when calling createMenuSectionAvailability");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/availability', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuSection operation.
+ * @callback module:api/MenuSectionsApi~deleteMenuSectionCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu section
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:api/MenuSectionsApi~deleteMenuSectionCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuSection(menuId, menuSectionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuSection");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteMenuSection");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuSectionImage operation.
+ * @callback module:api/MenuSectionsApi~deleteMenuSectionImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu section image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:api/MenuSectionsApi~deleteMenuSectionImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuSectionImage(menuId, menuSectionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuSectionImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling deleteMenuSectionImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuSectionById operation.
+ * @callback module:api/MenuSectionsApi~getMenuSectionByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuSection} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu section by identifier
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:api/MenuSectionsApi~getMenuSectionByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuSection}
+ */
+ getMenuSectionById(menuId, menuSectionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuSectionById");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling getMenuSectionById");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMenuSection;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuSections operation.
+ * @callback module:api/MenuSectionsApi~getMenuSectionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuSection} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu sections
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenuSectionsApi~getMenuSectionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuSection}
+ */
+ getMenuSections(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuSections");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMenuSection;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menuSectionsSetItemDisplayOrders operation.
+ * @callback module:api/MenuSectionsApi~menuSectionsSetItemDisplayOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Re-arrange Items within a Section
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:model/MenuObjectDisplayOrders} displayOrders Item Ids and their new display order
+ * @param {module:api/MenuSectionsApi~menuSectionsSetItemDisplayOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ menuSectionsSetItemDisplayOrders(menuId, menuSectionId, displayOrders, callback) {
+ let postBody = displayOrders;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menuSectionsSetItemDisplayOrders");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling menuSectionsSetItemDisplayOrders");
+ }
+ // verify the required parameter 'displayOrders' is set
+ if (displayOrders === undefined || displayOrders === null) {
+ throw new Error("Missing the required parameter 'displayOrders' when calling menuSectionsSetItemDisplayOrders");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/sectionitemdisplayorders', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMenuSection operation.
+ * @callback module:api/MenuSectionsApi~updateMenuSectionCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu section
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {module:model/MenuSectionBase} menuSection Menu section changes (delta)
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.undoAfter An optional time period, in hours, after which the hide-section operation will be undone.
+ * @param {module:api/MenuSectionsApi~updateMenuSectionCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateMenuSection(menuId, menuSectionId, menuSection, opts, callback) {
+ opts = opts || {};
+ let postBody = menuSection;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling updateMenuSection");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling updateMenuSection");
+ }
+ // verify the required parameter 'menuSection' is set
+ if (menuSection === undefined || menuSection === null) {
+ throw new Error("Missing the required parameter 'menuSection' when calling updateMenuSection");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ 'undoAfter': opts['undoAfter']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadMenuSectionImage operation.
+ * @callback module:api/MenuSectionsApi~uploadMenuSectionImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Upload menu section image
+ * @param {Number} menuId Menu identifier
+ * @param {Number} menuSectionId Menu section identifier
+ * @param {File} Image Menu section image
+ * @param {module:api/MenuSectionsApi~uploadMenuSectionImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ uploadMenuSectionImage(menuId, menuSectionId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling uploadMenuSectionImage");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling uploadMenuSectionImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadMenuSectionImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuSectionId': menuSectionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sections/{menuSectionId}/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenuZonesApi.js b/src/api/MenuZonesApi.js
new file mode 100644
index 00000000..7eac8f93
--- /dev/null
+++ b/src/api/MenuZonesApi.js
@@ -0,0 +1,590 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import HttpPostedFileBase from '../model/HttpPostedFileBase';
+import MenuZone from '../model/MenuZone';
+import RestApiArrayResultMenuZone from '../model/RestApiArrayResultMenuZone';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultMenuZone from '../model/RestApiResultMenuZone';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenuZones service.
+* @module api/MenuZonesApi
+* @version 1.0.0
+*/
+export default class MenuZonesApi {
+
+ /**
+ * Constructs a new MenuZonesApi.
+ * @alias module:api/MenuZonesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addMenuZone operation.
+ * @callback module:api/MenuZonesApi~addMenuZoneCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Adds a new menu zone to a menu.
+ * @param {Number} menuId The menu id.
+ * @param {module:model/MenuZone} menuZone The object containing the new zone. This is optional and not supplying it will generate an empty default zone.
+ * @param {module:api/MenuZonesApi~addMenuZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuZone}
+ */
+ addMenuZone(menuId, menuZone, callback) {
+ let postBody = menuZone;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addMenuZone");
+ }
+ // verify the required parameter 'menuZone' is set
+ if (menuZone === undefined || menuZone === null) {
+ throw new Error("Missing the required parameter 'menuZone' when calling addMenuZone");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMenuZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuZone operation.
+ * @callback module:api/MenuZonesApi~deleteMenuZoneCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Deletes a menu zone.
+ * @param {Number} menuZoneId The menu zone id.
+ * @param {String} menuId
+ * @param {module:api/MenuZonesApi~deleteMenuZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuZone(menuZoneId, menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling deleteMenuZone");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuZone");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuZoneImage operation.
+ * @callback module:api/MenuZonesApi~deleteMenuZoneImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Deletes a menu zone image.
+ * @param {Number} menuZoneId The zone Id/
+ * @param {String} menuId
+ * @param {module:api/MenuZonesApi~deleteMenuZoneImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuZoneImage(menuZoneId, menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling deleteMenuZoneImage");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuZoneImage");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the flipMenuZones operation.
+ * @callback module:api/MenuZonesApi~flipMenuZonesCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Flips the order of two menu zones.
+ * @param {Number} menuZoneId Source.
+ * @param {Number} menuZoneI2 Destination.
+ * @param {String} menuId
+ * @param {module:api/MenuZonesApi~flipMenuZonesCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ flipMenuZones(menuZoneId, menuZoneI2, menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling flipMenuZones");
+ }
+ // verify the required parameter 'menuZoneI2' is set
+ if (menuZoneI2 === undefined || menuZoneI2 === null) {
+ throw new Error("Missing the required parameter 'menuZoneI2' when calling flipMenuZones");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling flipMenuZones");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuZoneI2': menuZoneI2,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}/flip/{menuZoneI2}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuZone operation.
+ * @callback module:api/MenuZonesApi~getMenuZoneCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Gets a specific menu zone for a given zone id
+ * @param {Number} menuId The menu id.
+ * @param {Number} menuZoneId The menu zone id.
+ * @param {module:api/MenuZonesApi~getMenuZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuZone}
+ */
+ getMenuZone(menuId, menuZoneId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuZone");
+ }
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling getMenuZone");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuZoneId': menuZoneId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMenuZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuZonesForMenuId operation.
+ * @callback module:api/MenuZonesApi~getMenuZonesForMenuIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuZone} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Gets all the menu zones for a menu
+ * @param {Number} menuId The menu id to load zones for
+ * @param {module:api/MenuZonesApi~getMenuZonesForMenuIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuZone}
+ */
+ getMenuZonesForMenuId(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuZonesForMenuId");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMenuZone;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuSectionMenuZone operation.
+ * @callback module:api/MenuZonesApi~setMenuSectionMenuZoneCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Assigns a zone to a menu section.
+ * @param {Number} menuZoneId The menu id.
+ * @param {Number} menuSectionId The menu section id.
+ * @param {String} menuId
+ * @param {module:api/MenuZonesApi~setMenuSectionMenuZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuSectionMenuZone(menuZoneId, menuSectionId, menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling setMenuSectionMenuZone");
+ }
+ // verify the required parameter 'menuSectionId' is set
+ if (menuSectionId === undefined || menuSectionId === null) {
+ throw new Error("Missing the required parameter 'menuSectionId' when calling setMenuSectionMenuZone");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuSectionMenuZone");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuSectionId': menuSectionId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}/section/{menuSectionId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuZoneDescription operation.
+ * @callback module:api/MenuZonesApi~setMenuZoneDescriptionCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Sets the description of a menu zone.
+ * @param {Number} menuZoneId The zone id.
+ * @param {String} menuId
+ * @param {String} description The new description. Add as a raw string in the request, without any JSON wrapper.
+ * @param {module:api/MenuZonesApi~setMenuZoneDescriptionCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuZoneDescription(menuZoneId, menuId, description, callback) {
+ let postBody = description;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling setMenuZoneDescription");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuZoneDescription");
+ }
+ // verify the required parameter 'description' is set
+ if (description === undefined || description === null) {
+ throw new Error("Missing the required parameter 'description' when calling setMenuZoneDescription");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}/description', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuZoneName operation.
+ * @callback module:api/MenuZonesApi~setMenuZoneNameCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Sets the name of a menu zone.
+ * @param {Number} menuZoneId The menu zone id.
+ * @param {String} menuZoneName The new name.
+ * @param {String} menuId
+ * @param {module:api/MenuZonesApi~setMenuZoneNameCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuZoneName(menuZoneId, menuZoneName, menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling setMenuZoneName");
+ }
+ // verify the required parameter 'menuZoneName' is set
+ if (menuZoneName === undefined || menuZoneName === null) {
+ throw new Error("Missing the required parameter 'menuZoneName' when calling setMenuZoneName");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuZoneName");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuZoneName': menuZoneName,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}/name/{menuZoneName}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMenuZone operation.
+ * @callback module:api/MenuZonesApi~updateMenuZoneCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Updates a menu zone.
+ * @param {Number} menuId The menu id.
+ * @param {Number} menuZoneId The menu zone id.
+ * @param {module:model/MenuZone} menuZone The object containing the updated values.
+ * @param {module:api/MenuZonesApi~updateMenuZoneCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateMenuZone(menuId, menuZoneId, menuZone, callback) {
+ let postBody = menuZone;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling updateMenuZone");
+ }
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling updateMenuZone");
+ }
+ // verify the required parameter 'menuZone' is set
+ if (menuZone === undefined || menuZone === null) {
+ throw new Error("Missing the required parameter 'menuZone' when calling updateMenuZone");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'menuZoneId': menuZoneId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadMenuZoneImage operation.
+ * @callback module:api/MenuZonesApi~uploadMenuZoneImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Uploads an image for a menu zone.
+ * @param {Number} menuZoneId The zone id.
+ * @param {String} menuId
+ * @param {Array.} file The file to upload.
+ * @param {module:api/MenuZonesApi~uploadMenuZoneImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ uploadMenuZoneImage(menuZoneId, menuId, file, callback) {
+ let postBody = file;
+ // verify the required parameter 'menuZoneId' is set
+ if (menuZoneId === undefined || menuZoneId === null) {
+ throw new Error("Missing the required parameter 'menuZoneId' when calling uploadMenuZoneImage");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling uploadMenuZoneImage");
+ }
+ // verify the required parameter 'file' is set
+ if (file === undefined || file === null) {
+ throw new Error("Missing the required parameter 'file' when calling uploadMenuZoneImage");
+ }
+
+ let pathParams = {
+ 'menuZoneId': menuZoneId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/zones/{menuZoneId}/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenusApi.js b/src/api/MenusApi.js
new file mode 100644
index 00000000..751eafe4
--- /dev/null
+++ b/src/api/MenusApi.js
@@ -0,0 +1,1668 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateFullMenu from '../model/CreateFullMenu';
+import MenuBase from '../model/MenuBase';
+import MenuElementHide from '../model/MenuElementHide';
+import MenuObjectDisplayOrders from '../model/MenuObjectDisplayOrders';
+import MenuTaxRate from '../model/MenuTaxRate';
+import Metadata from '../model/Metadata';
+import RestApiArrayResultAllMetadataResult from '../model/RestApiArrayResultAllMetadataResult';
+import RestApiArrayResultMenuCheckpoint from '../model/RestApiArrayResultMenuCheckpoint';
+import RestApiArrayResultMenuElementEditResponse from '../model/RestApiArrayResultMenuElementEditResponse';
+import RestApiArrayResultMenuElementListResponse from '../model/RestApiArrayResultMenuElementListResponse';
+import RestApiArrayResultMenuStoreNames from '../model/RestApiArrayResultMenuStoreNames';
+import RestApiArrayResultMenuSummary from '../model/RestApiArrayResultMenuSummary';
+import RestApiArrayResultMenuTaxDetails from '../model/RestApiArrayResultMenuTaxDetails';
+import RestApiArrayResultMetadata from '../model/RestApiArrayResultMetadata';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultMenu from '../model/RestApiResultMenu';
+import RestApiResultMetadata from '../model/RestApiResultMetadata';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Menus service.
+* @module api/MenusApi
+* @version 1.0.0
+*/
+export default class MenusApi {
+
+ /**
+ * Constructs a new MenusApi.
+ * @alias module:api/MenusApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createDraftMenuFromExistingMenu operation.
+ * @callback module:api/MenusApi~createDraftMenuFromExistingMenuCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenu} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Clone a menu, (without attaching stores)
+ * @param {Number} menuId Menu identifier
+ * @param {String} newName Name of the new Menu
+ * @param {module:api/MenusApi~createDraftMenuFromExistingMenuCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenu}
+ */
+ createDraftMenuFromExistingMenu(menuId, newName, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling createDraftMenuFromExistingMenu");
+ }
+ // verify the required parameter 'newName' is set
+ if (newName === undefined || newName === null) {
+ throw new Error("Missing the required parameter 'newName' when calling createDraftMenuFromExistingMenu");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'newName': newName
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultMenu;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/clone/{newName}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createNewMenuAsync operation.
+ * @callback module:api/MenusApi~createNewMenuAsyncCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a new menu asynchronously
+ * You must listen to the webhook menu.async_creation.completed to know when the menu is ready
+ * @param {String} appId App id
+ * @param {module:model/CreateFullMenu} menu Menu
+ * @param {module:api/MenusApi~createNewMenuAsyncCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ createNewMenuAsync(appId, menu, callback) {
+ let postBody = menu;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createNewMenuAsync");
+ }
+ // verify the required parameter 'menu' is set
+ if (menu === undefined || menu === null) {
+ throw new Error("Missing the required parameter 'menu' when calling createNewMenuAsync");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/async', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createNewMenuForApp operation.
+ * @callback module:api/MenusApi~createNewMenuForAppCallback
+ * @param {String} error Error message, if any.
+ * @param {Number} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a new menu
+ * [DEPRECATED] - Please use the async version as this endpoint may timeout for large menus
+ * @param {String} appId App identifier
+ * @param {module:model/CreateFullMenu} menu Menu. If empty the system will create a menu with default items
+ * @param {module:api/MenusApi~createNewMenuForAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Number}
+ */
+ createNewMenuForApp(appId, menu, callback) {
+ let postBody = menu;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createNewMenuForApp");
+ }
+ // verify the required parameter 'menu' is set
+ if (menu === undefined || menu === null) {
+ throw new Error("Missing the required parameter 'menu' when calling createNewMenuForApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'Number';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenu operation.
+ * @callback module:api/MenusApi~deleteMenuCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Mark a Menu as Deleted
+ * @param {Number} menuId Menu Identifier
+ * @param {module:api/MenusApi~deleteMenuCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenu(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenu");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuImage operation.
+ * @callback module:api/MenusApi~deleteMenuImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu image
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusApi~deleteMenuImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuImage(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/image', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuItemMetadata operation.
+ * @callback module:api/MenusApi~deleteMenuItemMetadataCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu item metadata
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {Number} menuItemId Menu item identifier
+ * @param {String} key Metadata key
+ * @param {module:api/MenusApi~deleteMenuItemMetadataCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteMenuItemMetadata(menuId, storeId, menuItemId, key, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuItemMetadata");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling deleteMenuItemMetadata");
+ }
+ // verify the required parameter 'menuItemId' is set
+ if (menuItemId === undefined || menuItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemId' when calling deleteMenuItemMetadata");
+ }
+ // verify the required parameter 'key' is set
+ if (key === undefined || key === null) {
+ throw new Error("Missing the required parameter 'key' when calling deleteMenuItemMetadata");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId,
+ 'menuItemId': menuItemId,
+ 'key': key
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/{key}/store/{storeId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAllMenuMetadataByMenuIdAndStoreId operation.
+ * @callback module:api/MenusApi~getAllMenuMetadataByMenuIdAndStoreIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultAllMetadataResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get all menu metadata by menu ID and store ID
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {module:api/MenusApi~getAllMenuMetadataByMenuIdAndStoreIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultAllMetadataResult}
+ */
+ getAllMenuMetadataByMenuIdAndStoreId(menuId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getAllMenuMetadataByMenuIdAndStoreId");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getAllMenuMetadataByMenuIdAndStoreId");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultAllMetadataResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/metadata/store/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuById operation.
+ * @callback module:api/MenusApi~getMenuByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenu} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu by identifier
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusApi~getMenuByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenu}
+ */
+ getMenuById(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuById");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultMenu;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemMetadata operation.
+ * @callback module:api/MenusApi~getMenuItemMetadataCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMetadata} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item metadata
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {Number} menuItemId Menu item identifier
+ * @param {module:api/MenusApi~getMenuItemMetadataCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMetadata}
+ */
+ getMenuItemMetadata(menuId, storeId, menuItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemMetadata");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getMenuItemMetadata");
+ }
+ // verify the required parameter 'menuItemId' is set
+ if (menuItemId === undefined || menuItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemId' when calling getMenuItemMetadata");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId,
+ 'menuItemId': menuItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMetadata;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/store/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemMetadataByKey operation.
+ * @callback module:api/MenusApi~getMenuItemMetadataByKeyCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMetadata} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item metadata by key
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {Number} menuItemId Menu item identifier
+ * @param {String} key Metadata key
+ * @param {module:api/MenusApi~getMenuItemMetadataByKeyCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMetadata}
+ */
+ getMenuItemMetadataByKey(menuId, storeId, menuItemId, key, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemMetadataByKey");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getMenuItemMetadataByKey");
+ }
+ // verify the required parameter 'menuItemId' is set
+ if (menuItemId === undefined || menuItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemId' when calling getMenuItemMetadataByKey");
+ }
+ // verify the required parameter 'key' is set
+ if (key === undefined || key === null) {
+ throw new Error("Missing the required parameter 'key' when calling getMenuItemMetadataByKey");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId,
+ 'menuItemId': menuItemId,
+ 'key': key
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultMetadata;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/{key}/store/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuItemOptionSetItemMetadata operation.
+ * @callback module:api/MenusApi~getMenuItemOptionSetItemMetadataCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMetadata} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu item option set item metadata by key
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {Number} optionSetItemId Menu item option set item identifier
+ * @param {module:api/MenusApi~getMenuItemOptionSetItemMetadataCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMetadata}
+ */
+ getMenuItemOptionSetItemMetadata(menuId, storeId, optionSetItemId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuItemOptionSetItemMetadata");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getMenuItemOptionSetItemMetadata");
+ }
+ // verify the required parameter 'optionSetItemId' is set
+ if (optionSetItemId === undefined || optionSetItemId === null) {
+ throw new Error("Missing the required parameter 'optionSetItemId' when calling getMenuItemOptionSetItemMetadata");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId,
+ 'optionSetItemId': optionSetItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMetadata;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/optionsetitem/{optionSetItemId}/metadata/store/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuName operation.
+ * @callback module:api/MenusApi~getMenuNameCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get Menus Name
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusApi~getMenuNameCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ getMenuName(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuName");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/name', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuStoreNames operation.
+ * @callback module:api/MenusApi~getMenuStoreNamesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuStoreNames} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menus store names
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusApi~getMenuStoreNamesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuStoreNames}
+ */
+ getMenuStoreNames(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuStoreNames");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultMenuStoreNames;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuTaxDetails operation.
+ * @callback module:api/MenusApi~getMenuTaxDetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuTaxDetails} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menus tax details
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusApi~getMenuTaxDetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuTaxDetails}
+ */
+ getMenuTaxDetails(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuTaxDetails");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMenuTaxDetails;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/tax', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenusByAppId operation.
+ * @callback module:api/MenusApi~getMenusByAppIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menus by appId
+ * @param {String} appId Get Menus for this appId
+ * @param {module:api/MenusApi~getMenusByAppIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuSummary}
+ */
+ getMenusByAppId(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getMenusByAppId");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultMenuSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenusCheckpoints operation.
+ * @callback module:api/MenusApi~getMenusCheckpointsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuCheckpoint} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get a Menus Checkpoints
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusApi~getMenusCheckpointsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuCheckpoint}
+ */
+ getMenusCheckpoints(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenusCheckpoints");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultMenuCheckpoint;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/checkpoints', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusDeleteTaxRate operation.
+ * @callback module:api/MenusApi~menusDeleteTaxRateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Remove a Menus Tax Rate, can only remove a tax rate that does not have items/optionSetItems attached
+ * @param {Number} menuId Menu identifier
+ * @param {Number} taxId Id of Menu Tax to be removed
+ * @param {module:api/MenusApi~menusDeleteTaxRateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ menusDeleteTaxRate(menuId, taxId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusDeleteTaxRate");
+ }
+ // verify the required parameter 'taxId' is set
+ if (taxId === undefined || taxId === null) {
+ throw new Error("Missing the required parameter 'taxId' when calling menusDeleteTaxRate");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'taxId': taxId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/tax/{taxId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusGetMenuBulkShowHide operation.
+ * @callback module:api/MenusApi~menusGetMenuBulkShowHideCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuElementListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get bulk show/hide menu items and option set items
+ * @param {Number} menuId Menu id
+ * @param {Boolean} isAvailable Is available flag
+ * @param {module:api/MenusApi~menusGetMenuBulkShowHideCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuElementListResponse}
+ */
+ menusGetMenuBulkShowHide(menuId, isAvailable, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusGetMenuBulkShowHide");
+ }
+ // verify the required parameter 'isAvailable' is set
+ if (isAvailable === undefined || isAvailable === null) {
+ throw new Error("Missing the required parameter 'isAvailable' when calling menusGetMenuBulkShowHide");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ 'isAvailable': isAvailable
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultMenuElementListResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/bulkshowhide/list', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusIsWhiteLabelMigratedToRms operation.
+ * @callback module:api/MenusApi~menusIsWhiteLabelMigratedToRmsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * PRIVATE API, TEMPORARY ENDPOINT RMS can check if a white label is migrated to RMS
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.whiteLabelId white label id (integer)
+ * @param {String} opts.appId appId (string)
+ * @param {module:api/MenusApi~menusIsWhiteLabelMigratedToRmsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ menusIsWhiteLabelMigratedToRms(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'whiteLabelId': opts['whiteLabelId'],
+ 'appId': opts['appId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/isWhiteLabelMigratedToRms', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusMarkWhiteLabelAsMigratedToRms operation.
+ * @callback module:api/MenusApi~menusMarkWhiteLabelAsMigratedToRmsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as migrated to RMS, which will block all Menu editing operations via Zeus
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.whiteLabelId white label id (integer)
+ * @param {String} opts.appId appId (string)
+ * @param {module:api/MenusApi~menusMarkWhiteLabelAsMigratedToRmsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ menusMarkWhiteLabelAsMigratedToRms(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'whiteLabelId': opts['whiteLabelId'],
+ 'appId': opts['appId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/markWhiteLabelAsMigratedToRms', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusMarkWhiteLabelAsNotMigratedToRms operation.
+ * @callback module:api/MenusApi~menusMarkWhiteLabelAsNotMigratedToRmsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * PRIVATE API, TEMPORARY ENDPOINT RMS can set the white label as NOT migrated to RMS, which will unblock all Menu editing operations via Zeus
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.whiteLabelId white label id (integer)
+ * @param {String} opts.appId appId (string)
+ * @param {module:api/MenusApi~menusMarkWhiteLabelAsNotMigratedToRmsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ menusMarkWhiteLabelAsNotMigratedToRms(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'whiteLabelId': opts['whiteLabelId'],
+ 'appId': opts['appId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/markWhiteLabelAsNotMigratedToRms', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusSetDisplayOnMenuTax operation.
+ * @callback module:api/MenusApi~menusSetDisplayOnMenuTaxCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Set if tax shows for a Menu
+ * @param {Number} menuId Menu identifier
+ * @param {Boolean} show Boolean show or dont show tax (Exclusive tax type can only ever be TRUE)
+ * @param {module:api/MenusApi~menusSetDisplayOnMenuTaxCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ menusSetDisplayOnMenuTax(menuId, show, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusSetDisplayOnMenuTax");
+ }
+ // verify the required parameter 'show' is set
+ if (show === undefined || show === null) {
+ throw new Error("Missing the required parameter 'show' when calling menusSetDisplayOnMenuTax");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'show': show
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/tax/show/{show}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusSetItemDisplayOrders operation.
+ * @callback module:api/MenusApi~menusSetItemDisplayOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Re-arrange Sections within a Menu
+ * @param {Number} menuId Menu identifier
+ * @param {module:model/MenuObjectDisplayOrders} displayOrders Section Ids and their new display order
+ * @param {module:api/MenusApi~menusSetItemDisplayOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ menusSetItemDisplayOrders(menuId, displayOrders, callback) {
+ let postBody = displayOrders;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusSetItemDisplayOrders");
+ }
+ // verify the required parameter 'displayOrders' is set
+ if (displayOrders === undefined || displayOrders === null) {
+ throw new Error("Missing the required parameter 'displayOrders' when calling menusSetItemDisplayOrders");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/sectiondisplayorders', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusShowHideBulkItems operation.
+ * @callback module:api/MenusApi~menusShowHideBulkItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMenuElementEditResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Bulk show/hide menu items or option set items
+ * @param {Number} menuId Menu id
+ * @param {Boolean} isAvailable Is available flag
+ * @param {Array.} menuElements Elements to be show/hide
+ * @param {module:api/MenusApi~menusShowHideBulkItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMenuElementEditResponse}
+ */
+ menusShowHideBulkItems(menuId, isAvailable, menuElements, callback) {
+ let postBody = menuElements;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusShowHideBulkItems");
+ }
+ // verify the required parameter 'isAvailable' is set
+ if (isAvailable === undefined || isAvailable === null) {
+ throw new Error("Missing the required parameter 'isAvailable' when calling menusShowHideBulkItems");
+ }
+ // verify the required parameter 'menuElements' is set
+ if (menuElements === undefined || menuElements === null) {
+ throw new Error("Missing the required parameter 'menuElements' when calling menusShowHideBulkItems");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ 'isAvailable': isAvailable
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultMenuElementEditResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/bulkshowhide', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusUpdateTaxType operation.
+ * @callback module:api/MenusApi~menusUpdateTaxTypeCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Set the type of Tax on a Menu
+ * @param {Number} menuId Menu identifier
+ * @param {module:model/String} type Type of Tax
+ * @param {module:api/MenusApi~menusUpdateTaxTypeCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ menusUpdateTaxType(menuId, type, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusUpdateTaxType");
+ }
+ // verify the required parameter 'type' is set
+ if (type === undefined || type === null) {
+ throw new Error("Missing the required parameter 'type' when calling menusUpdateTaxType");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'type': type
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/tax/type/{type}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the menusUpsertTaxRate operation.
+ * @callback module:api/MenusApi~menusUpsertTaxRateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/MenuTaxRate} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Add/Update a Tax Rate
+ * @param {Number} menuId Menu identifier
+ * @param {module:model/MenuTaxRate} taxRate Tax rate to add/update
+ * @param {module:api/MenusApi~menusUpsertTaxRateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/MenuTaxRate}
+ */
+ menusUpsertTaxRate(menuId, taxRate, callback) {
+ let postBody = taxRate;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling menusUpsertTaxRate");
+ }
+ // verify the required parameter 'taxRate' is set
+ if (taxRate === undefined || taxRate === null) {
+ throw new Error("Missing the required parameter 'taxRate' when calling menusUpsertTaxRate");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = MenuTaxRate;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/taxrate', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the restoreAMenuCheckpoint operation.
+ * @callback module:api/MenusApi~restoreAMenuCheckpointCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Restore a Menu to a checkpoint
+ * @param {Number} menuId Menu identifier
+ * @param {Number} checkpointId Checkpoint to restore menu to
+ * @param {module:api/MenusApi~restoreAMenuCheckpointCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ restoreAMenuCheckpoint(menuId, checkpointId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling restoreAMenuCheckpoint");
+ }
+ // verify the required parameter 'checkpointId' is set
+ if (checkpointId === undefined || checkpointId === null) {
+ throw new Error("Missing the required parameter 'checkpointId' when calling restoreAMenuCheckpoint");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'checkpointId': checkpointId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/checkpoints/{checkpointId}/restore', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuItemMetadata operation.
+ * @callback module:api/MenusApi~setMenuItemMetadataCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu item metadata
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {Number} menuItemId Menu item identifier
+ * @param {module:model/Metadata} metadata Metadata object
+ * @param {module:api/MenusApi~setMenuItemMetadataCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuItemMetadata(menuId, storeId, menuItemId, metadata, callback) {
+ let postBody = metadata;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuItemMetadata");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling setMenuItemMetadata");
+ }
+ // verify the required parameter 'menuItemId' is set
+ if (menuItemId === undefined || menuItemId === null) {
+ throw new Error("Missing the required parameter 'menuItemId' when calling setMenuItemMetadata");
+ }
+ // verify the required parameter 'metadata' is set
+ if (metadata === undefined || metadata === null) {
+ throw new Error("Missing the required parameter 'metadata' when calling setMenuItemMetadata");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId,
+ 'menuItemId': menuItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/menuitem/{menuItemId}/metadata/store/{storeId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuItemOptionSetItemMetadata operation.
+ * @callback module:api/MenusApi~setMenuItemOptionSetItemMetadataCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu item option set item metadata
+ * @param {Number} menuId Menu identifier
+ * @param {Number} storeId Store identifier
+ * @param {Number} optionSetItemId Menu item option set item identifier
+ * @param {module:model/Metadata} metadata Metadata object
+ * @param {module:api/MenusApi~setMenuItemOptionSetItemMetadataCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuItemOptionSetItemMetadata(menuId, storeId, optionSetItemId, metadata, callback) {
+ let postBody = metadata;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuItemOptionSetItemMetadata");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling setMenuItemOptionSetItemMetadata");
+ }
+ // verify the required parameter 'optionSetItemId' is set
+ if (optionSetItemId === undefined || optionSetItemId === null) {
+ throw new Error("Missing the required parameter 'optionSetItemId' when calling setMenuItemOptionSetItemMetadata");
+ }
+ // verify the required parameter 'metadata' is set
+ if (metadata === undefined || metadata === null) {
+ throw new Error("Missing the required parameter 'metadata' when calling setMenuItemOptionSetItemMetadata");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'storeId': storeId,
+ 'optionSetItemId': optionSetItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/optionsetitem/{optionSetItemId}/metadata/store/{storeId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuLock operation.
+ * @callback module:api/MenusApi~setMenuLockCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Lock/Unlock a Menu for Editing
+ * @param {Number} menuId Menu identifier
+ * @param {Boolean} locked True: Locks menu for editing, False: Unlocks for editing
+ * @param {module:api/MenusApi~setMenuLockCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuLock(menuId, locked, callback) {
+ let postBody = locked;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuLock");
+ }
+ // verify the required parameter 'locked' is set
+ if (locked === undefined || locked === null) {
+ throw new Error("Missing the required parameter 'locked' when calling setMenuLock");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/lock', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setMenuName operation.
+ * @callback module:api/MenusApi~setMenuNameCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Set Menus Name
+ * @param {Number} menuId Menu identifier
+ * @param {String} name Name to set for this Menu
+ * @param {module:api/MenusApi~setMenuNameCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setMenuName(menuId, name, callback) {
+ let postBody = name;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling setMenuName");
+ }
+ // verify the required parameter 'name' is set
+ if (name === undefined || name === null) {
+ throw new Error("Missing the required parameter 'name' when calling setMenuName");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/name', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMenu operation.
+ * @callback module:api/MenusApi~updateMenuCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update menu
+ * @param {Number} menuId Menu identifier
+ * @param {module:model/MenuBase} menu Full menu data
+ * @param {module:api/MenusApi~updateMenuCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateMenu(menuId, menu, callback) {
+ let postBody = menu;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling updateMenu");
+ }
+ // verify the required parameter 'menu' is set
+ if (menu === undefined || menu === null) {
+ throw new Error("Missing the required parameter 'menu' when calling updateMenu");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadMenuImage operation.
+ * @callback module:api/MenusApi~uploadMenuImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Upload menu image
+ * @param {Number} menuId Menu identifier
+ * @param {File} Image Menu image
+ * @param {module:api/MenusApi~uploadMenuImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ uploadMenuImage(menuId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling uploadMenuImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadMenuImage");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadNewMenuForApp operation.
+ * @callback module:api/MenusApi~uploadNewMenuForAppCallback
+ * @param {String} error Error message, if any.
+ * @param {Number} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a new menu from xlsx file.
+ * @param {String} appId App identifier
+ * @param {File} Menu Uploaded xlsx menu
+ * @param {module:api/MenusApi~uploadNewMenuForAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Number}
+ */
+ uploadNewMenuForApp(appId, Menu, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling uploadNewMenuForApp");
+ }
+ // verify the required parameter 'Menu' is set
+ if (Menu === undefined || Menu === null) {
+ throw new Error("Missing the required parameter 'Menu' when calling uploadNewMenuForApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Menu': Menu
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'Number';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/xlsx', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenusNutritionInfoApi.js b/src/api/MenusNutritionInfoApi.js
new file mode 100644
index 00000000..2216de62
--- /dev/null
+++ b/src/api/MenusNutritionInfoApi.js
@@ -0,0 +1,322 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import ItemNutritionInfoAddUpdateModel from '../model/ItemNutritionInfoAddUpdateModel';
+import RestApiArrayResultAllergen from '../model/RestApiArrayResultAllergen';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultMenuNutritionInfoHeader from '../model/RestApiResultMenuNutritionInfoHeader';
+import RestApiResultNutritionInfo from '../model/RestApiResultNutritionInfo';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenusNutritionInfo service.
+* @module api/MenusNutritionInfoApi
+* @version 1.0.0
+*/
+export default class MenusNutritionInfoApi {
+
+ /**
+ * Constructs a new MenusNutritionInfoApi.
+ * @alias module:api/MenusNutritionInfoApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addOrUpdateMenuItemNutritionInfo operation.
+ * @callback module:api/MenusNutritionInfoApi~addOrUpdateMenuItemNutritionInfoCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuNutritionInfoHeader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Add or update menuitem nutrition info by menu item's publicId
+ * @param {Number} menuId Menu identifier
+ * @param {String} publicId Menu item's publicId
+ * @param {module:model/ItemNutritionInfoAddUpdateModel} addOrUpdateModel
+ * @param {module:api/MenusNutritionInfoApi~addOrUpdateMenuItemNutritionInfoCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuNutritionInfoHeader}
+ */
+ addOrUpdateMenuItemNutritionInfo(menuId, publicId, addOrUpdateModel, callback) {
+ let postBody = addOrUpdateModel;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addOrUpdateMenuItemNutritionInfo");
+ }
+ // verify the required parameter 'publicId' is set
+ if (publicId === undefined || publicId === null) {
+ throw new Error("Missing the required parameter 'publicId' when calling addOrUpdateMenuItemNutritionInfo");
+ }
+ // verify the required parameter 'addOrUpdateModel' is set
+ if (addOrUpdateModel === undefined || addOrUpdateModel === null) {
+ throw new Error("Missing the required parameter 'addOrUpdateModel' when calling addOrUpdateMenuItemNutritionInfo");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'publicId': publicId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultMenuNutritionInfoHeader;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/menuItem/{publicId}/nutrition', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the addOrUpdateMenuItemOptionSetItemNutritionInfo operation.
+ * @callback module:api/MenusNutritionInfoApi~addOrUpdateMenuItemOptionSetItemNutritionInfoCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuNutritionInfoHeader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Add or update menuitem optionsetitem nutrition info its publicId
+ * @param {Number} menuId Menu identifier
+ * @param {String} publicId Menu item's publicId
+ * @param {module:model/ItemNutritionInfoAddUpdateModel} addOrUpdateModel
+ * @param {module:api/MenusNutritionInfoApi~addOrUpdateMenuItemOptionSetItemNutritionInfoCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuNutritionInfoHeader}
+ */
+ addOrUpdateMenuItemOptionSetItemNutritionInfo(menuId, publicId, addOrUpdateModel, callback) {
+ let postBody = addOrUpdateModel;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addOrUpdateMenuItemOptionSetItemNutritionInfo");
+ }
+ // verify the required parameter 'publicId' is set
+ if (publicId === undefined || publicId === null) {
+ throw new Error("Missing the required parameter 'publicId' when calling addOrUpdateMenuItemOptionSetItemNutritionInfo");
+ }
+ // verify the required parameter 'addOrUpdateModel' is set
+ if (addOrUpdateModel === undefined || addOrUpdateModel === null) {
+ throw new Error("Missing the required parameter 'addOrUpdateModel' when calling addOrUpdateMenuItemOptionSetItemNutritionInfo");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'publicId': publicId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultMenuNutritionInfoHeader;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/menuItemOption/{publicId}/nutrition', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the addOrUpdateMenuNutritionInfoByMenuId operation.
+ * @callback module:api/MenusNutritionInfoApi~addOrUpdateMenuNutritionInfoByMenuIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMenuNutritionInfoHeader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Add or update menu nutrition by identifier
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusNutritionInfoApi~addOrUpdateMenuNutritionInfoByMenuIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMenuNutritionInfoHeader}
+ */
+ addOrUpdateMenuNutritionInfoByMenuId(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addOrUpdateMenuNutritionInfoByMenuId");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultMenuNutritionInfoHeader;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/nutrition', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteMenuNutritionInfoByMenuId operation.
+ * @callback module:api/MenusNutritionInfoApi~deleteMenuNutritionInfoByMenuIdCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete menu nutrition information by menuId
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusNutritionInfoApi~deleteMenuNutritionInfoByMenuIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ deleteMenuNutritionInfoByMenuId(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling deleteMenuNutritionInfoByMenuId");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/nutrition', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAllergens operation.
+ * @callback module:api/MenusNutritionInfoApi~getAllergensCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultAllergen} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get allergens
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.languageId
+ * @param {module:api/MenusNutritionInfoApi~getAllergensCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultAllergen}
+ */
+ getAllergens(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAllergens");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'languageId': opts['languageId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultAllergen;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/nutrition/allergens', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuNutritionInfoByMenuId operation.
+ * @callback module:api/MenusNutritionInfoApi~getMenuNutritionInfoByMenuIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultNutritionInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu nutrition by menuId
+ * @param {Number} menuId Menu identifier
+ * @param {module:api/MenusNutritionInfoApi~getMenuNutritionInfoByMenuIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultNutritionInfo}
+ */
+ getMenuNutritionInfoByMenuId(menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuNutritionInfoByMenuId");
+ }
+
+ let pathParams = {
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultNutritionInfo;
+ return this.apiClient.callApi(
+ '/api/v1.0/menus/{menuId}/nutrition', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MenusNutritionInfoV2Api.js b/src/api/MenusNutritionInfoV2Api.js
new file mode 100644
index 00000000..34a70c28
--- /dev/null
+++ b/src/api/MenusNutritionInfoV2Api.js
@@ -0,0 +1,259 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import ItemNutritionInfoV2AddUpdateModel from '../model/ItemNutritionInfoV2AddUpdateModel';
+import RestApiArrayResultAllergen from '../model/RestApiArrayResultAllergen';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultNutritionInfoV2 from '../model/RestApiResultNutritionInfoV2';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* MenusNutritionInfoV2 service.
+* @module api/MenusNutritionInfoV2Api
+* @version 1.0.0
+*/
+export default class MenusNutritionInfoV2Api {
+
+ /**
+ * Constructs a new MenusNutritionInfoV2Api.
+ * @alias module:api/MenusNutritionInfoV2Api
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addOrUpdateMenuItemNutritionInfoV2 operation.
+ * @callback module:api/MenusNutritionInfoV2Api~addOrUpdateMenuItemNutritionInfoV2Callback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Add or update menuitem nutrition info by menu item's publicId
+ * @param {Number} menuId Menu identifier
+ * @param {String} publicId Menu item's publicId
+ * @param {String} appId
+ * @param {module:model/ItemNutritionInfoV2AddUpdateModel} addOrUpdateModel Allergen ids
+ * @param {module:api/MenusNutritionInfoV2Api~addOrUpdateMenuItemNutritionInfoV2Callback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ addOrUpdateMenuItemNutritionInfoV2(menuId, publicId, appId, addOrUpdateModel, callback) {
+ let postBody = addOrUpdateModel;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addOrUpdateMenuItemNutritionInfoV2");
+ }
+ // verify the required parameter 'publicId' is set
+ if (publicId === undefined || publicId === null) {
+ throw new Error("Missing the required parameter 'publicId' when calling addOrUpdateMenuItemNutritionInfoV2");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling addOrUpdateMenuItemNutritionInfoV2");
+ }
+ // verify the required parameter 'addOrUpdateModel' is set
+ if (addOrUpdateModel === undefined || addOrUpdateModel === null) {
+ throw new Error("Missing the required parameter 'addOrUpdateModel' when calling addOrUpdateMenuItemNutritionInfoV2");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'publicId': publicId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/{menuId}/menuItem/{publicId}/nutritionv2', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the addOrUpdateMenuItemOptionSetItemNutritionInfoV2 operation.
+ * @callback module:api/MenusNutritionInfoV2Api~addOrUpdateMenuItemOptionSetItemNutritionInfoV2Callback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Add or update menuitem option set item's nutrition info by its publicId
+ * @param {Number} menuId Menu identifier
+ * @param {String} publicId Menu item option set item's publicId
+ * @param {String} appId
+ * @param {module:model/ItemNutritionInfoV2AddUpdateModel} addOrUpdateModel Allergen ids
+ * @param {module:api/MenusNutritionInfoV2Api~addOrUpdateMenuItemOptionSetItemNutritionInfoV2Callback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ addOrUpdateMenuItemOptionSetItemNutritionInfoV2(menuId, publicId, appId, addOrUpdateModel, callback) {
+ let postBody = addOrUpdateModel;
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling addOrUpdateMenuItemOptionSetItemNutritionInfoV2");
+ }
+ // verify the required parameter 'publicId' is set
+ if (publicId === undefined || publicId === null) {
+ throw new Error("Missing the required parameter 'publicId' when calling addOrUpdateMenuItemOptionSetItemNutritionInfoV2");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling addOrUpdateMenuItemOptionSetItemNutritionInfoV2");
+ }
+ // verify the required parameter 'addOrUpdateModel' is set
+ if (addOrUpdateModel === undefined || addOrUpdateModel === null) {
+ throw new Error("Missing the required parameter 'addOrUpdateModel' when calling addOrUpdateMenuItemOptionSetItemNutritionInfoV2");
+ }
+
+ let pathParams = {
+ 'menuId': menuId,
+ 'publicId': publicId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/{menuId}/menuItemOption/{publicId}/nutritionv2', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getAllergensV2 operation.
+ * @callback module:api/MenusNutritionInfoV2Api~getAllergensV2Callback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultAllergen} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get allergens
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.languageId
+ * @param {module:api/MenusNutritionInfoV2Api~getAllergensV2Callback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultAllergen}
+ */
+ getAllergensV2(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAllergensV2");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'languageId': opts['languageId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultAllergen;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/nutritionv2/allergens', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMenuNutritionInfoV2ByMenuId operation.
+ * @callback module:api/MenusNutritionInfoV2Api~getMenuNutritionInfoV2ByMenuIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultNutritionInfoV2} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get menu nutrition by menuId
+ * @param {String} appId
+ * @param {Number} menuId Menu identifier
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.languageId
+ * @param {module:api/MenusNutritionInfoV2Api~getMenuNutritionInfoV2ByMenuIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultNutritionInfoV2}
+ */
+ getMenuNutritionInfoV2ByMenuId(appId, menuId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getMenuNutritionInfoV2ByMenuId");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling getMenuNutritionInfoV2ByMenuId");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ 'languageId': opts['languageId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultNutritionInfoV2;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/menus/{menuId}/nutritionv2', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MetafieldDefinitionsApi.js b/src/api/MetafieldDefinitionsApi.js
new file mode 100644
index 00000000..5c922a90
--- /dev/null
+++ b/src/api/MetafieldDefinitionsApi.js
@@ -0,0 +1,360 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateMetafieldDefinition from '../model/CreateMetafieldDefinition';
+import OwnerEntityConfigurations from '../model/OwnerEntityConfigurations';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultMetafieldDefinition from '../model/RestApiPaginationResultMetafieldDefinition';
+import RestApiPaginationResultMetafieldDefinitionRecommendation from '../model/RestApiPaginationResultMetafieldDefinitionRecommendation';
+import RestApiResultMetafieldDefinition from '../model/RestApiResultMetafieldDefinition';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateMetafieldDefinition from '../model/UpdateMetafieldDefinition';
+
+/**
+* MetafieldDefinitions service.
+* @module api/MetafieldDefinitionsApi
+* @version 1.0.0
+*/
+export default class MetafieldDefinitionsApi {
+
+ /**
+ * Constructs a new MetafieldDefinitionsApi.
+ * @alias module:api/MetafieldDefinitionsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createMetafieldDefinition operation.
+ * @callback module:api/MetafieldDefinitionsApi~createMetafieldDefinitionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMetafieldDefinition} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} ownerEntity
+ * @param {module:model/CreateMetafieldDefinition} createMetafieldDefinition
+ * @param {module:api/MetafieldDefinitionsApi~createMetafieldDefinitionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMetafieldDefinition}
+ */
+ createMetafieldDefinition(appId, ownerEntity, createMetafieldDefinition, callback) {
+ let postBody = createMetafieldDefinition;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createMetafieldDefinition");
+ }
+ // verify the required parameter 'ownerEntity' is set
+ if (ownerEntity === undefined || ownerEntity === null) {
+ throw new Error("Missing the required parameter 'ownerEntity' when calling createMetafieldDefinition");
+ }
+ // verify the required parameter 'createMetafieldDefinition' is set
+ if (createMetafieldDefinition === undefined || createMetafieldDefinition === null) {
+ throw new Error("Missing the required parameter 'createMetafieldDefinition' when calling createMetafieldDefinition");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'ownerEntity': ownerEntity
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'IsReadOnly', 'OwnerEntity', 'Key', 'ValueType', 'Name', 'Description', 'Behaviors'];
+ let returnType = RestApiResultMetafieldDefinition;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/metafields/definitions/{ownerEntity}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMetafieldDefinitionByKey operation.
+ * @callback module:api/MetafieldDefinitionsApi~getMetafieldDefinitionByKeyCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMetafieldDefinition} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} ownerEntity
+ * @param {String} key
+ * @param {module:api/MetafieldDefinitionsApi~getMetafieldDefinitionByKeyCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMetafieldDefinition}
+ */
+ getMetafieldDefinitionByKey(appId, ownerEntity, key, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getMetafieldDefinitionByKey");
+ }
+ // verify the required parameter 'ownerEntity' is set
+ if (ownerEntity === undefined || ownerEntity === null) {
+ throw new Error("Missing the required parameter 'ownerEntity' when calling getMetafieldDefinitionByKey");
+ }
+ // verify the required parameter 'key' is set
+ if (key === undefined || key === null) {
+ throw new Error("Missing the required parameter 'key' when calling getMetafieldDefinitionByKey");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'ownerEntity': ownerEntity,
+ 'key': key
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'IsReadOnly', 'OwnerEntity', 'Key', 'ValueType', 'Name', 'Description', 'Behaviors'];
+ let returnType = RestApiResultMetafieldDefinition;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/metafields/definitions/{ownerEntity}/{key}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getMetafieldDefinitions operation.
+ * @callback module:api/MetafieldDefinitionsApi~getMetafieldDefinitionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultMetafieldDefinition} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} ownerEntity
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchTerm
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/MetafieldDefinitionsApi~getMetafieldDefinitionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultMetafieldDefinition}
+ */
+ getMetafieldDefinitions(appId, ownerEntity, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getMetafieldDefinitions");
+ }
+ // verify the required parameter 'ownerEntity' is set
+ if (ownerEntity === undefined || ownerEntity === null) {
+ throw new Error("Missing the required parameter 'ownerEntity' when calling getMetafieldDefinitions");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'ownerEntity': ownerEntity
+ };
+ let queryParams = {
+ 'searchTerm': opts['searchTerm'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultMetafieldDefinition;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/metafields/definitions/{ownerEntity}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOwnerEntityConfigurations operation.
+ * @callback module:api/MetafieldDefinitionsApi~getOwnerEntityConfigurationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/OwnerEntityConfigurations} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/MetafieldDefinitionsApi~getOwnerEntityConfigurationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/OwnerEntityConfigurations}
+ */
+ getOwnerEntityConfigurations(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOwnerEntityConfigurations");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Configurations'];
+ let returnType = OwnerEntityConfigurations;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/metafields/definitions', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOwnerEntityRecommendations operation.
+ * @callback module:api/MetafieldDefinitionsApi~getOwnerEntityRecommendationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultMetafieldDefinitionRecommendation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} ownerEntity
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchTerm
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/MetafieldDefinitionsApi~getOwnerEntityRecommendationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultMetafieldDefinitionRecommendation}
+ */
+ getOwnerEntityRecommendations(appId, ownerEntity, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOwnerEntityRecommendations");
+ }
+ // verify the required parameter 'ownerEntity' is set
+ if (ownerEntity === undefined || ownerEntity === null) {
+ throw new Error("Missing the required parameter 'ownerEntity' when calling getOwnerEntityRecommendations");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'ownerEntity': ownerEntity
+ };
+ let queryParams = {
+ 'searchTerm': opts['searchTerm'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultMetafieldDefinitionRecommendation;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/metafields/definitions/recommendations/{ownerEntity}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateMetafieldDefinition operation.
+ * @callback module:api/MetafieldDefinitionsApi~updateMetafieldDefinitionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMetafieldDefinition} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} ownerEntity
+ * @param {String} key
+ * @param {module:model/UpdateMetafieldDefinition} updateMetafieldDefinition
+ * @param {module:api/MetafieldDefinitionsApi~updateMetafieldDefinitionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMetafieldDefinition}
+ */
+ updateMetafieldDefinition(appId, ownerEntity, key, updateMetafieldDefinition, callback) {
+ let postBody = updateMetafieldDefinition;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateMetafieldDefinition");
+ }
+ // verify the required parameter 'ownerEntity' is set
+ if (ownerEntity === undefined || ownerEntity === null) {
+ throw new Error("Missing the required parameter 'ownerEntity' when calling updateMetafieldDefinition");
+ }
+ // verify the required parameter 'key' is set
+ if (key === undefined || key === null) {
+ throw new Error("Missing the required parameter 'key' when calling updateMetafieldDefinition");
+ }
+ // verify the required parameter 'updateMetafieldDefinition' is set
+ if (updateMetafieldDefinition === undefined || updateMetafieldDefinition === null) {
+ throw new Error("Missing the required parameter 'updateMetafieldDefinition' when calling updateMetafieldDefinition");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'ownerEntity': ownerEntity,
+ 'key': key
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'IsReadOnly', 'OwnerEntity', 'Key', 'ValueType', 'Name', 'Description', 'Behaviors'];
+ let returnType = RestApiResultMetafieldDefinition;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/metafields/definitions/{ownerEntity}/{key}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/MobileAppsApi.js b/src/api/MobileAppsApi.js
new file mode 100644
index 00000000..8e058de9
--- /dev/null
+++ b/src/api/MobileAppsApi.js
@@ -0,0 +1,567 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import AppConfigSalesChannel from '../model/AppConfigSalesChannel';
+import MobileAppsSubmission from '../model/MobileAppsSubmission';
+import RestApiArrayResultMobileAppsStatistics from '../model/RestApiArrayResultMobileAppsStatistics';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiIntegerResult from '../model/RestApiIntegerResult';
+import RestApiResultAppConfigSalesChannel from '../model/RestApiResultAppConfigSalesChannel';
+import RestApiResultMobileAppsImage from '../model/RestApiResultMobileAppsImage';
+import RestApiResultMobileAppsSubmission from '../model/RestApiResultMobileAppsSubmission';
+import RestApiResultMobileAppsSubmissionDetails from '../model/RestApiResultMobileAppsSubmissionDetails';
+import RestApiResultMobileAppsSubmissionStatus from '../model/RestApiResultMobileAppsSubmissionStatus';
+import RestApiResultRestApiIntegerResult from '../model/RestApiResultRestApiIntegerResult';
+import RestApiResultUpdateMobileAppsSubmissionStatus from '../model/RestApiResultUpdateMobileAppsSubmissionStatus';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateMobileAppsSubmissionStatus from '../model/UpdateMobileAppsSubmissionStatus';
+
+/**
+* MobileApps service.
+* @module api/MobileAppsApi
+* @version 1.0.0
+*/
+export default class MobileAppsApi {
+
+ /**
+ * Constructs a new MobileAppsApi.
+ * @alias module:api/MobileAppsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getAppConfigSalesChannel operation.
+ * @callback module:api/MobileAppsApi~getAppConfigSalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppConfigSalesChannel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/MobileAppsApi~getAppConfigSalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppConfigSalesChannel}
+ */
+ getAppConfigSalesChannel(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAppConfigSalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAppConfigSalesChannel;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/saleschannel/details', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStatistics operation.
+ * @callback module:api/MobileAppsApi~getStatisticsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultMobileAppsStatistics} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Array.} platformTypes
+ * @param {module:api/MobileAppsApi~getStatisticsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultMobileAppsStatistics}
+ */
+ getStatistics(appId, platformTypes, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStatistics");
+ }
+ // verify the required parameter 'platformTypes' is set
+ if (platformTypes === undefined || platformTypes === null) {
+ throw new Error("Missing the required parameter 'platformTypes' when calling getStatistics");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'platformTypes': this.apiClient.buildCollectionParam(platformTypes, 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultMobileAppsStatistics;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/statistics', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getSubmissionDetails operation.
+ * @callback module:api/MobileAppsApi~getSubmissionDetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMobileAppsSubmissionDetails} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/MobileAppsApi~getSubmissionDetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMobileAppsSubmissionDetails}
+ */
+ getSubmissionDetails(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getSubmissionDetails");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMobileAppsSubmissionDetails;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission/details', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getSubmissionStatus operation.
+ * @callback module:api/MobileAppsApi~getSubmissionStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMobileAppsSubmissionStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} submissionId
+ * @param {module:api/MobileAppsApi~getSubmissionStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMobileAppsSubmissionStatus}
+ */
+ getSubmissionStatus(appId, submissionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getSubmissionStatus");
+ }
+ // verify the required parameter 'submissionId' is set
+ if (submissionId === undefined || submissionId === null) {
+ throw new Error("Missing the required parameter 'submissionId' when calling getSubmissionStatus");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'submissionId': submissionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMobileAppsSubmissionStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission/{submissionId}/status', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the publish operation.
+ * @callback module:api/MobileAppsApi~publishCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestApiIntegerResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} submissionId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/String} opts.platformType
+ * @param {module:api/MobileAppsApi~publishCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestApiIntegerResult}
+ */
+ publish(appId, submissionId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling publish");
+ }
+ // verify the required parameter 'submissionId' is set
+ if (submissionId === undefined || submissionId === null) {
+ throw new Error("Missing the required parameter 'submissionId' when calling publish");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'submissionId': submissionId
+ };
+ let queryParams = {
+ 'platformType': opts['platformType']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRestApiIntegerResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission/{submissionId}/publish', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the resubmission operation.
+ * @callback module:api/MobileAppsApi~resubmissionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMobileAppsSubmission} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/MobileAppsSubmission} mobileAppsSubmission
+ * @param {module:api/MobileAppsApi~resubmissionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMobileAppsSubmission}
+ */
+ resubmission(appId, mobileAppsSubmission, callback) {
+ let postBody = mobileAppsSubmission;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling resubmission");
+ }
+ // verify the required parameter 'mobileAppsSubmission' is set
+ if (mobileAppsSubmission === undefined || mobileAppsSubmission === null) {
+ throw new Error("Missing the required parameter 'mobileAppsSubmission' when calling resubmission");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMobileAppsSubmission;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/resubmission', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the submission operation.
+ * @callback module:api/MobileAppsApi~submissionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMobileAppsSubmission} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/MobileAppsSubmission} mobileAppsSubmission
+ * @param {module:api/MobileAppsApi~submissionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMobileAppsSubmission}
+ */
+ submission(appId, mobileAppsSubmission, callback) {
+ let postBody = mobileAppsSubmission;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling submission");
+ }
+ // verify the required parameter 'mobileAppsSubmission' is set
+ if (mobileAppsSubmission === undefined || mobileAppsSubmission === null) {
+ throw new Error("Missing the required parameter 'mobileAppsSubmission' when calling submission");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMobileAppsSubmission;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unpublish operation.
+ * @callback module:api/MobileAppsApi~unpublishCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiIntegerResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} submissionId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/String} opts.platformType
+ * @param {module:api/MobileAppsApi~unpublishCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiIntegerResult}
+ */
+ unpublish(appId, submissionId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling unpublish");
+ }
+ // verify the required parameter 'submissionId' is set
+ if (submissionId === undefined || submissionId === null) {
+ throw new Error("Missing the required parameter 'submissionId' when calling unpublish");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'submissionId': submissionId
+ };
+ let queryParams = {
+ 'platformType': opts['platformType']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiIntegerResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission/{submissionId}/unpublish', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateAppConfigSalesChannel operation.
+ * @callback module:api/MobileAppsApi~updateAppConfigSalesChannelCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAppConfigSalesChannel} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/AppConfigSalesChannel} appConfigSalesChannel
+ * @param {module:api/MobileAppsApi~updateAppConfigSalesChannelCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAppConfigSalesChannel}
+ */
+ updateAppConfigSalesChannel(appId, appConfigSalesChannel, callback) {
+ let postBody = appConfigSalesChannel;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateAppConfigSalesChannel");
+ }
+ // verify the required parameter 'appConfigSalesChannel' is set
+ if (appConfigSalesChannel === undefined || appConfigSalesChannel === null) {
+ throw new Error("Missing the required parameter 'appConfigSalesChannel' when calling updateAppConfigSalesChannel");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAppConfigSalesChannel;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/saleschannel', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateSubmissionStatus operation.
+ * @callback module:api/MobileAppsApi~updateSubmissionStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultUpdateMobileAppsSubmissionStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} submissionId
+ * @param {module:model/UpdateMobileAppsSubmissionStatus} updateSubmissionStatus
+ * @param {module:api/MobileAppsApi~updateSubmissionStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultUpdateMobileAppsSubmissionStatus}
+ */
+ updateSubmissionStatus(appId, submissionId, updateSubmissionStatus, callback) {
+ let postBody = updateSubmissionStatus;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateSubmissionStatus");
+ }
+ // verify the required parameter 'submissionId' is set
+ if (submissionId === undefined || submissionId === null) {
+ throw new Error("Missing the required parameter 'submissionId' when calling updateSubmissionStatus");
+ }
+ // verify the required parameter 'updateSubmissionStatus' is set
+ if (updateSubmissionStatus === undefined || updateSubmissionStatus === null) {
+ throw new Error("Missing the required parameter 'updateSubmissionStatus' when calling updateSubmissionStatus");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'submissionId': submissionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultUpdateMobileAppsSubmissionStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission/{submissionId}/status', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadImage operation.
+ * @callback module:api/MobileAppsApi~uploadImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultMobileAppsImage} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {File} Image Mobile Apps image
+ * @param {module:api/MobileAppsApi~uploadImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultMobileAppsImage}
+ */
+ uploadImage(appId, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling uploadImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadImage");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultMobileAppsImage;
+ return this.apiClient.callApi(
+ '/api/v1.0/mobileapps/{appId}/submission/image', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/OAuthClientsApi.js b/src/api/OAuthClientsApi.js
new file mode 100644
index 00000000..a2e977e0
--- /dev/null
+++ b/src/api/OAuthClientsApi.js
@@ -0,0 +1,566 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import OAuthApp from '../model/OAuthApp';
+import RestApiArrayResultOAuthApp from '../model/RestApiArrayResultOAuthApp';
+import RestApiArrayResultOauthClientRedirectUri from '../model/RestApiArrayResultOauthClientRedirectUri';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultOAuthApp from '../model/RestApiResultOAuthApp';
+import RestApiResultOauthClientRedirectUri from '../model/RestApiResultOauthClientRedirectUri';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* OAuthClients service.
+* @module api/OAuthClientsApi
+* @version 1.0.0
+*/
+export default class OAuthClientsApi {
+
+ /**
+ * Constructs a new OAuthClientsApi.
+ * @alias module:api/OAuthClientsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addRedirectUri operation.
+ * @callback module:api/OAuthClientsApi~addRedirectUriCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOauthClientRedirectUri} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {String} uri
+ * @param {module:api/OAuthClientsApi~addRedirectUriCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOauthClientRedirectUri}
+ */
+ addRedirectUri(oauthAppId, appId, uri, callback) {
+ let postBody = uri;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling addRedirectUri");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling addRedirectUri");
+ }
+ // verify the required parameter 'uri' is set
+ if (uri === undefined || uri === null) {
+ throw new Error("Missing the required parameter 'uri' when calling addRedirectUri");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultOauthClientRedirectUri;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createOAuthApp operation.
+ * @callback module:api/OAuthClientsApi~createOAuthAppCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/OAuthApp} oAuthApp
+ * @param {module:api/OAuthClientsApi~createOAuthAppCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ createOAuthApp(appId, oAuthApp, callback) {
+ let postBody = oAuthApp;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createOAuthApp");
+ }
+ // verify the required parameter 'oAuthApp' is set
+ if (oAuthApp === undefined || oAuthApp === null) {
+ throw new Error("Missing the required parameter 'oAuthApp' when calling createOAuthApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteOAuthApp operation.
+ * @callback module:api/OAuthClientsApi~deleteOAuthAppCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~deleteOAuthAppCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteOAuthApp(oauthAppId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling deleteOAuthApp");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteOAuthApp");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOAuthApps operation.
+ * @callback module:api/OAuthClientsApi~getOAuthAppsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultOAuthApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.oauthAppName
+ * @param {module:api/OAuthClientsApi~getOAuthAppsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultOAuthApp}
+ */
+ getOAuthApps(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOAuthApps");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'oauthAppName': opts['oauthAppName']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultOAuthApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOAuthClientByClientId operation.
+ * @callback module:api/OAuthClientsApi~getOAuthClientByClientIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOAuthApp} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~getOAuthClientByClientIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOAuthApp}
+ */
+ getOAuthClientByClientId(oauthAppId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getOAuthClientByClientId");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOAuthClientByClientId");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultOAuthApp;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOAuthClientSecret operation.
+ * @callback module:api/OAuthClientsApi~getOAuthClientSecretCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~getOAuthClientSecretCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ getOAuthClientSecret(oauthAppId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getOAuthClientSecret");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOAuthClientSecret");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}/secret', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOauthAccessToken operation.
+ * @callback module:api/OAuthClientsApi~getOauthAccessTokenCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~getOauthAccessTokenCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ getOauthAccessToken(oauthAppId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getOauthAccessToken");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOauthAccessToken");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}/accesstoken', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRedirectUris operation.
+ * @callback module:api/OAuthClientsApi~getRedirectUrisCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultOauthClientRedirectUri} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~getRedirectUrisCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultOauthClientRedirectUri}
+ */
+ getRedirectUris(oauthAppId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getRedirectUris");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getRedirectUris");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultOauthClientRedirectUri;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the oAuthClientsGetApplications operation.
+ * @callback module:api/OAuthClientsApi~oAuthClientsGetApplicationsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~oAuthClientsGetApplicationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ oAuthClientsGetApplications(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling oAuthClientsGetApplications");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/appnames', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the removeRedirectUri operation.
+ * @callback module:api/OAuthClientsApi~removeRedirectUriCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} uriId
+ * @param {String} appId
+ * @param {module:api/OAuthClientsApi~removeRedirectUriCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ removeRedirectUri(oauthAppId, uriId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling removeRedirectUri");
+ }
+ // verify the required parameter 'uriId' is set
+ if (uriId === undefined || uriId === null) {
+ throw new Error("Missing the required parameter 'uriId' when calling removeRedirectUri");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling removeRedirectUri");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'uriId': uriId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}/redirecturis/{uriId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateOAuthApp operation.
+ * @callback module:api/OAuthClientsApi~updateOAuthAppCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:model/OAuthApp} oAuthApp
+ * @param {module:api/OAuthClientsApi~updateOAuthAppCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateOAuthApp(oauthAppId, appId, oAuthApp, callback) {
+ let postBody = oAuthApp;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling updateOAuthApp");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateOAuthApp");
+ }
+ // verify the required parameter 'oAuthApp' is set
+ if (oAuthApp === undefined || oAuthApp === null) {
+ throw new Error("Missing the required parameter 'oAuthApp' when calling updateOAuthApp");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/oauthclients/{oauthAppId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/OnboardingApi.js b/src/api/OnboardingApi.js
new file mode 100644
index 00000000..bc901566
--- /dev/null
+++ b/src/api/OnboardingApi.js
@@ -0,0 +1,434 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import OnboardingConfigUpdate from '../model/OnboardingConfigUpdate';
+import OnboardingItemUpdate from '../model/OnboardingItemUpdate';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Onboarding service.
+* @module api/OnboardingApi
+* @version 1.0.0
+*/
+export default class OnboardingApi {
+
+ /**
+ * Constructs a new OnboardingApi.
+ * @alias module:api/OnboardingApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the onboardingGetOnboardingConfig operation.
+ * @callback module:api/OnboardingApi~onboardingGetOnboardingConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/OnboardingApi~onboardingGetOnboardingConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingGetOnboardingConfig(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingGetOnboardingConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/config', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingGetOnboardingConfigs operation.
+ * @callback module:api/OnboardingApi~onboardingGetOnboardingConfigsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/OnboardingApi~onboardingGetOnboardingConfigsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingGetOnboardingConfigs(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingGetOnboardingConfigs");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/configs', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingGetOnboardingItems operation.
+ * @callback module:api/OnboardingApi~onboardingGetOnboardingItemsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.milestoneId
+ * @param {module:api/OnboardingApi~onboardingGetOnboardingItemsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingGetOnboardingItems(appId, storeId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingGetOnboardingItems");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling onboardingGetOnboardingItems");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'milestoneId': opts['milestoneId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/stores/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingGetOnboardingItemsV2 operation.
+ * @callback module:api/OnboardingApi~onboardingGetOnboardingItemsV2Callback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.storeId
+ * @param {Number} opts.milestoneId
+ * @param {module:api/OnboardingApi~onboardingGetOnboardingItemsV2Callback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingGetOnboardingItemsV2(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingGetOnboardingItemsV2");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': opts['storeId'],
+ 'milestoneId': opts['milestoneId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingUpdateOnboardingConfig operation.
+ * @callback module:api/OnboardingApi~onboardingUpdateOnboardingConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/OnboardingConfigUpdate} configUpdate
+ * @param {module:api/OnboardingApi~onboardingUpdateOnboardingConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingUpdateOnboardingConfig(appId, configUpdate, callback) {
+ let postBody = configUpdate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingUpdateOnboardingConfig");
+ }
+ // verify the required parameter 'configUpdate' is set
+ if (configUpdate === undefined || configUpdate === null) {
+ throw new Error("Missing the required parameter 'configUpdate' when calling onboardingUpdateOnboardingConfig");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/config', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingUpdateOnboardingConfigById operation.
+ * @callback module:api/OnboardingApi~onboardingUpdateOnboardingConfigByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} configId
+ * @param {module:model/OnboardingConfigUpdate} configUpdate
+ * @param {module:api/OnboardingApi~onboardingUpdateOnboardingConfigByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingUpdateOnboardingConfigById(appId, configId, configUpdate, callback) {
+ let postBody = configUpdate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingUpdateOnboardingConfigById");
+ }
+ // verify the required parameter 'configId' is set
+ if (configId === undefined || configId === null) {
+ throw new Error("Missing the required parameter 'configId' when calling onboardingUpdateOnboardingConfigById");
+ }
+ // verify the required parameter 'configUpdate' is set
+ if (configUpdate === undefined || configUpdate === null) {
+ throw new Error("Missing the required parameter 'configUpdate' when calling onboardingUpdateOnboardingConfigById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'configId': configId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/config/{configId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingUpdateOnboardingItem operation.
+ * @callback module:api/OnboardingApi~onboardingUpdateOnboardingItemCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {Number} onboardingItemId
+ * @param {module:model/OnboardingItemUpdate} itemUpdate
+ * @param {module:api/OnboardingApi~onboardingUpdateOnboardingItemCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingUpdateOnboardingItem(appId, storeId, onboardingItemId, itemUpdate, callback) {
+ let postBody = itemUpdate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingUpdateOnboardingItem");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling onboardingUpdateOnboardingItem");
+ }
+ // verify the required parameter 'onboardingItemId' is set
+ if (onboardingItemId === undefined || onboardingItemId === null) {
+ throw new Error("Missing the required parameter 'onboardingItemId' when calling onboardingUpdateOnboardingItem");
+ }
+ // verify the required parameter 'itemUpdate' is set
+ if (itemUpdate === undefined || itemUpdate === null) {
+ throw new Error("Missing the required parameter 'itemUpdate' when calling onboardingUpdateOnboardingItem");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId,
+ 'onboardingItemId': onboardingItemId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/stores/{storeId}/items/{onboardingItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the onboardingUpdateOnboardingItemV2 operation.
+ * @callback module:api/OnboardingApi~onboardingUpdateOnboardingItemV2Callback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} onboardingItemId
+ * @param {module:model/OnboardingItemUpdate} itemUpdate
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.storeId
+ * @param {module:api/OnboardingApi~onboardingUpdateOnboardingItemV2Callback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ onboardingUpdateOnboardingItemV2(appId, onboardingItemId, itemUpdate, opts, callback) {
+ opts = opts || {};
+ let postBody = itemUpdate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling onboardingUpdateOnboardingItemV2");
+ }
+ // verify the required parameter 'onboardingItemId' is set
+ if (onboardingItemId === undefined || onboardingItemId === null) {
+ throw new Error("Missing the required parameter 'onboardingItemId' when calling onboardingUpdateOnboardingItemV2");
+ }
+ // verify the required parameter 'itemUpdate' is set
+ if (itemUpdate === undefined || itemUpdate === null) {
+ throw new Error("Missing the required parameter 'itemUpdate' when calling onboardingUpdateOnboardingItemV2");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'onboardingItemId': onboardingItemId
+ };
+ let queryParams = {
+ 'storeId': opts['storeId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/clients/{appId}/onboarding/stores/items/{onboardingItemId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/OrderBatchesApi.js b/src/api/OrderBatchesApi.js
new file mode 100644
index 00000000..81ee4efc
--- /dev/null
+++ b/src/api/OrderBatchesApi.js
@@ -0,0 +1,138 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultOrderBatch from '../model/RestApiArrayResultOrderBatch';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultOrderBatch from '../model/RestApiResultOrderBatch';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* OrderBatches service.
+* @module api/OrderBatchesApi
+* @version 1.0.0
+*/
+export default class OrderBatchesApi {
+
+ /**
+ * Constructs a new OrderBatchesApi.
+ * @alias module:api/OrderBatchesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getAllOrderBatches operation.
+ * @callback module:api/OrderBatchesApi~getAllOrderBatchesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultOrderBatch} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {Date} opts.createdFrom
+ * @param {Date} opts.createdTo
+ * @param {module:api/OrderBatchesApi~getAllOrderBatchesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultOrderBatch}
+ */
+ getAllOrderBatches(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getAllOrderBatches");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi'),
+ 'createdFrom': opts['createdFrom'],
+ 'createdTo': opts['createdTo']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultOrderBatch;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/order-batches', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrderBatch operation.
+ * @callback module:api/OrderBatchesApi~getOrderBatchCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderBatch} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} orderBatchId
+ * @param {module:api/OrderBatchesApi~getOrderBatchCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderBatch}
+ */
+ getOrderBatch(appId, orderBatchId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOrderBatch");
+ }
+ // verify the required parameter 'orderBatchId' is set
+ if (orderBatchId === undefined || orderBatchId === null) {
+ throw new Error("Missing the required parameter 'orderBatchId' when calling getOrderBatch");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'orderBatchId': orderBatchId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultOrderBatch;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/order-batches/{orderBatchId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/OrderBatchingConfigurationApi.js b/src/api/OrderBatchingConfigurationApi.js
new file mode 100644
index 00000000..2492ae79
--- /dev/null
+++ b/src/api/OrderBatchingConfigurationApi.js
@@ -0,0 +1,128 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultOrderBatchingConfiguration from '../model/RestApiResultOrderBatchingConfiguration';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import SetOrderBatchingConfiguration from '../model/SetOrderBatchingConfiguration';
+
+/**
+* OrderBatchingConfiguration service.
+* @module api/OrderBatchingConfigurationApi
+* @version 1.0.0
+*/
+export default class OrderBatchingConfigurationApi {
+
+ /**
+ * Constructs a new OrderBatchingConfigurationApi.
+ * @alias module:api/OrderBatchingConfigurationApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the get operation.
+ * @callback module:api/OrderBatchingConfigurationApi~getCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderBatchingConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/OrderBatchingConfigurationApi~getCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderBatchingConfiguration}
+ */
+ get(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling get");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultOrderBatchingConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/order-batching-configuration', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the post operation.
+ * @callback module:api/OrderBatchingConfigurationApi~postCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/SetOrderBatchingConfiguration} setOrderBatchingConfiguration
+ * @param {module:api/OrderBatchingConfigurationApi~postCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ post(storeId, setOrderBatchingConfiguration, callback) {
+ let postBody = setOrderBatchingConfiguration;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling post");
+ }
+ // verify the required parameter 'setOrderBatchingConfiguration' is set
+ if (setOrderBatchingConfiguration === undefined || setOrderBatchingConfiguration === null) {
+ throw new Error("Missing the required parameter 'setOrderBatchingConfiguration' when calling post");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/order-batching-configuration', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/OrdersApi.js b/src/api/OrdersApi.js
new file mode 100644
index 00000000..b700deb1
--- /dev/null
+++ b/src/api/OrdersApi.js
@@ -0,0 +1,753 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import Accept from '../model/Accept';
+import OrderDeliveryInformationBase from '../model/OrderDeliveryInformationBase';
+import OrderFulfillmentStatusUpdate from '../model/OrderFulfillmentStatusUpdate';
+import OrderList from '../model/OrderList';
+import Refund from '../model/Refund';
+import Reject from '../model/Reject';
+import RestApiArrayResultOrderFulfillmentStatus from '../model/RestApiArrayResultOrderFulfillmentStatus';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultOrder from '../model/RestApiPaginationResultOrder';
+import RestApiPaginationResultOrderSummary from '../model/RestApiPaginationResultOrderSummary';
+import RestApiResultOrder from '../model/RestApiResultOrder';
+import RestApiResultOrderDeliveryInformation from '../model/RestApiResultOrderDeliveryInformation';
+import RestApiResultOrderFulfillmentStatus from '../model/RestApiResultOrderFulfillmentStatus';
+import RestApiResultOrderFulfillmentStatusWithConfigurationActions from '../model/RestApiResultOrderFulfillmentStatusWithConfigurationActions';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Orders service.
+* @module api/OrdersApi
+* @version 1.0.0
+*/
+export default class OrdersApi {
+
+ /**
+ * Constructs a new OrdersApi.
+ * @alias module:api/OrdersApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the acceptOrder operation.
+ * @callback module:api/OrdersApi~acceptOrderCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} id
+ * @param {module:model/Accept} acceptObject
+ * @param {module:api/OrdersApi~acceptOrderCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ acceptOrder(id, acceptObject, callback) {
+ let postBody = acceptObject;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling acceptOrder");
+ }
+ // verify the required parameter 'acceptObject' is set
+ if (acceptObject === undefined || acceptObject === null) {
+ throw new Error("Missing the required parameter 'acceptObject' when calling acceptOrder");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{id}/accept', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the dispatchOrder operation.
+ * @callback module:api/OrdersApi~dispatchOrderCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} id
+ * @param {module:api/OrdersApi~dispatchOrderCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ dispatchOrder(id, callback) {
+ let postBody = null;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling dispatchOrder");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{id}/dispatch', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getDeliveryInformation operation.
+ * @callback module:api/OrdersApi~getDeliveryInformationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderDeliveryInformation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:api/OrdersApi~getDeliveryInformationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderDeliveryInformation}
+ */
+ getDeliveryInformation(orderId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getDeliveryInformation");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultOrderDeliveryInformation;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{orderId}/deliveryinfo', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getFulfillmentState operation.
+ * @callback module:api/OrdersApi~getFulfillmentStateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderFulfillmentStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:api/OrdersApi~getFulfillmentStateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderFulfillmentStatus}
+ */
+ getFulfillmentState(orderId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getFulfillmentState");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultOrderFulfillmentStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{orderId}/fulfillment/state', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getFulfillmentStatusWithDetailsAndActions operation.
+ * @callback module:api/OrdersApi~getFulfillmentStatusWithDetailsAndActionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderFulfillmentStatusWithConfigurationActions} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:api/OrdersApi~getFulfillmentStatusWithDetailsAndActionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderFulfillmentStatusWithConfigurationActions}
+ */
+ getFulfillmentStatusWithDetailsAndActions(orderId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getFulfillmentStatusWithDetailsAndActions");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultOrderFulfillmentStatusWithConfigurationActions;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{orderId}/fulfillment/state/details', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrderById operation.
+ * @callback module:api/OrdersApi~getOrderByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrder} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} id
+ * @param {module:api/OrdersApi~getOrderByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrder}
+ */
+ getOrderById(id, callback) {
+ let postBody = null;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling getOrderById");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiResultOrder;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{id}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrders operation.
+ * @callback module:api/OrdersApi~getOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultOrder} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.physicalRestaurantId
+ * @param {Array.} opts.state
+ * @param {Date} opts.from
+ * @param {Date} opts.to
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/OrdersApi~getOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultOrder}
+ */
+ getOrders(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'physicalRestaurantId': this.apiClient.buildCollectionParam(opts['physicalRestaurantId'], 'multi'),
+ 'state': this.apiClient.buildCollectionParam(opts['state'], 'multi'),
+ 'from': opts['from'],
+ 'to': opts['to'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiPaginationResultOrder;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrdersSummary operation.
+ * @callback module:api/OrdersApi~getOrdersSummaryCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultOrderSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchQuery
+ * @param {Array.} opts.physicalRestaurantId
+ * @param {Array.} opts.state
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Boolean} opts.orderByRequestedForTime
+ * @param {Array.} opts.channels
+ * @param {Array.} opts.orderIds
+ * @param {Date} opts.from
+ * @param {Date} opts.to
+ * @param {Boolean} opts.logSql
+ * @param {module:api/OrdersApi~getOrdersSummaryCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultOrderSummary}
+ */
+ getOrdersSummary(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOrdersSummary");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'searchQuery': opts['searchQuery'],
+ 'physicalRestaurantId': this.apiClient.buildCollectionParam(opts['physicalRestaurantId'], 'multi'),
+ 'state': this.apiClient.buildCollectionParam(opts['state'], 'multi'),
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'orderByRequestedForTime': opts['orderByRequestedForTime'],
+ 'channels': this.apiClient.buildCollectionParam(opts['channels'], 'multi'),
+ 'orderIds': this.apiClient.buildCollectionParam(opts['orderIds'], 'multi'),
+ 'from': opts['from'],
+ 'to': opts['to'],
+ 'logSql': opts['logSql']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiPaginationResultOrderSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/orders/summaries', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getOrdersSummaryNew operation.
+ * @callback module:api/OrdersApi~getOrdersSummaryNewCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultOrderSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchQuery
+ * @param {Array.} opts.physicalRestaurantId
+ * @param {Array.} opts.state
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Boolean} opts.orderByRequestedForTime
+ * @param {Array.} opts.channels
+ * @param {Array.} opts.orderIds
+ * @param {Date} opts.from
+ * @param {Date} opts.to
+ * @param {Boolean} opts.logSql
+ * @param {module:api/OrdersApi~getOrdersSummaryNewCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultOrderSummary}
+ */
+ getOrdersSummaryNew(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getOrdersSummaryNew");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'searchQuery': opts['searchQuery'],
+ 'physicalRestaurantId': this.apiClient.buildCollectionParam(opts['physicalRestaurantId'], 'multi'),
+ 'state': this.apiClient.buildCollectionParam(opts['state'], 'multi'),
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'orderByRequestedForTime': opts['orderByRequestedForTime'],
+ 'channels': this.apiClient.buildCollectionParam(opts['channels'], 'multi'),
+ 'orderIds': this.apiClient.buildCollectionParam(opts['orderIds'], 'multi'),
+ 'from': opts['from'],
+ 'to': opts['to'],
+ 'logSql': opts['logSql']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiPaginationResultOrderSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/orders/summariesNew', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getReadyToProcess operation.
+ * @callback module:api/OrdersApi~getReadyToProcessCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/OrderList} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeId
+ * @param {module:api/OrdersApi~getReadyToProcessCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/OrderList}
+ */
+ getReadyToProcess(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getReadyToProcess");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message'];
+ let returnType = OrderList;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/orders/ready_to_process', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the refundOrder operation.
+ * @callback module:api/OrdersApi~refundOrderCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} id
+ * @param {module:model/Refund} refundObject
+ * @param {module:api/OrdersApi~refundOrderCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ refundOrder(id, refundObject, callback) {
+ let postBody = refundObject;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling refundOrder");
+ }
+ // verify the required parameter 'refundObject' is set
+ if (refundObject === undefined || refundObject === null) {
+ throw new Error("Missing the required parameter 'refundObject' when calling refundOrder");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{id}/refund', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the rejectOrder operation.
+ * @callback module:api/OrdersApi~rejectOrderCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} id
+ * @param {module:model/Reject} rejectObject
+ * @param {module:api/OrdersApi~rejectOrderCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ rejectOrder(id, rejectObject, callback) {
+ let postBody = rejectObject;
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling rejectOrder");
+ }
+ // verify the required parameter 'rejectObject' is set
+ if (rejectObject === undefined || rejectObject === null) {
+ throw new Error("Missing the required parameter 'rejectObject' when calling rejectOrder");
+ }
+
+ let pathParams = {
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{id}/reject', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the searchFulfillmentStatuses operation.
+ * @callback module:api/OrdersApi~searchFulfillmentStatusesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultOrderFulfillmentStatus} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} orderIds
+ * @param {module:api/OrdersApi~searchFulfillmentStatusesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultOrderFulfillmentStatus}
+ */
+ searchFulfillmentStatuses(appId, orderIds, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling searchFulfillmentStatuses");
+ }
+ // verify the required parameter 'orderIds' is set
+ if (orderIds === undefined || orderIds === null) {
+ throw new Error("Missing the required parameter 'orderIds' when calling searchFulfillmentStatuses");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'orderIds': orderIds
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultOrderFulfillmentStatus;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/orders/fulfillmentstatuses', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateDeliveryInformation operation.
+ * @callback module:api/OrdersApi~updateDeliveryInformationCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:model/OrderDeliveryInformationBase} deliveryInformation
+ * @param {module:api/OrdersApi~updateDeliveryInformationCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateDeliveryInformation(orderId, deliveryInformation, callback) {
+ let postBody = deliveryInformation;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling updateDeliveryInformation");
+ }
+ // verify the required parameter 'deliveryInformation' is set
+ if (deliveryInformation === undefined || deliveryInformation === null) {
+ throw new Error("Missing the required parameter 'deliveryInformation' when calling updateDeliveryInformation");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{orderId}/deliveryinfo', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateFulfillmentState operation.
+ * @callback module:api/OrdersApi~updateFulfillmentStateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:model/OrderFulfillmentStatusUpdate} fulfillmentStatusRequest
+ * @param {module:api/OrdersApi~updateFulfillmentStateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateFulfillmentState(orderId, fulfillmentStatusRequest, callback) {
+ let postBody = fulfillmentStatusRequest;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling updateFulfillmentState");
+ }
+ // verify the required parameter 'fulfillmentStatusRequest' is set
+ if (fulfillmentStatusRequest === undefined || fulfillmentStatusRequest === null) {
+ throw new Error("Missing the required parameter 'fulfillmentStatusRequest' when calling updateFulfillmentState");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/orders/{orderId}/fulfillment/state', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/PaymentIntentsApi.js b/src/api/PaymentIntentsApi.js
new file mode 100644
index 00000000..9b7a555d
--- /dev/null
+++ b/src/api/PaymentIntentsApi.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultPaymentIntent from '../model/RestApiResultPaymentIntent';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* PaymentIntents service.
+* @module api/PaymentIntentsApi
+* @version 1.0.0
+*/
+export default class PaymentIntentsApi {
+
+ /**
+ * Constructs a new PaymentIntentsApi.
+ * @alias module:api/PaymentIntentsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getPaymentIntent operation.
+ * @callback module:api/PaymentIntentsApi~getPaymentIntentCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPaymentIntent} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} paymentIntentId
+ * @param {module:api/PaymentIntentsApi~getPaymentIntentCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPaymentIntent}
+ */
+ getPaymentIntent(paymentIntentId, callback) {
+ let postBody = null;
+ // verify the required parameter 'paymentIntentId' is set
+ if (paymentIntentId === undefined || paymentIntentId === null) {
+ throw new Error("Missing the required parameter 'paymentIntentId' when calling getPaymentIntent");
+ }
+
+ let pathParams = {
+ 'paymentIntentId': paymentIntentId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultPaymentIntent;
+ return this.apiClient.callApi(
+ '/api/v1.0/payment_intents/{paymentIntentId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/PaymentsApi.js b/src/api/PaymentsApi.js
new file mode 100644
index 00000000..7ac74cf3
--- /dev/null
+++ b/src/api/PaymentsApi.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultOrderPaymentInformation from '../model/RestApiResultOrderPaymentInformation';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Payments service.
+* @module api/PaymentsApi
+* @version 1.0.0
+*/
+export default class PaymentsApi {
+
+ /**
+ * Constructs a new PaymentsApi.
+ * @alias module:api/PaymentsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getOrderPaymentInformation operation.
+ * @callback module:api/PaymentsApi~getOrderPaymentInformationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderPaymentInformation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:api/PaymentsApi~getOrderPaymentInformationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderPaymentInformation}
+ */
+ getOrderPaymentInformation(orderId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getOrderPaymentInformation");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiResultOrderPaymentInformation;
+ return this.apiClient.callApi(
+ '/api/v1.0/payments/payment/{orderId}/refundable', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/PayoutReportsApi.js b/src/api/PayoutReportsApi.js
new file mode 100644
index 00000000..fe58299d
--- /dev/null
+++ b/src/api/PayoutReportsApi.js
@@ -0,0 +1,442 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultPayoutReport3RefundedOrder from '../model/RestApiPaginationResultPayoutReport3RefundedOrder';
+import RestApiResultFileCreationResult from '../model/RestApiResultFileCreationResult';
+import RestApiResultPayoutReport3Details from '../model/RestApiResultPayoutReport3Details';
+import RestApiResultPayoutReport3Overview from '../model/RestApiResultPayoutReport3Overview';
+
+/**
+* PayoutReports service.
+* @module api/PayoutReportsApi
+* @version 1.0.0
+*/
+export default class PayoutReportsApi {
+
+ /**
+ * Constructs a new PayoutReportsApi.
+ * @alias module:api/PayoutReportsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getPayoutReport3Details operation.
+ * @callback module:api/PayoutReportsApi~getPayoutReport3DetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPayoutReport3Details} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutReportsApi~getPayoutReport3DetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPayoutReport3Details}
+ */
+ getPayoutReport3Details(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutReport3Details");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutReport3Details");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutReport3Details");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultPayoutReport3Details;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/details', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutReport3Overview operation.
+ * @callback module:api/PayoutReportsApi~getPayoutReport3OverviewCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPayoutReport3Overview} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {module:api/PayoutReportsApi~getPayoutReport3OverviewCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPayoutReport3Overview}
+ */
+ getPayoutReport3Overview(appId, bankAccountId, payoutId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutReport3Overview");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutReport3Overview");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutReport3Overview");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultPayoutReport3Overview;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/overview', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutReport3RefundedOrders operation.
+ * @callback module:api/PayoutReportsApi~getPayoutReport3RefundedOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPayoutReport3RefundedOrder} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/PayoutReportsApi~getPayoutReport3RefundedOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPayoutReport3RefundedOrder}
+ */
+ getPayoutReport3RefundedOrders(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutReport3RefundedOrders");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutReport3RefundedOrders");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutReport3RefundedOrders");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi'),
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiPaginationResultPayoutReport3RefundedOrder;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/refundedOrders', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the payoutReport3ExportPayoutChargebacks operation.
+ * @callback module:api/PayoutReportsApi~payoutReport3ExportPayoutChargebacksCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultFileCreationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.stores
+ * @param {module:api/PayoutReportsApi~payoutReport3ExportPayoutChargebacksCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultFileCreationResult}
+ */
+ payoutReport3ExportPayoutChargebacks(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling payoutReport3ExportPayoutChargebacks");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling payoutReport3ExportPayoutChargebacks");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling payoutReport3ExportPayoutChargebacks");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'stores': this.apiClient.buildCollectionParam(opts['stores'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultFileCreationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/chargebacks', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the payoutReport3ExportPayoutOrders operation.
+ * @callback module:api/PayoutReportsApi~payoutReport3ExportPayoutOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultFileCreationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.stores
+ * @param {module:api/PayoutReportsApi~payoutReport3ExportPayoutOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultFileCreationResult}
+ */
+ payoutReport3ExportPayoutOrders(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling payoutReport3ExportPayoutOrders");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling payoutReport3ExportPayoutOrders");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling payoutReport3ExportPayoutOrders");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'stores': this.apiClient.buildCollectionParam(opts['stores'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultFileCreationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/orders', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the payoutReport3ExportPayoutPosSales operation.
+ * @callback module:api/PayoutReportsApi~payoutReport3ExportPayoutPosSalesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultFileCreationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.stores
+ * @param {module:api/PayoutReportsApi~payoutReport3ExportPayoutPosSalesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultFileCreationResult}
+ */
+ payoutReport3ExportPayoutPosSales(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling payoutReport3ExportPayoutPosSales");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling payoutReport3ExportPayoutPosSales");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling payoutReport3ExportPayoutPosSales");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'stores': this.apiClient.buildCollectionParam(opts['stores'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultFileCreationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/possales', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the payoutReport3ExportPayoutRefundedOrders operation.
+ * @callback module:api/PayoutReportsApi~payoutReport3ExportPayoutRefundedOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultFileCreationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.stores
+ * @param {module:api/PayoutReportsApi~payoutReport3ExportPayoutRefundedOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultFileCreationResult}
+ */
+ payoutReport3ExportPayoutRefundedOrders(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling payoutReport3ExportPayoutRefundedOrders");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling payoutReport3ExportPayoutRefundedOrders");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling payoutReport3ExportPayoutRefundedOrders");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'stores': this.apiClient.buildCollectionParam(opts['stores'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultFileCreationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/reporting/reports/payouts3/{bankAccountId}/{payoutId}/export/refundedOrders', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/PayoutsApi.js b/src/api/PayoutsApi.js
new file mode 100644
index 00000000..61a83c18
--- /dev/null
+++ b/src/api/PayoutsApi.js
@@ -0,0 +1,450 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import PayoutDetail from '../model/PayoutDetail';
+import RestApiArrayResultPayoutSummary from '../model/RestApiArrayResultPayoutSummary';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultPayout from '../model/RestApiPaginationResultPayout';
+import RestApiPaginationResultPayoutChargeback from '../model/RestApiPaginationResultPayoutChargeback';
+import RestApiPaginationResultPayoutOrder from '../model/RestApiPaginationResultPayoutOrder';
+import RestApiPaginationResultPayoutOtherCharge from '../model/RestApiPaginationResultPayoutOtherCharge';
+import RestApiPaginationResultPayoutRefund from '../model/RestApiPaginationResultPayoutRefund';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Payouts service.
+* @module api/PayoutsApi
+* @version 1.0.0
+*/
+export default class PayoutsApi {
+
+ /**
+ * Constructs a new PayoutsApi.
+ * @alias module:api/PayoutsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getPayout operation.
+ * @callback module:api/PayoutsApi~getPayoutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/PayoutDetail} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {module:api/PayoutsApi~getPayoutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/PayoutDetail}
+ */
+ getPayout(appId, bankAccountId, payoutId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayout");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayout");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayout");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'PayoutId', 'BankAccountId', 'AccountName', 'PayoutStatus', 'CreatedDate', 'PeriodStartTime', 'PeriodEndTime', 'DestinationBank', 'DestinationAccount', 'PayoutType', 'Currency', 'PayoutStores', 'Amount', 'CutoffDate'];
+ let returnType = PayoutDetail;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutChargebacks operation.
+ * @callback module:api/PayoutsApi~getPayoutChargebacksCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPayoutChargeback} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsApi~getPayoutChargebacksCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPayoutChargeback}
+ */
+ getPayoutChargebacks(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutChargebacks");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutChargebacks");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutChargebacks");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPayoutChargeback;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/chargebacks', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutOrders operation.
+ * @callback module:api/PayoutsApi~getPayoutOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPayoutOrder} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsApi~getPayoutOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPayoutOrder}
+ */
+ getPayoutOrders(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutOrders");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutOrders");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutOrders");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPayoutOrder;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/orders', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutOtherCharges operation.
+ * @callback module:api/PayoutsApi~getPayoutOtherChargesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPayoutOtherCharge} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsApi~getPayoutOtherChargesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPayoutOtherCharge}
+ */
+ getPayoutOtherCharges(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutOtherCharges");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutOtherCharges");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutOtherCharges");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPayoutOtherCharge;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/othercharges', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutRefunds operation.
+ * @callback module:api/PayoutsApi~getPayoutRefundsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPayoutRefund} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsApi~getPayoutRefundsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPayoutRefund}
+ */
+ getPayoutRefunds(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutRefunds");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling getPayoutRefunds");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling getPayoutRefunds");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPayoutRefund;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/refunds', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayoutSummaries operation.
+ * @callback module:api/PayoutsApi~getPayoutSummariesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultPayoutSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Date} opts.startDate
+ * @param {Date} opts.endDate
+ * @param {Array.} opts.payoutRequestIds_bankAccountIds List of bank account ids to search for
+ * @param {Array.} opts.payoutRequestIds_states List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for
+ * @param {module:api/PayoutsApi~getPayoutSummariesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultPayoutSummary}
+ */
+ getPayoutSummaries(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayoutSummaries");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'startDate': opts['startDate'],
+ 'endDate': opts['endDate'],
+ 'payoutRequestIds.bankAccountIds': this.apiClient.buildCollectionParam(opts['payoutRequestIds_bankAccountIds'], 'multi'),
+ 'payoutRequestIds.states': this.apiClient.buildCollectionParam(opts['payoutRequestIds_states'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultPayoutSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payouts/summaries', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayouts operation.
+ * @callback module:api/PayoutsApi~getPayoutsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPayout} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Date} opts.startDate
+ * @param {Date} opts.endDate
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Array.} opts.payoutRequestIds_bankAccountIds List of bank account ids to search for
+ * @param {Array.} opts.payoutRequestIds_states List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for
+ * @param {module:api/PayoutsApi~getPayoutsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPayout}
+ */
+ getPayouts(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayouts");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'startDate': opts['startDate'],
+ 'endDate': opts['endDate'],
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'payoutRequestIds.bankAccountIds': this.apiClient.buildCollectionParam(opts['payoutRequestIds_bankAccountIds'], 'multi'),
+ 'payoutRequestIds.states': this.apiClient.buildCollectionParam(opts['payoutRequestIds_states'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultPayout;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payouts', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/PayoutsExportApi.js b/src/api/PayoutsExportApi.js
new file mode 100644
index 00000000..6d52e02c
--- /dev/null
+++ b/src/api/PayoutsExportApi.js
@@ -0,0 +1,376 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* PayoutsExport service.
+* @module api/PayoutsExportApi
+* @version 1.0.0
+*/
+export default class PayoutsExportApi {
+
+ /**
+ * Constructs a new PayoutsExportApi.
+ * @alias module:api/PayoutsExportApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the exportPayoutChargebacks operation.
+ * @callback module:api/PayoutsExportApi~exportPayoutChargebacksCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsExportApi~exportPayoutChargebacksCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ exportPayoutChargebacks(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling exportPayoutChargebacks");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling exportPayoutChargebacks");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling exportPayoutChargebacks");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/chargebacks/export', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the exportPayoutOrders operation.
+ * @callback module:api/PayoutsExportApi~exportPayoutOrdersCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsExportApi~exportPayoutOrdersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ exportPayoutOrders(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling exportPayoutOrders");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling exportPayoutOrders");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling exportPayoutOrders");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/orders/export', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the exportPayoutOtherCharges operation.
+ * @callback module:api/PayoutsExportApi~exportPayoutOtherChargesCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsExportApi~exportPayoutOtherChargesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ exportPayoutOtherCharges(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling exportPayoutOtherCharges");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling exportPayoutOtherCharges");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling exportPayoutOtherCharges");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/othercharges/export', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the exportPayoutRefunds operation.
+ * @callback module:api/PayoutsExportApi~exportPayoutRefundsCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsExportApi~exportPayoutRefundsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ exportPayoutRefunds(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling exportPayoutRefunds");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling exportPayoutRefunds");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling exportPayoutRefunds");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/refunds/export', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the exportPayoutStores operation.
+ * @callback module:api/PayoutsExportApi~exportPayoutStoresCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {Number} payoutId
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeIds
+ * @param {module:api/PayoutsExportApi~exportPayoutStoresCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ exportPayoutStores(appId, bankAccountId, payoutId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling exportPayoutStores");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling exportPayoutStores");
+ }
+ // verify the required parameter 'payoutId' is set
+ if (payoutId === undefined || payoutId === null) {
+ throw new Error("Missing the required parameter 'payoutId' when calling exportPayoutStores");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId,
+ 'payoutId': payoutId
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/bankaccounts/{bankAccountId}/payouts/{payoutId}/export', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the exportPayouts operation.
+ * @callback module:api/PayoutsExportApi~exportPayoutsCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Date} opts.startDate
+ * @param {Date} opts.endDate
+ * @param {Array.} opts.payoutRequestIds_bankAccountIds List of bank account ids to search for
+ * @param {Array.} opts.payoutRequestIds_states List of {Flipdish.PublicModels.V1.Payouts.PayoutStatus} so search for
+ * @param {module:api/PayoutsExportApi~exportPayoutsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ exportPayouts(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling exportPayouts");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'startDate': opts['startDate'],
+ 'endDate': opts['endDate'],
+ 'payoutRequestIds.bankAccountIds': this.apiClient.buildCollectionParam(opts['payoutRequestIds_bankAccountIds'], 'multi'),
+ 'payoutRequestIds.states': this.apiClient.buildCollectionParam(opts['payoutRequestIds_states'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = 'String';
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/payouts/export', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/ProcessingFeeConfigsApi.js b/src/api/ProcessingFeeConfigsApi.js
new file mode 100644
index 00000000..d325e466
--- /dev/null
+++ b/src/api/ProcessingFeeConfigsApi.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultProcessingFeeConfig from '../model/RestApiArrayResultProcessingFeeConfig';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* ProcessingFeeConfigs service.
+* @module api/ProcessingFeeConfigsApi
+* @version 1.0.0
+*/
+export default class ProcessingFeeConfigsApi {
+
+ /**
+ * Constructs a new ProcessingFeeConfigsApi.
+ * @alias module:api/ProcessingFeeConfigsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getProcessingFeeConfigsByStoreIds operation.
+ * @callback module:api/ProcessingFeeConfigsApi~getProcessingFeeConfigsByStoreIdsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultProcessingFeeConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Array.} storeIds
+ * @param {module:api/ProcessingFeeConfigsApi~getProcessingFeeConfigsByStoreIdsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultProcessingFeeConfig}
+ */
+ getProcessingFeeConfigsByStoreIds(storeIds, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeIds' is set
+ if (storeIds === undefined || storeIds === null) {
+ throw new Error("Missing the required parameter 'storeIds' when calling getProcessingFeeConfigsByStoreIds");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'storeIds': this.apiClient.buildCollectionParam(storeIds, 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultProcessingFeeConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/processingfeeconfigs', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/PushNotificationsApi.js b/src/api/PushNotificationsApi.js
new file mode 100644
index 00000000..da6647a4
--- /dev/null
+++ b/src/api/PushNotificationsApi.js
@@ -0,0 +1,233 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import PushNotificationRequest from '../model/PushNotificationRequest';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultPushNotificationResponse from '../model/RestApiPaginationResultPushNotificationResponse';
+import RestApiResultPushNotificationResponse from '../model/RestApiResultPushNotificationResponse';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* PushNotifications service.
+* @module api/PushNotificationsApi
+* @version 1.0.0
+*/
+export default class PushNotificationsApi {
+
+ /**
+ * Constructs a new PushNotificationsApi.
+ * @alias module:api/PushNotificationsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the deletePushNotification operation.
+ * @callback module:api/PushNotificationsApi~deletePushNotificationCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} scheduledPushNotificationId
+ * @param {module:api/PushNotificationsApi~deletePushNotificationCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deletePushNotification(appId, scheduledPushNotificationId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deletePushNotification");
+ }
+ // verify the required parameter 'scheduledPushNotificationId' is set
+ if (scheduledPushNotificationId === undefined || scheduledPushNotificationId === null) {
+ throw new Error("Missing the required parameter 'scheduledPushNotificationId' when calling deletePushNotification");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'scheduledPushNotificationId': scheduledPushNotificationId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPushNotifications operation.
+ * @callback module:api/PushNotificationsApi~getPushNotificationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultPushNotificationResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/PushNotificationsApi~getPushNotificationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultPushNotificationResponse}
+ */
+ getPushNotifications(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPushNotifications");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiPaginationResultPushNotificationResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/pushnotifications', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the schedulePushNotification operation.
+ * @callback module:api/PushNotificationsApi~schedulePushNotificationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPushNotificationResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/PushNotificationRequest} notification
+ * @param {module:api/PushNotificationsApi~schedulePushNotificationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPushNotificationResponse}
+ */
+ schedulePushNotification(appId, notification, callback) {
+ let postBody = notification;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling schedulePushNotification");
+ }
+ // verify the required parameter 'notification' is set
+ if (notification === undefined || notification === null) {
+ throw new Error("Missing the required parameter 'notification' when calling schedulePushNotification");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultPushNotificationResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/pushnotifications', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updatePushNotification operation.
+ * @callback module:api/PushNotificationsApi~updatePushNotificationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPushNotificationResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} scheduledPushNotificationId
+ * @param {module:model/PushNotificationRequest} notification
+ * @param {module:api/PushNotificationsApi~updatePushNotificationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPushNotificationResponse}
+ */
+ updatePushNotification(appId, scheduledPushNotificationId, notification, callback) {
+ let postBody = notification;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updatePushNotification");
+ }
+ // verify the required parameter 'scheduledPushNotificationId' is set
+ if (scheduledPushNotificationId === undefined || scheduledPushNotificationId === null) {
+ throw new Error("Missing the required parameter 'scheduledPushNotificationId' when calling updatePushNotification");
+ }
+ // verify the required parameter 'notification' is set
+ if (notification === undefined || notification === null) {
+ throw new Error("Missing the required parameter 'notification' when calling updatePushNotification");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'scheduledPushNotificationId': scheduledPushNotificationId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiResultPushNotificationResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/pushnotifications/{scheduledPushNotificationId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/ReceiptsApi.js b/src/api/ReceiptsApi.js
new file mode 100644
index 00000000..66bfc2b4
--- /dev/null
+++ b/src/api/ReceiptsApi.js
@@ -0,0 +1,81 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import GetReceiptByOrderIdQueryResponse from '../model/GetReceiptByOrderIdQueryResponse';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+
+/**
+* Receipts service.
+* @module api/ReceiptsApi
+* @version 1.0.0
+*/
+export default class ReceiptsApi {
+
+ /**
+ * Constructs a new ReceiptsApi.
+ * @alias module:api/ReceiptsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getReceipt operation.
+ * @callback module:api/ReceiptsApi~getReceiptCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/GetReceiptByOrderIdQueryResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} orderId
+ * @param {module:api/ReceiptsApi~getReceiptCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/GetReceiptByOrderIdQueryResponse}
+ */
+ getReceipt(orderId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orderId' is set
+ if (orderId === undefined || orderId === null) {
+ throw new Error("Missing the required parameter 'orderId' when calling getReceipt");
+ }
+
+ let pathParams = {
+ 'orderId': orderId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = GetReceiptByOrderIdQueryResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/receipts/{orderId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/RestaurantVouchersPayGreenApi.js b/src/api/RestaurantVouchersPayGreenApi.js
new file mode 100644
index 00000000..a7281fb1
--- /dev/null
+++ b/src/api/RestaurantVouchersPayGreenApi.js
@@ -0,0 +1,468 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreatePayGreenConfigurationRequest from '../model/CreatePayGreenConfigurationRequest';
+import RestApiArrayResultRestaurantVoucherEligibleStore from '../model/RestApiArrayResultRestaurantVoucherEligibleStore';
+import RestApiArrayResultRestaurantVoucherPayGreenConfiguration from '../model/RestApiArrayResultRestaurantVoucherPayGreenConfiguration';
+import RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary from '../model/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultRestaurantVoucherPayGreenConfiguration from '../model/RestApiResultRestaurantVoucherPayGreenConfiguration';
+import RestApiResultRestaurantVoucherPayGreenStoreConfiguration from '../model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdatePayGreenConfigurationRequest from '../model/UpdatePayGreenConfigurationRequest';
+import UpdateStorePayGreenConfigurationRequest from '../model/UpdateStorePayGreenConfigurationRequest';
+
+/**
+* RestaurantVouchersPayGreen service.
+* @module api/RestaurantVouchersPayGreenApi
+* @version 1.0.0
+*/
+export default class RestaurantVouchersPayGreenApi {
+
+ /**
+ * Constructs a new RestaurantVouchersPayGreenApi.
+ * @alias module:api/RestaurantVouchersPayGreenApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createPayGreenConfiguration operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~createPayGreenConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestaurantVoucherPayGreenConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CreatePayGreenConfigurationRequest} request
+ * @param {module:api/RestaurantVouchersPayGreenApi~createPayGreenConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestaurantVoucherPayGreenConfiguration}
+ */
+ createPayGreenConfiguration(appId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createPayGreenConfiguration");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling createPayGreenConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRestaurantVoucherPayGreenConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deletePayGreenConfiguration operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~deletePayGreenConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} paygreenConfigurationId
+ * @param {module:api/RestaurantVouchersPayGreenApi~deletePayGreenConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ deletePayGreenConfiguration(appId, paygreenConfigurationId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deletePayGreenConfiguration");
+ }
+ // verify the required parameter 'paygreenConfigurationId' is set
+ if (paygreenConfigurationId === undefined || paygreenConfigurationId === null) {
+ throw new Error("Missing the required parameter 'paygreenConfigurationId' when calling deletePayGreenConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'paygreenConfigurationId': paygreenConfigurationId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getElegibleStores operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~getElegibleStoresCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestaurantVoucherEligibleStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/RestaurantVouchersPayGreenApi~getElegibleStoresCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestaurantVoucherEligibleStore}
+ */
+ getElegibleStores(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getElegibleStores");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultRestaurantVoucherEligibleStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPayGreenConfigurations operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~getPayGreenConfigurationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestaurantVoucherPayGreenConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/RestaurantVouchersPayGreenApi~getPayGreenConfigurationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestaurantVoucherPayGreenConfiguration}
+ */
+ getPayGreenConfigurations(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getPayGreenConfigurations");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultRestaurantVoucherPayGreenConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreAvailablePayGreenConfigurations operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~getStoreAvailablePayGreenConfigurationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/RestaurantVouchersPayGreenApi~getStoreAvailablePayGreenConfigurationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary}
+ */
+ getStoreAvailablePayGreenConfigurations(appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoreAvailablePayGreenConfigurations");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreAvailablePayGreenConfigurations");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId}/available-configurations', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStorePayGreenConfiguration operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~getStorePayGreenConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:api/RestaurantVouchersPayGreenApi~getStorePayGreenConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration}
+ */
+ getStorePayGreenConfiguration(appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStorePayGreenConfiguration");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStorePayGreenConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRestaurantVoucherPayGreenStoreConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the listPayGreenConfigurations operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~listPayGreenConfigurationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestaurantVoucherPayGreenConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} paygreenConfigurationId
+ * @param {module:api/RestaurantVouchersPayGreenApi~listPayGreenConfigurationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestaurantVoucherPayGreenConfiguration}
+ */
+ listPayGreenConfigurations(appId, paygreenConfigurationId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling listPayGreenConfigurations");
+ }
+ // verify the required parameter 'paygreenConfigurationId' is set
+ if (paygreenConfigurationId === undefined || paygreenConfigurationId === null) {
+ throw new Error("Missing the required parameter 'paygreenConfigurationId' when calling listPayGreenConfigurations");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'paygreenConfigurationId': paygreenConfigurationId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRestaurantVoucherPayGreenConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updatePayGreenConfiguration operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~updatePayGreenConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestaurantVoucherPayGreenConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} paygreenConfigurationId
+ * @param {module:model/UpdatePayGreenConfigurationRequest} request
+ * @param {module:api/RestaurantVouchersPayGreenApi~updatePayGreenConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestaurantVoucherPayGreenConfiguration}
+ */
+ updatePayGreenConfiguration(appId, paygreenConfigurationId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updatePayGreenConfiguration");
+ }
+ // verify the required parameter 'paygreenConfigurationId' is set
+ if (paygreenConfigurationId === undefined || paygreenConfigurationId === null) {
+ throw new Error("Missing the required parameter 'paygreenConfigurationId' when calling updatePayGreenConfiguration");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling updatePayGreenConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'paygreenConfigurationId': paygreenConfigurationId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRestaurantVoucherPayGreenConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/{paygreenConfigurationId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStorePayGreenConfiguration operation.
+ * @callback module:api/RestaurantVouchersPayGreenApi~updateStorePayGreenConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:model/UpdateStorePayGreenConfigurationRequest} request
+ * @param {module:api/RestaurantVouchersPayGreenApi~updateStorePayGreenConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration}
+ */
+ updateStorePayGreenConfiguration(appId, storeId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateStorePayGreenConfiguration");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateStorePayGreenConfiguration");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling updateStorePayGreenConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRestaurantVoucherPayGreenStoreConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/restaurant-vouchers/paygreen/stores/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/SearchApi.js b/src/api/SearchApi.js
new file mode 100644
index 00000000..867a263c
--- /dev/null
+++ b/src/api/SearchApi.js
@@ -0,0 +1,100 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultRestaurant from '../model/RestApiPaginationResultRestaurant';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Search service.
+* @module api/SearchApi
+* @version 1.0.0
+*/
+export default class SearchApi {
+
+ /**
+ * Constructs a new SearchApi.
+ * @alias module:api/SearchApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the searchRestaurants operation.
+ * @callback module:api/SearchApi~searchRestaurantsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultRestaurant} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} query
+ * @param {String} countryId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/String} opts.includeArchivedStores
+ * @param {module:model/String} opts.searchType
+ * @param {module:model/String} opts.publishedStatus
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/SearchApi~searchRestaurantsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultRestaurant}
+ */
+ searchRestaurants(query, countryId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'query' is set
+ if (query === undefined || query === null) {
+ throw new Error("Missing the required parameter 'query' when calling searchRestaurants");
+ }
+ // verify the required parameter 'countryId' is set
+ if (countryId === undefined || countryId === null) {
+ throw new Error("Missing the required parameter 'countryId' when calling searchRestaurants");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'query': query,
+ 'countryId': countryId,
+ 'includeArchivedStores': opts['includeArchivedStores'],
+ 'searchType': opts['searchType'],
+ 'publishedStatus': opts['publishedStatus'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultRestaurant;
+ return this.apiClient.callApi(
+ '/api/v1.0/search/restaurants', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/SmsProviderCredentialsApi.js b/src/api/SmsProviderCredentialsApi.js
new file mode 100644
index 00000000..3a68415c
--- /dev/null
+++ b/src/api/SmsProviderCredentialsApi.js
@@ -0,0 +1,299 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultSmsProviderCredential from '../model/RestApiArrayResultSmsProviderCredential';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultSmsProviderCredential from '../model/RestApiResultSmsProviderCredential';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import SmsProviderCredential from '../model/SmsProviderCredential';
+import SmsProviderCredentialUpdateRequest from '../model/SmsProviderCredentialUpdateRequest';
+
+/**
+* SmsProviderCredentials service.
+* @module api/SmsProviderCredentialsApi
+* @version 1.0.0
+*/
+export default class SmsProviderCredentialsApi {
+
+ /**
+ * Constructs a new SmsProviderCredentialsApi.
+ * @alias module:api/SmsProviderCredentialsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getBrandSmsProviderCredentialByServiceType operation.
+ * @callback module:api/SmsProviderCredentialsApi~getBrandSmsProviderCredentialByServiceTypeCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultSmsProviderCredential} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} orgId
+ * @param {String} brandId
+ * @param {module:model/String} serviceType
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.withFallback
+ * @param {module:api/SmsProviderCredentialsApi~getBrandSmsProviderCredentialByServiceTypeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultSmsProviderCredential}
+ */
+ getBrandSmsProviderCredentialByServiceType(orgId, brandId, serviceType, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'orgId' is set
+ if (orgId === undefined || orgId === null) {
+ throw new Error("Missing the required parameter 'orgId' when calling getBrandSmsProviderCredentialByServiceType");
+ }
+ // verify the required parameter 'brandId' is set
+ if (brandId === undefined || brandId === null) {
+ throw new Error("Missing the required parameter 'brandId' when calling getBrandSmsProviderCredentialByServiceType");
+ }
+ // verify the required parameter 'serviceType' is set
+ if (serviceType === undefined || serviceType === null) {
+ throw new Error("Missing the required parameter 'serviceType' when calling getBrandSmsProviderCredentialByServiceType");
+ }
+
+ let pathParams = {
+ 'orgId': orgId,
+ 'brandId': brandId,
+ 'serviceType': serviceType
+ };
+ let queryParams = {
+ 'withFallback': opts['withFallback']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultSmsProviderCredential;
+ return this.apiClient.callApi(
+ '/api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBrandSmsProviderCredentials operation.
+ * @callback module:api/SmsProviderCredentialsApi~getBrandSmsProviderCredentialsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultSmsProviderCredential} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} orgId
+ * @param {String} brandId
+ * @param {module:api/SmsProviderCredentialsApi~getBrandSmsProviderCredentialsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultSmsProviderCredential}
+ */
+ getBrandSmsProviderCredentials(orgId, brandId, callback) {
+ let postBody = null;
+ // verify the required parameter 'orgId' is set
+ if (orgId === undefined || orgId === null) {
+ throw new Error("Missing the required parameter 'orgId' when calling getBrandSmsProviderCredentials");
+ }
+ // verify the required parameter 'brandId' is set
+ if (brandId === undefined || brandId === null) {
+ throw new Error("Missing the required parameter 'brandId' when calling getBrandSmsProviderCredentials");
+ }
+
+ let pathParams = {
+ 'orgId': orgId,
+ 'brandId': brandId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultSmsProviderCredential;
+ return this.apiClient.callApi(
+ '/api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the smsProviderCredentialDelete operation.
+ * @callback module:api/SmsProviderCredentialsApi~smsProviderCredentialDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultSmsProviderCredential} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} orgId
+ * @param {String} brandId
+ * @param {module:model/String} serviceType
+ * @param {module:api/SmsProviderCredentialsApi~smsProviderCredentialDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultSmsProviderCredential}
+ */
+ smsProviderCredentialDelete(orgId, brandId, serviceType, callback) {
+ let postBody = null;
+ // verify the required parameter 'orgId' is set
+ if (orgId === undefined || orgId === null) {
+ throw new Error("Missing the required parameter 'orgId' when calling smsProviderCredentialDelete");
+ }
+ // verify the required parameter 'brandId' is set
+ if (brandId === undefined || brandId === null) {
+ throw new Error("Missing the required parameter 'brandId' when calling smsProviderCredentialDelete");
+ }
+ // verify the required parameter 'serviceType' is set
+ if (serviceType === undefined || serviceType === null) {
+ throw new Error("Missing the required parameter 'serviceType' when calling smsProviderCredentialDelete");
+ }
+
+ let pathParams = {
+ 'orgId': orgId,
+ 'brandId': brandId,
+ 'serviceType': serviceType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultSmsProviderCredential;
+ return this.apiClient.callApi(
+ '/api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the smsProviderCredentialUpdate operation.
+ * @callback module:api/SmsProviderCredentialsApi~smsProviderCredentialUpdateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultSmsProviderCredential} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} orgId
+ * @param {String} brandId
+ * @param {module:model/String} serviceType
+ * @param {module:model/SmsProviderCredentialUpdateRequest} credential
+ * @param {module:api/SmsProviderCredentialsApi~smsProviderCredentialUpdateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultSmsProviderCredential}
+ */
+ smsProviderCredentialUpdate(orgId, brandId, serviceType, credential, callback) {
+ let postBody = credential;
+ // verify the required parameter 'orgId' is set
+ if (orgId === undefined || orgId === null) {
+ throw new Error("Missing the required parameter 'orgId' when calling smsProviderCredentialUpdate");
+ }
+ // verify the required parameter 'brandId' is set
+ if (brandId === undefined || brandId === null) {
+ throw new Error("Missing the required parameter 'brandId' when calling smsProviderCredentialUpdate");
+ }
+ // verify the required parameter 'serviceType' is set
+ if (serviceType === undefined || serviceType === null) {
+ throw new Error("Missing the required parameter 'serviceType' when calling smsProviderCredentialUpdate");
+ }
+ // verify the required parameter 'credential' is set
+ if (credential === undefined || credential === null) {
+ throw new Error("Missing the required parameter 'credential' when calling smsProviderCredentialUpdate");
+ }
+
+ let pathParams = {
+ 'orgId': orgId,
+ 'brandId': brandId,
+ 'serviceType': serviceType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultSmsProviderCredential;
+ return this.apiClient.callApi(
+ '/api/v1.0/sms-providers/orgs/{orgId}/brands/{brandId}/provider-credentials/{serviceType}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the smsProviderCredentialsBulkUpsert operation.
+ * @callback module:api/SmsProviderCredentialsApi~smsProviderCredentialsBulkUpsertCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultSmsProviderCredential} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Array.} credentials
+ * @param {module:api/SmsProviderCredentialsApi~smsProviderCredentialsBulkUpsertCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultSmsProviderCredential}
+ */
+ smsProviderCredentialsBulkUpsert(credentials, callback) {
+ let postBody = credentials;
+ // verify the required parameter 'credentials' is set
+ if (credentials === undefined || credentials === null) {
+ throw new Error("Missing the required parameter 'credentials' when calling smsProviderCredentialsBulkUpsert");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultSmsProviderCredential;
+ return this.apiClient.callApi(
+ '/api/v1.0/sms-providers/bulk-upsert', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/StoreGroupsApi.js b/src/api/StoreGroupsApi.js
new file mode 100644
index 00000000..78007686
--- /dev/null
+++ b/src/api/StoreGroupsApi.js
@@ -0,0 +1,415 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CustomerMessages from '../model/CustomerMessages';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultStoreGroup from '../model/RestApiPaginationResultStoreGroup';
+import RestApiPaginationResultStoreGroupExtended from '../model/RestApiPaginationResultStoreGroupExtended';
+import RestApiResultStoreGroup from '../model/RestApiResultStoreGroup';
+import RestApiResultStoreGroupBase from '../model/RestApiResultStoreGroupBase';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import StoreGroupBase from '../model/StoreGroupBase';
+
+/**
+* StoreGroups service.
+* @module api/StoreGroupsApi
+* @version 1.0.0
+*/
+export default class StoreGroupsApi {
+
+ /**
+ * Constructs a new StoreGroupsApi.
+ * @alias module:api/StoreGroupsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the assignStoresToStoreGroup operation.
+ * @callback module:api/StoreGroupsApi~assignStoresToStoreGroupCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeGroupId
+ * @param {Array.} storeIds
+ * @param {module:api/StoreGroupsApi~assignStoresToStoreGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ assignStoresToStoreGroup(appId, storeGroupId, storeIds, callback) {
+ let postBody = storeIds;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling assignStoresToStoreGroup");
+ }
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling assignStoresToStoreGroup");
+ }
+ // verify the required parameter 'storeIds' is set
+ if (storeIds === undefined || storeIds === null) {
+ throw new Error("Missing the required parameter 'storeIds' when calling assignStoresToStoreGroup");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeGroupId': storeGroupId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/storegroups/{storeGroupId}/assignStores', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createStoreGroup operation.
+ * @callback module:api/StoreGroupsApi~createStoreGroupCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStoreGroup} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appNameId
+ * @param {module:model/StoreGroupBase} storeGroup
+ * @param {module:api/StoreGroupsApi~createStoreGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStoreGroup}
+ */
+ createStoreGroup(appNameId, storeGroup, callback) {
+ let postBody = storeGroup;
+ // verify the required parameter 'appNameId' is set
+ if (appNameId === undefined || appNameId === null) {
+ throw new Error("Missing the required parameter 'appNameId' when calling createStoreGroup");
+ }
+ // verify the required parameter 'storeGroup' is set
+ if (storeGroup === undefined || storeGroup === null) {
+ throw new Error("Missing the required parameter 'storeGroup' when calling createStoreGroup");
+ }
+
+ let pathParams = {
+ 'appNameId': appNameId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStoreGroup;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appNameId}/storegroups', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreGroup operation.
+ * @callback module:api/StoreGroupsApi~getStoreGroupCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStoreGroup} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeGroupId
+ * @param {module:api/StoreGroupsApi~getStoreGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStoreGroup}
+ */
+ getStoreGroup(storeGroupId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling getStoreGroup");
+ }
+
+ let pathParams = {
+ 'storeGroupId': storeGroupId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStoreGroup;
+ return this.apiClient.callApi(
+ '/api/v1.0/storegroups/{storeGroupId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreGroups operation.
+ * @callback module:api/StoreGroupsApi~getStoreGroupsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultStoreGroup} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appNameId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchQuery
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/StoreGroupsApi~getStoreGroupsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultStoreGroup}
+ */
+ getStoreGroups(appNameId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appNameId' is set
+ if (appNameId === undefined || appNameId === null) {
+ throw new Error("Missing the required parameter 'appNameId' when calling getStoreGroups");
+ }
+
+ let pathParams = {
+ 'appNameId': appNameId
+ };
+ let queryParams = {
+ 'searchQuery': opts['searchQuery'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultStoreGroup;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appNameId}/storegroups', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreGroupsExtended operation.
+ * @callback module:api/StoreGroupsApi~getStoreGroupsExtendedCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultStoreGroupExtended} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appNameId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchQuery
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Number} opts.groupingRadius
+ * @param {module:api/StoreGroupsApi~getStoreGroupsExtendedCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultStoreGroupExtended}
+ */
+ getStoreGroupsExtended(appNameId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appNameId' is set
+ if (appNameId === undefined || appNameId === null) {
+ throw new Error("Missing the required parameter 'appNameId' when calling getStoreGroupsExtended");
+ }
+
+ let pathParams = {
+ 'appNameId': appNameId
+ };
+ let queryParams = {
+ 'searchQuery': opts['searchQuery'],
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'groupingRadius': opts['groupingRadius']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultStoreGroupExtended;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appNameId}/storegroups/extended', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the removeStoreGroup operation.
+ * @callback module:api/StoreGroupsApi~removeStoreGroupCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeGroupId
+ * @param {module:api/StoreGroupsApi~removeStoreGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ removeStoreGroup(storeGroupId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling removeStoreGroup");
+ }
+
+ let pathParams = {
+ 'storeGroupId': storeGroupId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/storegroups/{storeGroupId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setCustomerMessages operation.
+ * @callback module:api/StoreGroupsApi~setCustomerMessagesCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeGroupId
+ * @param {module:model/CustomerMessages} customerMessages
+ * @param {module:api/StoreGroupsApi~setCustomerMessagesCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setCustomerMessages(storeGroupId, customerMessages, callback) {
+ let postBody = customerMessages;
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling setCustomerMessages");
+ }
+ // verify the required parameter 'customerMessages' is set
+ if (customerMessages === undefined || customerMessages === null) {
+ throw new Error("Missing the required parameter 'customerMessages' when calling setCustomerMessages");
+ }
+
+ let pathParams = {
+ 'storeGroupId': storeGroupId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/storegroups/{storeGroupId}/CustomerMessages', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStoreGroup operation.
+ * @callback module:api/StoreGroupsApi~updateStoreGroupCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStoreGroupBase} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeGroupId
+ * @param {module:model/StoreGroupBase} storeGroup
+ * @param {module:api/StoreGroupsApi~updateStoreGroupCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStoreGroupBase}
+ */
+ updateStoreGroup(storeGroupId, storeGroup, callback) {
+ let postBody = storeGroup;
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling updateStoreGroup");
+ }
+ // verify the required parameter 'storeGroup' is set
+ if (storeGroup === undefined || storeGroup === null) {
+ throw new Error("Missing the required parameter 'storeGroup' when calling updateStoreGroup");
+ }
+
+ let pathParams = {
+ 'storeGroupId': storeGroupId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStoreGroupBase;
+ return this.apiClient.callApi(
+ '/api/v1.0/storegroups/{storeGroupId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/StoreOrderCapacityApi.js b/src/api/StoreOrderCapacityApi.js
new file mode 100644
index 00000000..9f5a285b
--- /dev/null
+++ b/src/api/StoreOrderCapacityApi.js
@@ -0,0 +1,152 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultStoreOrderCapacityConfig from '../model/RestApiResultStoreOrderCapacityConfig';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import StoreOrderCapacityConfigEditModel from '../model/StoreOrderCapacityConfigEditModel';
+
+/**
+* StoreOrderCapacity service.
+* @module api/StoreOrderCapacityApi
+* @version 1.0.0
+*/
+export default class StoreOrderCapacityApi {
+
+ /**
+ * Constructs a new StoreOrderCapacityApi.
+ * @alias module:api/StoreOrderCapacityApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getStoreOrderCapacity operation.
+ * @callback module:api/StoreOrderCapacityApi~getStoreOrderCapacityCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStoreOrderCapacityConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {module:api/StoreOrderCapacityApi~getStoreOrderCapacityCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStoreOrderCapacityConfig}
+ */
+ getStoreOrderCapacity(appId, storeId, deliveryType, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoreOrderCapacity");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreOrderCapacity");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling getStoreOrderCapacity");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStoreOrderCapacityConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/storeordercapacity/{storeId}/{deliveryType}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStoreOrderCapacityConfig operation.
+ * @callback module:api/StoreOrderCapacityApi~updateStoreOrderCapacityConfigCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {String} appId
+ * @param {module:model/StoreOrderCapacityConfigEditModel} newOrderCapacityConfig
+ * @param {module:api/StoreOrderCapacityApi~updateStoreOrderCapacityConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateStoreOrderCapacityConfig(storeId, deliveryType, appId, newOrderCapacityConfig, callback) {
+ let postBody = newOrderCapacityConfig;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateStoreOrderCapacityConfig");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling updateStoreOrderCapacityConfig");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateStoreOrderCapacityConfig");
+ }
+ // verify the required parameter 'newOrderCapacityConfig' is set
+ if (newOrderCapacityConfig === undefined || newOrderCapacityConfig === null) {
+ throw new Error("Missing the required parameter 'newOrderCapacityConfig' when calling updateStoreOrderCapacityConfig");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'appId': appId
+ };
+ let queryParams = {
+ 'deliveryType': deliveryType
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/storeordercapacity/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/StoresApi.js b/src/api/StoresApi.js
new file mode 100644
index 00000000..2023a906
--- /dev/null
+++ b/src/api/StoresApi.js
@@ -0,0 +1,1962 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import BusinessHoursOverrideBase from '../model/BusinessHoursOverrideBase';
+import BusinessHoursPeriodBase from '../model/BusinessHoursPeriodBase';
+import Coordinates from '../model/Coordinates';
+import LeadTime from '../model/LeadTime';
+import PreOrderConfig from '../model/PreOrderConfig';
+import RestApiArrayResultBusinessHoursPeriod from '../model/RestApiArrayResultBusinessHoursPeriod';
+import RestApiArrayResultPreOrderTime from '../model/RestApiArrayResultPreOrderTime';
+import RestApiArrayResultProcessingFeeConfig from '../model/RestApiArrayResultProcessingFeeConfig';
+import RestApiArrayResultRestApiDefaultResponse from '../model/RestApiArrayResultRestApiDefaultResponse';
+import RestApiArrayResultStoreDeliveryZoneFeeConfig from '../model/RestApiArrayResultStoreDeliveryZoneFeeConfig';
+import RestApiArrayResultStoreStatistics from '../model/RestApiArrayResultStoreStatistics';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultBusinessHoursOverride from '../model/RestApiPaginationResultBusinessHoursOverride';
+import RestApiPaginationResultStore from '../model/RestApiPaginationResultStore';
+import RestApiPaginationResultStoreHeader from '../model/RestApiPaginationResultStoreHeader';
+import RestApiPaginationResultStoreValidationConfig from '../model/RestApiPaginationResultStoreValidationConfig';
+import RestApiResultAssignedBankAccount from '../model/RestApiResultAssignedBankAccount';
+import RestApiResultBusinessHoursOverride from '../model/RestApiResultBusinessHoursOverride';
+import RestApiResultBusinessHoursPeriod from '../model/RestApiResultBusinessHoursPeriod';
+import RestApiResultCoordinates from '../model/RestApiResultCoordinates';
+import RestApiResultOrderLeadTimes from '../model/RestApiResultOrderLeadTimes';
+import RestApiResultPreOrderConfig from '../model/RestApiResultPreOrderConfig';
+import RestApiResultProcessingFeeConfig from '../model/RestApiResultProcessingFeeConfig';
+import RestApiResultRestApiDefaultResponse from '../model/RestApiResultRestApiDefaultResponse';
+import RestApiResultServiceCharge from '../model/RestApiResultServiceCharge';
+import RestApiResultStore from '../model/RestApiResultStore';
+import RestApiResultStoreAddress from '../model/RestApiResultStoreAddress';
+import RestApiResultStoreEndOfDayReport from '../model/RestApiResultStoreEndOfDayReport';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import ServiceCharge from '../model/ServiceCharge';
+import StoreAddressBase from '../model/StoreAddressBase';
+import StoreAddressForm from '../model/StoreAddressForm';
+import StoreBase from '../model/StoreBase';
+import StoreCloneSettings from '../model/StoreCloneSettings';
+import StoreCollectionSettings from '../model/StoreCollectionSettings';
+import StoreCreateBase from '../model/StoreCreateBase';
+import StoreDeliveryZoneFeeConfigUpdateRequest from '../model/StoreDeliveryZoneFeeConfigUpdateRequest';
+import StoreFeeConfig from '../model/StoreFeeConfig';
+
+/**
+* Stores service.
+* @module api/StoresApi
+* @version 1.0.0
+*/
+export default class StoresApi {
+
+ /**
+ * Constructs a new StoresApi.
+ * @alias module:api/StoresApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the archiveStore operation.
+ * @callback module:api/StoresApi~archiveStoreCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~archiveStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ archiveStore(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling archiveStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/archive', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the assignMenu operation.
+ * @callback module:api/StoresApi~assignMenuCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Number} menuId
+ * @param {module:api/StoresApi~assignMenuCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestApiDefaultResponse}
+ */
+ assignMenu(storeId, menuId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling assignMenu");
+ }
+ // verify the required parameter 'menuId' is set
+ if (menuId === undefined || menuId === null) {
+ throw new Error("Missing the required parameter 'menuId' when calling assignMenu");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'menuId': menuId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultRestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/menu/{menuId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the cloneStore operation.
+ * @callback module:api/StoresApi~cloneStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StoreCloneSettings} settings
+ * @param {module:api/StoresApi~cloneStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStore}
+ */
+ cloneStore(storeId, settings, callback) {
+ let postBody = settings;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling cloneStore");
+ }
+ // verify the required parameter 'settings' is set
+ if (settings === undefined || settings === null) {
+ throw new Error("Missing the required parameter 'settings' when calling cloneStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/clone', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the configureStoreServiceCharge operation.
+ * @callback module:api/StoresApi~configureStoreServiceChargeCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultServiceCharge} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/ServiceCharge} serviceCharge
+ * @param {module:api/StoresApi~configureStoreServiceChargeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultServiceCharge}
+ */
+ configureStoreServiceCharge(storeId, serviceCharge, callback) {
+ let postBody = serviceCharge;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling configureStoreServiceCharge");
+ }
+ // verify the required parameter 'serviceCharge' is set
+ if (serviceCharge === undefined || serviceCharge === null) {
+ throw new Error("Missing the required parameter 'serviceCharge' when calling configureStoreServiceCharge");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultServiceCharge;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/servicecharge', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createBusinessHoursOverrideByStoreId operation.
+ * @callback module:api/StoresApi~createBusinessHoursOverrideByStoreIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBusinessHoursOverride} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/BusinessHoursOverrideBase} businessHoursOverride
+ * @param {module:api/StoresApi~createBusinessHoursOverrideByStoreIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBusinessHoursOverride}
+ */
+ createBusinessHoursOverrideByStoreId(storeId, businessHoursOverride, callback) {
+ let postBody = businessHoursOverride;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling createBusinessHoursOverrideByStoreId");
+ }
+ // verify the required parameter 'businessHoursOverride' is set
+ if (businessHoursOverride === undefined || businessHoursOverride === null) {
+ throw new Error("Missing the required parameter 'businessHoursOverride' when calling createBusinessHoursOverrideByStoreId");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBusinessHoursOverride;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/businesshoursoverrides', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createStore operation.
+ * @callback module:api/StoresApi~createStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeGroupId
+ * @param {module:model/StoreCreateBase} store
+ * @param {module:api/StoresApi~createStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStore}
+ */
+ createStore(storeGroupId, store, callback) {
+ let postBody = store;
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling createStore");
+ }
+ // verify the required parameter 'store' is set
+ if (store === undefined || store === null) {
+ throw new Error("Missing the required parameter 'store' when calling createStore");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'storeGroupId': storeGroupId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createStoreInProperty operation.
+ * @callback module:api/StoresApi~createStoreInPropertyCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeGroupId
+ * @param {String} propertyId
+ * @param {module:model/StoreCreateBase} store
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.autoAssignMenu
+ * @param {module:api/StoresApi~createStoreInPropertyCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStore}
+ */
+ createStoreInProperty(storeGroupId, propertyId, store, opts, callback) {
+ opts = opts || {};
+ let postBody = store;
+ // verify the required parameter 'storeGroupId' is set
+ if (storeGroupId === undefined || storeGroupId === null) {
+ throw new Error("Missing the required parameter 'storeGroupId' when calling createStoreInProperty");
+ }
+ // verify the required parameter 'propertyId' is set
+ if (propertyId === undefined || propertyId === null) {
+ throw new Error("Missing the required parameter 'propertyId' when calling createStoreInProperty");
+ }
+ // verify the required parameter 'store' is set
+ if (store === undefined || store === null) {
+ throw new Error("Missing the required parameter 'store' when calling createStoreInProperty");
+ }
+
+ let pathParams = {
+ 'propertyId': propertyId
+ };
+ let queryParams = {
+ 'storeGroupId': storeGroupId,
+ 'autoAssignMenu': opts['autoAssignMenu']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/properties/{propertyId}/stores', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteBusinessHoursOverride operation.
+ * @callback module:api/StoresApi~deleteBusinessHoursOverrideCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Number} businessHoursOverrideId
+ * @param {module:api/StoresApi~deleteBusinessHoursOverrideCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestApiDefaultResponse}
+ */
+ deleteBusinessHoursOverride(storeId, businessHoursOverrideId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling deleteBusinessHoursOverride");
+ }
+ // verify the required parameter 'businessHoursOverrideId' is set
+ if (businessHoursOverrideId === undefined || businessHoursOverrideId === null) {
+ throw new Error("Missing the required parameter 'businessHoursOverrideId' when calling deleteBusinessHoursOverride");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'businessHoursOverrideId': businessHoursOverrideId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultRestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/businesshoursoverrides/{businessHoursOverrideId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBankAccountForStore operation.
+ * @callback module:api/StoresApi~getBankAccountForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAssignedBankAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~getBankAccountForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAssignedBankAccount}
+ */
+ getBankAccountForStore(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getBankAccountForStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAssignedBankAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/bankaccount', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBusinessHours operation.
+ * @callback module:api/StoresApi~getBusinessHoursCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultBusinessHoursPeriod} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {module:api/StoresApi~getBusinessHoursCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultBusinessHoursPeriod}
+ */
+ getBusinessHours(storeId, deliveryType, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getBusinessHours");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling getBusinessHours");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultBusinessHoursPeriod;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/availability/{deliveryType}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getBusinessHoursOverrideByStoreId operation.
+ * @callback module:api/StoresApi~getBusinessHoursOverrideByStoreIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultBusinessHoursOverride} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Object} opts Optional parameters
+ * @param {Date} opts.after
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/StoresApi~getBusinessHoursOverrideByStoreIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultBusinessHoursOverride}
+ */
+ getBusinessHoursOverrideByStoreId(storeId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getBusinessHoursOverrideByStoreId");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'after': opts['after'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultBusinessHoursOverride;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/businesshoursoverrides', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getEndOfDayReport operation.
+ * @callback module:api/StoresApi~getEndOfDayReportCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStoreEndOfDayReport} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Object} opts Optional parameters
+ * @param {Date} opts.date
+ * @param {module:api/StoresApi~getEndOfDayReportCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStoreEndOfDayReport}
+ */
+ getEndOfDayReport(storeId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getEndOfDayReport");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'date': opts['date']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStoreEndOfDayReport;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/endofdayreport', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPreOrderConfig operation.
+ * @callback module:api/StoresApi~getPreOrderConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultPreOrderConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {module:api/StoresApi~getPreOrderConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultPreOrderConfig}
+ */
+ getPreOrderConfig(storeId, deliveryType, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getPreOrderConfig");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling getPreOrderConfig");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultPreOrderConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPreOrderPreview operation.
+ * @callback module:api/StoresApi~getPreOrderPreviewCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultPreOrderTime} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.preOrderConfig_leadTimeMinutes Lead Time in Minutes
+ * @param {Number} opts.preOrderConfig_intervalMinutes Interval in minutes
+ * @param {Number} opts.preOrderConfig_maxOrderAheadDays Max Days to order ahead
+ * @param {Boolean} opts.preOrderConfig_includeAsap Show ASAP as option
+ * @param {Boolean} opts.preOrderConfig_includeMoreGranularInitialTime Granual Init' Time
+ * @param {String} opts.preOrderConfig_cutOffTimePreviousDayBasic Cut off time previous day
+ * @param {String} opts.preOrderConfig_cutOffTimeCurrentDayBasic Cut off time current day
+ * @param {module:model/String} opts.preOrderConfig_preOrderTimeDisplayType Type of time displayed.
+ * @param {Boolean} opts.preOrderConfig_alwaysAppearOpen Specifies whether a customer can pre-order outside the store opening hours or not.
+ * @param {Boolean} opts.preOrderConfig_requireExplicitSelectAlways Force customer to select collection time.
+ * @param {module:api/StoresApi~getPreOrderPreviewCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultPreOrderTime}
+ */
+ getPreOrderPreview(storeId, deliveryType, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getPreOrderPreview");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling getPreOrderPreview");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ 'preOrderConfig.leadTimeMinutes': opts['preOrderConfig_leadTimeMinutes'],
+ 'preOrderConfig.intervalMinutes': opts['preOrderConfig_intervalMinutes'],
+ 'preOrderConfig.maxOrderAheadDays': opts['preOrderConfig_maxOrderAheadDays'],
+ 'preOrderConfig.includeAsap': opts['preOrderConfig_includeAsap'],
+ 'preOrderConfig.includeMoreGranularInitialTime': opts['preOrderConfig_includeMoreGranularInitialTime'],
+ 'preOrderConfig.cutOffTimePreviousDayBasic': opts['preOrderConfig_cutOffTimePreviousDayBasic'],
+ 'preOrderConfig.cutOffTimeCurrentDayBasic': opts['preOrderConfig_cutOffTimeCurrentDayBasic'],
+ 'preOrderConfig.preOrderTimeDisplayType': opts['preOrderConfig_preOrderTimeDisplayType'],
+ 'preOrderConfig.alwaysAppearOpen': opts['preOrderConfig_alwaysAppearOpen'],
+ 'preOrderConfig.requireExplicitSelectAlways': opts['preOrderConfig_requireExplicitSelectAlways']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultPreOrderTime;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/preview', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getProcessingFeeConfigsByStoreId operation.
+ * @callback module:api/StoresApi~getProcessingFeeConfigsByStoreIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultProcessingFeeConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.appNameId
+ * @param {module:api/StoresApi~getProcessingFeeConfigsByStoreIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultProcessingFeeConfig}
+ */
+ getProcessingFeeConfigsByStoreId(storeId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getProcessingFeeConfigsByStoreId");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'appNameId': opts['appNameId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultProcessingFeeConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/processingfeeconfigs', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getProcessingFeeConfigsByStoreIdAndPaymentAccountType operation.
+ * @callback module:api/StoresApi~getProcessingFeeConfigsByStoreIdAndPaymentAccountTypeCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultProcessingFeeConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} paymentAccountType
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.appNameId
+ * @param {module:api/StoresApi~getProcessingFeeConfigsByStoreIdAndPaymentAccountTypeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultProcessingFeeConfig}
+ */
+ getProcessingFeeConfigsByStoreIdAndPaymentAccountType(storeId, paymentAccountType, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getProcessingFeeConfigsByStoreIdAndPaymentAccountType");
+ }
+ // verify the required parameter 'paymentAccountType' is set
+ if (paymentAccountType === undefined || paymentAccountType === null) {
+ throw new Error("Missing the required parameter 'paymentAccountType' when calling getProcessingFeeConfigsByStoreIdAndPaymentAccountType");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'paymentAccountType': paymentAccountType
+ };
+ let queryParams = {
+ 'appNameId': opts['appNameId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultProcessingFeeConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/processingfeeconfigs/{paymentAccountType}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreById operation.
+ * @callback module:api/StoresApi~getStoreByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~getStoreByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStore}
+ */
+ getStoreById(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreById");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreDeliveryFeeConfig operation.
+ * @callback module:api/StoresApi~getStoreDeliveryFeeConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultStoreDeliveryZoneFeeConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~getStoreDeliveryFeeConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultStoreDeliveryZoneFeeConfig}
+ */
+ getStoreDeliveryFeeConfig(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreDeliveryFeeConfig");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultStoreDeliveryZoneFeeConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/feeConfig/deliveryZones', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreFeeConfig operation.
+ * @callback module:api/StoresApi~getStoreFeeConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/StoreFeeConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~getStoreFeeConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/StoreFeeConfig}
+ */
+ getStoreFeeConfig(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreFeeConfig");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'FeeConfigId', 'StoreId', 'StartTime', 'PercentFeeCardOrders', 'PercentFeeCashOrders', 'PercentFeeCardOrdersWeb', 'PercentFeeCashOrdersWeb', 'PercentFeeCardOrdersKiosk', 'PercentFeeCashOrdersKiosk', 'FixedFeeCardOrdersKiosk', 'FixedFeeCashOrdersKiosk', 'PercentFeeCardOrdersKioskChargedToCustomerIncludingVat', 'FixedFeeCardOrdersKioskChargedToCustomerIncludingVat', 'PercentFeeCashOrdersKioskChargedToCustomerIncludingVat', 'FixedFeeCashOrdersKioskChargedToCustomerIncludingVat', 'FixedFeeCardOrders', 'FixedFeeCashOrders', 'PercentFeeCardOrdersChargedToCustomerIncludingVat', 'FixedFeeCardOrdersChargedToCustomerIncludingVat', 'PercentFeeCashOrdersChargedToCustomerIncludingVat', 'FixedFeeCashOrdersChargedToCustomerIncludingVat', 'PercentFeeTips', 'PercentFeeTipsCollection', 'PercentFeeTipsDelivery', 'TaxRatePercent', 'PercentFeeCardOrdersLocationService', 'PercentFeeCashOrdersLocationService', 'FixedFeeCardOrdersLocationService', 'FixedFeeCashOrdersLocationService', 'PercentFeeCardOrdersLocationServiceChargedToCustomerIncludingVat', 'PercentFeeCashOrdersLocationServiceChargedToCustomerIncludingVat', 'FixedFeeCardOrdersLocationServiceChargedToCustomerIncludingVat', 'FixedFeeCashOrdersLocationServiceChargedToCustomerIncludingVat', 'PercentFeeDelivery', 'FixedFeeDelivery', 'PercentFeeCardPosTransaction', 'FixedFeeCardPosTransaction', 'PercentFeeOrderWithGoogle', 'FixedFeeOrderWithGoogle'];
+ let returnType = StoreFeeConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/feeConfig', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreHeadersByAppId operation.
+ * @callback module:api/StoresApi~getStoreHeadersByAppIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultStoreHeader} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.storeNameQuery
+ * @param {module:model/String} opts.salesChannelType
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/StoresApi~getStoreHeadersByAppIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultStoreHeader}
+ */
+ getStoreHeadersByAppId(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoreHeadersByAppId");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeNameQuery': opts['storeNameQuery'],
+ 'salesChannelType': opts['salesChannelType'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultStoreHeader;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/header', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreLeadTimes operation.
+ * @callback module:api/StoresApi~getStoreLeadTimesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderLeadTimes} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~getStoreLeadTimesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderLeadTimes}
+ */
+ getStoreLeadTimes(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreLeadTimes");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultOrderLeadTimes;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/leadTimes', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreNetSales operation.
+ * @callback module:api/StoresApi~getStoreNetSalesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultStoreStatistics} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Array.} storeId
+ * @param {module:api/StoresApi~getStoreNetSalesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultStoreStatistics}
+ */
+ getStoreNetSales(appId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoreNetSales");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreNetSales");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': this.apiClient.buildCollectionParam(storeId, 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultStoreStatistics;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores/stats', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoreServiceCharge operation.
+ * @callback module:api/StoresApi~getStoreServiceChargeCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ServiceCharge} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~getStoreServiceChargeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ServiceCharge}
+ */
+ getStoreServiceCharge(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoreServiceCharge");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'StoreId', 'PercentageValue', 'Enabled', 'IsOptional', 'DisplayWithProcessingFee', 'IncludesVouchers'];
+ let returnType = ServiceCharge;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/servicecharge', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStores operation.
+ * @callback module:api/StoresApi~getStoresCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchQuery
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {Number} opts.storeGroupId
+ * @param {module:api/StoresApi~getStoresCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultStore}
+ */
+ getStores(opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'searchQuery': opts['searchQuery'],
+ 'page': opts['page'],
+ 'limit': opts['limit'],
+ 'storeGroupId': opts['storeGroupId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoresByAppId operation.
+ * @callback module:api/StoresApi~getStoresByAppIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.searchQuery
+ * @param {module:model/String} opts.salesChannelType
+ * @param {Boolean} opts.excludeUnpublished
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/StoresApi~getStoresByAppIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultStore}
+ */
+ getStoresByAppId(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoresByAppId");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'searchQuery': opts['searchQuery'],
+ 'salesChannelType': opts['salesChannelType'],
+ 'excludeUnpublished': opts['excludeUnpublished'],
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/stores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getStoresByStoreIdWithValidations operation.
+ * @callback module:api/StoresApi~getStoresByStoreIdWithValidationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultStoreValidationConfig} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Array.} storeId
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/StoresApi~getStoresByStoreIdWithValidationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultStoreValidationConfig}
+ */
+ getStoresByStoreIdWithValidations(storeId, appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getStoresByStoreIdWithValidations");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getStoresByStoreIdWithValidations");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'storeId': this.apiClient.buildCollectionParam(storeId, 'multi'),
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiPaginationResultStoreValidationConfig;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/storevalidation/kiosk', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the publishStore operation.
+ * @callback module:api/StoresApi~publishStoreCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~publishStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ publishStore(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling publishStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/publish', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the putStoreDeliveryFeeConfig operation.
+ * @callback module:api/StoresApi~putStoreDeliveryFeeConfigCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StoreDeliveryZoneFeeConfigUpdateRequest} feeConfigUpdateRequest
+ * @param {module:api/StoresApi~putStoreDeliveryFeeConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ putStoreDeliveryFeeConfig(storeId, feeConfigUpdateRequest, callback) {
+ let postBody = feeConfigUpdateRequest;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling putStoreDeliveryFeeConfig");
+ }
+ // verify the required parameter 'feeConfigUpdateRequest' is set
+ if (feeConfigUpdateRequest === undefined || feeConfigUpdateRequest === null) {
+ throw new Error("Missing the required parameter 'feeConfigUpdateRequest' when calling putStoreDeliveryFeeConfig");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Message', 'ErrorCode', 'StackTrace', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/feeConfig/deliveryZones', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setBusinessHours operation.
+ * @callback module:api/StoresApi~setBusinessHoursCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBusinessHoursPeriod} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {module:model/BusinessHoursPeriodBase} businessHoursPeriod
+ * @param {module:api/StoresApi~setBusinessHoursCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBusinessHoursPeriod}
+ */
+ setBusinessHours(storeId, deliveryType, businessHoursPeriod, callback) {
+ let postBody = businessHoursPeriod;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling setBusinessHours");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling setBusinessHours");
+ }
+ // verify the required parameter 'businessHoursPeriod' is set
+ if (businessHoursPeriod === undefined || businessHoursPeriod === null) {
+ throw new Error("Missing the required parameter 'businessHoursPeriod' when calling setBusinessHours");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBusinessHoursPeriod;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/availability/{deliveryType}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setPreOrdeEnabled operation.
+ * @callback module:api/StoresApi~setPreOrdeEnabledCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {Boolean} enabled
+ * @param {module:api/StoresApi~setPreOrdeEnabledCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestApiDefaultResponse}
+ */
+ setPreOrdeEnabled(storeId, deliveryType, enabled, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling setPreOrdeEnabled");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling setPreOrdeEnabled");
+ }
+ // verify the required parameter 'enabled' is set
+ if (enabled === undefined || enabled === null) {
+ throw new Error("Missing the required parameter 'enabled' when calling setPreOrdeEnabled");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ 'enabled': enabled
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultRestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}/enabled', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setStoreCollectionSettings operation.
+ * @callback module:api/StoresApi~setStoreCollectionSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StoreCollectionSettings} settings
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.inheritFromProperty
+ * @param {module:api/StoresApi~setStoreCollectionSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRestApiDefaultResponse}
+ */
+ setStoreCollectionSettings(storeId, settings, opts, callback) {
+ opts = opts || {};
+ let postBody = settings;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling setStoreCollectionSettings");
+ }
+ // verify the required parameter 'settings' is set
+ if (settings === undefined || settings === null) {
+ throw new Error("Missing the required parameter 'settings' when calling setStoreCollectionSettings");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'inheritFromProperty': opts['inheritFromProperty']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultRestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/collectionsettings', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setStoreLeadTimes operation.
+ * @callback module:api/StoresApi~setStoreLeadTimesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultOrderLeadTimes} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/LeadTime} leadTime
+ * @param {module:api/StoresApi~setStoreLeadTimesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultOrderLeadTimes}
+ */
+ setStoreLeadTimes(storeId, leadTime, callback) {
+ let postBody = leadTime;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling setStoreLeadTimes");
+ }
+ // verify the required parameter 'leadTime' is set
+ if (leadTime === undefined || leadTime === null) {
+ throw new Error("Missing the required parameter 'leadTime' when calling setStoreLeadTimes");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultOrderLeadTimes;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/leadTimes', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the storesSetPropertyId operation.
+ * @callback module:api/StoresApi~storesSetPropertyIdCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {String} propertyId
+ * @param {module:api/StoresApi~storesSetPropertyIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ storesSetPropertyId(storeId, propertyId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling storesSetPropertyId");
+ }
+ // verify the required parameter 'propertyId' is set
+ if (propertyId === undefined || propertyId === null) {
+ throw new Error("Missing the required parameter 'propertyId' when calling storesSetPropertyId");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'propertyId': propertyId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/propertyId/{propertyId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the supportedSalesChannelsTypes operation.
+ * @callback module:api/StoresApi~supportedSalesChannelsTypesCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} propertyId
+ * @param {Number} storeId
+ * @param {Array.} salesChannelTypes
+ * @param {module:api/StoresApi~supportedSalesChannelsTypesCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ supportedSalesChannelsTypes(propertyId, storeId, salesChannelTypes, callback) {
+ let postBody = salesChannelTypes;
+ // verify the required parameter 'propertyId' is set
+ if (propertyId === undefined || propertyId === null) {
+ throw new Error("Missing the required parameter 'propertyId' when calling supportedSalesChannelsTypes");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling supportedSalesChannelsTypes");
+ }
+ // verify the required parameter 'salesChannelTypes' is set
+ if (salesChannelTypes === undefined || salesChannelTypes === null) {
+ throw new Error("Missing the required parameter 'salesChannelTypes' when calling supportedSalesChannelsTypes");
+ }
+
+ let pathParams = {
+ 'propertyId': propertyId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/properties/{propertyId}/stores/{storeId}/supportedSalesChannels', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unpublishStore operation.
+ * @callback module:api/StoresApi~unpublishStoreCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StoresApi~unpublishStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ unpublishStore(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling unpublishStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/unpublish', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updatePreOrderConfig operation.
+ * @callback module:api/StoresApi~updatePreOrderConfigCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/String} deliveryType
+ * @param {module:model/PreOrderConfig} preOrderConfig
+ * @param {module:api/StoresApi~updatePreOrderConfigCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRestApiDefaultResponse}
+ */
+ updatePreOrderConfig(storeId, deliveryType, preOrderConfig, callback) {
+ let postBody = preOrderConfig;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updatePreOrderConfig");
+ }
+ // verify the required parameter 'deliveryType' is set
+ if (deliveryType === undefined || deliveryType === null) {
+ throw new Error("Missing the required parameter 'deliveryType' when calling updatePreOrderConfig");
+ }
+ // verify the required parameter 'preOrderConfig' is set
+ if (preOrderConfig === undefined || preOrderConfig === null) {
+ throw new Error("Missing the required parameter 'preOrderConfig' when calling updatePreOrderConfig");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'deliveryType': deliveryType
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = RestApiArrayResultRestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/preorderconfig/{deliveryType}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStore operation.
+ * @callback module:api/StoresApi~updateStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStore} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StoreBase} store
+ * @param {module:api/StoresApi~updateStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStore}
+ */
+ updateStore(storeId, store, callback) {
+ let postBody = store;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateStore");
+ }
+ // verify the required parameter 'store' is set
+ if (store === undefined || store === null) {
+ throw new Error("Missing the required parameter 'store' when calling updateStore");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStore;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStoreAddress operation.
+ * @callback module:api/StoresApi~updateStoreAddressCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStoreAddress} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StoreAddressBase} storeAddress
+ * @param {module:api/StoresApi~updateStoreAddressCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStoreAddress}
+ */
+ updateStoreAddress(storeId, storeAddress, callback) {
+ let postBody = storeAddress;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateStoreAddress");
+ }
+ // verify the required parameter 'storeAddress' is set
+ if (storeAddress === undefined || storeAddress === null) {
+ throw new Error("Missing the required parameter 'storeAddress' when calling updateStoreAddress");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStoreAddress;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/address', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStoreAddressCoordinates operation.
+ * @callback module:api/StoresApi~updateStoreAddressCoordinatesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultCoordinates} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/Coordinates} coordinates
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.appNameId
+ * @param {module:api/StoresApi~updateStoreAddressCoordinatesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultCoordinates}
+ */
+ updateStoreAddressCoordinates(storeId, coordinates, opts, callback) {
+ opts = opts || {};
+ let postBody = coordinates;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateStoreAddressCoordinates");
+ }
+ // verify the required parameter 'coordinates' is set
+ if (coordinates === undefined || coordinates === null) {
+ throw new Error("Missing the required parameter 'coordinates' when calling updateStoreAddressCoordinates");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ 'appNameId': opts['appNameId']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultCoordinates;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/address/coordinates', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateStoreAddressForm operation.
+ * @callback module:api/StoresApi~updateStoreAddressFormCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StoreAddressForm} address
+ * @param {module:api/StoresApi~updateStoreAddressFormCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ updateStoreAddressForm(storeId, address, callback) {
+ let postBody = address;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling updateStoreAddressForm");
+ }
+ // verify the required parameter 'address' is set
+ if (address === undefined || address === null) {
+ throw new Error("Missing the required parameter 'address' when calling updateStoreAddressForm");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/addressform', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/StripeCustomConnectApi.js b/src/api/StripeCustomConnectApi.js
new file mode 100644
index 00000000..50a089ad
--- /dev/null
+++ b/src/api/StripeCustomConnectApi.js
@@ -0,0 +1,490 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import BankAccountCreate from '../model/BankAccountCreate';
+import BankAccountDetailsUpdateRequest from '../model/BankAccountDetailsUpdateRequest';
+import RestApiArrayResultStripeCustomConnectedAccount from '../model/RestApiArrayResultStripeCustomConnectedAccount';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultBankAccountDetail from '../model/RestApiResultBankAccountDetail';
+import RestApiResultModelBase from '../model/RestApiResultModelBase';
+import RestApiResultStripeConnectedAccount from '../model/RestApiResultStripeConnectedAccount';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import StripeAccountLinkRequest from '../model/StripeAccountLinkRequest';
+
+/**
+* StripeCustomConnect service.
+* @module api/StripeCustomConnectApi
+* @version 1.0.0
+*/
+export default class StripeCustomConnectApi {
+
+ /**
+ * Constructs a new StripeCustomConnectApi.
+ * @alias module:api/StripeCustomConnectApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createBankAccountAndConnectedAccount operation.
+ * @callback module:api/StripeCustomConnectApi~createBankAccountAndConnectedAccountCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBankAccountDetail} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/BankAccountCreate} account
+ * @param {module:api/StripeCustomConnectApi~createBankAccountAndConnectedAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBankAccountDetail}
+ */
+ createBankAccountAndConnectedAccount(appId, account, callback) {
+ let postBody = account;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createBankAccountAndConnectedAccount");
+ }
+ // verify the required parameter 'account' is set
+ if (account === undefined || account === null) {
+ throw new Error("Missing the required parameter 'account' when calling createBankAccountAndConnectedAccount");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBankAccountDetail;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/bank-account', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createStripeConnectedAccount operation.
+ * @callback module:api/StripeCustomConnectApi~createStripeConnectedAccountCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStripeConnectedAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {module:api/StripeCustomConnectApi~createStripeConnectedAccountCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStripeConnectedAccount}
+ */
+ createStripeConnectedAccount(appId, bankAccountId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createStripeConnectedAccount");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling createStripeConnectedAccount");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStripeConnectedAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/{bankAccountId}/create-update-account', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createStripeConnectedAccountLink operation.
+ * @callback module:api/StripeCustomConnectApi~createStripeConnectedAccountLinkCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStripeConnectedAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} stripeConnectedAccountId
+ * @param {module:model/StripeAccountLinkRequest} stripeAccountLinkRequest
+ * @param {module:api/StripeCustomConnectApi~createStripeConnectedAccountLinkCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStripeConnectedAccount}
+ */
+ createStripeConnectedAccountLink(appId, stripeConnectedAccountId, stripeAccountLinkRequest, callback) {
+ let postBody = stripeAccountLinkRequest;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createStripeConnectedAccountLink");
+ }
+ // verify the required parameter 'stripeConnectedAccountId' is set
+ if (stripeConnectedAccountId === undefined || stripeConnectedAccountId === null) {
+ throw new Error("Missing the required parameter 'stripeConnectedAccountId' when calling createStripeConnectedAccountLink");
+ }
+ // verify the required parameter 'stripeAccountLinkRequest' is set
+ if (stripeAccountLinkRequest === undefined || stripeAccountLinkRequest === null) {
+ throw new Error("Missing the required parameter 'stripeAccountLinkRequest' when calling createStripeConnectedAccountLink");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'stripeConnectedAccountId': stripeConnectedAccountId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStripeConnectedAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/{stripeConnectedAccountId}/create-account-link', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getCustomConnect operation.
+ * @callback module:api/StripeCustomConnectApi~getCustomConnectCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultStripeCustomConnectedAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {String} appId
+ * @param {module:api/StripeCustomConnectApi~getCustomConnectCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultStripeCustomConnectedAccount}
+ */
+ getCustomConnect(storeId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getCustomConnect");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getCustomConnect");
+ }
+
+ let pathParams = {
+ 'storeId': storeId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultStripeCustomConnectedAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getVerificationStatus operation.
+ * @callback module:api/StripeCustomConnectApi~getVerificationStatusCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStripeConnectedAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} stripeConnectedAccountId
+ * @param {module:api/StripeCustomConnectApi~getVerificationStatusCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStripeConnectedAccount}
+ */
+ getVerificationStatus(appId, stripeConnectedAccountId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getVerificationStatus");
+ }
+ // verify the required parameter 'stripeConnectedAccountId' is set
+ if (stripeConnectedAccountId === undefined || stripeConnectedAccountId === null) {
+ throw new Error("Missing the required parameter 'stripeConnectedAccountId' when calling getVerificationStatus");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'stripeConnectedAccountId': stripeConnectedAccountId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStripeConnectedAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/verification-status', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setBankAccountBusinessType operation.
+ * @callback module:api/StripeCustomConnectApi~setBankAccountBusinessTypeCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultBankAccountDetail} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {String} businessType
+ * @param {module:api/StripeCustomConnectApi~setBankAccountBusinessTypeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultBankAccountDetail}
+ */
+ setBankAccountBusinessType(appId, bankAccountId, businessType, callback) {
+ let postBody = businessType;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setBankAccountBusinessType");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling setBankAccountBusinessType");
+ }
+ // verify the required parameter 'businessType' is set
+ if (businessType === undefined || businessType === null) {
+ throw new Error("Missing the required parameter 'businessType' when calling setBankAccountBusinessType");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultBankAccountDetail;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/bank-account/{bankAccountId}/businesstype', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the stripeCustomConnectRefresh operation.
+ * @callback module:api/StripeCustomConnectApi~stripeCustomConnectRefreshCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} linkRequestId
+ * @param {String} appId
+ * @param {module:api/StripeCustomConnectApi~stripeCustomConnectRefreshCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ stripeCustomConnectRefresh(linkRequestId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'linkRequestId' is set
+ if (linkRequestId === undefined || linkRequestId === null) {
+ throw new Error("Missing the required parameter 'linkRequestId' when calling stripeCustomConnectRefresh");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling stripeCustomConnectRefresh");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'linkRequestId': linkRequestId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/refresh-link', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateBankAccountDetails operation.
+ * @callback module:api/StripeCustomConnectApi~updateBankAccountDetailsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStripeConnectedAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} bankAccountId
+ * @param {module:model/BankAccountDetailsUpdateRequest} updateRequest
+ * @param {module:api/StripeCustomConnectApi~updateBankAccountDetailsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStripeConnectedAccount}
+ */
+ updateBankAccountDetails(appId, bankAccountId, updateRequest, callback) {
+ let postBody = updateRequest;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateBankAccountDetails");
+ }
+ // verify the required parameter 'bankAccountId' is set
+ if (bankAccountId === undefined || bankAccountId === null) {
+ throw new Error("Missing the required parameter 'bankAccountId' when calling updateBankAccountDetails");
+ }
+ // verify the required parameter 'updateRequest' is set
+ if (updateRequest === undefined || updateRequest === null) {
+ throw new Error("Missing the required parameter 'updateRequest' when calling updateBankAccountDetails");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'bankAccountId': bankAccountId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStripeConnectedAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/{bankAccountId}/update-bank-account-details', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updatePayoutSchedule operation.
+ * @callback module:api/StripeCustomConnectApi~updatePayoutScheduleCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultModelBase} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} stripeConnectedAccountId
+ * @param {String} interval
+ * @param {module:api/StripeCustomConnectApi~updatePayoutScheduleCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultModelBase}
+ */
+ updatePayoutSchedule(appId, stripeConnectedAccountId, interval, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updatePayoutSchedule");
+ }
+ // verify the required parameter 'stripeConnectedAccountId' is set
+ if (stripeConnectedAccountId === undefined || stripeConnectedAccountId === null) {
+ throw new Error("Missing the required parameter 'stripeConnectedAccountId' when calling updatePayoutSchedule");
+ }
+ // verify the required parameter 'interval' is set
+ if (interval === undefined || interval === null) {
+ throw new Error("Missing the required parameter 'interval' when calling updatePayoutSchedule");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'stripeConnectedAccountId': stripeConnectedAccountId,
+ 'interval': interval
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultModelBase;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/customconnect/update-payout-schedule/{stripeConnectedAccountId}/{interval}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/StuartApi.js b/src/api/StuartApi.js
new file mode 100644
index 00000000..17f92359
--- /dev/null
+++ b/src/api/StuartApi.js
@@ -0,0 +1,224 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultJobResponse from '../model/RestApiResultJobResponse';
+import RestApiResultStuartSettings from '../model/RestApiResultStuartSettings';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import StuartSettings from '../model/StuartSettings';
+
+/**
+* Stuart service.
+* @module api/StuartApi
+* @version 1.0.0
+*/
+export default class StuartApi {
+
+ /**
+ * Constructs a new StuartApi.
+ * @alias module:api/StuartApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the stuartCancelJob operation.
+ * @callback module:api/StuartApi~stuartCancelJobCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} jobId
+ * @param {Number} storeId
+ * @param {module:api/StuartApi~stuartCancelJobCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ stuartCancelJob(jobId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'jobId' is set
+ if (jobId === undefined || jobId === null) {
+ throw new Error("Missing the required parameter 'jobId' when calling stuartCancelJob");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling stuartCancelJob");
+ }
+
+ let pathParams = {
+ 'jobId': jobId
+ };
+ let queryParams = {
+ 'storeId': storeId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/stuart/jobs/{jobId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the stuartGetJob operation.
+ * @callback module:api/StuartApi~stuartGetJobCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultJobResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} jobId
+ * @param {Number} storeId
+ * @param {module:api/StuartApi~stuartGetJobCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultJobResponse}
+ */
+ stuartGetJob(jobId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'jobId' is set
+ if (jobId === undefined || jobId === null) {
+ throw new Error("Missing the required parameter 'jobId' when calling stuartGetJob");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling stuartGetJob");
+ }
+
+ let pathParams = {
+ 'jobId': jobId
+ };
+ let queryParams = {
+ 'storeId': storeId
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultJobResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/stuart/jobs/{jobId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the stuartGetStuartSettings operation.
+ * @callback module:api/StuartApi~stuartGetStuartSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultStuartSettings} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/StuartApi~stuartGetStuartSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultStuartSettings}
+ */
+ stuartGetStuartSettings(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling stuartGetStuartSettings");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultStuartSettings;
+ return this.apiClient.callApi(
+ '/api/v1.0/stuart/settings/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the stuartPostStuartSettings operation.
+ * @callback module:api/StuartApi~stuartPostStuartSettingsCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/StuartSettings} stuartSettings
+ * @param {module:api/StuartApi~stuartPostStuartSettingsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ stuartPostStuartSettings(storeId, stuartSettings, callback) {
+ let postBody = stuartSettings;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling stuartPostStuartSettings");
+ }
+ // verify the required parameter 'stuartSettings' is set
+ if (stuartSettings === undefined || stuartSettings === null) {
+ throw new Error("Missing the required parameter 'stuartSettings' when calling stuartPostStuartSettings");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/stuart/settings/{storeId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/SubscriptionsApi.js b/src/api/SubscriptionsApi.js
new file mode 100644
index 00000000..e566c9a4
--- /dev/null
+++ b/src/api/SubscriptionsApi.js
@@ -0,0 +1,184 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultSubscriptionSummary from '../model/RestApiArrayResultSubscriptionSummary';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultHasPaymentMethodResponse from '../model/RestApiResultHasPaymentMethodResponse';
+import RestApiResultSubscription from '../model/RestApiResultSubscription';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Subscriptions service.
+* @module api/SubscriptionsApi
+* @version 1.0.0
+*/
+export default class SubscriptionsApi {
+
+ /**
+ * Constructs a new SubscriptionsApi.
+ * @alias module:api/SubscriptionsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getSubscriptionById operation.
+ * @callback module:api/SubscriptionsApi~getSubscriptionByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultSubscription} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} subscriptionId
+ * @param {module:api/SubscriptionsApi~getSubscriptionByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultSubscription}
+ */
+ getSubscriptionById(appId, subscriptionId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getSubscriptionById");
+ }
+ // verify the required parameter 'subscriptionId' is set
+ if (subscriptionId === undefined || subscriptionId === null) {
+ throw new Error("Missing the required parameter 'subscriptionId' when calling getSubscriptionById");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'subscriptionId': subscriptionId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultSubscription;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/subscriptions/{subscriptionId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getSubscriptionsForApp operation.
+ * @callback module:api/SubscriptionsApi~getSubscriptionsForAppCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultSubscriptionSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.excludeNotOwnedSubscriptions
+ * @param {Array.} opts.storeId
+ * @param {Boolean} opts.excludeCancelledSubscriptions
+ * @param {module:api/SubscriptionsApi~getSubscriptionsForAppCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultSubscriptionSummary}
+ */
+ getSubscriptionsForApp(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getSubscriptionsForApp");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'excludeNotOwnedSubscriptions': opts['excludeNotOwnedSubscriptions'],
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi'),
+ 'excludeCancelledSubscriptions': opts['excludeCancelledSubscriptions']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultSubscriptionSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/subscriptions', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the hasCustomerGotPaymentMethodOnFile operation.
+ * @callback module:api/SubscriptionsApi~hasCustomerGotPaymentMethodOnFileCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultHasPaymentMethodResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.email
+ * @param {module:api/SubscriptionsApi~hasCustomerGotPaymentMethodOnFileCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultHasPaymentMethodResponse}
+ */
+ hasCustomerGotPaymentMethodOnFile(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling hasCustomerGotPaymentMethodOnFile");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'email': opts['email']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultHasPaymentMethodResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/subscriptions/hasPaymentMethod', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/TeammatesApi.js b/src/api/TeammatesApi.js
new file mode 100644
index 00000000..25cbdf96
--- /dev/null
+++ b/src/api/TeammatesApi.js
@@ -0,0 +1,490 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateTeammate from '../model/CreateTeammate';
+import RestApiArrayResultPendingInvitation from '../model/RestApiArrayResultPendingInvitation';
+import RestApiArrayResultRedeemInvitationResult from '../model/RestApiArrayResultRedeemInvitationResult';
+import RestApiArrayResultTeammate from '../model/RestApiArrayResultTeammate';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultAcceptInvitationResult from '../model/RestApiResultAcceptInvitationResult';
+import RestApiResultRedeemInvitationResult from '../model/RestApiResultRedeemInvitationResult';
+import RestApiResultTeammate from '../model/RestApiResultTeammate';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import TeammateBase from '../model/TeammateBase';
+
+/**
+* Teammates service.
+* @module api/TeammatesApi
+* @version 1.0.0
+*/
+export default class TeammatesApi {
+
+ /**
+ * Constructs a new TeammatesApi.
+ * @alias module:api/TeammatesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createTeammate operation.
+ * @callback module:api/TeammatesApi~createTeammateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultTeammate} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CreateTeammate} teammate
+ * @param {module:api/TeammatesApi~createTeammateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultTeammate}
+ */
+ createTeammate(appId, teammate, callback) {
+ let postBody = teammate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createTeammate");
+ }
+ // verify the required parameter 'teammate' is set
+ if (teammate === undefined || teammate === null) {
+ throw new Error("Missing the required parameter 'teammate' when calling createTeammate");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultTeammate;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteTeammate operation.
+ * @callback module:api/TeammatesApi~deleteTeammateCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} id
+ * @param {module:api/TeammatesApi~deleteTeammateCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteTeammate(appId, id, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteTeammate");
+ }
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling deleteTeammate");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates/{id}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getTeammateByAppIdAndTeammateId operation.
+ * @callback module:api/TeammatesApi~getTeammateByAppIdAndTeammateIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultTeammate} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} id
+ * @param {module:api/TeammatesApi~getTeammateByAppIdAndTeammateIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultTeammate}
+ */
+ getTeammateByAppIdAndTeammateId(appId, id, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getTeammateByAppIdAndTeammateId");
+ }
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling getTeammateByAppIdAndTeammateId");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultTeammate;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates/{id}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getTeammatesByAppId operation.
+ * @callback module:api/TeammatesApi~getTeammatesByAppIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultTeammate} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/TeammatesApi~getTeammatesByAppIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultTeammate}
+ */
+ getTeammatesByAppId(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getTeammatesByAppId");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultTeammate;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the grantaccess operation.
+ * @callback module:api/TeammatesApi~grantaccessCallback
+ * @param {String} error Error message, if any.
+ * @param {Object} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CreateTeammate} teammate
+ * @param {module:api/TeammatesApi~grantaccessCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link Object}
+ */
+ grantaccess(appId, teammate, callback) {
+ let postBody = teammate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling grantaccess");
+ }
+ // verify the required parameter 'teammate' is set
+ if (teammate === undefined || teammate === null) {
+ throw new Error("Missing the required parameter 'teammate' when calling grantaccess");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = Object;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates/grantaccess', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the redeemInvitation operation.
+ * @callback module:api/TeammatesApi~redeemInvitationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultRedeemInvitationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} otc
+ * @param {String} appId
+ * @param {module:api/TeammatesApi~redeemInvitationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultRedeemInvitationResult}
+ */
+ redeemInvitation(otc, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'otc' is set
+ if (otc === undefined || otc === null) {
+ throw new Error("Missing the required parameter 'otc' when calling redeemInvitation");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling redeemInvitation");
+ }
+
+ let pathParams = {
+ 'otc': otc,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultRedeemInvitationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates/redeem/{otc}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the teammatesAcceptInvitation operation.
+ * @callback module:api/TeammatesApi~teammatesAcceptInvitationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultAcceptInvitationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} otc
+ * @param {String} appId
+ * @param {module:api/TeammatesApi~teammatesAcceptInvitationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultAcceptInvitationResult}
+ */
+ teammatesAcceptInvitation(otc, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'otc' is set
+ if (otc === undefined || otc === null) {
+ throw new Error("Missing the required parameter 'otc' when calling teammatesAcceptInvitation");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling teammatesAcceptInvitation");
+ }
+
+ let pathParams = {
+ 'otc': otc,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultAcceptInvitationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates/accept/{otc}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the teammatesAcceptInvitations operation.
+ * @callback module:api/TeammatesApi~teammatesAcceptInvitationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultRedeemInvitationResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/TeammatesApi~teammatesAcceptInvitationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultRedeemInvitationResult}
+ */
+ teammatesAcceptInvitations(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultRedeemInvitationResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/teammates/acceptInvitations', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the teammatesPendingInvitations operation.
+ * @callback module:api/TeammatesApi~teammatesPendingInvitationsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultPendingInvitation} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/TeammatesApi~teammatesPendingInvitationsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultPendingInvitation}
+ */
+ teammatesPendingInvitations(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiArrayResultPendingInvitation;
+ return this.apiClient.callApi(
+ '/api/v1.0/teammates/pending-invitations', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateTeammate operation.
+ * @callback module:api/TeammatesApi~updateTeammateCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultTeammate} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} id
+ * @param {module:model/TeammateBase} teammate
+ * @param {module:api/TeammatesApi~updateTeammateCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultTeammate}
+ */
+ updateTeammate(appId, id, teammate, callback) {
+ let postBody = teammate;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateTeammate");
+ }
+ // verify the required parameter 'id' is set
+ if (id === undefined || id === null) {
+ throw new Error("Missing the required parameter 'id' when calling updateTeammate");
+ }
+ // verify the required parameter 'teammate' is set
+ if (teammate === undefined || teammate === null) {
+ throw new Error("Missing the required parameter 'teammate' when calling updateTeammate");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'id': id
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultTeammate;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/teammates/{id}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/TerminalIotApi.js b/src/api/TerminalIotApi.js
new file mode 100644
index 00000000..0dc9b765
--- /dev/null
+++ b/src/api/TerminalIotApi.js
@@ -0,0 +1,76 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultKioskIotConnectionParameters from '../model/RestApiResultKioskIotConnectionParameters';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* TerminalIot service.
+* @module api/TerminalIotApi
+* @version 1.0.0
+*/
+export default class TerminalIotApi {
+
+ /**
+ * Constructs a new TerminalIotApi.
+ * @alias module:api/TerminalIotApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the getTerminalIotConnection operation.
+ * @callback module:api/TerminalIotApi~getTerminalIotConnectionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultKioskIotConnectionParameters} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/TerminalIotApi~getTerminalIotConnectionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultKioskIotConnectionParameters}
+ */
+ getTerminalIotConnection(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultKioskIotConnectionParameters;
+ return this.apiClient.callApi(
+ '/api/v1.0/terminaliot/connect', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/TipsApi.js b/src/api/TipsApi.js
new file mode 100644
index 00000000..de327155
--- /dev/null
+++ b/src/api/TipsApi.js
@@ -0,0 +1,129 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultTipConfiguration from '../model/RestApiResultTipConfiguration';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import UpdateTipConfiguration from '../model/UpdateTipConfiguration';
+
+/**
+* Tips service.
+* @module api/TipsApi
+* @version 1.0.0
+*/
+export default class TipsApi {
+
+ /**
+ * Constructs a new TipsApi.
+ * @alias module:api/TipsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the tipConfigGet operation.
+ * @callback module:api/TipsApi~tipConfigGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultTipConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:api/TipsApi~tipConfigGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultTipConfiguration}
+ */
+ tipConfigGet(storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling tipConfigGet");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultTipConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/tipconfig', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the tipConfigUpsert operation.
+ * @callback module:api/TipsApi~tipConfigUpsertCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultTipConfiguration} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} storeId
+ * @param {module:model/UpdateTipConfiguration} updateConfig
+ * @param {module:api/TipsApi~tipConfigUpsertCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultTipConfiguration}
+ */
+ tipConfigUpsert(storeId, updateConfig, callback) {
+ let postBody = updateConfig;
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling tipConfigUpsert");
+ }
+ // verify the required parameter 'updateConfig' is set
+ if (updateConfig === undefined || updateConfig === null) {
+ throw new Error("Missing the required parameter 'updateConfig' when calling tipConfigUpsert");
+ }
+
+ let pathParams = {
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultTipConfiguration;
+ return this.apiClient.callApi(
+ '/api/v1.0/stores/{storeId}/tipconfig', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/UsersApi.js b/src/api/UsersApi.js
new file mode 100644
index 00000000..961e271b
--- /dev/null
+++ b/src/api/UsersApi.js
@@ -0,0 +1,868 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiArrayResultUserFlipdishAccount from '../model/RestApiArrayResultUserFlipdishAccount';
+import RestApiArrayResultUserNote from '../model/RestApiArrayResultUserNote';
+import RestApiArrayResultUserStoreInfo from '../model/RestApiArrayResultUserStoreInfo';
+import RestApiDefaultResponse from '../model/RestApiDefaultResponse';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultUserSearch from '../model/RestApiPaginationResultUserSearch';
+import RestApiResultUserInfo from '../model/RestApiResultUserInfo';
+import RestApiResultUserRole from '../model/RestApiResultUserRole';
+import RestApiStringArrayResult from '../model/RestApiStringArrayResult';
+import RestApiStringResult from '../model/RestApiStringResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+
+/**
+* Users service.
+* @module api/UsersApi
+* @version 1.0.0
+*/
+export default class UsersApi {
+
+ /**
+ * Constructs a new UsersApi.
+ * @alias module:api/UsersApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addUserNote operation.
+ * @callback module:api/UsersApi~addUserNoteCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {String} note
+ * @param {module:api/UsersApi~addUserNoteCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ addUserNote(userId, note, callback) {
+ let postBody = note;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling addUserNote");
+ }
+ // verify the required parameter 'note' is set
+ if (note === undefined || note === null) {
+ throw new Error("Missing the required parameter 'note' when calling addUserNote");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/AddUserNote', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the addUserToRole operation.
+ * @callback module:api/UsersApi~addUserToRoleCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultUserRole} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {String} roleName
+ * @param {module:api/UsersApi~addUserToRoleCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultUserRole}
+ */
+ addUserToRole(userId, roleName, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling addUserToRole");
+ }
+ // verify the required parameter 'roleName' is set
+ if (roleName === undefined || roleName === null) {
+ throw new Error("Missing the required parameter 'roleName' when calling addUserToRole");
+ }
+
+ let pathParams = {
+ 'userId': userId,
+ 'roleName': roleName
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiResultUserRole;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/AddUserToRole/{roleName}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the anonymizeUser operation.
+ * @callback module:api/UsersApi~anonymizeUserCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~anonymizeUserCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ anonymizeUser(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling anonymizeUser");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/AnonymizeUser', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the blockUserPhoneNumber operation.
+ * @callback module:api/UsersApi~blockUserPhoneNumberCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~blockUserPhoneNumberCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ blockUserPhoneNumber(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling blockUserPhoneNumber");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/BlockUserPhoneNumber', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getPreviousOrderCountForStore operation.
+ * @callback module:api/UsersApi~getPreviousOrderCountForStoreCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {Number} storeId
+ * @param {module:api/UsersApi~getPreviousOrderCountForStoreCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringResult}
+ */
+ getPreviousOrderCountForStore(userId, storeId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getPreviousOrderCountForStore");
+ }
+ // verify the required parameter 'storeId' is set
+ if (storeId === undefined || storeId === null) {
+ throw new Error("Missing the required parameter 'storeId' when calling getPreviousOrderCountForStore");
+ }
+
+ let pathParams = {
+ 'userId': userId,
+ 'storeId': storeId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiStringResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/previousordercount/{storeId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRestaurantUserAccounts operation.
+ * @callback module:api/UsersApi~getRestaurantUserAccountsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultUserFlipdishAccount} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~getRestaurantUserAccountsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultUserFlipdishAccount}
+ */
+ getRestaurantUserAccounts(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getRestaurantUserAccounts");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiArrayResultUserFlipdishAccount;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/RestaurantUserAccounts', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRestaurantUserStores operation.
+ * @callback module:api/UsersApi~getRestaurantUserStoresCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultUserStoreInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~getRestaurantUserStoresCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultUserStoreInfo}
+ */
+ getRestaurantUserStores(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getRestaurantUserStores");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiArrayResultUserStoreInfo;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/RestaurantUserStores', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRoles operation.
+ * @callback module:api/UsersApi~getRolesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringArrayResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {module:api/UsersApi~getRolesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringArrayResult}
+ */
+ getRoles(callback) {
+ let postBody = null;
+
+ let pathParams = {
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiStringArrayResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/roles', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getRolesAndUnassignedRoles operation.
+ * @callback module:api/UsersApi~getRolesAndUnassignedRolesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultUserRole} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~getRolesAndUnassignedRolesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultUserRole}
+ */
+ getRolesAndUnassignedRoles(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getRolesAndUnassignedRoles");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiResultUserRole;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/roles', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getUserById operation.
+ * @callback module:api/UsersApi~getUserByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultUserInfo} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~getUserByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultUserInfo}
+ */
+ getUserById(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getUserById");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiResultUserInfo;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getUserNotes operation.
+ * @callback module:api/UsersApi~getUserNotesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultUserNote} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~getUserNotesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultUserNote}
+ */
+ getUserNotes(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling getUserNotes");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiArrayResultUserNote;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/UserNotes', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the markUserAsFraudulent operation.
+ * @callback module:api/UsersApi~markUserAsFraudulentCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~markUserAsFraudulentCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ markUserAsFraudulent(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling markUserAsFraudulent");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/MarkUserAsFraudulent', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the markUserAsSuspicious operation.
+ * @callback module:api/UsersApi~markUserAsSuspiciousCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~markUserAsSuspiciousCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ markUserAsSuspicious(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling markUserAsSuspicious");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/MarkUserAsSuspicious', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the removeUserFromRole operation.
+ * @callback module:api/UsersApi~removeUserFromRoleCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultUserRole} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {String} roleName
+ * @param {module:api/UsersApi~removeUserFromRoleCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultUserRole}
+ */
+ removeUserFromRole(userId, roleName, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling removeUserFromRole");
+ }
+ // verify the required parameter 'roleName' is set
+ if (roleName === undefined || roleName === null) {
+ throw new Error("Missing the required parameter 'roleName' when calling removeUserFromRole");
+ }
+
+ let pathParams = {
+ 'userId': userId,
+ 'roleName': roleName
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiResultUserRole;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/RemoveUserFromRole/{roleName}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the resetMfa operation.
+ * @callback module:api/UsersApi~resetMfaCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~resetMfaCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ resetMfa(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling resetMfa");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/ResetMfa', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the searchUsers operation.
+ * @callback module:api/UsersApi~searchUsersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultUserSearch} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} searchQuery
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.hasUserLoggedIn
+ * @param {module:model/String} opts.userDiscriminator
+ * @param {module:model/String} opts.searchIn
+ * @param {Number} opts.pageIndex
+ * @param {Number} opts.pageSize
+ * @param {module:api/UsersApi~searchUsersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultUserSearch}
+ */
+ searchUsers(searchQuery, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'searchQuery' is set
+ if (searchQuery === undefined || searchQuery === null) {
+ throw new Error("Missing the required parameter 'searchQuery' when calling searchUsers");
+ }
+
+ let pathParams = {
+ };
+ let queryParams = {
+ 'searchQuery': searchQuery,
+ 'hasUserLoggedIn': opts['hasUserLoggedIn'],
+ 'userDiscriminator': opts['userDiscriminator'],
+ 'searchIn': opts['searchIn'],
+ 'pageIndex': opts['pageIndex'],
+ 'pageSize': opts['pageSize']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiPaginationResultUserSearch;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/search', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setCustomerName operation.
+ * @callback module:api/UsersApi~setCustomerNameCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {String} customerName
+ * @param {module:api/UsersApi~setCustomerNameCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ setCustomerName(userId, customerName, callback) {
+ let postBody = customerName;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling setCustomerName");
+ }
+ // verify the required parameter 'customerName' is set
+ if (customerName === undefined || customerName === null) {
+ throw new Error("Missing the required parameter 'customerName' when calling setCustomerName");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/SetCustomerName', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setUserLanguage operation.
+ * @callback module:api/UsersApi~setUserLanguageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {String} languageId
+ * @param {module:api/UsersApi~setUserLanguageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ setUserLanguage(userId, languageId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling setUserLanguage");
+ }
+ // verify the required parameter 'languageId' is set
+ if (languageId === undefined || languageId === null) {
+ throw new Error("Missing the required parameter 'languageId' when calling setUserLanguage");
+ }
+
+ let pathParams = {
+ 'userId': userId,
+ 'languageId': languageId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/SetLanguage/{languageId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the unblockUserPhoneNumber operation.
+ * @callback module:api/UsersApi~unblockUserPhoneNumberCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiDefaultResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} userId
+ * @param {module:api/UsersApi~unblockUserPhoneNumberCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiDefaultResponse}
+ */
+ unblockUserPhoneNumber(userId, callback) {
+ let postBody = null;
+ // verify the required parameter 'userId' is set
+ if (userId === undefined || userId === null) {
+ throw new Error("Missing the required parameter 'userId' when calling unblockUserPhoneNumber");
+ }
+
+ let pathParams = {
+ 'userId': userId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiDefaultResponse;
+ return this.apiClient.callApi(
+ '/api/v1.0/users/{userId}/UnblockUserPhoneNumber', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/VouchersApi.js b/src/api/VouchersApi.js
new file mode 100644
index 00000000..9ccc2074
--- /dev/null
+++ b/src/api/VouchersApi.js
@@ -0,0 +1,496 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import CreateVoucher from '../model/CreateVoucher';
+import RestApiArrayResultVoucherDataPoint from '../model/RestApiArrayResultVoucherDataPoint';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiPaginationResultVoucherSummary from '../model/RestApiPaginationResultVoucherSummary';
+import RestApiResultVoucher from '../model/RestApiResultVoucher';
+import RestApiResultVoucherWithStats from '../model/RestApiResultVoucherWithStats';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import SetVoucherValidityPeriodsSimplifiedRequest from '../model/SetVoucherValidityPeriodsSimplifiedRequest';
+import UpdateVoucher from '../model/UpdateVoucher';
+import UpdateVoucherUsage from '../model/UpdateVoucherUsage';
+
+/**
+* Vouchers service.
+* @module api/VouchersApi
+* @version 1.0.0
+*/
+export default class VouchersApi {
+
+ /**
+ * Constructs a new VouchersApi.
+ * @alias module:api/VouchersApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createVoucher operation.
+ * @callback module:api/VouchersApi~createVoucherCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultVoucherWithStats} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/CreateVoucher} voucher
+ * @param {module:api/VouchersApi~createVoucherCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultVoucherWithStats}
+ */
+ createVoucher(appId, voucher, callback) {
+ let postBody = voucher;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createVoucher");
+ }
+ // verify the required parameter 'voucher' is set
+ if (voucher === undefined || voucher === null) {
+ throw new Error("Missing the required parameter 'voucher' when calling createVoucher");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultVoucherWithStats;
+ return this.apiClient.callApi(
+ '/api/v1.0/vouchers/{appId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getVoucherByCode operation.
+ * @callback module:api/VouchersApi~getVoucherByCodeCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultVoucher} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {String} code
+ * @param {module:api/VouchersApi~getVoucherByCodeCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultVoucher}
+ */
+ getVoucherByCode(appId, code, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getVoucherByCode");
+ }
+ // verify the required parameter 'code' is set
+ if (code === undefined || code === null) {
+ throw new Error("Missing the required parameter 'code' when calling getVoucherByCode");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'code': code
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultVoucher;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/vouchers/code/{code}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getVoucherById operation.
+ * @callback module:api/VouchersApi~getVoucherByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultVoucherWithStats} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} voucherId
+ * @param {module:api/VouchersApi~getVoucherByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultVoucherWithStats}
+ */
+ getVoucherById(voucherId, callback) {
+ let postBody = null;
+ // verify the required parameter 'voucherId' is set
+ if (voucherId === undefined || voucherId === null) {
+ throw new Error("Missing the required parameter 'voucherId' when calling getVoucherById");
+ }
+
+ let pathParams = {
+ 'voucherId': voucherId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultVoucherWithStats;
+ return this.apiClient.callApi(
+ '/api/v1.0/vouchers/{voucherId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getVoucherStatsById operation.
+ * @callback module:api/VouchersApi~getVoucherStatsByIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiArrayResultVoucherDataPoint} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} voucherId
+ * @param {module:model/String} aggregateDataBy
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.dataPointLimit
+ * @param {module:api/VouchersApi~getVoucherStatsByIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiArrayResultVoucherDataPoint}
+ */
+ getVoucherStatsById(voucherId, aggregateDataBy, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'voucherId' is set
+ if (voucherId === undefined || voucherId === null) {
+ throw new Error("Missing the required parameter 'voucherId' when calling getVoucherStatsById");
+ }
+ // verify the required parameter 'aggregateDataBy' is set
+ if (aggregateDataBy === undefined || aggregateDataBy === null) {
+ throw new Error("Missing the required parameter 'aggregateDataBy' when calling getVoucherStatsById");
+ }
+
+ let pathParams = {
+ 'voucherId': voucherId
+ };
+ let queryParams = {
+ 'aggregateDataBy': aggregateDataBy,
+ 'dataPointLimit': opts['dataPointLimit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiArrayResultVoucherDataPoint;
+ return this.apiClient.callApi(
+ '/api/v1.0/vouchers/stats/{voucherId}', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getVoucherValidityPeriods operation.
+ * @callback module:api/VouchersApi~getVoucherValidityPeriodsCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} voucherId
+ * @param {module:api/VouchersApi~getVoucherValidityPeriodsCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ getVoucherValidityPeriods(appId, voucherId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getVoucherValidityPeriods");
+ }
+ // verify the required parameter 'voucherId' is set
+ if (voucherId === undefined || voucherId === null) {
+ throw new Error("Missing the required parameter 'voucherId' when calling getVoucherValidityPeriods");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'voucherId': voucherId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/vouchers/{voucherId}/validity-periods', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getVouchers operation.
+ * @callback module:api/VouchersApi~getVouchersCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultVoucherSummary} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.pageIndex
+ * @param {Number} opts.pageSize
+ * @param {Array.} opts.searchCodes
+ * @param {Array.} opts.statusSearch
+ * @param {Array.} opts.typeSearch
+ * @param {Array.} opts.subTypeSearch
+ * @param {Array.} opts.storeIds
+ * @param {Array.} opts.channelRestrictions
+ * @param {module:api/VouchersApi~getVouchersCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultVoucherSummary}
+ */
+ getVouchers(appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getVouchers");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ 'pageIndex': opts['pageIndex'],
+ 'pageSize': opts['pageSize'],
+ 'searchCodes': this.apiClient.buildCollectionParam(opts['searchCodes'], 'multi'),
+ 'statusSearch': this.apiClient.buildCollectionParam(opts['statusSearch'], 'multi'),
+ 'typeSearch': this.apiClient.buildCollectionParam(opts['typeSearch'], 'multi'),
+ 'subTypeSearch': this.apiClient.buildCollectionParam(opts['subTypeSearch'], 'multi'),
+ 'storeIds': this.apiClient.buildCollectionParam(opts['storeIds'], 'multi'),
+ 'channelRestrictions': this.apiClient.buildCollectionParam(opts['channelRestrictions'], 'multi')
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiPaginationResultVoucherSummary;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/vouchers/summaries', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setVoucherValidityPeriodsSimplified operation.
+ * @callback module:api/VouchersApi~setVoucherValidityPeriodsSimplifiedCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} voucherId
+ * @param {module:model/SetVoucherValidityPeriodsSimplifiedRequest} request
+ * @param {module:api/VouchersApi~setVoucherValidityPeriodsSimplifiedCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ setVoucherValidityPeriodsSimplified(appId, voucherId, request, callback) {
+ let postBody = request;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setVoucherValidityPeriodsSimplified");
+ }
+ // verify the required parameter 'voucherId' is set
+ if (voucherId === undefined || voucherId === null) {
+ throw new Error("Missing the required parameter 'voucherId' when calling setVoucherValidityPeriodsSimplified");
+ }
+ // verify the required parameter 'request' is set
+ if (request === undefined || request === null) {
+ throw new Error("Missing the required parameter 'request' when calling setVoucherValidityPeriodsSimplified");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'voucherId': voucherId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/vouchers/{voucherId}/validity-periods-simplified', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateVoucher operation.
+ * @callback module:api/VouchersApi~updateVoucherCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultVoucherWithStats} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {Number} voucherId
+ * @param {module:model/UpdateVoucher} voucher
+ * @param {Object} opts Optional parameters
+ * @param {Array.} opts.storeId
+ * @param {Number} opts.percentValue
+ * @param {Number} opts.lumpValue
+ * @param {Number} opts.maxDiscountAmount
+ * @param {module:api/VouchersApi~updateVoucherCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultVoucherWithStats}
+ */
+ updateVoucher(voucherId, voucher, opts, callback) {
+ opts = opts || {};
+ let postBody = voucher;
+ // verify the required parameter 'voucherId' is set
+ if (voucherId === undefined || voucherId === null) {
+ throw new Error("Missing the required parameter 'voucherId' when calling updateVoucher");
+ }
+ // verify the required parameter 'voucher' is set
+ if (voucher === undefined || voucher === null) {
+ throw new Error("Missing the required parameter 'voucher' when calling updateVoucher");
+ }
+
+ let pathParams = {
+ 'voucherId': voucherId
+ };
+ let queryParams = {
+ 'storeId': this.apiClient.buildCollectionParam(opts['storeId'], 'multi'),
+ 'percentValue': opts['percentValue'],
+ 'lumpValue': opts['lumpValue'],
+ 'maxDiscountAmount': opts['maxDiscountAmount']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = RestApiResultVoucherWithStats;
+ return this.apiClient.callApi(
+ '/api/v1.0/vouchers/{voucherId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateVoucherUsage operation.
+ * @callback module:api/VouchersApi~updateVoucherUsageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} voucherId
+ * @param {module:model/UpdateVoucherUsage} voucherUsage
+ * @param {module:api/VouchersApi~updateVoucherUsageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateVoucherUsage(appId, voucherId, voucherUsage, callback) {
+ let postBody = voucherUsage;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateVoucherUsage");
+ }
+ // verify the required parameter 'voucherId' is set
+ if (voucherId === undefined || voucherId === null) {
+ throw new Error("Missing the required parameter 'voucherId' when calling updateVoucherUsage");
+ }
+ // verify the required parameter 'voucherUsage' is set
+ if (voucherUsage === undefined || voucherUsage === null) {
+ throw new Error("Missing the required parameter 'voucherUsage' when calling updateVoucherUsage");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'voucherId': voucherId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['Data', 'application/json', 'text/json', 'application/xml', 'text/xml', 'Message', 'ErrorCode', 'StackTrace'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/vouchers/{voucherId}/usage', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/WebhooksApi.js b/src/api/WebhooksApi.js
new file mode 100644
index 00000000..3dfeb8d2
--- /dev/null
+++ b/src/api/WebhooksApi.js
@@ -0,0 +1,604 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiIntegerResult from '../model/RestApiIntegerResult';
+import RestApiPaginationResultWebhookLog from '../model/RestApiPaginationResultWebhookLog';
+import RestApiPaginationResultWebhookSubscription from '../model/RestApiPaginationResultWebhookSubscription';
+import RestApiStringArrayResult from '../model/RestApiStringArrayResult';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import WebhookEventSample from '../model/WebhookEventSample';
+import WebhookSubscription from '../model/WebhookSubscription';
+
+/**
+* Webhooks service.
+* @module api/WebhooksApi
+* @version 1.0.0
+*/
+export default class WebhooksApi {
+
+ /**
+ * Constructs a new WebhooksApi.
+ * @alias module:api/WebhooksApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the createWebhookSubscription operation.
+ * @callback module:api/WebhooksApi~createWebhookSubscriptionCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiIntegerResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {module:model/WebhookSubscription} webhookSubscription
+ * @param {module:api/WebhooksApi~createWebhookSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiIntegerResult}
+ */
+ createWebhookSubscription(oauthAppId, appId, webhookSubscription, callback) {
+ let postBody = webhookSubscription;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling createWebhookSubscription");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createWebhookSubscription");
+ }
+ // verify the required parameter 'webhookSubscription' is set
+ if (webhookSubscription === undefined || webhookSubscription === null) {
+ throw new Error("Missing the required parameter 'webhookSubscription' when calling createWebhookSubscription");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiIntegerResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the createWebhookSubscriptionEventNames operation.
+ * @callback module:api/WebhooksApi~createWebhookSubscriptionEventNamesCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} webhookSubscriptionId
+ * @param {String} eventName
+ * @param {String} appId
+ * @param {module:api/WebhooksApi~createWebhookSubscriptionEventNamesCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ createWebhookSubscriptionEventNames(oauthAppId, webhookSubscriptionId, eventName, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling createWebhookSubscriptionEventNames");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling createWebhookSubscriptionEventNames");
+ }
+ // verify the required parameter 'eventName' is set
+ if (eventName === undefined || eventName === null) {
+ throw new Error("Missing the required parameter 'eventName' when calling createWebhookSubscriptionEventNames");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling createWebhookSubscriptionEventNames");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId,
+ 'eventName': eventName,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteWebhookSubscription operation.
+ * @callback module:api/WebhooksApi~deleteWebhookSubscriptionCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} webhookSubscriptionId
+ * @param {String} appId
+ * @param {module:api/WebhooksApi~deleteWebhookSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling deleteWebhookSubscription");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling deleteWebhookSubscription");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteWebhookSubscription");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteWebhookSubscriptionEventName operation.
+ * @callback module:api/WebhooksApi~deleteWebhookSubscriptionEventNameCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} webhookSubscriptionId
+ * @param {String} eventName
+ * @param {String} appId
+ * @param {module:api/WebhooksApi~deleteWebhookSubscriptionEventNameCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteWebhookSubscriptionEventName(oauthAppId, webhookSubscriptionId, eventName, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling deleteWebhookSubscriptionEventName");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling deleteWebhookSubscriptionEventName");
+ }
+ // verify the required parameter 'eventName' is set
+ if (eventName === undefined || eventName === null) {
+ throw new Error("Missing the required parameter 'eventName' when calling deleteWebhookSubscriptionEventName");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteWebhookSubscriptionEventName");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId,
+ 'eventName': eventName,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getWebhookEventNames operation.
+ * @callback module:api/WebhooksApi~getWebhookEventNamesCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringArrayResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/WebhooksApi~getWebhookEventNamesCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringArrayResult}
+ */
+ getWebhookEventNames(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getWebhookEventNames");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiStringArrayResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/events', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getWebhookEventNamesBySubscriptionId operation.
+ * @callback module:api/WebhooksApi~getWebhookEventNamesBySubscriptionIdCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiStringArrayResult} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} webhookSubscriptionId
+ * @param {String} appId
+ * @param {module:api/WebhooksApi~getWebhookEventNamesBySubscriptionIdCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiStringArrayResult}
+ */
+ getWebhookEventNamesBySubscriptionId(oauthAppId, webhookSubscriptionId, appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getWebhookEventNamesBySubscriptionId");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling getWebhookEventNamesBySubscriptionId");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getWebhookEventNamesBySubscriptionId");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiStringArrayResult;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getWebhookEventSample operation.
+ * @callback module:api/WebhooksApi~getWebhookEventSampleCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/WebhookEventSample} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} eventName
+ * @param {String} appId
+ * @param {String} oauthAppId
+ * @param {String} webhookSubscriptionId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.version
+ * @param {module:api/WebhooksApi~getWebhookEventSampleCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/WebhookEventSample}
+ */
+ getWebhookEventSample(eventName, appId, oauthAppId, webhookSubscriptionId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'eventName' is set
+ if (eventName === undefined || eventName === null) {
+ throw new Error("Missing the required parameter 'eventName' when calling getWebhookEventSample");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getWebhookEventSample");
+ }
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getWebhookEventSample");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling getWebhookEventSample");
+ }
+
+ let pathParams = {
+ 'eventName': eventName,
+ 'appId': appId,
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId
+ };
+ let queryParams = {
+ 'version': opts['version']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Type', 'CreateTime', 'Body'];
+ let returnType = WebhookEventSample;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/events/{eventName}/test', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getWebhookLogs operation.
+ * @callback module:api/WebhooksApi~getWebhookLogsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultWebhookLog} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} webhookSubscriptionId
+ * @param {Date} start
+ * @param {Date} end
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/WebhooksApi~getWebhookLogsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultWebhookLog}
+ */
+ getWebhookLogs(oauthAppId, webhookSubscriptionId, start, end, appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getWebhookLogs");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling getWebhookLogs");
+ }
+ // verify the required parameter 'start' is set
+ if (start === undefined || start === null) {
+ throw new Error("Missing the required parameter 'start' when calling getWebhookLogs");
+ }
+ // verify the required parameter 'end' is set
+ if (end === undefined || end === null) {
+ throw new Error("Missing the required parameter 'end' when calling getWebhookLogs");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getWebhookLogs");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId,
+ 'appId': appId
+ };
+ let queryParams = {
+ 'start': start,
+ 'end': end,
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiPaginationResultWebhookLog;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}/logs', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getWebhookSubscriptions operation.
+ * @callback module:api/WebhooksApi~getWebhookSubscriptionsCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiPaginationResultWebhookSubscription} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {String} appId
+ * @param {Object} opts Optional parameters
+ * @param {Number} opts.page
+ * @param {Number} opts.limit
+ * @param {module:api/WebhooksApi~getWebhookSubscriptionsCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiPaginationResultWebhookSubscription}
+ */
+ getWebhookSubscriptions(oauthAppId, appId, opts, callback) {
+ opts = opts || {};
+ let postBody = null;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling getWebhookSubscriptions");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getWebhookSubscriptions");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'appId': appId
+ };
+ let queryParams = {
+ 'page': opts['page'],
+ 'limit': opts['limit']
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data', 'Message'];
+ let returnType = RestApiPaginationResultWebhookSubscription;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the updateWebhookSubscription operation.
+ * @callback module:api/WebhooksApi~updateWebhookSubscriptionCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} oauthAppId
+ * @param {Number} webhookSubscriptionId
+ * @param {String} appId
+ * @param {module:model/WebhookSubscription} webhookSubscription
+ * @param {module:api/WebhooksApi~updateWebhookSubscriptionCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ updateWebhookSubscription(oauthAppId, webhookSubscriptionId, appId, webhookSubscription, callback) {
+ let postBody = webhookSubscription;
+ // verify the required parameter 'oauthAppId' is set
+ if (oauthAppId === undefined || oauthAppId === null) {
+ throw new Error("Missing the required parameter 'oauthAppId' when calling updateWebhookSubscription");
+ }
+ // verify the required parameter 'webhookSubscriptionId' is set
+ if (webhookSubscriptionId === undefined || webhookSubscriptionId === null) {
+ throw new Error("Missing the required parameter 'webhookSubscriptionId' when calling updateWebhookSubscription");
+ }
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling updateWebhookSubscription");
+ }
+ // verify the required parameter 'webhookSubscription' is set
+ if (webhookSubscription === undefined || webhookSubscription === null) {
+ throw new Error("Missing the required parameter 'webhookSubscription' when calling updateWebhookSubscription");
+ }
+
+ let pathParams = {
+ 'oauthAppId': oauthAppId,
+ 'webhookSubscriptionId': webhookSubscriptionId,
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Message'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/webhooks/{oauthAppId}/subscriptions/{webhookSubscriptionId}', 'PUT',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/api/WebsiteApi.js b/src/api/WebsiteApi.js
new file mode 100644
index 00000000..0779d1d4
--- /dev/null
+++ b/src/api/WebsiteApi.js
@@ -0,0 +1,416 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from "../ApiClient";
+import IndexPageBase from '../model/IndexPageBase';
+import RestApiErrorResult from '../model/RestApiErrorResult';
+import RestApiForbiddenResult from '../model/RestApiForbiddenResult';
+import RestApiResultIndexPage from '../model/RestApiResultIndexPage';
+import RestApiResultIndexPageBase from '../model/RestApiResultIndexPageBase';
+import RestApiResultWebsiteImage from '../model/RestApiResultWebsiteImage';
+import RestApiResultWebsiteTestimonial from '../model/RestApiResultWebsiteTestimonial';
+import RestApiUnauthorizedResult from '../model/RestApiUnauthorizedResult';
+import WebsiteTestimonialBase from '../model/WebsiteTestimonialBase';
+
+/**
+* Website service.
+* @module api/WebsiteApi
+* @version 1.0.0
+*/
+export default class WebsiteApi {
+
+ /**
+ * Constructs a new WebsiteApi.
+ * @alias module:api/WebsiteApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ constructor(apiClient) {
+ this.apiClient = apiClient || ApiClient.instance;
+ }
+
+
+ /**
+ * Callback function to receive the result of the addTestimonial operation.
+ * @callback module:api/WebsiteApi~addTestimonialCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultWebsiteTestimonial} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/WebsiteTestimonialBase} testimonial
+ * @param {module:api/WebsiteApi~addTestimonialCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultWebsiteTestimonial}
+ */
+ addTestimonial(appId, testimonial, callback) {
+ let postBody = testimonial;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling addTestimonial");
+ }
+ // verify the required parameter 'testimonial' is set
+ if (testimonial === undefined || testimonial === null) {
+ throw new Error("Missing the required parameter 'testimonial' when calling addTestimonial");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultWebsiteTestimonial;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/testimonial', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteTestimonial operation.
+ * @callback module:api/WebsiteApi~deleteTestimonialCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} testimonialId
+ * @param {module:api/WebsiteApi~deleteTestimonialCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteTestimonial(appId, testimonialId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteTestimonial");
+ }
+ // verify the required parameter 'testimonialId' is set
+ if (testimonialId === undefined || testimonialId === null) {
+ throw new Error("Missing the required parameter 'testimonialId' when calling deleteTestimonial");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'testimonialId': testimonialId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/testimonial/{testimonialId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the deleteWebsiteImage operation.
+ * @callback module:api/WebsiteApi~deleteWebsiteImageCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} imageId
+ * @param {module:api/WebsiteApi~deleteWebsiteImageCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ deleteWebsiteImage(appId, imageId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling deleteWebsiteImage");
+ }
+ // verify the required parameter 'imageId' is set
+ if (imageId === undefined || imageId === null) {
+ throw new Error("Missing the required parameter 'imageId' when calling deleteWebsiteImage");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'imageId': imageId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/image/{imageId}', 'DELETE',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the editTestimonial operation.
+ * @callback module:api/WebsiteApi~editTestimonialCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultWebsiteTestimonial} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {Number} testimonialId
+ * @param {module:model/WebsiteTestimonialBase} testimonial
+ * @param {module:api/WebsiteApi~editTestimonialCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultWebsiteTestimonial}
+ */
+ editTestimonial(appId, testimonialId, testimonial, callback) {
+ let postBody = testimonial;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling editTestimonial");
+ }
+ // verify the required parameter 'testimonialId' is set
+ if (testimonialId === undefined || testimonialId === null) {
+ throw new Error("Missing the required parameter 'testimonialId' when calling editTestimonial");
+ }
+ // verify the required parameter 'testimonial' is set
+ if (testimonial === undefined || testimonial === null) {
+ throw new Error("Missing the required parameter 'testimonial' when calling editTestimonial");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'testimonialId': testimonialId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultWebsiteTestimonial;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/testimonial/{testimonialId}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the getIndexConfiguration operation.
+ * @callback module:api/WebsiteApi~getIndexConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultIndexPage} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/WebsiteApi~getIndexConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultIndexPage}
+ */
+ getIndexConfiguration(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling getIndexConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultIndexPage;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/index', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the setIndexConfiguration operation.
+ * @callback module:api/WebsiteApi~setIndexConfigurationCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultIndexPageBase} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/IndexPageBase} indexPage
+ * @param {module:api/WebsiteApi~setIndexConfigurationCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultIndexPageBase}
+ */
+ setIndexConfiguration(appId, indexPage, callback) {
+ let postBody = indexPage;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling setIndexConfiguration");
+ }
+ // verify the required parameter 'indexPage' is set
+ if (indexPage === undefined || indexPage === null) {
+ throw new Error("Missing the required parameter 'indexPage' when calling setIndexConfiguration");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultIndexPageBase;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/index', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the uploadWebsiteImage operation.
+ * @callback module:api/WebsiteApi~uploadWebsiteImageCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RestApiResultWebsiteImage} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:model/String} imageLocation
+ * @param {File} Image App Logo
+ * @param {module:api/WebsiteApi~uploadWebsiteImageCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RestApiResultWebsiteImage}
+ */
+ uploadWebsiteImage(appId, imageLocation, Image, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling uploadWebsiteImage");
+ }
+ // verify the required parameter 'imageLocation' is set
+ if (imageLocation === undefined || imageLocation === null) {
+ throw new Error("Missing the required parameter 'imageLocation' when calling uploadWebsiteImage");
+ }
+ // verify the required parameter 'Image' is set
+ if (Image === undefined || Image === null) {
+ throw new Error("Missing the required parameter 'Image' when calling uploadWebsiteImage");
+ }
+
+ let pathParams = {
+ 'appId': appId,
+ 'imageLocation': imageLocation
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ 'Image': Image
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = ['multipart/form-data'];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml', 'Data'];
+ let returnType = RestApiResultWebsiteImage;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/image/{imageLocation}', 'POST',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+ /**
+ * Callback function to receive the result of the websiteCheckNow operation.
+ * @callback module:api/WebsiteApi~websiteCheckNowCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * @param {String} appId
+ * @param {module:api/WebsiteApi~websiteCheckNowCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ websiteCheckNow(appId, callback) {
+ let postBody = null;
+ // verify the required parameter 'appId' is set
+ if (appId === undefined || appId === null) {
+ throw new Error("Missing the required parameter 'appId' when calling websiteCheckNow");
+ }
+
+ let pathParams = {
+ 'appId': appId
+ };
+ let queryParams = {
+ };
+ let headerParams = {
+ };
+ let formParams = {
+ };
+
+ let authNames = ['oauth2'];
+ let contentTypes = [];
+ let accepts = ['application/json', 'text/json', 'application/xml', 'text/xml'];
+ let returnType = null;
+ return this.apiClient.callApi(
+ '/api/v1.0/{appId}/website/dnscheck', 'GET',
+ pathParams, queryParams, headerParams, formParams, postBody,
+ authNames, contentTypes, accepts, returnType, null, callback
+ );
+ }
+
+
+}
diff --git a/src/index.js b/src/index.js
new file mode 100644
index 00000000..9668ebd2
--- /dev/null
+++ b/src/index.js
@@ -0,0 +1,6327 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+
+import ApiClient from './ApiClient';
+import Accept from './model/Accept';
+import AcceptInvitationResult from './model/AcceptInvitationResult';
+import AccountDetail from './model/AccountDetail';
+import AccountDetailBase from './model/AccountDetailBase';
+import AccountFieldDefinition from './model/AccountFieldDefinition';
+import AccountFieldKeyValuePair from './model/AccountFieldKeyValuePair';
+import AccountFieldsDefinitions from './model/AccountFieldsDefinitions';
+import AddressFormDisplayFormat from './model/AddressFormDisplayFormat';
+import AddressFormResponse from './model/AddressFormResponse';
+import AllMetadataResult from './model/AllMetadataResult';
+import Allergen from './model/Allergen';
+import AnalyticsClientEvent from './model/AnalyticsClientEvent';
+import ApmCurrencyDataPoint from './model/ApmCurrencyDataPoint';
+import ApmDataPoint from './model/ApmDataPoint';
+import ApmHourlyDataPoint from './model/ApmHourlyDataPoint';
+import ApmStatistics from './model/ApmStatistics';
+import ApmStatus from './model/ApmStatus';
+import App from './model/App';
+import AppChannelAssignment from './model/AppChannelAssignment';
+import AppCompliance from './model/AppCompliance';
+import AppConfigSalesChannel from './model/AppConfigSalesChannel';
+import AppConfigUpdateModel from './model/AppConfigUpdateModel';
+import AppCreatedEvent from './model/AppCreatedEvent';
+import AppInstall from './model/AppInstall';
+import AppLookup from './model/AppLookup';
+import AppStoreApp from './model/AppStoreApp';
+import AppStoreAppConfiguration from './model/AppStoreAppConfiguration';
+import AppStoreAppConfigurationSummary from './model/AppStoreAppConfigurationSummary';
+import AppStoreAppEntitlements from './model/AppStoreAppEntitlements';
+import AppStoreAppSummary from './model/AppStoreAppSummary';
+import AppStoreAppSupportInfo from './model/AppStoreAppSupportInfo';
+import AppStoreConfigCreatedEvent from './model/AppStoreConfigCreatedEvent';
+import AppStoreConfigDeletedEvent from './model/AppStoreConfigDeletedEvent';
+import AppStoreConfigUpdatedEvent from './model/AppStoreConfigUpdatedEvent';
+import AppStoreSubscriptionChangeJobUpdatedEvent from './model/AppStoreSubscriptionChangeJobUpdatedEvent';
+import AppUpdatedEvent from './model/AppUpdatedEvent';
+import AssignedBankAccount from './model/AssignedBankAccount';
+import AuditLogFieldChangeInformation from './model/AuditLogFieldChangeInformation';
+import BalanceDetails from './model/BalanceDetails';
+import BankAccount from './model/BankAccount';
+import BankAccountAssignedEvent from './model/BankAccountAssignedEvent';
+import BankAccountCreate from './model/BankAccountCreate';
+import BankAccountCreatedEvent from './model/BankAccountCreatedEvent';
+import BankAccountDeletedEvent from './model/BankAccountDeletedEvent';
+import BankAccountDetail from './model/BankAccountDetail';
+import BankAccountDetailsUpdateRequest from './model/BankAccountDetailsUpdateRequest';
+import BankAccountSummary from './model/BankAccountSummary';
+import BankAccountUpdatedEvent from './model/BankAccountUpdatedEvent';
+import BluetoothTerminalStatus from './model/BluetoothTerminalStatus';
+import BusinessHoursOverride from './model/BusinessHoursOverride';
+import BusinessHoursOverrideBase from './model/BusinessHoursOverrideBase';
+import BusinessHoursPeriod from './model/BusinessHoursPeriod';
+import BusinessHoursPeriodBase from './model/BusinessHoursPeriodBase';
+import CampaignStatistics from './model/CampaignStatistics';
+import CancellationToken from './model/CancellationToken';
+import CardReader from './model/CardReader';
+import CardReaderRegistrationRequest from './model/CardReaderRegistrationRequest';
+import CatalogGroupArchivedEvent from './model/CatalogGroupArchivedEvent';
+import CatalogGroupCreatedEvent from './model/CatalogGroupCreatedEvent';
+import CatalogGroupReference from './model/CatalogGroupReference';
+import CatalogGroupUpdatedEvent from './model/CatalogGroupUpdatedEvent';
+import CatalogImage from './model/CatalogImage';
+import CatalogItem from './model/CatalogItem';
+import CatalogItemArchivedEvent from './model/CatalogItemArchivedEvent';
+import CatalogItemCreatedEvent from './model/CatalogItemCreatedEvent';
+import CatalogItemUpdatedEvent from './model/CatalogItemUpdatedEvent';
+import CertificateCreatedEvent from './model/CertificateCreatedEvent';
+import CertificateRenewedEvent from './model/CertificateRenewedEvent';
+import ChangePasswordModel from './model/ChangePasswordModel';
+import Channel from './model/Channel';
+import ChannelStoresUpdatedEvent from './model/ChannelStoresUpdatedEvent';
+import ChargebackDetails from './model/ChargebackDetails';
+import ClientDevice from './model/ClientDevice';
+import ClientDeviceAssignEnrolledDevice from './model/ClientDeviceAssignEnrolledDevice';
+import ClientDeviceEnroll from './model/ClientDeviceEnroll';
+import ClientDeviceEnrollmentResult from './model/ClientDeviceEnrollmentResult';
+import ClientDeviceSummary from './model/ClientDeviceSummary';
+import ConfiguredStore from './model/ConfiguredStore';
+import Coordinates from './model/Coordinates';
+import CountryFormResponse from './model/CountryFormResponse';
+import CountryWithAccountFieldsDefinitions from './model/CountryWithAccountFieldsDefinitions';
+import CreateAccountModel from './model/CreateAccountModel';
+import CreateAppParameters from './model/CreateAppParameters';
+import CreateAppStoreApp from './model/CreateAppStoreApp';
+import CreateBasicAccountModel from './model/CreateBasicAccountModel';
+import CreateCatalogGroupReference from './model/CreateCatalogGroupReference';
+import CreateCatalogItem from './model/CreateCatalogItem';
+import CreateFulfillmentStatesConfiguration from './model/CreateFulfillmentStatesConfiguration';
+import CreateFullMenu from './model/CreateFullMenu';
+import CreateFullMenuItemOptionSet from './model/CreateFullMenuItemOptionSet';
+import CreateFullMenuItemOptionSetItem from './model/CreateFullMenuItemOptionSetItem';
+import CreateFullMenuSection from './model/CreateFullMenuSection';
+import CreateFullMenuSectionItem from './model/CreateFullMenuSectionItem';
+import CreateGroup from './model/CreateGroup';
+import CreateGroupReference from './model/CreateGroupReference';
+import CreateLocation from './model/CreateLocation';
+import CreateLocationArea from './model/CreateLocationArea';
+import CreateMenuSectionItemFromCatalogItems from './model/CreateMenuSectionItemFromCatalogItems';
+import CreateMenuTaxRate from './model/CreateMenuTaxRate';
+import CreateMetadata from './model/CreateMetadata';
+import CreateMetafieldDefinition from './model/CreateMetafieldDefinition';
+import CreatePayGreenConfigurationRequest from './model/CreatePayGreenConfigurationRequest';
+import CreateProduct from './model/CreateProduct';
+import CreateProductReference from './model/CreateProductReference';
+import CreatePromotion from './model/CreatePromotion';
+import CreateTeammate from './model/CreateTeammate';
+import CreateVoucher from './model/CreateVoucher';
+import CreatedMenuSectionItems from './model/CreatedMenuSectionItems';
+import CreditNoteDetails from './model/CreditNoteDetails';
+import CrossSellMenuItems from './model/CrossSellMenuItems';
+import CspReport from './model/CspReport';
+import CspReportRequest from './model/CspReportRequest';
+import CurrencyData from './model/CurrencyData';
+import Customer from './model/Customer';
+import CustomerConsentUpdatedEvent from './model/CustomerConsentUpdatedEvent';
+import CustomerCreateModel from './model/CustomerCreateModel';
+import CustomerCreatedEvent from './model/CustomerCreatedEvent';
+import CustomerDeliveryTrackingOrder from './model/CustomerDeliveryTrackingOrder';
+import CustomerDeliveryTrackingOrderLine from './model/CustomerDeliveryTrackingOrderLine';
+import CustomerMessages from './model/CustomerMessages';
+import CustomerSummary from './model/CustomerSummary';
+import CustomerUpdateModel from './model/CustomerUpdateModel';
+import CustomerUpdatedEvent from './model/CustomerUpdatedEvent';
+import Customers from './model/Customers';
+import DashboardEmbed from './model/DashboardEmbed';
+import DeliveryLocation from './model/DeliveryLocation';
+import DeliveryZone from './model/DeliveryZone';
+import DeliveryZoneBase from './model/DeliveryZoneBase';
+import DeliveryZoneCreatedEvent from './model/DeliveryZoneCreatedEvent';
+import DeliveryZoneDeletedEvent from './model/DeliveryZoneDeletedEvent';
+import DeliveryZoneUpdatedEvent from './model/DeliveryZoneUpdatedEvent';
+import DepositReturnFeesSummary from './model/DepositReturnFeesSummary';
+import DeviceSettings from './model/DeviceSettings';
+import DnsRecordInformation from './model/DnsRecordInformation';
+import DnsVerifiedEvent from './model/DnsVerifiedEvent';
+import DriverLoginModel from './model/DriverLoginModel';
+import DriverRequestLoginPinModel from './model/DriverRequestLoginPinModel';
+import DynamicFormField from './model/DynamicFormField';
+import DynamicFormFieldOption from './model/DynamicFormFieldOption';
+import DynamicFormRule from './model/DynamicFormRule';
+import DynamicFormRules from './model/DynamicFormRules';
+import EmvNotificationEvent from './model/EmvNotificationEvent';
+import EmvTerminal from './model/EmvTerminal';
+import EmvTerminalWithAssignments from './model/EmvTerminalWithAssignments';
+import EventSearchResult from './model/EventSearchResult';
+import ExecuteConfigurationActionRequest from './model/ExecuteConfigurationActionRequest';
+import ExecuteConfigurationActionResult from './model/ExecuteConfigurationActionResult';
+import ExternalStoreAuditLog from './model/ExternalStoreAuditLog';
+import ExternalStoreEvent from './model/ExternalStoreEvent';
+import FeeSummary from './model/FeeSummary';
+import Field from './model/Field';
+import FieldChangeInformation from './model/FieldChangeInformation';
+import FieldGroup from './model/FieldGroup';
+import FileCreationResult from './model/FileCreationResult';
+import FileDownloadResult from './model/FileDownloadResult';
+import FirebaseApp from './model/FirebaseApp';
+import FlipdishEventBase from './model/FlipdishEventBase';
+import FlipdishFeesDetails from './model/FlipdishFeesDetails';
+import FulfillentStatusActionItem from './model/FulfillentStatusActionItem';
+import FulfillmentStatesConfiguration from './model/FulfillmentStatesConfiguration';
+import FulfillmentStatesConfigurationSummary from './model/FulfillmentStatesConfigurationSummary';
+import FulfillmentStatesConfiguredStore from './model/FulfillmentStatesConfiguredStore';
+import FulfillmentStatusConfigurationItem from './model/FulfillmentStatusConfigurationItem';
+import GeoPointRequest from './model/GeoPointRequest';
+import GetReceiptByOrderIdQueryResponse from './model/GetReceiptByOrderIdQueryResponse';
+import GoogleAddress from './model/GoogleAddress';
+import GoogleAddressComponent from './model/GoogleAddressComponent';
+import GoogleAddressResult from './model/GoogleAddressResult';
+import GoogleCoordinates from './model/GoogleCoordinates';
+import GoogleGeometry from './model/GoogleGeometry';
+import GoogleLocation from './model/GoogleLocation';
+import GoogleViewport from './model/GoogleViewport';
+import Group from './model/Group';
+import GroupReference from './model/GroupReference';
+import GroupedCoordinates from './model/GroupedCoordinates';
+import HasPaymentMethodResponse from './model/HasPaymentMethodResponse';
+import HomeAction from './model/HomeAction';
+import HomeStatistics from './model/HomeStatistics';
+import HttpPostedFileBase from './model/HttpPostedFileBase';
+import HydraAssignedEvent from './model/HydraAssignedEvent';
+import HydraConfig from './model/HydraConfig';
+import HydraConnectionStatusChangedEvent from './model/HydraConnectionStatusChangedEvent';
+import HydraDeviceDetails from './model/HydraDeviceDetails';
+import HydraRegistrationRequest from './model/HydraRegistrationRequest';
+import HydraRequestResetEvent from './model/HydraRequestResetEvent';
+import HydraSettingChangedEvent from './model/HydraSettingChangedEvent';
+import HydraStatus from './model/HydraStatus';
+import HydraStoreAssignedEvent from './model/HydraStoreAssignedEvent';
+import HydraStoreData from './model/HydraStoreData';
+import HydraStoreUnassignedEvent from './model/HydraStoreUnassignedEvent';
+import HydraUnAssignedEvent from './model/HydraUnAssignedEvent';
+import IndexPage from './model/IndexPage';
+import IndexPageBase from './model/IndexPageBase';
+import IntercomUserHash from './model/IntercomUserHash';
+import Invoice from './model/Invoice';
+import InvoiceDiscount from './model/InvoiceDiscount';
+import InvoiceItem from './model/InvoiceItem';
+import InvoicePeriod from './model/InvoicePeriod';
+import ItemNutritionInfoAddUpdateModel from './model/ItemNutritionInfoAddUpdateModel';
+import ItemNutritionInfoV2AddUpdateModel from './model/ItemNutritionInfoV2AddUpdateModel';
+import JobAddress from './model/JobAddress';
+import JobCancellation from './model/JobCancellation';
+import JobContact from './model/JobContact';
+import JobDelivery from './model/JobDelivery';
+import JobDeliveryDetail from './model/JobDeliveryDetail';
+import JobDriver from './model/JobDriver';
+import JobEta from './model/JobEta';
+import JobPricing from './model/JobPricing';
+import JobProof from './model/JobProof';
+import JobResponse from './model/JobResponse';
+import KioskBluetoothInstallUpdateInitiateEvent from './model/KioskBluetoothInstallUpdateInitiateEvent';
+import KioskBluetoothPairingModeEvent from './model/KioskBluetoothPairingModeEvent';
+import KioskBluetoothTerminalCancelUpdateEvent from './model/KioskBluetoothTerminalCancelUpdateEvent';
+import KioskBluetoothTerminalFirmwareVersionStatusEvent from './model/KioskBluetoothTerminalFirmwareVersionStatusEvent';
+import KioskBluetoothTerminalInitiateUpdateCheckEvent from './model/KioskBluetoothTerminalInitiateUpdateCheckEvent';
+import KioskBluetoothTerminalInstallationStatusEvent from './model/KioskBluetoothTerminalInstallationStatusEvent';
+import KioskBluetoothTerminalUnpairedEvent from './model/KioskBluetoothTerminalUnpairedEvent';
+import KioskBluetoothTerminalUpdatedEvent from './model/KioskBluetoothTerminalUpdatedEvent';
+import KioskBluetoothUnpairingModeEvent from './model/KioskBluetoothUnpairingModeEvent';
+import KioskCashPaymentSettings from './model/KioskCashPaymentSettings';
+import KioskEntitlementsResult from './model/KioskEntitlementsResult';
+import KioskIotConnectionParameters from './model/KioskIotConnectionParameters';
+import KioskSettings from './model/KioskSettings';
+import KioskTerminalActionStateChangedEvent from './model/KioskTerminalActionStateChangedEvent';
+import Language from './model/Language';
+import LastPaymentError from './model/LastPaymentError';
+import LeadTime from './model/LeadTime';
+import LightspeedSettings from './model/LightspeedSettings';
+import LocalisedTimeZone from './model/LocalisedTimeZone';
+import LocationArea from './model/LocationArea';
+import LocationAreaCreatedEvent from './model/LocationAreaCreatedEvent';
+import LocationAreaLocation from './model/LocationAreaLocation';
+import LocationAreaUpdatedEvent from './model/LocationAreaUpdatedEvent';
+import LocationAreaWithLocations from './model/LocationAreaWithLocations';
+import LocationCreatedEvent from './model/LocationCreatedEvent';
+import LocationDeletedEvent from './model/LocationDeletedEvent';
+import LoginModel from './model/LoginModel';
+import LoginWithPinModel from './model/LoginWithPinModel';
+import LoyaltyCampaign from './model/LoyaltyCampaign';
+import LoyaltyCampaignBase from './model/LoyaltyCampaignBase';
+import LoyaltyCampaignCreatedEvent from './model/LoyaltyCampaignCreatedEvent';
+import LoyaltyCampaignDeletedEvent from './model/LoyaltyCampaignDeletedEvent';
+import LoyaltyCampaignUpdatedEvent from './model/LoyaltyCampaignUpdatedEvent';
+import LumpDiscountDetails from './model/LumpDiscountDetails';
+import MappedLocation from './model/MappedLocation';
+import MaskedPhoneNumber from './model/MaskedPhoneNumber';
+import Menu from './model/Menu';
+import MenuAsyncCreationCompletedEvent from './model/MenuAsyncCreationCompletedEvent';
+import MenuBase from './model/MenuBase';
+import MenuBulkEditEvent from './model/MenuBulkEditEvent';
+import MenuCatalogItem from './model/MenuCatalogItem';
+import MenuCheckpoint from './model/MenuCheckpoint';
+import MenuCheckpointCreatedEvent from './model/MenuCheckpointCreatedEvent';
+import MenuCreatedEvent from './model/MenuCreatedEvent';
+import MenuElementEditResponse from './model/MenuElementEditResponse';
+import MenuElementHide from './model/MenuElementHide';
+import MenuElementListItemResponse from './model/MenuElementListItemResponse';
+import MenuElementListResponse from './model/MenuElementListResponse';
+import MenuItemOptionSet from './model/MenuItemOptionSet';
+import MenuItemOptionSetBase from './model/MenuItemOptionSetBase';
+import MenuItemOptionSetCreatedEvent from './model/MenuItemOptionSetCreatedEvent';
+import MenuItemOptionSetDeletedEvent from './model/MenuItemOptionSetDeletedEvent';
+import MenuItemOptionSetItem from './model/MenuItemOptionSetItem';
+import MenuItemOptionSetItemBase from './model/MenuItemOptionSetItemBase';
+import MenuItemOptionSetItemCreatedEvent from './model/MenuItemOptionSetItemCreatedEvent';
+import MenuItemOptionSetItemDeletedEvent from './model/MenuItemOptionSetItemDeletedEvent';
+import MenuItemOptionSetItemUpdatedEvent from './model/MenuItemOptionSetItemUpdatedEvent';
+import MenuItemOptionSetUpdatedEvent from './model/MenuItemOptionSetUpdatedEvent';
+import MenuNutritionInfoHeader from './model/MenuNutritionInfoHeader';
+import MenuObjectDisplayOrders from './model/MenuObjectDisplayOrders';
+import MenuSection from './model/MenuSection';
+import MenuSectionAvailability from './model/MenuSectionAvailability';
+import MenuSectionAvailabilityBase from './model/MenuSectionAvailabilityBase';
+import MenuSectionBase from './model/MenuSectionBase';
+import MenuSectionCreatedEvent from './model/MenuSectionCreatedEvent';
+import MenuSectionDeletedEvent from './model/MenuSectionDeletedEvent';
+import MenuSectionItem from './model/MenuSectionItem';
+import MenuSectionItemBase from './model/MenuSectionItemBase';
+import MenuSectionItemCreatedEvent from './model/MenuSectionItemCreatedEvent';
+import MenuSectionItemDeletedEvent from './model/MenuSectionItemDeletedEvent';
+import MenuSectionItemUpdatedEvent from './model/MenuSectionItemUpdatedEvent';
+import MenuSectionUpdatedEvent from './model/MenuSectionUpdatedEvent';
+import MenuStoreNames from './model/MenuStoreNames';
+import MenuSummary from './model/MenuSummary';
+import MenuTaxDetails from './model/MenuTaxDetails';
+import MenuTaxRate from './model/MenuTaxRate';
+import MenuUpdatedEvent from './model/MenuUpdatedEvent';
+import MenuUploadedEvent from './model/MenuUploadedEvent';
+import MenuZone from './model/MenuZone';
+import Metadata from './model/Metadata';
+import Metafield from './model/Metafield';
+import MetafieldDefinition from './model/MetafieldDefinition';
+import MetafieldDefinitionRecommendation from './model/MetafieldDefinitionRecommendation';
+import MobileAppsImage from './model/MobileAppsImage';
+import MobileAppsStatistics from './model/MobileAppsStatistics';
+import MobileAppsSubmission from './model/MobileAppsSubmission';
+import MobileAppsSubmissionDetails from './model/MobileAppsSubmissionDetails';
+import MobileAppsSubmissionStatus from './model/MobileAppsSubmissionStatus';
+import MobileAppsSubmissionStatusUpdatedEvent from './model/MobileAppsSubmissionStatusUpdatedEvent';
+import MobileAppsSubmissionUpdatedEvent from './model/MobileAppsSubmissionUpdatedEvent';
+import NextStatusWithOrderType from './model/NextStatusWithOrderType';
+import NutritionInfo from './model/NutritionInfo';
+import NutritionInfoItemAddUpdateLabelModel from './model/NutritionInfoItemAddUpdateLabelModel';
+import NutritionInfoLabel from './model/NutritionInfoLabel';
+import NutritionInfoMenuItem from './model/NutritionInfoMenuItem';
+import NutritionInfoMenuOptionSetItem from './model/NutritionInfoMenuOptionSetItem';
+import NutritionInfoV2 from './model/NutritionInfoV2';
+import NutritionInfoV2Allergen from './model/NutritionInfoV2Allergen';
+import NutritionInfoV2Item from './model/NutritionInfoV2Item';
+import OAuthApp from './model/OAuthApp';
+import OAuthTokenModel from './model/OAuthTokenModel';
+import OauthClientRedirectUri from './model/OauthClientRedirectUri';
+import ObjectDisplayOrder from './model/ObjectDisplayOrder';
+import OktaPortalFeatureFlag from './model/OktaPortalFeatureFlag';
+import OnboardingConfigUpdate from './model/OnboardingConfigUpdate';
+import OnboardingItemUpdate from './model/OnboardingItemUpdate';
+import Order from './model/Order';
+import OrderAcceptedEvent from './model/OrderAcceptedEvent';
+import OrderBatch from './model/OrderBatch';
+import OrderBatchPublishedEvent from './model/OrderBatchPublishedEvent';
+import OrderBatchSummary from './model/OrderBatchSummary';
+import OrderBatchingConfiguration from './model/OrderBatchingConfiguration';
+import OrderCapacityConfigUpdatedEvent from './model/OrderCapacityConfigUpdatedEvent';
+import OrderCreatedEvent from './model/OrderCreatedEvent';
+import OrderCustomerTrackingCreatedEvent from './model/OrderCustomerTrackingCreatedEvent';
+import OrderDeliveryInformation from './model/OrderDeliveryInformation';
+import OrderDeliveryInformationBase from './model/OrderDeliveryInformationBase';
+import OrderDeliveryTrackingStatusUpdatedEvent from './model/OrderDeliveryTrackingStatusUpdatedEvent';
+import OrderDispatchedEvent from './model/OrderDispatchedEvent';
+import OrderDropOffLocation from './model/OrderDropOffLocation';
+import OrderFulfillmentStatus from './model/OrderFulfillmentStatus';
+import OrderFulfillmentStatusBase from './model/OrderFulfillmentStatusBase';
+import OrderFulfillmentStatusUpdate from './model/OrderFulfillmentStatusUpdate';
+import OrderFulfillmentStatusUpdatedEvent from './model/OrderFulfillmentStatusUpdatedEvent';
+import OrderFulfillmentStatusWithConfigurationActions from './model/OrderFulfillmentStatusWithConfigurationActions';
+import OrderItem from './model/OrderItem';
+import OrderItemOption from './model/OrderItemOption';
+import OrderLeadTimes from './model/OrderLeadTimes';
+import OrderList from './model/OrderList';
+import OrderPaymentInformation from './model/OrderPaymentInformation';
+import OrderRatingUpdatedEvent from './model/OrderRatingUpdatedEvent';
+import OrderReference from './model/OrderReference';
+import OrderRefundedEvent from './model/OrderRefundedEvent';
+import OrderRejectedEvent from './model/OrderRejectedEvent';
+import OrderSummary from './model/OrderSummary';
+import OrderTipUpdatedEvent from './model/OrderTipUpdatedEvent';
+import OrderVoucherSummary from './model/OrderVoucherSummary';
+import OtherChargesDetails from './model/OtherChargesDetails';
+import OwnerEntityConfiguration from './model/OwnerEntityConfiguration';
+import OwnerEntityConfigurations from './model/OwnerEntityConfigurations';
+import PasswordResetModel from './model/PasswordResetModel';
+import PaymentAccount from './model/PaymentAccount';
+import PaymentIntent from './model/PaymentIntent';
+import PaymentTerminalDetails from './model/PaymentTerminalDetails';
+import PaymentTerminalTransactionDetails from './model/PaymentTerminalTransactionDetails';
+import Payout from './model/Payout';
+import PayoutChargeback from './model/PayoutChargeback';
+import PayoutDetail from './model/PayoutDetail';
+import PayoutOrder from './model/PayoutOrder';
+import PayoutOtherCharge from './model/PayoutOtherCharge';
+import PayoutRefund from './model/PayoutRefund';
+import PayoutReport3Details from './model/PayoutReport3Details';
+import PayoutReport3DetailsAdjustments from './model/PayoutReport3DetailsAdjustments';
+import PayoutReport3DetailsFlipdishFees from './model/PayoutReport3DetailsFlipdishFees';
+import PayoutReport3DetailsRevenue from './model/PayoutReport3DetailsRevenue';
+import PayoutReport3DetailsSalesLine from './model/PayoutReport3DetailsSalesLine';
+import PayoutReport3DetailsSummary from './model/PayoutReport3DetailsSummary';
+import PayoutReport3Overview from './model/PayoutReport3Overview';
+import PayoutReport3OverviewHeader from './model/PayoutReport3OverviewHeader';
+import PayoutReport3RefundedOrder from './model/PayoutReport3RefundedOrder';
+import PayoutReport3Store from './model/PayoutReport3Store';
+import PayoutRequestIds from './model/PayoutRequestIds';
+import PayoutStore from './model/PayoutStore';
+import PayoutSummary from './model/PayoutSummary';
+import PendingInvitation from './model/PendingInvitation';
+import PendingMenuChanges from './model/PendingMenuChanges';
+import PendingMenuChangesSummaries from './model/PendingMenuChangesSummaries';
+import PercentDiscountDetails from './model/PercentDiscountDetails';
+import PhoneCall from './model/PhoneCall';
+import PhoneCallEndedEvent from './model/PhoneCallEndedEvent';
+import PhoneCallStartedEvent from './model/PhoneCallStartedEvent';
+import PosRevenueDetails from './model/PosRevenueDetails';
+import PreOrderConfig from './model/PreOrderConfig';
+import PreOrderTime from './model/PreOrderTime';
+import PredefinedAnswer from './model/PredefinedAnswer';
+import PreviousOrder from './model/PreviousOrder';
+import PreviousOrderItem from './model/PreviousOrderItem';
+import PreviousOrderItemOption from './model/PreviousOrderItemOption';
+import Printer from './model/Printer';
+import PrinterAssignedToStoreEvent from './model/PrinterAssignedToStoreEvent';
+import PrinterTurnedOffEvent from './model/PrinterTurnedOffEvent';
+import PrinterTurnedOnEvent from './model/PrinterTurnedOnEvent';
+import PrinterUnassignedFromStoreEvent from './model/PrinterUnassignedFromStoreEvent';
+import ProcessPaymentIntentRequest from './model/ProcessPaymentIntentRequest';
+import ProcessingFeeConfig from './model/ProcessingFeeConfig';
+import Product from './model/Product';
+import ProductReference from './model/ProductReference';
+import PromotionAward from './model/PromotionAward';
+import PromotionDetails from './model/PromotionDetails';
+import PublishMenuChanges from './model/PublishMenuChanges';
+import PushNotificationDeletedEvent from './model/PushNotificationDeletedEvent';
+import PushNotificationRequest from './model/PushNotificationRequest';
+import PushNotificationResponse from './model/PushNotificationResponse';
+import PushNotificationScheduledEvent from './model/PushNotificationScheduledEvent';
+import PushNotificationSentEvent from './model/PushNotificationSentEvent';
+import Range from './model/Range';
+import ReaderActionStateInfo from './model/ReaderActionStateInfo';
+import RedeemInvitationResult from './model/RedeemInvitationResult';
+import Refund from './model/Refund';
+import Reject from './model/Reject';
+import RequestLoginPinModel from './model/RequestLoginPinModel';
+import RequestLoginPinResponse from './model/RequestLoginPinResponse';
+import RequestPasswordResetModel from './model/RequestPasswordResetModel';
+import RequestPasswordResetPinResponse from './model/RequestPasswordResetPinResponse';
+import Response from './model/Response';
+import RestApiArrayResultAllMetadataResult from './model/RestApiArrayResultAllMetadataResult';
+import RestApiArrayResultAllergen from './model/RestApiArrayResultAllergen';
+import RestApiArrayResultApmCurrencyDataPoint from './model/RestApiArrayResultApmCurrencyDataPoint';
+import RestApiArrayResultApmDataPoint from './model/RestApiArrayResultApmDataPoint';
+import RestApiArrayResultApmHourlyDataPoint from './model/RestApiArrayResultApmHourlyDataPoint';
+import RestApiArrayResultAppStoreAppConfigurationSummary from './model/RestApiArrayResultAppStoreAppConfigurationSummary';
+import RestApiArrayResultAppStoreAppSummary from './model/RestApiArrayResultAppStoreAppSummary';
+import RestApiArrayResultBankAccountSummary from './model/RestApiArrayResultBankAccountSummary';
+import RestApiArrayResultBusinessHoursPeriod from './model/RestApiArrayResultBusinessHoursPeriod';
+import RestApiArrayResultChannel from './model/RestApiArrayResultChannel';
+import RestApiArrayResultClientDeviceSummary from './model/RestApiArrayResultClientDeviceSummary';
+import RestApiArrayResultCountryWithAccountFieldsDefinitions from './model/RestApiArrayResultCountryWithAccountFieldsDefinitions';
+import RestApiArrayResultDeliveryZone from './model/RestApiArrayResultDeliveryZone';
+import RestApiArrayResultEmvTerminalWithAssignments from './model/RestApiArrayResultEmvTerminalWithAssignments';
+import RestApiArrayResultFulfillmentStatesConfigurationSummary from './model/RestApiArrayResultFulfillmentStatesConfigurationSummary';
+import RestApiArrayResultHomeAction from './model/RestApiArrayResultHomeAction';
+import RestApiArrayResultKioskCashPaymentSettings from './model/RestApiArrayResultKioskCashPaymentSettings';
+import RestApiArrayResultLocalisedTimeZone from './model/RestApiArrayResultLocalisedTimeZone';
+import RestApiArrayResultLocationAreaLocation from './model/RestApiArrayResultLocationAreaLocation';
+import RestApiArrayResultLocationAreaWithLocations from './model/RestApiArrayResultLocationAreaWithLocations';
+import RestApiArrayResultLoyaltyCampaign from './model/RestApiArrayResultLoyaltyCampaign';
+import RestApiArrayResultMenuCheckpoint from './model/RestApiArrayResultMenuCheckpoint';
+import RestApiArrayResultMenuElementEditResponse from './model/RestApiArrayResultMenuElementEditResponse';
+import RestApiArrayResultMenuElementListResponse from './model/RestApiArrayResultMenuElementListResponse';
+import RestApiArrayResultMenuItemOptionSet from './model/RestApiArrayResultMenuItemOptionSet';
+import RestApiArrayResultMenuItemOptionSetItem from './model/RestApiArrayResultMenuItemOptionSetItem';
+import RestApiArrayResultMenuSection from './model/RestApiArrayResultMenuSection';
+import RestApiArrayResultMenuSectionItem from './model/RestApiArrayResultMenuSectionItem';
+import RestApiArrayResultMenuStoreNames from './model/RestApiArrayResultMenuStoreNames';
+import RestApiArrayResultMenuSummary from './model/RestApiArrayResultMenuSummary';
+import RestApiArrayResultMenuTaxDetails from './model/RestApiArrayResultMenuTaxDetails';
+import RestApiArrayResultMenuZone from './model/RestApiArrayResultMenuZone';
+import RestApiArrayResultMetadata from './model/RestApiArrayResultMetadata';
+import RestApiArrayResultMobileAppsStatistics from './model/RestApiArrayResultMobileAppsStatistics';
+import RestApiArrayResultOAuthApp from './model/RestApiArrayResultOAuthApp';
+import RestApiArrayResultOauthClientRedirectUri from './model/RestApiArrayResultOauthClientRedirectUri';
+import RestApiArrayResultOrderBatch from './model/RestApiArrayResultOrderBatch';
+import RestApiArrayResultOrderFulfillmentStatus from './model/RestApiArrayResultOrderFulfillmentStatus';
+import RestApiArrayResultPayoutSummary from './model/RestApiArrayResultPayoutSummary';
+import RestApiArrayResultPendingInvitation from './model/RestApiArrayResultPendingInvitation';
+import RestApiArrayResultPendingMenuChangesSummaries from './model/RestApiArrayResultPendingMenuChangesSummaries';
+import RestApiArrayResultPreOrderTime from './model/RestApiArrayResultPreOrderTime';
+import RestApiArrayResultProcessingFeeConfig from './model/RestApiArrayResultProcessingFeeConfig';
+import RestApiArrayResultRedeemInvitationResult from './model/RestApiArrayResultRedeemInvitationResult';
+import RestApiArrayResultRestApiDefaultResponse from './model/RestApiArrayResultRestApiDefaultResponse';
+import RestApiArrayResultRestaurantVoucherEligibleStore from './model/RestApiArrayResultRestaurantVoucherEligibleStore';
+import RestApiArrayResultRestaurantVoucherPayGreenConfiguration from './model/RestApiArrayResultRestaurantVoucherPayGreenConfiguration';
+import RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary from './model/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary';
+import RestApiArrayResultRetentionCampaign from './model/RestApiArrayResultRetentionCampaign';
+import RestApiArrayResultSmsProviderCredential from './model/RestApiArrayResultSmsProviderCredential';
+import RestApiArrayResultStoreChannelAssignment from './model/RestApiArrayResultStoreChannelAssignment';
+import RestApiArrayResultStoreDeliveryZoneFeeConfig from './model/RestApiArrayResultStoreDeliveryZoneFeeConfig';
+import RestApiArrayResultStoreListItem from './model/RestApiArrayResultStoreListItem';
+import RestApiArrayResultStoreStatistics from './model/RestApiArrayResultStoreStatistics';
+import RestApiArrayResultStripeCustomConnectedAccount from './model/RestApiArrayResultStripeCustomConnectedAccount';
+import RestApiArrayResultSubscriptionSummary from './model/RestApiArrayResultSubscriptionSummary';
+import RestApiArrayResultSupportedCountry from './model/RestApiArrayResultSupportedCountry';
+import RestApiArrayResultTeammate from './model/RestApiArrayResultTeammate';
+import RestApiArrayResultUserFlipdishAccount from './model/RestApiArrayResultUserFlipdishAccount';
+import RestApiArrayResultUserNote from './model/RestApiArrayResultUserNote';
+import RestApiArrayResultUserStoreInfo from './model/RestApiArrayResultUserStoreInfo';
+import RestApiArrayResultVoucherDataPoint from './model/RestApiArrayResultVoucherDataPoint';
+import RestApiDefaultResponse from './model/RestApiDefaultResponse';
+import RestApiErrorResult from './model/RestApiErrorResult';
+import RestApiEventSearchPaginationResult from './model/RestApiEventSearchPaginationResult';
+import RestApiFinanceSearchPaginationResultInvoice from './model/RestApiFinanceSearchPaginationResultInvoice';
+import RestApiFinanceSearchPaginationResultSubscriptionInvoice from './model/RestApiFinanceSearchPaginationResultSubscriptionInvoice';
+import RestApiForbiddenResult from './model/RestApiForbiddenResult';
+import RestApiIntegerResult from './model/RestApiIntegerResult';
+import RestApiPaginationResultApp from './model/RestApiPaginationResultApp';
+import RestApiPaginationResultAppStoreAppSummary from './model/RestApiPaginationResultAppStoreAppSummary';
+import RestApiPaginationResultBusinessHoursOverride from './model/RestApiPaginationResultBusinessHoursOverride';
+import RestApiPaginationResultCatalogItem from './model/RestApiPaginationResultCatalogItem';
+import RestApiPaginationResultGroup from './model/RestApiPaginationResultGroup';
+import RestApiPaginationResultHydraDeviceDetails from './model/RestApiPaginationResultHydraDeviceDetails';
+import RestApiPaginationResultMetafieldDefinition from './model/RestApiPaginationResultMetafieldDefinition';
+import RestApiPaginationResultMetafieldDefinitionRecommendation from './model/RestApiPaginationResultMetafieldDefinitionRecommendation';
+import RestApiPaginationResultOAuthTokenModel from './model/RestApiPaginationResultOAuthTokenModel';
+import RestApiPaginationResultOrder from './model/RestApiPaginationResultOrder';
+import RestApiPaginationResultOrderSummary from './model/RestApiPaginationResultOrderSummary';
+import RestApiPaginationResultPayout from './model/RestApiPaginationResultPayout';
+import RestApiPaginationResultPayoutChargeback from './model/RestApiPaginationResultPayoutChargeback';
+import RestApiPaginationResultPayoutOrder from './model/RestApiPaginationResultPayoutOrder';
+import RestApiPaginationResultPayoutOtherCharge from './model/RestApiPaginationResultPayoutOtherCharge';
+import RestApiPaginationResultPayoutRefund from './model/RestApiPaginationResultPayoutRefund';
+import RestApiPaginationResultPayoutReport3RefundedOrder from './model/RestApiPaginationResultPayoutReport3RefundedOrder';
+import RestApiPaginationResultPendingMenuChanges from './model/RestApiPaginationResultPendingMenuChanges';
+import RestApiPaginationResultPhoneCall from './model/RestApiPaginationResultPhoneCall';
+import RestApiPaginationResultProduct from './model/RestApiPaginationResultProduct';
+import RestApiPaginationResultPushNotificationResponse from './model/RestApiPaginationResultPushNotificationResponse';
+import RestApiPaginationResultRestaurant from './model/RestApiPaginationResultRestaurant';
+import RestApiPaginationResultStore from './model/RestApiPaginationResultStore';
+import RestApiPaginationResultStoreGroup from './model/RestApiPaginationResultStoreGroup';
+import RestApiPaginationResultStoreGroupExtended from './model/RestApiPaginationResultStoreGroupExtended';
+import RestApiPaginationResultStoreHeader from './model/RestApiPaginationResultStoreHeader';
+import RestApiPaginationResultStoreValidationConfig from './model/RestApiPaginationResultStoreValidationConfig';
+import RestApiPaginationResultUserSearch from './model/RestApiPaginationResultUserSearch';
+import RestApiPaginationResultVoucherSummary from './model/RestApiPaginationResultVoucherSummary';
+import RestApiPaginationResultWebhookLog from './model/RestApiPaginationResultWebhookLog';
+import RestApiPaginationResultWebhookSubscription from './model/RestApiPaginationResultWebhookSubscription';
+import RestApiResultAcceptInvitationResult from './model/RestApiResultAcceptInvitationResult';
+import RestApiResultAccountDetail from './model/RestApiResultAccountDetail';
+import RestApiResultAccountFieldsDefinitions from './model/RestApiResultAccountFieldsDefinitions';
+import RestApiResultAddressFormResponse from './model/RestApiResultAddressFormResponse';
+import RestApiResultApmStatistics from './model/RestApiResultApmStatistics';
+import RestApiResultApmStatus from './model/RestApiResultApmStatus';
+import RestApiResultApp from './model/RestApiResultApp';
+import RestApiResultAppChannelAssignment from './model/RestApiResultAppChannelAssignment';
+import RestApiResultAppCompliance from './model/RestApiResultAppCompliance';
+import RestApiResultAppConfigSalesChannel from './model/RestApiResultAppConfigSalesChannel';
+import RestApiResultAppStoreApp from './model/RestApiResultAppStoreApp';
+import RestApiResultAppStoreAppConfiguration from './model/RestApiResultAppStoreAppConfiguration';
+import RestApiResultAppStoreAppEntitlements from './model/RestApiResultAppStoreAppEntitlements';
+import RestApiResultAssignedBankAccount from './model/RestApiResultAssignedBankAccount';
+import RestApiResultBankAccountDetail from './model/RestApiResultBankAccountDetail';
+import RestApiResultBluetoothTerminalStatus from './model/RestApiResultBluetoothTerminalStatus';
+import RestApiResultBusinessHoursOverride from './model/RestApiResultBusinessHoursOverride';
+import RestApiResultBusinessHoursPeriod from './model/RestApiResultBusinessHoursPeriod';
+import RestApiResultCardReader from './model/RestApiResultCardReader';
+import RestApiResultCatalogItem from './model/RestApiResultCatalogItem';
+import RestApiResultChannel from './model/RestApiResultChannel';
+import RestApiResultClientDevice from './model/RestApiResultClientDevice';
+import RestApiResultClientDeviceEnrollmentResult from './model/RestApiResultClientDeviceEnrollmentResult';
+import RestApiResultCoordinates from './model/RestApiResultCoordinates';
+import RestApiResultCountryFormResponse from './model/RestApiResultCountryFormResponse';
+import RestApiResultCreatedMenuSectionItems from './model/RestApiResultCreatedMenuSectionItems';
+import RestApiResultCrossSellMenuItems from './model/RestApiResultCrossSellMenuItems';
+import RestApiResultCustomer from './model/RestApiResultCustomer';
+import RestApiResultCustomers from './model/RestApiResultCustomers';
+import RestApiResultDeliveryZone from './model/RestApiResultDeliveryZone';
+import RestApiResultDnsRecordInformation from './model/RestApiResultDnsRecordInformation';
+import RestApiResultExecuteConfigurationActionResult from './model/RestApiResultExecuteConfigurationActionResult';
+import RestApiResultFileCreationResult from './model/RestApiResultFileCreationResult';
+import RestApiResultFileDownloadResult from './model/RestApiResultFileDownloadResult';
+import RestApiResultFulfillmentStatesConfiguration from './model/RestApiResultFulfillmentStatesConfiguration';
+import RestApiResultGroup from './model/RestApiResultGroup';
+import RestApiResultHasPaymentMethodResponse from './model/RestApiResultHasPaymentMethodResponse';
+import RestApiResultHomeStatistics from './model/RestApiResultHomeStatistics';
+import RestApiResultHydraConfig from './model/RestApiResultHydraConfig';
+import RestApiResultHydraDeviceDetails from './model/RestApiResultHydraDeviceDetails';
+import RestApiResultHydraStatus from './model/RestApiResultHydraStatus';
+import RestApiResultIndexPage from './model/RestApiResultIndexPage';
+import RestApiResultIndexPageBase from './model/RestApiResultIndexPageBase';
+import RestApiResultIntercomUserHash from './model/RestApiResultIntercomUserHash';
+import RestApiResultJobResponse from './model/RestApiResultJobResponse';
+import RestApiResultKioskEntitlementsResult from './model/RestApiResultKioskEntitlementsResult';
+import RestApiResultKioskIotConnectionParameters from './model/RestApiResultKioskIotConnectionParameters';
+import RestApiResultKioskSettings from './model/RestApiResultKioskSettings';
+import RestApiResultLightspeedSettings from './model/RestApiResultLightspeedSettings';
+import RestApiResultLocationArea from './model/RestApiResultLocationArea';
+import RestApiResultLocationAreaLocation from './model/RestApiResultLocationAreaLocation';
+import RestApiResultLocationAreaWithLocations from './model/RestApiResultLocationAreaWithLocations';
+import RestApiResultLoyaltyCampaign from './model/RestApiResultLoyaltyCampaign';
+import RestApiResultMappedLocation from './model/RestApiResultMappedLocation';
+import RestApiResultMenu from './model/RestApiResultMenu';
+import RestApiResultMenuItemOptionSet from './model/RestApiResultMenuItemOptionSet';
+import RestApiResultMenuItemOptionSetItem from './model/RestApiResultMenuItemOptionSetItem';
+import RestApiResultMenuNutritionInfoHeader from './model/RestApiResultMenuNutritionInfoHeader';
+import RestApiResultMenuSection from './model/RestApiResultMenuSection';
+import RestApiResultMenuSectionAvailability from './model/RestApiResultMenuSectionAvailability';
+import RestApiResultMenuSectionItem from './model/RestApiResultMenuSectionItem';
+import RestApiResultMenuZone from './model/RestApiResultMenuZone';
+import RestApiResultMetadata from './model/RestApiResultMetadata';
+import RestApiResultMetafieldDefinition from './model/RestApiResultMetafieldDefinition';
+import RestApiResultMobileAppsImage from './model/RestApiResultMobileAppsImage';
+import RestApiResultMobileAppsSubmission from './model/RestApiResultMobileAppsSubmission';
+import RestApiResultMobileAppsSubmissionDetails from './model/RestApiResultMobileAppsSubmissionDetails';
+import RestApiResultMobileAppsSubmissionStatus from './model/RestApiResultMobileAppsSubmissionStatus';
+import RestApiResultModelBase from './model/RestApiResultModelBase';
+import RestApiResultNutritionInfo from './model/RestApiResultNutritionInfo';
+import RestApiResultNutritionInfoV2 from './model/RestApiResultNutritionInfoV2';
+import RestApiResultOAuthApp from './model/RestApiResultOAuthApp';
+import RestApiResultOauthClientRedirectUri from './model/RestApiResultOauthClientRedirectUri';
+import RestApiResultOktaPortalFeatureFlag from './model/RestApiResultOktaPortalFeatureFlag';
+import RestApiResultOrder from './model/RestApiResultOrder';
+import RestApiResultOrderBatch from './model/RestApiResultOrderBatch';
+import RestApiResultOrderBatchingConfiguration from './model/RestApiResultOrderBatchingConfiguration';
+import RestApiResultOrderDeliveryInformation from './model/RestApiResultOrderDeliveryInformation';
+import RestApiResultOrderFulfillmentStatus from './model/RestApiResultOrderFulfillmentStatus';
+import RestApiResultOrderFulfillmentStatusWithConfigurationActions from './model/RestApiResultOrderFulfillmentStatusWithConfigurationActions';
+import RestApiResultOrderLeadTimes from './model/RestApiResultOrderLeadTimes';
+import RestApiResultOrderPaymentInformation from './model/RestApiResultOrderPaymentInformation';
+import RestApiResultPaymentIntent from './model/RestApiResultPaymentIntent';
+import RestApiResultPaymentTerminalDetails from './model/RestApiResultPaymentTerminalDetails';
+import RestApiResultPaymentTerminalTransactionDetails from './model/RestApiResultPaymentTerminalTransactionDetails';
+import RestApiResultPayoutReport3Details from './model/RestApiResultPayoutReport3Details';
+import RestApiResultPayoutReport3Overview from './model/RestApiResultPayoutReport3Overview';
+import RestApiResultPreOrderConfig from './model/RestApiResultPreOrderConfig';
+import RestApiResultProcessingFeeConfig from './model/RestApiResultProcessingFeeConfig';
+import RestApiResultProduct from './model/RestApiResultProduct';
+import RestApiResultPushNotificationResponse from './model/RestApiResultPushNotificationResponse';
+import RestApiResultRedeemInvitationResult from './model/RestApiResultRedeemInvitationResult';
+import RestApiResultRestApiDefaultResponse from './model/RestApiResultRestApiDefaultResponse';
+import RestApiResultRestApiIntegerResult from './model/RestApiResultRestApiIntegerResult';
+import RestApiResultRestaurantVoucherPayGreenConfiguration from './model/RestApiResultRestaurantVoucherPayGreenConfiguration';
+import RestApiResultRestaurantVoucherPayGreenStoreConfiguration from './model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration';
+import RestApiResultRetentionCampaign from './model/RestApiResultRetentionCampaign';
+import RestApiResultServiceCharge from './model/RestApiResultServiceCharge';
+import RestApiResultSmsProviderCredential from './model/RestApiResultSmsProviderCredential';
+import RestApiResultStore from './model/RestApiResultStore';
+import RestApiResultStoreAddress from './model/RestApiResultStoreAddress';
+import RestApiResultStoreChannelAssignment from './model/RestApiResultStoreChannelAssignment';
+import RestApiResultStoreEndOfDayReport from './model/RestApiResultStoreEndOfDayReport';
+import RestApiResultStoreGroup from './model/RestApiResultStoreGroup';
+import RestApiResultStoreGroupBase from './model/RestApiResultStoreGroupBase';
+import RestApiResultStoreOrderCapacityConfig from './model/RestApiResultStoreOrderCapacityConfig';
+import RestApiResultStripeConnectedAccount from './model/RestApiResultStripeConnectedAccount';
+import RestApiResultStripeTerminalConnectionToken from './model/RestApiResultStripeTerminalConnectionToken';
+import RestApiResultStripeTerminalLocation from './model/RestApiResultStripeTerminalLocation';
+import RestApiResultStuartSettings from './model/RestApiResultStuartSettings';
+import RestApiResultSubscription from './model/RestApiResultSubscription';
+import RestApiResultTeammate from './model/RestApiResultTeammate';
+import RestApiResultTelemetrySeriesResult from './model/RestApiResultTelemetrySeriesResult';
+import RestApiResultTipConfiguration from './model/RestApiResultTipConfiguration';
+import RestApiResultUpdateMobileAppsSubmissionStatus from './model/RestApiResultUpdateMobileAppsSubmissionStatus';
+import RestApiResultUserInfo from './model/RestApiResultUserInfo';
+import RestApiResultUserRole from './model/RestApiResultUserRole';
+import RestApiResultVoucher from './model/RestApiResultVoucher';
+import RestApiResultVoucherWithStats from './model/RestApiResultVoucherWithStats';
+import RestApiResultWebsiteImage from './model/RestApiResultWebsiteImage';
+import RestApiResultWebsiteTestimonial from './model/RestApiResultWebsiteTestimonial';
+import RestApiStringArrayResult from './model/RestApiStringArrayResult';
+import RestApiStringResult from './model/RestApiStringResult';
+import RestApiUnauthorizedResult from './model/RestApiUnauthorizedResult';
+import Restaurant from './model/Restaurant';
+import RestaurantVoucherAssignedStore from './model/RestaurantVoucherAssignedStore';
+import RestaurantVoucherEligibleStore from './model/RestaurantVoucherEligibleStore';
+import RestaurantVoucherPayGreenConfiguration from './model/RestaurantVoucherPayGreenConfiguration';
+import RestaurantVoucherPayGreenConfigurationSummary from './model/RestaurantVoucherPayGreenConfigurationSummary';
+import RestaurantVoucherPayGreenStoreConfiguration from './model/RestaurantVoucherPayGreenStoreConfiguration';
+import RetentionCampaign from './model/RetentionCampaign';
+import RetentionCampaignBase from './model/RetentionCampaignBase';
+import RetentionCampaignCreatedEvent from './model/RetentionCampaignCreatedEvent';
+import RetentionCampaignDeletedEvent from './model/RetentionCampaignDeletedEvent';
+import RetentionCampaignUpdatedEvent from './model/RetentionCampaignUpdatedEvent';
+import RevenueAdjustmentsDetails from './model/RevenueAdjustmentsDetails';
+import RevenueDetail from './model/RevenueDetail';
+import SafeWaitHandle from './model/SafeWaitHandle';
+import SearchCriteria from './model/SearchCriteria';
+import ServiceCharge from './model/ServiceCharge';
+import SetOrderBatchingConfiguration from './model/SetOrderBatchingConfiguration';
+import SetPasswordWithPinModel from './model/SetPasswordWithPinModel';
+import SetVoucherValidityPeriodsSimplifiedRequest from './model/SetVoucherValidityPeriodsSimplifiedRequest';
+import Setting from './model/Setting';
+import SignupStep from './model/SignupStep';
+import SmsInfo from './model/SmsInfo';
+import SmsProviderCredential from './model/SmsProviderCredential';
+import SmsProviderCredentialUpdateRequest from './model/SmsProviderCredentialUpdateRequest';
+import SmsReceivedEvent from './model/SmsReceivedEvent';
+import StatisticsCurrencyDataPoint from './model/StatisticsCurrencyDataPoint';
+import Store from './model/Store';
+import StoreAddress from './model/StoreAddress';
+import StoreAddressBase from './model/StoreAddressBase';
+import StoreAddressForm from './model/StoreAddressForm';
+import StoreAddressUpdatedEvent from './model/StoreAddressUpdatedEvent';
+import StoreArchivedEvent from './model/StoreArchivedEvent';
+import StoreBase from './model/StoreBase';
+import StoreBusinessHoursOverrideCreatedEvent from './model/StoreBusinessHoursOverrideCreatedEvent';
+import StoreBusinessHoursOverrideDeletedEvent from './model/StoreBusinessHoursOverrideDeletedEvent';
+import StoreCampaignStartTime from './model/StoreCampaignStartTime';
+import StoreChannelAssignment from './model/StoreChannelAssignment';
+import StoreCloneSettings from './model/StoreCloneSettings';
+import StoreCollectionSettings from './model/StoreCollectionSettings';
+import StoreConfig from './model/StoreConfig';
+import StoreCreateBase from './model/StoreCreateBase';
+import StoreCreatedEvent from './model/StoreCreatedEvent';
+import StoreDataPoint from './model/StoreDataPoint';
+import StoreDeletedEvent from './model/StoreDeletedEvent';
+import StoreDeliveryZoneFeeConfig from './model/StoreDeliveryZoneFeeConfig';
+import StoreDeliveryZoneFeeConfigUpdateRequest from './model/StoreDeliveryZoneFeeConfigUpdateRequest';
+import StoreEndOfDayReport from './model/StoreEndOfDayReport';
+import StoreFeeConfig from './model/StoreFeeConfig';
+import StoreFeeConfigUpdatedEvent from './model/StoreFeeConfigUpdatedEvent';
+import StoreGroup from './model/StoreGroup';
+import StoreGroupBase from './model/StoreGroupBase';
+import StoreGroupCreatedEvent from './model/StoreGroupCreatedEvent';
+import StoreGroupDeletedEvent from './model/StoreGroupDeletedEvent';
+import StoreGroupExtended from './model/StoreGroupExtended';
+import StoreGroupUpdatedEvent from './model/StoreGroupUpdatedEvent';
+import StoreHeader from './model/StoreHeader';
+import StoreItemHeader from './model/StoreItemHeader';
+import StoreKioskSetting from './model/StoreKioskSetting';
+import StoreKioskSettingUpdatedEvent from './model/StoreKioskSettingUpdatedEvent';
+import StoreListItem from './model/StoreListItem';
+import StoreLogoCreatedEvent from './model/StoreLogoCreatedEvent';
+import StoreLogoDeletedEvent from './model/StoreLogoDeletedEvent';
+import StoreLogoUpdatedEvent from './model/StoreLogoUpdatedEvent';
+import StoreMenuAssignedEvent from './model/StoreMenuAssignedEvent';
+import StoreNote from './model/StoreNote';
+import StoreOpeningHoursUpdatedEvent from './model/StoreOpeningHoursUpdatedEvent';
+import StoreOrderCapacityConfig from './model/StoreOrderCapacityConfig';
+import StoreOrderCapacityConfigEditModel from './model/StoreOrderCapacityConfigEditModel';
+import StoreOrderCapacityPeriod from './model/StoreOrderCapacityPeriod';
+import StorePreOrderConfigUpdatedEvent from './model/StorePreOrderConfigUpdatedEvent';
+import StorePublishedEvent from './model/StorePublishedEvent';
+import StoreServiceChargeUpdatedEvent from './model/StoreServiceChargeUpdatedEvent';
+import StoreStatistics from './model/StoreStatistics';
+import StoreSummary from './model/StoreSummary';
+import StoreTipUpdatedEvent from './model/StoreTipUpdatedEvent';
+import StoreUnarchivedEvent from './model/StoreUnarchivedEvent';
+import StoreUnpublishedEvent from './model/StoreUnpublishedEvent';
+import StoreUpdatedEvent from './model/StoreUpdatedEvent';
+import StoreValidationConfig from './model/StoreValidationConfig';
+import Stream from './model/Stream';
+import StripeAccountLinkRequest from './model/StripeAccountLinkRequest';
+import StripeConnectedAccount from './model/StripeConnectedAccount';
+import StripeConnectedAccountInfo from './model/StripeConnectedAccountInfo';
+import StripeCustomConnectedAccount from './model/StripeCustomConnectedAccount';
+import StripeTerminalConnectionToken from './model/StripeTerminalConnectionToken';
+import StripeTerminalLocation from './model/StripeTerminalLocation';
+import StuartSettings from './model/StuartSettings';
+import StuartSettingsTransportPrices from './model/StuartSettingsTransportPrices';
+import Subscription from './model/Subscription';
+import SubscriptionInvoice from './model/SubscriptionInvoice';
+import SubscriptionProduct from './model/SubscriptionProduct';
+import SubscriptionStore from './model/SubscriptionStore';
+import SubscriptionSummary from './model/SubscriptionSummary';
+import SupportedCountry from './model/SupportedCountry';
+import TaxItem from './model/TaxItem';
+import TaxRate from './model/TaxRate';
+import Teammate from './model/Teammate';
+import TeammateBase from './model/TeammateBase';
+import TeammateDeletedEvent from './model/TeammateDeletedEvent';
+import TeammateInviteAcceptedEvent from './model/TeammateInviteAcceptedEvent';
+import TeammateInviteSentEvent from './model/TeammateInviteSentEvent';
+import TeammateUpdatedEvent from './model/TeammateUpdatedEvent';
+import TelemetrySeriesProperty from './model/TelemetrySeriesProperty';
+import TelemetrySeriesQueryParameters from './model/TelemetrySeriesQueryParameters';
+import TelemetrySeriesResult from './model/TelemetrySeriesResult';
+import TelephonyConfig from './model/TelephonyConfig';
+import TelephonyConfigUpdatedEvent from './model/TelephonyConfigUpdatedEvent';
+import ThirdPartyFeesDetails from './model/ThirdPartyFeesDetails';
+import TipConfiguration from './model/TipConfiguration';
+import UnRegisterCardReaderRequest from './model/UnRegisterCardReaderRequest';
+import UpcomingInvoice from './model/UpcomingInvoice';
+import UpdateAppStoreApp from './model/UpdateAppStoreApp';
+import UpdateAppStoreAppConfiguration from './model/UpdateAppStoreAppConfiguration';
+import UpdateAppStoreAppConfigurationValuesBatch from './model/UpdateAppStoreAppConfigurationValuesBatch';
+import UpdateAppStoreAppConfigurationWebhookDTO from './model/UpdateAppStoreAppConfigurationWebhookDTO';
+import UpdateAppStoreAppExternalProduct from './model/UpdateAppStoreAppExternalProduct';
+import UpdateCatalogGroupReference from './model/UpdateCatalogGroupReference';
+import UpdateCatalogItem from './model/UpdateCatalogItem';
+import UpdateDriverNotificationToken from './model/UpdateDriverNotificationToken';
+import UpdateDriverProfileModel from './model/UpdateDriverProfileModel';
+import UpdateFulfillmentStatesConfiguration from './model/UpdateFulfillmentStatesConfiguration';
+import UpdateGroup from './model/UpdateGroup';
+import UpdateGroupReference from './model/UpdateGroupReference';
+import UpdateLocationArea from './model/UpdateLocationArea';
+import UpdateMetafieldDefinition from './model/UpdateMetafieldDefinition';
+import UpdateMobileAppsSubmissionStatus from './model/UpdateMobileAppsSubmissionStatus';
+import UpdatePayGreenConfigurationRequest from './model/UpdatePayGreenConfigurationRequest';
+import UpdateProduct from './model/UpdateProduct';
+import UpdateProductReference from './model/UpdateProductReference';
+import UpdateStorePayGreenConfigurationRequest from './model/UpdateStorePayGreenConfigurationRequest';
+import UpdateTipConfiguration from './model/UpdateTipConfiguration';
+import UpdateVoucher from './model/UpdateVoucher';
+import UpdateVoucherUsage from './model/UpdateVoucherUsage';
+import UserAnsweredSignupQuestionsEvent from './model/UserAnsweredSignupQuestionsEvent';
+import UserCreatedEvent from './model/UserCreatedEvent';
+import UserDeletedEvent from './model/UserDeletedEvent';
+import UserEventInfo from './model/UserEventInfo';
+import UserFlipdishAccount from './model/UserFlipdishAccount';
+import UserInfo from './model/UserInfo';
+import UserLoginEvent from './model/UserLoginEvent';
+import UserMonthlyCommission from './model/UserMonthlyCommission';
+import UserNote from './model/UserNote';
+import UserPasswordCreatedEvent from './model/UserPasswordCreatedEvent';
+import UserRole from './model/UserRole';
+import UserSearch from './model/UserSearch';
+import UserStoreInfo from './model/UserStoreInfo';
+import UserUpdatedEvent from './model/UserUpdatedEvent';
+import UserWhiteLabelConfig from './model/UserWhiteLabelConfig';
+import UserWhiteLabelInfo from './model/UserWhiteLabelInfo';
+import ValidValue from './model/ValidValue';
+import ValidationErrorResult from './model/ValidationErrorResult';
+import ValidityPeriod from './model/ValidityPeriod';
+import Voucher from './model/Voucher';
+import VoucherAppliedEvent from './model/VoucherAppliedEvent';
+import VoucherCreatedEvent from './model/VoucherCreatedEvent';
+import VoucherDataPoint from './model/VoucherDataPoint';
+import VoucherDeletedEvent from './model/VoucherDeletedEvent';
+import VoucherSummary from './model/VoucherSummary';
+import VoucherUpdatedEvent from './model/VoucherUpdatedEvent';
+import VoucherWithStats from './model/VoucherWithStats';
+import WaitHandle from './model/WaitHandle';
+import WebhookEventSample from './model/WebhookEventSample';
+import WebhookLog from './model/WebhookLog';
+import WebhookSubscription from './model/WebhookSubscription';
+import WebhookSubscriptionCreatedEvent from './model/WebhookSubscriptionCreatedEvent';
+import WebhookSubscriptionDeletedEvent from './model/WebhookSubscriptionDeletedEvent';
+import WebhookSubscriptionEventInfo from './model/WebhookSubscriptionEventInfo';
+import WebhookSubscriptionUpdatedEvent from './model/WebhookSubscriptionUpdatedEvent';
+import WebsiteImage from './model/WebsiteImage';
+import WebsiteTestimonial from './model/WebsiteTestimonial';
+import WebsiteTestimonialBase from './model/WebsiteTestimonialBase';
+import WebsiteUpdatedEvent from './model/WebsiteUpdatedEvent';
+import WebsiteVanityUrlUpdatedEvent from './model/WebsiteVanityUrlUpdatedEvent';
+import WhiteLabelConfig from './model/WhiteLabelConfig';
+import AccountsApi from './api/AccountsApi';
+import AddressApi from './api/AddressApi';
+import ApmApi from './api/ApmApi';
+import AppStoreApi from './api/AppStoreApi';
+import AppStoreConfigurationsApi from './api/AppStoreConfigurationsApi';
+import AppStoreDeveloperApi from './api/AppStoreDeveloperApi';
+import AppStoreEntitlementsApi from './api/AppStoreEntitlementsApi';
+import AppsApi from './api/AppsApi';
+import AuditLogsApi from './api/AuditLogsApi';
+import AuthorizationTokensApi from './api/AuthorizationTokensApi';
+import BankAccountApi from './api/BankAccountApi';
+import CampaignsApi from './api/CampaignsApi';
+import CardReadersApi from './api/CardReadersApi';
+import CatalogChangesApi from './api/CatalogChangesApi';
+import CatalogGroupsApi from './api/CatalogGroupsApi';
+import CatalogImagesApi from './api/CatalogImagesApi';
+import CatalogItemsApi from './api/CatalogItemsApi';
+import CatalogProductsApi from './api/CatalogProductsApi';
+import ChannelsApi from './api/ChannelsApi';
+import ClientsApi from './api/ClientsApi';
+import ContentSecurityPolicyApi from './api/ContentSecurityPolicyApi';
+import CrossSellApi from './api/CrossSellApi';
+import CustomersApi from './api/CustomersApi';
+import DeliveryZoneApi from './api/DeliveryZoneApi';
+import DeviceApi from './api/DeviceApi';
+import DriversApi from './api/DriversApi';
+import EventsApi from './api/EventsApi';
+import FeaturesApi from './api/FeaturesApi';
+import FilesApi from './api/FilesApi';
+import FirebaseAppsApi from './api/FirebaseAppsApi';
+import FpmApi from './api/FpmApi';
+import FulfillmentStateConfigurationApi from './api/FulfillmentStateConfigurationApi';
+import HeartbeatApi from './api/HeartbeatApi';
+import HomeApi from './api/HomeApi';
+import HydraApi from './api/HydraApi';
+import IntercomApi from './api/IntercomApi';
+import InvoicesApi from './api/InvoicesApi';
+import KioskEntitlementsApi from './api/KioskEntitlementsApi';
+import KioskIotApi from './api/KioskIotApi';
+import LightspeedApi from './api/LightspeedApi';
+import LocationApi from './api/LocationApi';
+import LocationAreasApi from './api/LocationAreasApi';
+import LookerDashboardApi from './api/LookerDashboardApi';
+import LookerSingleSignOnApi from './api/LookerSingleSignOnApi';
+import MenuOptionSetItemsApi from './api/MenuOptionSetItemsApi';
+import MenuOptionSetsApi from './api/MenuOptionSetsApi';
+import MenuSectionItemsApi from './api/MenuSectionItemsApi';
+import MenuSectionsApi from './api/MenuSectionsApi';
+import MenuZonesApi from './api/MenuZonesApi';
+import MenusApi from './api/MenusApi';
+import MenusNutritionInfoApi from './api/MenusNutritionInfoApi';
+import MenusNutritionInfoV2Api from './api/MenusNutritionInfoV2Api';
+import MetafieldDefinitionsApi from './api/MetafieldDefinitionsApi';
+import MobileAppsApi from './api/MobileAppsApi';
+import OAuthClientsApi from './api/OAuthClientsApi';
+import OnboardingApi from './api/OnboardingApi';
+import OrderBatchesApi from './api/OrderBatchesApi';
+import OrderBatchingConfigurationApi from './api/OrderBatchingConfigurationApi';
+import OrdersApi from './api/OrdersApi';
+import PaymentIntentsApi from './api/PaymentIntentsApi';
+import PaymentsApi from './api/PaymentsApi';
+import PayoutReportsApi from './api/PayoutReportsApi';
+import PayoutsApi from './api/PayoutsApi';
+import PayoutsExportApi from './api/PayoutsExportApi';
+import ProcessingFeeConfigsApi from './api/ProcessingFeeConfigsApi';
+import PushNotificationsApi from './api/PushNotificationsApi';
+import ReceiptsApi from './api/ReceiptsApi';
+import RestaurantVouchersPayGreenApi from './api/RestaurantVouchersPayGreenApi';
+import SearchApi from './api/SearchApi';
+import SmsProviderCredentialsApi from './api/SmsProviderCredentialsApi';
+import StoreGroupsApi from './api/StoreGroupsApi';
+import StoreOrderCapacityApi from './api/StoreOrderCapacityApi';
+import StoresApi from './api/StoresApi';
+import StripeCustomConnectApi from './api/StripeCustomConnectApi';
+import StuartApi from './api/StuartApi';
+import SubscriptionsApi from './api/SubscriptionsApi';
+import TeammatesApi from './api/TeammatesApi';
+import TerminalIotApi from './api/TerminalIotApi';
+import TipsApi from './api/TipsApi';
+import UsersApi from './api/UsersApi';
+import VouchersApi from './api/VouchersApi';
+import WebhooksApi from './api/WebhooksApi';
+import WebsiteApi from './api/WebsiteApi';
+
+
+/**
+* JS API client generated by OpenAPI Generator.
+* The index module provides access to constructors for all the classes which comprise the public API.
+*
+* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
+*
+* var Flipdish = require('index'); // See note below*.
+* var xxxSvc = new Flipdish.XxxApi(); // Allocate the API class we're going to use.
+* var yyyModel = new Flipdish.Yyy(); // Construct a model instance.
+* yyyModel.someProperty = 'someValue';
+* ...
+* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
+* ...
+*
+* *NOTE: For a top-level AMD script, use require(['index'], function(){...})
+* and put the application logic within the callback function.
+*
+*
+* A non-AMD browser application (discouraged) might do something like this:
+*
+* var xxxSvc = new Flipdish.XxxApi(); // Allocate the API class we're going to use.
+* var yyy = new Flipdish.Yyy(); // Construct a model instance.
+* yyyModel.someProperty = 'someValue';
+* ...
+* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
+* ...
+*
+*
+* @module index
+* @version 1.0.0
+*/
+export {
+ /**
+ * The ApiClient constructor.
+ * @property {module:ApiClient}
+ */
+ ApiClient,
+
+ /**
+ * The Accept model constructor.
+ * @property {module:model/Accept}
+ */
+ Accept,
+
+ /**
+ * The AcceptInvitationResult model constructor.
+ * @property {module:model/AcceptInvitationResult}
+ */
+ AcceptInvitationResult,
+
+ /**
+ * The AccountDetail model constructor.
+ * @property {module:model/AccountDetail}
+ */
+ AccountDetail,
+
+ /**
+ * The AccountDetailBase model constructor.
+ * @property {module:model/AccountDetailBase}
+ */
+ AccountDetailBase,
+
+ /**
+ * The AccountFieldDefinition model constructor.
+ * @property {module:model/AccountFieldDefinition}
+ */
+ AccountFieldDefinition,
+
+ /**
+ * The AccountFieldKeyValuePair model constructor.
+ * @property {module:model/AccountFieldKeyValuePair}
+ */
+ AccountFieldKeyValuePair,
+
+ /**
+ * The AccountFieldsDefinitions model constructor.
+ * @property {module:model/AccountFieldsDefinitions}
+ */
+ AccountFieldsDefinitions,
+
+ /**
+ * The AddressFormDisplayFormat model constructor.
+ * @property {module:model/AddressFormDisplayFormat}
+ */
+ AddressFormDisplayFormat,
+
+ /**
+ * The AddressFormResponse model constructor.
+ * @property {module:model/AddressFormResponse}
+ */
+ AddressFormResponse,
+
+ /**
+ * The AllMetadataResult model constructor.
+ * @property {module:model/AllMetadataResult}
+ */
+ AllMetadataResult,
+
+ /**
+ * The Allergen model constructor.
+ * @property {module:model/Allergen}
+ */
+ Allergen,
+
+ /**
+ * The AnalyticsClientEvent model constructor.
+ * @property {module:model/AnalyticsClientEvent}
+ */
+ AnalyticsClientEvent,
+
+ /**
+ * The ApmCurrencyDataPoint model constructor.
+ * @property {module:model/ApmCurrencyDataPoint}
+ */
+ ApmCurrencyDataPoint,
+
+ /**
+ * The ApmDataPoint model constructor.
+ * @property {module:model/ApmDataPoint}
+ */
+ ApmDataPoint,
+
+ /**
+ * The ApmHourlyDataPoint model constructor.
+ * @property {module:model/ApmHourlyDataPoint}
+ */
+ ApmHourlyDataPoint,
+
+ /**
+ * The ApmStatistics model constructor.
+ * @property {module:model/ApmStatistics}
+ */
+ ApmStatistics,
+
+ /**
+ * The ApmStatus model constructor.
+ * @property {module:model/ApmStatus}
+ */
+ ApmStatus,
+
+ /**
+ * The App model constructor.
+ * @property {module:model/App}
+ */
+ App,
+
+ /**
+ * The AppChannelAssignment model constructor.
+ * @property {module:model/AppChannelAssignment}
+ */
+ AppChannelAssignment,
+
+ /**
+ * The AppCompliance model constructor.
+ * @property {module:model/AppCompliance}
+ */
+ AppCompliance,
+
+ /**
+ * The AppConfigSalesChannel model constructor.
+ * @property {module:model/AppConfigSalesChannel}
+ */
+ AppConfigSalesChannel,
+
+ /**
+ * The AppConfigUpdateModel model constructor.
+ * @property {module:model/AppConfigUpdateModel}
+ */
+ AppConfigUpdateModel,
+
+ /**
+ * The AppCreatedEvent model constructor.
+ * @property {module:model/AppCreatedEvent}
+ */
+ AppCreatedEvent,
+
+ /**
+ * The AppInstall model constructor.
+ * @property {module:model/AppInstall}
+ */
+ AppInstall,
+
+ /**
+ * The AppLookup model constructor.
+ * @property {module:model/AppLookup}
+ */
+ AppLookup,
+
+ /**
+ * The AppStoreApp model constructor.
+ * @property {module:model/AppStoreApp}
+ */
+ AppStoreApp,
+
+ /**
+ * The AppStoreAppConfiguration model constructor.
+ * @property {module:model/AppStoreAppConfiguration}
+ */
+ AppStoreAppConfiguration,
+
+ /**
+ * The AppStoreAppConfigurationSummary model constructor.
+ * @property {module:model/AppStoreAppConfigurationSummary}
+ */
+ AppStoreAppConfigurationSummary,
+
+ /**
+ * The AppStoreAppEntitlements model constructor.
+ * @property {module:model/AppStoreAppEntitlements}
+ */
+ AppStoreAppEntitlements,
+
+ /**
+ * The AppStoreAppSummary model constructor.
+ * @property {module:model/AppStoreAppSummary}
+ */
+ AppStoreAppSummary,
+
+ /**
+ * The AppStoreAppSupportInfo model constructor.
+ * @property {module:model/AppStoreAppSupportInfo}
+ */
+ AppStoreAppSupportInfo,
+
+ /**
+ * The AppStoreConfigCreatedEvent model constructor.
+ * @property {module:model/AppStoreConfigCreatedEvent}
+ */
+ AppStoreConfigCreatedEvent,
+
+ /**
+ * The AppStoreConfigDeletedEvent model constructor.
+ * @property {module:model/AppStoreConfigDeletedEvent}
+ */
+ AppStoreConfigDeletedEvent,
+
+ /**
+ * The AppStoreConfigUpdatedEvent model constructor.
+ * @property {module:model/AppStoreConfigUpdatedEvent}
+ */
+ AppStoreConfigUpdatedEvent,
+
+ /**
+ * The AppStoreSubscriptionChangeJobUpdatedEvent model constructor.
+ * @property {module:model/AppStoreSubscriptionChangeJobUpdatedEvent}
+ */
+ AppStoreSubscriptionChangeJobUpdatedEvent,
+
+ /**
+ * The AppUpdatedEvent model constructor.
+ * @property {module:model/AppUpdatedEvent}
+ */
+ AppUpdatedEvent,
+
+ /**
+ * The AssignedBankAccount model constructor.
+ * @property {module:model/AssignedBankAccount}
+ */
+ AssignedBankAccount,
+
+ /**
+ * The AuditLogFieldChangeInformation model constructor.
+ * @property {module:model/AuditLogFieldChangeInformation}
+ */
+ AuditLogFieldChangeInformation,
+
+ /**
+ * The BalanceDetails model constructor.
+ * @property {module:model/BalanceDetails}
+ */
+ BalanceDetails,
+
+ /**
+ * The BankAccount model constructor.
+ * @property {module:model/BankAccount}
+ */
+ BankAccount,
+
+ /**
+ * The BankAccountAssignedEvent model constructor.
+ * @property {module:model/BankAccountAssignedEvent}
+ */
+ BankAccountAssignedEvent,
+
+ /**
+ * The BankAccountCreate model constructor.
+ * @property {module:model/BankAccountCreate}
+ */
+ BankAccountCreate,
+
+ /**
+ * The BankAccountCreatedEvent model constructor.
+ * @property {module:model/BankAccountCreatedEvent}
+ */
+ BankAccountCreatedEvent,
+
+ /**
+ * The BankAccountDeletedEvent model constructor.
+ * @property {module:model/BankAccountDeletedEvent}
+ */
+ BankAccountDeletedEvent,
+
+ /**
+ * The BankAccountDetail model constructor.
+ * @property {module:model/BankAccountDetail}
+ */
+ BankAccountDetail,
+
+ /**
+ * The BankAccountDetailsUpdateRequest model constructor.
+ * @property {module:model/BankAccountDetailsUpdateRequest}
+ */
+ BankAccountDetailsUpdateRequest,
+
+ /**
+ * The BankAccountSummary model constructor.
+ * @property {module:model/BankAccountSummary}
+ */
+ BankAccountSummary,
+
+ /**
+ * The BankAccountUpdatedEvent model constructor.
+ * @property {module:model/BankAccountUpdatedEvent}
+ */
+ BankAccountUpdatedEvent,
+
+ /**
+ * The BluetoothTerminalStatus model constructor.
+ * @property {module:model/BluetoothTerminalStatus}
+ */
+ BluetoothTerminalStatus,
+
+ /**
+ * The BusinessHoursOverride model constructor.
+ * @property {module:model/BusinessHoursOverride}
+ */
+ BusinessHoursOverride,
+
+ /**
+ * The BusinessHoursOverrideBase model constructor.
+ * @property {module:model/BusinessHoursOverrideBase}
+ */
+ BusinessHoursOverrideBase,
+
+ /**
+ * The BusinessHoursPeriod model constructor.
+ * @property {module:model/BusinessHoursPeriod}
+ */
+ BusinessHoursPeriod,
+
+ /**
+ * The BusinessHoursPeriodBase model constructor.
+ * @property {module:model/BusinessHoursPeriodBase}
+ */
+ BusinessHoursPeriodBase,
+
+ /**
+ * The CampaignStatistics model constructor.
+ * @property {module:model/CampaignStatistics}
+ */
+ CampaignStatistics,
+
+ /**
+ * The CancellationToken model constructor.
+ * @property {module:model/CancellationToken}
+ */
+ CancellationToken,
+
+ /**
+ * The CardReader model constructor.
+ * @property {module:model/CardReader}
+ */
+ CardReader,
+
+ /**
+ * The CardReaderRegistrationRequest model constructor.
+ * @property {module:model/CardReaderRegistrationRequest}
+ */
+ CardReaderRegistrationRequest,
+
+ /**
+ * The CatalogGroupArchivedEvent model constructor.
+ * @property {module:model/CatalogGroupArchivedEvent}
+ */
+ CatalogGroupArchivedEvent,
+
+ /**
+ * The CatalogGroupCreatedEvent model constructor.
+ * @property {module:model/CatalogGroupCreatedEvent}
+ */
+ CatalogGroupCreatedEvent,
+
+ /**
+ * The CatalogGroupReference model constructor.
+ * @property {module:model/CatalogGroupReference}
+ */
+ CatalogGroupReference,
+
+ /**
+ * The CatalogGroupUpdatedEvent model constructor.
+ * @property {module:model/CatalogGroupUpdatedEvent}
+ */
+ CatalogGroupUpdatedEvent,
+
+ /**
+ * The CatalogImage model constructor.
+ * @property {module:model/CatalogImage}
+ */
+ CatalogImage,
+
+ /**
+ * The CatalogItem model constructor.
+ * @property {module:model/CatalogItem}
+ */
+ CatalogItem,
+
+ /**
+ * The CatalogItemArchivedEvent model constructor.
+ * @property {module:model/CatalogItemArchivedEvent}
+ */
+ CatalogItemArchivedEvent,
+
+ /**
+ * The CatalogItemCreatedEvent model constructor.
+ * @property {module:model/CatalogItemCreatedEvent}
+ */
+ CatalogItemCreatedEvent,
+
+ /**
+ * The CatalogItemUpdatedEvent model constructor.
+ * @property {module:model/CatalogItemUpdatedEvent}
+ */
+ CatalogItemUpdatedEvent,
+
+ /**
+ * The CertificateCreatedEvent model constructor.
+ * @property {module:model/CertificateCreatedEvent}
+ */
+ CertificateCreatedEvent,
+
+ /**
+ * The CertificateRenewedEvent model constructor.
+ * @property {module:model/CertificateRenewedEvent}
+ */
+ CertificateRenewedEvent,
+
+ /**
+ * The ChangePasswordModel model constructor.
+ * @property {module:model/ChangePasswordModel}
+ */
+ ChangePasswordModel,
+
+ /**
+ * The Channel model constructor.
+ * @property {module:model/Channel}
+ */
+ Channel,
+
+ /**
+ * The ChannelStoresUpdatedEvent model constructor.
+ * @property {module:model/ChannelStoresUpdatedEvent}
+ */
+ ChannelStoresUpdatedEvent,
+
+ /**
+ * The ChargebackDetails model constructor.
+ * @property {module:model/ChargebackDetails}
+ */
+ ChargebackDetails,
+
+ /**
+ * The ClientDevice model constructor.
+ * @property {module:model/ClientDevice}
+ */
+ ClientDevice,
+
+ /**
+ * The ClientDeviceAssignEnrolledDevice model constructor.
+ * @property {module:model/ClientDeviceAssignEnrolledDevice}
+ */
+ ClientDeviceAssignEnrolledDevice,
+
+ /**
+ * The ClientDeviceEnroll model constructor.
+ * @property {module:model/ClientDeviceEnroll}
+ */
+ ClientDeviceEnroll,
+
+ /**
+ * The ClientDeviceEnrollmentResult model constructor.
+ * @property {module:model/ClientDeviceEnrollmentResult}
+ */
+ ClientDeviceEnrollmentResult,
+
+ /**
+ * The ClientDeviceSummary model constructor.
+ * @property {module:model/ClientDeviceSummary}
+ */
+ ClientDeviceSummary,
+
+ /**
+ * The ConfiguredStore model constructor.
+ * @property {module:model/ConfiguredStore}
+ */
+ ConfiguredStore,
+
+ /**
+ * The Coordinates model constructor.
+ * @property {module:model/Coordinates}
+ */
+ Coordinates,
+
+ /**
+ * The CountryFormResponse model constructor.
+ * @property {module:model/CountryFormResponse}
+ */
+ CountryFormResponse,
+
+ /**
+ * The CountryWithAccountFieldsDefinitions model constructor.
+ * @property {module:model/CountryWithAccountFieldsDefinitions}
+ */
+ CountryWithAccountFieldsDefinitions,
+
+ /**
+ * The CreateAccountModel model constructor.
+ * @property {module:model/CreateAccountModel}
+ */
+ CreateAccountModel,
+
+ /**
+ * The CreateAppParameters model constructor.
+ * @property {module:model/CreateAppParameters}
+ */
+ CreateAppParameters,
+
+ /**
+ * The CreateAppStoreApp model constructor.
+ * @property {module:model/CreateAppStoreApp}
+ */
+ CreateAppStoreApp,
+
+ /**
+ * The CreateBasicAccountModel model constructor.
+ * @property {module:model/CreateBasicAccountModel}
+ */
+ CreateBasicAccountModel,
+
+ /**
+ * The CreateCatalogGroupReference model constructor.
+ * @property {module:model/CreateCatalogGroupReference}
+ */
+ CreateCatalogGroupReference,
+
+ /**
+ * The CreateCatalogItem model constructor.
+ * @property {module:model/CreateCatalogItem}
+ */
+ CreateCatalogItem,
+
+ /**
+ * The CreateFulfillmentStatesConfiguration model constructor.
+ * @property {module:model/CreateFulfillmentStatesConfiguration}
+ */
+ CreateFulfillmentStatesConfiguration,
+
+ /**
+ * The CreateFullMenu model constructor.
+ * @property {module:model/CreateFullMenu}
+ */
+ CreateFullMenu,
+
+ /**
+ * The CreateFullMenuItemOptionSet model constructor.
+ * @property {module:model/CreateFullMenuItemOptionSet}
+ */
+ CreateFullMenuItemOptionSet,
+
+ /**
+ * The CreateFullMenuItemOptionSetItem model constructor.
+ * @property {module:model/CreateFullMenuItemOptionSetItem}
+ */
+ CreateFullMenuItemOptionSetItem,
+
+ /**
+ * The CreateFullMenuSection model constructor.
+ * @property {module:model/CreateFullMenuSection}
+ */
+ CreateFullMenuSection,
+
+ /**
+ * The CreateFullMenuSectionItem model constructor.
+ * @property {module:model/CreateFullMenuSectionItem}
+ */
+ CreateFullMenuSectionItem,
+
+ /**
+ * The CreateGroup model constructor.
+ * @property {module:model/CreateGroup}
+ */
+ CreateGroup,
+
+ /**
+ * The CreateGroupReference model constructor.
+ * @property {module:model/CreateGroupReference}
+ */
+ CreateGroupReference,
+
+ /**
+ * The CreateLocation model constructor.
+ * @property {module:model/CreateLocation}
+ */
+ CreateLocation,
+
+ /**
+ * The CreateLocationArea model constructor.
+ * @property {module:model/CreateLocationArea}
+ */
+ CreateLocationArea,
+
+ /**
+ * The CreateMenuSectionItemFromCatalogItems model constructor.
+ * @property {module:model/CreateMenuSectionItemFromCatalogItems}
+ */
+ CreateMenuSectionItemFromCatalogItems,
+
+ /**
+ * The CreateMenuTaxRate model constructor.
+ * @property {module:model/CreateMenuTaxRate}
+ */
+ CreateMenuTaxRate,
+
+ /**
+ * The CreateMetadata model constructor.
+ * @property {module:model/CreateMetadata}
+ */
+ CreateMetadata,
+
+ /**
+ * The CreateMetafieldDefinition model constructor.
+ * @property {module:model/CreateMetafieldDefinition}
+ */
+ CreateMetafieldDefinition,
+
+ /**
+ * The CreatePayGreenConfigurationRequest model constructor.
+ * @property {module:model/CreatePayGreenConfigurationRequest}
+ */
+ CreatePayGreenConfigurationRequest,
+
+ /**
+ * The CreateProduct model constructor.
+ * @property {module:model/CreateProduct}
+ */
+ CreateProduct,
+
+ /**
+ * The CreateProductReference model constructor.
+ * @property {module:model/CreateProductReference}
+ */
+ CreateProductReference,
+
+ /**
+ * The CreatePromotion model constructor.
+ * @property {module:model/CreatePromotion}
+ */
+ CreatePromotion,
+
+ /**
+ * The CreateTeammate model constructor.
+ * @property {module:model/CreateTeammate}
+ */
+ CreateTeammate,
+
+ /**
+ * The CreateVoucher model constructor.
+ * @property {module:model/CreateVoucher}
+ */
+ CreateVoucher,
+
+ /**
+ * The CreatedMenuSectionItems model constructor.
+ * @property {module:model/CreatedMenuSectionItems}
+ */
+ CreatedMenuSectionItems,
+
+ /**
+ * The CreditNoteDetails model constructor.
+ * @property {module:model/CreditNoteDetails}
+ */
+ CreditNoteDetails,
+
+ /**
+ * The CrossSellMenuItems model constructor.
+ * @property {module:model/CrossSellMenuItems}
+ */
+ CrossSellMenuItems,
+
+ /**
+ * The CspReport model constructor.
+ * @property {module:model/CspReport}
+ */
+ CspReport,
+
+ /**
+ * The CspReportRequest model constructor.
+ * @property {module:model/CspReportRequest}
+ */
+ CspReportRequest,
+
+ /**
+ * The CurrencyData model constructor.
+ * @property {module:model/CurrencyData}
+ */
+ CurrencyData,
+
+ /**
+ * The Customer model constructor.
+ * @property {module:model/Customer}
+ */
+ Customer,
+
+ /**
+ * The CustomerConsentUpdatedEvent model constructor.
+ * @property {module:model/CustomerConsentUpdatedEvent}
+ */
+ CustomerConsentUpdatedEvent,
+
+ /**
+ * The CustomerCreateModel model constructor.
+ * @property {module:model/CustomerCreateModel}
+ */
+ CustomerCreateModel,
+
+ /**
+ * The CustomerCreatedEvent model constructor.
+ * @property {module:model/CustomerCreatedEvent}
+ */
+ CustomerCreatedEvent,
+
+ /**
+ * The CustomerDeliveryTrackingOrder model constructor.
+ * @property {module:model/CustomerDeliveryTrackingOrder}
+ */
+ CustomerDeliveryTrackingOrder,
+
+ /**
+ * The CustomerDeliveryTrackingOrderLine model constructor.
+ * @property {module:model/CustomerDeliveryTrackingOrderLine}
+ */
+ CustomerDeliveryTrackingOrderLine,
+
+ /**
+ * The CustomerMessages model constructor.
+ * @property {module:model/CustomerMessages}
+ */
+ CustomerMessages,
+
+ /**
+ * The CustomerSummary model constructor.
+ * @property {module:model/CustomerSummary}
+ */
+ CustomerSummary,
+
+ /**
+ * The CustomerUpdateModel model constructor.
+ * @property {module:model/CustomerUpdateModel}
+ */
+ CustomerUpdateModel,
+
+ /**
+ * The CustomerUpdatedEvent model constructor.
+ * @property {module:model/CustomerUpdatedEvent}
+ */
+ CustomerUpdatedEvent,
+
+ /**
+ * The Customers model constructor.
+ * @property {module:model/Customers}
+ */
+ Customers,
+
+ /**
+ * The DashboardEmbed model constructor.
+ * @property {module:model/DashboardEmbed}
+ */
+ DashboardEmbed,
+
+ /**
+ * The DeliveryLocation model constructor.
+ * @property {module:model/DeliveryLocation}
+ */
+ DeliveryLocation,
+
+ /**
+ * The DeliveryZone model constructor.
+ * @property {module:model/DeliveryZone}
+ */
+ DeliveryZone,
+
+ /**
+ * The DeliveryZoneBase model constructor.
+ * @property {module:model/DeliveryZoneBase}
+ */
+ DeliveryZoneBase,
+
+ /**
+ * The DeliveryZoneCreatedEvent model constructor.
+ * @property {module:model/DeliveryZoneCreatedEvent}
+ */
+ DeliveryZoneCreatedEvent,
+
+ /**
+ * The DeliveryZoneDeletedEvent model constructor.
+ * @property {module:model/DeliveryZoneDeletedEvent}
+ */
+ DeliveryZoneDeletedEvent,
+
+ /**
+ * The DeliveryZoneUpdatedEvent model constructor.
+ * @property {module:model/DeliveryZoneUpdatedEvent}
+ */
+ DeliveryZoneUpdatedEvent,
+
+ /**
+ * The DepositReturnFeesSummary model constructor.
+ * @property {module:model/DepositReturnFeesSummary}
+ */
+ DepositReturnFeesSummary,
+
+ /**
+ * The DeviceSettings model constructor.
+ * @property {module:model/DeviceSettings}
+ */
+ DeviceSettings,
+
+ /**
+ * The DnsRecordInformation model constructor.
+ * @property {module:model/DnsRecordInformation}
+ */
+ DnsRecordInformation,
+
+ /**
+ * The DnsVerifiedEvent model constructor.
+ * @property {module:model/DnsVerifiedEvent}
+ */
+ DnsVerifiedEvent,
+
+ /**
+ * The DriverLoginModel model constructor.
+ * @property {module:model/DriverLoginModel}
+ */
+ DriverLoginModel,
+
+ /**
+ * The DriverRequestLoginPinModel model constructor.
+ * @property {module:model/DriverRequestLoginPinModel}
+ */
+ DriverRequestLoginPinModel,
+
+ /**
+ * The DynamicFormField model constructor.
+ * @property {module:model/DynamicFormField}
+ */
+ DynamicFormField,
+
+ /**
+ * The DynamicFormFieldOption model constructor.
+ * @property {module:model/DynamicFormFieldOption}
+ */
+ DynamicFormFieldOption,
+
+ /**
+ * The DynamicFormRule model constructor.
+ * @property {module:model/DynamicFormRule}
+ */
+ DynamicFormRule,
+
+ /**
+ * The DynamicFormRules model constructor.
+ * @property {module:model/DynamicFormRules}
+ */
+ DynamicFormRules,
+
+ /**
+ * The EmvNotificationEvent model constructor.
+ * @property {module:model/EmvNotificationEvent}
+ */
+ EmvNotificationEvent,
+
+ /**
+ * The EmvTerminal model constructor.
+ * @property {module:model/EmvTerminal}
+ */
+ EmvTerminal,
+
+ /**
+ * The EmvTerminalWithAssignments model constructor.
+ * @property {module:model/EmvTerminalWithAssignments}
+ */
+ EmvTerminalWithAssignments,
+
+ /**
+ * The EventSearchResult model constructor.
+ * @property {module:model/EventSearchResult}
+ */
+ EventSearchResult,
+
+ /**
+ * The ExecuteConfigurationActionRequest model constructor.
+ * @property {module:model/ExecuteConfigurationActionRequest}
+ */
+ ExecuteConfigurationActionRequest,
+
+ /**
+ * The ExecuteConfigurationActionResult model constructor.
+ * @property {module:model/ExecuteConfigurationActionResult}
+ */
+ ExecuteConfigurationActionResult,
+
+ /**
+ * The ExternalStoreAuditLog model constructor.
+ * @property {module:model/ExternalStoreAuditLog}
+ */
+ ExternalStoreAuditLog,
+
+ /**
+ * The ExternalStoreEvent model constructor.
+ * @property {module:model/ExternalStoreEvent}
+ */
+ ExternalStoreEvent,
+
+ /**
+ * The FeeSummary model constructor.
+ * @property {module:model/FeeSummary}
+ */
+ FeeSummary,
+
+ /**
+ * The Field model constructor.
+ * @property {module:model/Field}
+ */
+ Field,
+
+ /**
+ * The FieldChangeInformation model constructor.
+ * @property {module:model/FieldChangeInformation}
+ */
+ FieldChangeInformation,
+
+ /**
+ * The FieldGroup model constructor.
+ * @property {module:model/FieldGroup}
+ */
+ FieldGroup,
+
+ /**
+ * The FileCreationResult model constructor.
+ * @property {module:model/FileCreationResult}
+ */
+ FileCreationResult,
+
+ /**
+ * The FileDownloadResult model constructor.
+ * @property {module:model/FileDownloadResult}
+ */
+ FileDownloadResult,
+
+ /**
+ * The FirebaseApp model constructor.
+ * @property {module:model/FirebaseApp}
+ */
+ FirebaseApp,
+
+ /**
+ * The FlipdishEventBase model constructor.
+ * @property {module:model/FlipdishEventBase}
+ */
+ FlipdishEventBase,
+
+ /**
+ * The FlipdishFeesDetails model constructor.
+ * @property {module:model/FlipdishFeesDetails}
+ */
+ FlipdishFeesDetails,
+
+ /**
+ * The FulfillentStatusActionItem model constructor.
+ * @property {module:model/FulfillentStatusActionItem}
+ */
+ FulfillentStatusActionItem,
+
+ /**
+ * The FulfillmentStatesConfiguration model constructor.
+ * @property {module:model/FulfillmentStatesConfiguration}
+ */
+ FulfillmentStatesConfiguration,
+
+ /**
+ * The FulfillmentStatesConfigurationSummary model constructor.
+ * @property {module:model/FulfillmentStatesConfigurationSummary}
+ */
+ FulfillmentStatesConfigurationSummary,
+
+ /**
+ * The FulfillmentStatesConfiguredStore model constructor.
+ * @property {module:model/FulfillmentStatesConfiguredStore}
+ */
+ FulfillmentStatesConfiguredStore,
+
+ /**
+ * The FulfillmentStatusConfigurationItem model constructor.
+ * @property {module:model/FulfillmentStatusConfigurationItem}
+ */
+ FulfillmentStatusConfigurationItem,
+
+ /**
+ * The GeoPointRequest model constructor.
+ * @property {module:model/GeoPointRequest}
+ */
+ GeoPointRequest,
+
+ /**
+ * The GetReceiptByOrderIdQueryResponse model constructor.
+ * @property {module:model/GetReceiptByOrderIdQueryResponse}
+ */
+ GetReceiptByOrderIdQueryResponse,
+
+ /**
+ * The GoogleAddress model constructor.
+ * @property {module:model/GoogleAddress}
+ */
+ GoogleAddress,
+
+ /**
+ * The GoogleAddressComponent model constructor.
+ * @property {module:model/GoogleAddressComponent}
+ */
+ GoogleAddressComponent,
+
+ /**
+ * The GoogleAddressResult model constructor.
+ * @property {module:model/GoogleAddressResult}
+ */
+ GoogleAddressResult,
+
+ /**
+ * The GoogleCoordinates model constructor.
+ * @property {module:model/GoogleCoordinates}
+ */
+ GoogleCoordinates,
+
+ /**
+ * The GoogleGeometry model constructor.
+ * @property {module:model/GoogleGeometry}
+ */
+ GoogleGeometry,
+
+ /**
+ * The GoogleLocation model constructor.
+ * @property {module:model/GoogleLocation}
+ */
+ GoogleLocation,
+
+ /**
+ * The GoogleViewport model constructor.
+ * @property {module:model/GoogleViewport}
+ */
+ GoogleViewport,
+
+ /**
+ * The Group model constructor.
+ * @property {module:model/Group}
+ */
+ Group,
+
+ /**
+ * The GroupReference model constructor.
+ * @property {module:model/GroupReference}
+ */
+ GroupReference,
+
+ /**
+ * The GroupedCoordinates model constructor.
+ * @property {module:model/GroupedCoordinates}
+ */
+ GroupedCoordinates,
+
+ /**
+ * The HasPaymentMethodResponse model constructor.
+ * @property {module:model/HasPaymentMethodResponse}
+ */
+ HasPaymentMethodResponse,
+
+ /**
+ * The HomeAction model constructor.
+ * @property {module:model/HomeAction}
+ */
+ HomeAction,
+
+ /**
+ * The HomeStatistics model constructor.
+ * @property {module:model/HomeStatistics}
+ */
+ HomeStatistics,
+
+ /**
+ * The HttpPostedFileBase model constructor.
+ * @property {module:model/HttpPostedFileBase}
+ */
+ HttpPostedFileBase,
+
+ /**
+ * The HydraAssignedEvent model constructor.
+ * @property {module:model/HydraAssignedEvent}
+ */
+ HydraAssignedEvent,
+
+ /**
+ * The HydraConfig model constructor.
+ * @property {module:model/HydraConfig}
+ */
+ HydraConfig,
+
+ /**
+ * The HydraConnectionStatusChangedEvent model constructor.
+ * @property {module:model/HydraConnectionStatusChangedEvent}
+ */
+ HydraConnectionStatusChangedEvent,
+
+ /**
+ * The HydraDeviceDetails model constructor.
+ * @property {module:model/HydraDeviceDetails}
+ */
+ HydraDeviceDetails,
+
+ /**
+ * The HydraRegistrationRequest model constructor.
+ * @property {module:model/HydraRegistrationRequest}
+ */
+ HydraRegistrationRequest,
+
+ /**
+ * The HydraRequestResetEvent model constructor.
+ * @property {module:model/HydraRequestResetEvent}
+ */
+ HydraRequestResetEvent,
+
+ /**
+ * The HydraSettingChangedEvent model constructor.
+ * @property {module:model/HydraSettingChangedEvent}
+ */
+ HydraSettingChangedEvent,
+
+ /**
+ * The HydraStatus model constructor.
+ * @property {module:model/HydraStatus}
+ */
+ HydraStatus,
+
+ /**
+ * The HydraStoreAssignedEvent model constructor.
+ * @property {module:model/HydraStoreAssignedEvent}
+ */
+ HydraStoreAssignedEvent,
+
+ /**
+ * The HydraStoreData model constructor.
+ * @property {module:model/HydraStoreData}
+ */
+ HydraStoreData,
+
+ /**
+ * The HydraStoreUnassignedEvent model constructor.
+ * @property {module:model/HydraStoreUnassignedEvent}
+ */
+ HydraStoreUnassignedEvent,
+
+ /**
+ * The HydraUnAssignedEvent model constructor.
+ * @property {module:model/HydraUnAssignedEvent}
+ */
+ HydraUnAssignedEvent,
+
+ /**
+ * The IndexPage model constructor.
+ * @property {module:model/IndexPage}
+ */
+ IndexPage,
+
+ /**
+ * The IndexPageBase model constructor.
+ * @property {module:model/IndexPageBase}
+ */
+ IndexPageBase,
+
+ /**
+ * The IntercomUserHash model constructor.
+ * @property {module:model/IntercomUserHash}
+ */
+ IntercomUserHash,
+
+ /**
+ * The Invoice model constructor.
+ * @property {module:model/Invoice}
+ */
+ Invoice,
+
+ /**
+ * The InvoiceDiscount model constructor.
+ * @property {module:model/InvoiceDiscount}
+ */
+ InvoiceDiscount,
+
+ /**
+ * The InvoiceItem model constructor.
+ * @property {module:model/InvoiceItem}
+ */
+ InvoiceItem,
+
+ /**
+ * The InvoicePeriod model constructor.
+ * @property {module:model/InvoicePeriod}
+ */
+ InvoicePeriod,
+
+ /**
+ * The ItemNutritionInfoAddUpdateModel model constructor.
+ * @property {module:model/ItemNutritionInfoAddUpdateModel}
+ */
+ ItemNutritionInfoAddUpdateModel,
+
+ /**
+ * The ItemNutritionInfoV2AddUpdateModel model constructor.
+ * @property {module:model/ItemNutritionInfoV2AddUpdateModel}
+ */
+ ItemNutritionInfoV2AddUpdateModel,
+
+ /**
+ * The JobAddress model constructor.
+ * @property {module:model/JobAddress}
+ */
+ JobAddress,
+
+ /**
+ * The JobCancellation model constructor.
+ * @property {module:model/JobCancellation}
+ */
+ JobCancellation,
+
+ /**
+ * The JobContact model constructor.
+ * @property {module:model/JobContact}
+ */
+ JobContact,
+
+ /**
+ * The JobDelivery model constructor.
+ * @property {module:model/JobDelivery}
+ */
+ JobDelivery,
+
+ /**
+ * The JobDeliveryDetail model constructor.
+ * @property {module:model/JobDeliveryDetail}
+ */
+ JobDeliveryDetail,
+
+ /**
+ * The JobDriver model constructor.
+ * @property {module:model/JobDriver}
+ */
+ JobDriver,
+
+ /**
+ * The JobEta model constructor.
+ * @property {module:model/JobEta}
+ */
+ JobEta,
+
+ /**
+ * The JobPricing model constructor.
+ * @property {module:model/JobPricing}
+ */
+ JobPricing,
+
+ /**
+ * The JobProof model constructor.
+ * @property {module:model/JobProof}
+ */
+ JobProof,
+
+ /**
+ * The JobResponse model constructor.
+ * @property {module:model/JobResponse}
+ */
+ JobResponse,
+
+ /**
+ * The KioskBluetoothInstallUpdateInitiateEvent model constructor.
+ * @property {module:model/KioskBluetoothInstallUpdateInitiateEvent}
+ */
+ KioskBluetoothInstallUpdateInitiateEvent,
+
+ /**
+ * The KioskBluetoothPairingModeEvent model constructor.
+ * @property {module:model/KioskBluetoothPairingModeEvent}
+ */
+ KioskBluetoothPairingModeEvent,
+
+ /**
+ * The KioskBluetoothTerminalCancelUpdateEvent model constructor.
+ * @property {module:model/KioskBluetoothTerminalCancelUpdateEvent}
+ */
+ KioskBluetoothTerminalCancelUpdateEvent,
+
+ /**
+ * The KioskBluetoothTerminalFirmwareVersionStatusEvent model constructor.
+ * @property {module:model/KioskBluetoothTerminalFirmwareVersionStatusEvent}
+ */
+ KioskBluetoothTerminalFirmwareVersionStatusEvent,
+
+ /**
+ * The KioskBluetoothTerminalInitiateUpdateCheckEvent model constructor.
+ * @property {module:model/KioskBluetoothTerminalInitiateUpdateCheckEvent}
+ */
+ KioskBluetoothTerminalInitiateUpdateCheckEvent,
+
+ /**
+ * The KioskBluetoothTerminalInstallationStatusEvent model constructor.
+ * @property {module:model/KioskBluetoothTerminalInstallationStatusEvent}
+ */
+ KioskBluetoothTerminalInstallationStatusEvent,
+
+ /**
+ * The KioskBluetoothTerminalUnpairedEvent model constructor.
+ * @property {module:model/KioskBluetoothTerminalUnpairedEvent}
+ */
+ KioskBluetoothTerminalUnpairedEvent,
+
+ /**
+ * The KioskBluetoothTerminalUpdatedEvent model constructor.
+ * @property {module:model/KioskBluetoothTerminalUpdatedEvent}
+ */
+ KioskBluetoothTerminalUpdatedEvent,
+
+ /**
+ * The KioskBluetoothUnpairingModeEvent model constructor.
+ * @property {module:model/KioskBluetoothUnpairingModeEvent}
+ */
+ KioskBluetoothUnpairingModeEvent,
+
+ /**
+ * The KioskCashPaymentSettings model constructor.
+ * @property {module:model/KioskCashPaymentSettings}
+ */
+ KioskCashPaymentSettings,
+
+ /**
+ * The KioskEntitlementsResult model constructor.
+ * @property {module:model/KioskEntitlementsResult}
+ */
+ KioskEntitlementsResult,
+
+ /**
+ * The KioskIotConnectionParameters model constructor.
+ * @property {module:model/KioskIotConnectionParameters}
+ */
+ KioskIotConnectionParameters,
+
+ /**
+ * The KioskSettings model constructor.
+ * @property {module:model/KioskSettings}
+ */
+ KioskSettings,
+
+ /**
+ * The KioskTerminalActionStateChangedEvent model constructor.
+ * @property {module:model/KioskTerminalActionStateChangedEvent}
+ */
+ KioskTerminalActionStateChangedEvent,
+
+ /**
+ * The Language model constructor.
+ * @property {module:model/Language}
+ */
+ Language,
+
+ /**
+ * The LastPaymentError model constructor.
+ * @property {module:model/LastPaymentError}
+ */
+ LastPaymentError,
+
+ /**
+ * The LeadTime model constructor.
+ * @property {module:model/LeadTime}
+ */
+ LeadTime,
+
+ /**
+ * The LightspeedSettings model constructor.
+ * @property {module:model/LightspeedSettings}
+ */
+ LightspeedSettings,
+
+ /**
+ * The LocalisedTimeZone model constructor.
+ * @property {module:model/LocalisedTimeZone}
+ */
+ LocalisedTimeZone,
+
+ /**
+ * The LocationArea model constructor.
+ * @property {module:model/LocationArea}
+ */
+ LocationArea,
+
+ /**
+ * The LocationAreaCreatedEvent model constructor.
+ * @property {module:model/LocationAreaCreatedEvent}
+ */
+ LocationAreaCreatedEvent,
+
+ /**
+ * The LocationAreaLocation model constructor.
+ * @property {module:model/LocationAreaLocation}
+ */
+ LocationAreaLocation,
+
+ /**
+ * The LocationAreaUpdatedEvent model constructor.
+ * @property {module:model/LocationAreaUpdatedEvent}
+ */
+ LocationAreaUpdatedEvent,
+
+ /**
+ * The LocationAreaWithLocations model constructor.
+ * @property {module:model/LocationAreaWithLocations}
+ */
+ LocationAreaWithLocations,
+
+ /**
+ * The LocationCreatedEvent model constructor.
+ * @property {module:model/LocationCreatedEvent}
+ */
+ LocationCreatedEvent,
+
+ /**
+ * The LocationDeletedEvent model constructor.
+ * @property {module:model/LocationDeletedEvent}
+ */
+ LocationDeletedEvent,
+
+ /**
+ * The LoginModel model constructor.
+ * @property {module:model/LoginModel}
+ */
+ LoginModel,
+
+ /**
+ * The LoginWithPinModel model constructor.
+ * @property {module:model/LoginWithPinModel}
+ */
+ LoginWithPinModel,
+
+ /**
+ * The LoyaltyCampaign model constructor.
+ * @property {module:model/LoyaltyCampaign}
+ */
+ LoyaltyCampaign,
+
+ /**
+ * The LoyaltyCampaignBase model constructor.
+ * @property {module:model/LoyaltyCampaignBase}
+ */
+ LoyaltyCampaignBase,
+
+ /**
+ * The LoyaltyCampaignCreatedEvent model constructor.
+ * @property {module:model/LoyaltyCampaignCreatedEvent}
+ */
+ LoyaltyCampaignCreatedEvent,
+
+ /**
+ * The LoyaltyCampaignDeletedEvent model constructor.
+ * @property {module:model/LoyaltyCampaignDeletedEvent}
+ */
+ LoyaltyCampaignDeletedEvent,
+
+ /**
+ * The LoyaltyCampaignUpdatedEvent model constructor.
+ * @property {module:model/LoyaltyCampaignUpdatedEvent}
+ */
+ LoyaltyCampaignUpdatedEvent,
+
+ /**
+ * The LumpDiscountDetails model constructor.
+ * @property {module:model/LumpDiscountDetails}
+ */
+ LumpDiscountDetails,
+
+ /**
+ * The MappedLocation model constructor.
+ * @property {module:model/MappedLocation}
+ */
+ MappedLocation,
+
+ /**
+ * The MaskedPhoneNumber model constructor.
+ * @property {module:model/MaskedPhoneNumber}
+ */
+ MaskedPhoneNumber,
+
+ /**
+ * The Menu model constructor.
+ * @property {module:model/Menu}
+ */
+ Menu,
+
+ /**
+ * The MenuAsyncCreationCompletedEvent model constructor.
+ * @property {module:model/MenuAsyncCreationCompletedEvent}
+ */
+ MenuAsyncCreationCompletedEvent,
+
+ /**
+ * The MenuBase model constructor.
+ * @property {module:model/MenuBase}
+ */
+ MenuBase,
+
+ /**
+ * The MenuBulkEditEvent model constructor.
+ * @property {module:model/MenuBulkEditEvent}
+ */
+ MenuBulkEditEvent,
+
+ /**
+ * The MenuCatalogItem model constructor.
+ * @property {module:model/MenuCatalogItem}
+ */
+ MenuCatalogItem,
+
+ /**
+ * The MenuCheckpoint model constructor.
+ * @property {module:model/MenuCheckpoint}
+ */
+ MenuCheckpoint,
+
+ /**
+ * The MenuCheckpointCreatedEvent model constructor.
+ * @property {module:model/MenuCheckpointCreatedEvent}
+ */
+ MenuCheckpointCreatedEvent,
+
+ /**
+ * The MenuCreatedEvent model constructor.
+ * @property {module:model/MenuCreatedEvent}
+ */
+ MenuCreatedEvent,
+
+ /**
+ * The MenuElementEditResponse model constructor.
+ * @property {module:model/MenuElementEditResponse}
+ */
+ MenuElementEditResponse,
+
+ /**
+ * The MenuElementHide model constructor.
+ * @property {module:model/MenuElementHide}
+ */
+ MenuElementHide,
+
+ /**
+ * The MenuElementListItemResponse model constructor.
+ * @property {module:model/MenuElementListItemResponse}
+ */
+ MenuElementListItemResponse,
+
+ /**
+ * The MenuElementListResponse model constructor.
+ * @property {module:model/MenuElementListResponse}
+ */
+ MenuElementListResponse,
+
+ /**
+ * The MenuItemOptionSet model constructor.
+ * @property {module:model/MenuItemOptionSet}
+ */
+ MenuItemOptionSet,
+
+ /**
+ * The MenuItemOptionSetBase model constructor.
+ * @property {module:model/MenuItemOptionSetBase}
+ */
+ MenuItemOptionSetBase,
+
+ /**
+ * The MenuItemOptionSetCreatedEvent model constructor.
+ * @property {module:model/MenuItemOptionSetCreatedEvent}
+ */
+ MenuItemOptionSetCreatedEvent,
+
+ /**
+ * The MenuItemOptionSetDeletedEvent model constructor.
+ * @property {module:model/MenuItemOptionSetDeletedEvent}
+ */
+ MenuItemOptionSetDeletedEvent,
+
+ /**
+ * The MenuItemOptionSetItem model constructor.
+ * @property {module:model/MenuItemOptionSetItem}
+ */
+ MenuItemOptionSetItem,
+
+ /**
+ * The MenuItemOptionSetItemBase model constructor.
+ * @property {module:model/MenuItemOptionSetItemBase}
+ */
+ MenuItemOptionSetItemBase,
+
+ /**
+ * The MenuItemOptionSetItemCreatedEvent model constructor.
+ * @property {module:model/MenuItemOptionSetItemCreatedEvent}
+ */
+ MenuItemOptionSetItemCreatedEvent,
+
+ /**
+ * The MenuItemOptionSetItemDeletedEvent model constructor.
+ * @property {module:model/MenuItemOptionSetItemDeletedEvent}
+ */
+ MenuItemOptionSetItemDeletedEvent,
+
+ /**
+ * The MenuItemOptionSetItemUpdatedEvent model constructor.
+ * @property {module:model/MenuItemOptionSetItemUpdatedEvent}
+ */
+ MenuItemOptionSetItemUpdatedEvent,
+
+ /**
+ * The MenuItemOptionSetUpdatedEvent model constructor.
+ * @property {module:model/MenuItemOptionSetUpdatedEvent}
+ */
+ MenuItemOptionSetUpdatedEvent,
+
+ /**
+ * The MenuNutritionInfoHeader model constructor.
+ * @property {module:model/MenuNutritionInfoHeader}
+ */
+ MenuNutritionInfoHeader,
+
+ /**
+ * The MenuObjectDisplayOrders model constructor.
+ * @property {module:model/MenuObjectDisplayOrders}
+ */
+ MenuObjectDisplayOrders,
+
+ /**
+ * The MenuSection model constructor.
+ * @property {module:model/MenuSection}
+ */
+ MenuSection,
+
+ /**
+ * The MenuSectionAvailability model constructor.
+ * @property {module:model/MenuSectionAvailability}
+ */
+ MenuSectionAvailability,
+
+ /**
+ * The MenuSectionAvailabilityBase model constructor.
+ * @property {module:model/MenuSectionAvailabilityBase}
+ */
+ MenuSectionAvailabilityBase,
+
+ /**
+ * The MenuSectionBase model constructor.
+ * @property {module:model/MenuSectionBase}
+ */
+ MenuSectionBase,
+
+ /**
+ * The MenuSectionCreatedEvent model constructor.
+ * @property {module:model/MenuSectionCreatedEvent}
+ */
+ MenuSectionCreatedEvent,
+
+ /**
+ * The MenuSectionDeletedEvent model constructor.
+ * @property {module:model/MenuSectionDeletedEvent}
+ */
+ MenuSectionDeletedEvent,
+
+ /**
+ * The MenuSectionItem model constructor.
+ * @property {module:model/MenuSectionItem}
+ */
+ MenuSectionItem,
+
+ /**
+ * The MenuSectionItemBase model constructor.
+ * @property {module:model/MenuSectionItemBase}
+ */
+ MenuSectionItemBase,
+
+ /**
+ * The MenuSectionItemCreatedEvent model constructor.
+ * @property {module:model/MenuSectionItemCreatedEvent}
+ */
+ MenuSectionItemCreatedEvent,
+
+ /**
+ * The MenuSectionItemDeletedEvent model constructor.
+ * @property {module:model/MenuSectionItemDeletedEvent}
+ */
+ MenuSectionItemDeletedEvent,
+
+ /**
+ * The MenuSectionItemUpdatedEvent model constructor.
+ * @property {module:model/MenuSectionItemUpdatedEvent}
+ */
+ MenuSectionItemUpdatedEvent,
+
+ /**
+ * The MenuSectionUpdatedEvent model constructor.
+ * @property {module:model/MenuSectionUpdatedEvent}
+ */
+ MenuSectionUpdatedEvent,
+
+ /**
+ * The MenuStoreNames model constructor.
+ * @property {module:model/MenuStoreNames}
+ */
+ MenuStoreNames,
+
+ /**
+ * The MenuSummary model constructor.
+ * @property {module:model/MenuSummary}
+ */
+ MenuSummary,
+
+ /**
+ * The MenuTaxDetails model constructor.
+ * @property {module:model/MenuTaxDetails}
+ */
+ MenuTaxDetails,
+
+ /**
+ * The MenuTaxRate model constructor.
+ * @property {module:model/MenuTaxRate}
+ */
+ MenuTaxRate,
+
+ /**
+ * The MenuUpdatedEvent model constructor.
+ * @property {module:model/MenuUpdatedEvent}
+ */
+ MenuUpdatedEvent,
+
+ /**
+ * The MenuUploadedEvent model constructor.
+ * @property {module:model/MenuUploadedEvent}
+ */
+ MenuUploadedEvent,
+
+ /**
+ * The MenuZone model constructor.
+ * @property {module:model/MenuZone}
+ */
+ MenuZone,
+
+ /**
+ * The Metadata model constructor.
+ * @property {module:model/Metadata}
+ */
+ Metadata,
+
+ /**
+ * The Metafield model constructor.
+ * @property {module:model/Metafield}
+ */
+ Metafield,
+
+ /**
+ * The MetafieldDefinition model constructor.
+ * @property {module:model/MetafieldDefinition}
+ */
+ MetafieldDefinition,
+
+ /**
+ * The MetafieldDefinitionRecommendation model constructor.
+ * @property {module:model/MetafieldDefinitionRecommendation}
+ */
+ MetafieldDefinitionRecommendation,
+
+ /**
+ * The MobileAppsImage model constructor.
+ * @property {module:model/MobileAppsImage}
+ */
+ MobileAppsImage,
+
+ /**
+ * The MobileAppsStatistics model constructor.
+ * @property {module:model/MobileAppsStatistics}
+ */
+ MobileAppsStatistics,
+
+ /**
+ * The MobileAppsSubmission model constructor.
+ * @property {module:model/MobileAppsSubmission}
+ */
+ MobileAppsSubmission,
+
+ /**
+ * The MobileAppsSubmissionDetails model constructor.
+ * @property {module:model/MobileAppsSubmissionDetails}
+ */
+ MobileAppsSubmissionDetails,
+
+ /**
+ * The MobileAppsSubmissionStatus model constructor.
+ * @property {module:model/MobileAppsSubmissionStatus}
+ */
+ MobileAppsSubmissionStatus,
+
+ /**
+ * The MobileAppsSubmissionStatusUpdatedEvent model constructor.
+ * @property {module:model/MobileAppsSubmissionStatusUpdatedEvent}
+ */
+ MobileAppsSubmissionStatusUpdatedEvent,
+
+ /**
+ * The MobileAppsSubmissionUpdatedEvent model constructor.
+ * @property {module:model/MobileAppsSubmissionUpdatedEvent}
+ */
+ MobileAppsSubmissionUpdatedEvent,
+
+ /**
+ * The NextStatusWithOrderType model constructor.
+ * @property {module:model/NextStatusWithOrderType}
+ */
+ NextStatusWithOrderType,
+
+ /**
+ * The NutritionInfo model constructor.
+ * @property {module:model/NutritionInfo}
+ */
+ NutritionInfo,
+
+ /**
+ * The NutritionInfoItemAddUpdateLabelModel model constructor.
+ * @property {module:model/NutritionInfoItemAddUpdateLabelModel}
+ */
+ NutritionInfoItemAddUpdateLabelModel,
+
+ /**
+ * The NutritionInfoLabel model constructor.
+ * @property {module:model/NutritionInfoLabel}
+ */
+ NutritionInfoLabel,
+
+ /**
+ * The NutritionInfoMenuItem model constructor.
+ * @property {module:model/NutritionInfoMenuItem}
+ */
+ NutritionInfoMenuItem,
+
+ /**
+ * The NutritionInfoMenuOptionSetItem model constructor.
+ * @property {module:model/NutritionInfoMenuOptionSetItem}
+ */
+ NutritionInfoMenuOptionSetItem,
+
+ /**
+ * The NutritionInfoV2 model constructor.
+ * @property {module:model/NutritionInfoV2}
+ */
+ NutritionInfoV2,
+
+ /**
+ * The NutritionInfoV2Allergen model constructor.
+ * @property {module:model/NutritionInfoV2Allergen}
+ */
+ NutritionInfoV2Allergen,
+
+ /**
+ * The NutritionInfoV2Item model constructor.
+ * @property {module:model/NutritionInfoV2Item}
+ */
+ NutritionInfoV2Item,
+
+ /**
+ * The OAuthApp model constructor.
+ * @property {module:model/OAuthApp}
+ */
+ OAuthApp,
+
+ /**
+ * The OAuthTokenModel model constructor.
+ * @property {module:model/OAuthTokenModel}
+ */
+ OAuthTokenModel,
+
+ /**
+ * The OauthClientRedirectUri model constructor.
+ * @property {module:model/OauthClientRedirectUri}
+ */
+ OauthClientRedirectUri,
+
+ /**
+ * The ObjectDisplayOrder model constructor.
+ * @property {module:model/ObjectDisplayOrder}
+ */
+ ObjectDisplayOrder,
+
+ /**
+ * The OktaPortalFeatureFlag model constructor.
+ * @property {module:model/OktaPortalFeatureFlag}
+ */
+ OktaPortalFeatureFlag,
+
+ /**
+ * The OnboardingConfigUpdate model constructor.
+ * @property {module:model/OnboardingConfigUpdate}
+ */
+ OnboardingConfigUpdate,
+
+ /**
+ * The OnboardingItemUpdate model constructor.
+ * @property {module:model/OnboardingItemUpdate}
+ */
+ OnboardingItemUpdate,
+
+ /**
+ * The Order model constructor.
+ * @property {module:model/Order}
+ */
+ Order,
+
+ /**
+ * The OrderAcceptedEvent model constructor.
+ * @property {module:model/OrderAcceptedEvent}
+ */
+ OrderAcceptedEvent,
+
+ /**
+ * The OrderBatch model constructor.
+ * @property {module:model/OrderBatch}
+ */
+ OrderBatch,
+
+ /**
+ * The OrderBatchPublishedEvent model constructor.
+ * @property {module:model/OrderBatchPublishedEvent}
+ */
+ OrderBatchPublishedEvent,
+
+ /**
+ * The OrderBatchSummary model constructor.
+ * @property {module:model/OrderBatchSummary}
+ */
+ OrderBatchSummary,
+
+ /**
+ * The OrderBatchingConfiguration model constructor.
+ * @property {module:model/OrderBatchingConfiguration}
+ */
+ OrderBatchingConfiguration,
+
+ /**
+ * The OrderCapacityConfigUpdatedEvent model constructor.
+ * @property {module:model/OrderCapacityConfigUpdatedEvent}
+ */
+ OrderCapacityConfigUpdatedEvent,
+
+ /**
+ * The OrderCreatedEvent model constructor.
+ * @property {module:model/OrderCreatedEvent}
+ */
+ OrderCreatedEvent,
+
+ /**
+ * The OrderCustomerTrackingCreatedEvent model constructor.
+ * @property {module:model/OrderCustomerTrackingCreatedEvent}
+ */
+ OrderCustomerTrackingCreatedEvent,
+
+ /**
+ * The OrderDeliveryInformation model constructor.
+ * @property {module:model/OrderDeliveryInformation}
+ */
+ OrderDeliveryInformation,
+
+ /**
+ * The OrderDeliveryInformationBase model constructor.
+ * @property {module:model/OrderDeliveryInformationBase}
+ */
+ OrderDeliveryInformationBase,
+
+ /**
+ * The OrderDeliveryTrackingStatusUpdatedEvent model constructor.
+ * @property {module:model/OrderDeliveryTrackingStatusUpdatedEvent}
+ */
+ OrderDeliveryTrackingStatusUpdatedEvent,
+
+ /**
+ * The OrderDispatchedEvent model constructor.
+ * @property {module:model/OrderDispatchedEvent}
+ */
+ OrderDispatchedEvent,
+
+ /**
+ * The OrderDropOffLocation model constructor.
+ * @property {module:model/OrderDropOffLocation}
+ */
+ OrderDropOffLocation,
+
+ /**
+ * The OrderFulfillmentStatus model constructor.
+ * @property {module:model/OrderFulfillmentStatus}
+ */
+ OrderFulfillmentStatus,
+
+ /**
+ * The OrderFulfillmentStatusBase model constructor.
+ * @property {module:model/OrderFulfillmentStatusBase}
+ */
+ OrderFulfillmentStatusBase,
+
+ /**
+ * The OrderFulfillmentStatusUpdate model constructor.
+ * @property {module:model/OrderFulfillmentStatusUpdate}
+ */
+ OrderFulfillmentStatusUpdate,
+
+ /**
+ * The OrderFulfillmentStatusUpdatedEvent model constructor.
+ * @property {module:model/OrderFulfillmentStatusUpdatedEvent}
+ */
+ OrderFulfillmentStatusUpdatedEvent,
+
+ /**
+ * The OrderFulfillmentStatusWithConfigurationActions model constructor.
+ * @property {module:model/OrderFulfillmentStatusWithConfigurationActions}
+ */
+ OrderFulfillmentStatusWithConfigurationActions,
+
+ /**
+ * The OrderItem model constructor.
+ * @property {module:model/OrderItem}
+ */
+ OrderItem,
+
+ /**
+ * The OrderItemOption model constructor.
+ * @property {module:model/OrderItemOption}
+ */
+ OrderItemOption,
+
+ /**
+ * The OrderLeadTimes model constructor.
+ * @property {module:model/OrderLeadTimes}
+ */
+ OrderLeadTimes,
+
+ /**
+ * The OrderList model constructor.
+ * @property {module:model/OrderList}
+ */
+ OrderList,
+
+ /**
+ * The OrderPaymentInformation model constructor.
+ * @property {module:model/OrderPaymentInformation}
+ */
+ OrderPaymentInformation,
+
+ /**
+ * The OrderRatingUpdatedEvent model constructor.
+ * @property {module:model/OrderRatingUpdatedEvent}
+ */
+ OrderRatingUpdatedEvent,
+
+ /**
+ * The OrderReference model constructor.
+ * @property {module:model/OrderReference}
+ */
+ OrderReference,
+
+ /**
+ * The OrderRefundedEvent model constructor.
+ * @property {module:model/OrderRefundedEvent}
+ */
+ OrderRefundedEvent,
+
+ /**
+ * The OrderRejectedEvent model constructor.
+ * @property {module:model/OrderRejectedEvent}
+ */
+ OrderRejectedEvent,
+
+ /**
+ * The OrderSummary model constructor.
+ * @property {module:model/OrderSummary}
+ */
+ OrderSummary,
+
+ /**
+ * The OrderTipUpdatedEvent model constructor.
+ * @property {module:model/OrderTipUpdatedEvent}
+ */
+ OrderTipUpdatedEvent,
+
+ /**
+ * The OrderVoucherSummary model constructor.
+ * @property {module:model/OrderVoucherSummary}
+ */
+ OrderVoucherSummary,
+
+ /**
+ * The OtherChargesDetails model constructor.
+ * @property {module:model/OtherChargesDetails}
+ */
+ OtherChargesDetails,
+
+ /**
+ * The OwnerEntityConfiguration model constructor.
+ * @property {module:model/OwnerEntityConfiguration}
+ */
+ OwnerEntityConfiguration,
+
+ /**
+ * The OwnerEntityConfigurations model constructor.
+ * @property {module:model/OwnerEntityConfigurations}
+ */
+ OwnerEntityConfigurations,
+
+ /**
+ * The PasswordResetModel model constructor.
+ * @property {module:model/PasswordResetModel}
+ */
+ PasswordResetModel,
+
+ /**
+ * The PaymentAccount model constructor.
+ * @property {module:model/PaymentAccount}
+ */
+ PaymentAccount,
+
+ /**
+ * The PaymentIntent model constructor.
+ * @property {module:model/PaymentIntent}
+ */
+ PaymentIntent,
+
+ /**
+ * The PaymentTerminalDetails model constructor.
+ * @property {module:model/PaymentTerminalDetails}
+ */
+ PaymentTerminalDetails,
+
+ /**
+ * The PaymentTerminalTransactionDetails model constructor.
+ * @property {module:model/PaymentTerminalTransactionDetails}
+ */
+ PaymentTerminalTransactionDetails,
+
+ /**
+ * The Payout model constructor.
+ * @property {module:model/Payout}
+ */
+ Payout,
+
+ /**
+ * The PayoutChargeback model constructor.
+ * @property {module:model/PayoutChargeback}
+ */
+ PayoutChargeback,
+
+ /**
+ * The PayoutDetail model constructor.
+ * @property {module:model/PayoutDetail}
+ */
+ PayoutDetail,
+
+ /**
+ * The PayoutOrder model constructor.
+ * @property {module:model/PayoutOrder}
+ */
+ PayoutOrder,
+
+ /**
+ * The PayoutOtherCharge model constructor.
+ * @property {module:model/PayoutOtherCharge}
+ */
+ PayoutOtherCharge,
+
+ /**
+ * The PayoutRefund model constructor.
+ * @property {module:model/PayoutRefund}
+ */
+ PayoutRefund,
+
+ /**
+ * The PayoutReport3Details model constructor.
+ * @property {module:model/PayoutReport3Details}
+ */
+ PayoutReport3Details,
+
+ /**
+ * The PayoutReport3DetailsAdjustments model constructor.
+ * @property {module:model/PayoutReport3DetailsAdjustments}
+ */
+ PayoutReport3DetailsAdjustments,
+
+ /**
+ * The PayoutReport3DetailsFlipdishFees model constructor.
+ * @property {module:model/PayoutReport3DetailsFlipdishFees}
+ */
+ PayoutReport3DetailsFlipdishFees,
+
+ /**
+ * The PayoutReport3DetailsRevenue model constructor.
+ * @property {module:model/PayoutReport3DetailsRevenue}
+ */
+ PayoutReport3DetailsRevenue,
+
+ /**
+ * The PayoutReport3DetailsSalesLine model constructor.
+ * @property {module:model/PayoutReport3DetailsSalesLine}
+ */
+ PayoutReport3DetailsSalesLine,
+
+ /**
+ * The PayoutReport3DetailsSummary model constructor.
+ * @property {module:model/PayoutReport3DetailsSummary}
+ */
+ PayoutReport3DetailsSummary,
+
+ /**
+ * The PayoutReport3Overview model constructor.
+ * @property {module:model/PayoutReport3Overview}
+ */
+ PayoutReport3Overview,
+
+ /**
+ * The PayoutReport3OverviewHeader model constructor.
+ * @property {module:model/PayoutReport3OverviewHeader}
+ */
+ PayoutReport3OverviewHeader,
+
+ /**
+ * The PayoutReport3RefundedOrder model constructor.
+ * @property {module:model/PayoutReport3RefundedOrder}
+ */
+ PayoutReport3RefundedOrder,
+
+ /**
+ * The PayoutReport3Store model constructor.
+ * @property {module:model/PayoutReport3Store}
+ */
+ PayoutReport3Store,
+
+ /**
+ * The PayoutRequestIds model constructor.
+ * @property {module:model/PayoutRequestIds}
+ */
+ PayoutRequestIds,
+
+ /**
+ * The PayoutStore model constructor.
+ * @property {module:model/PayoutStore}
+ */
+ PayoutStore,
+
+ /**
+ * The PayoutSummary model constructor.
+ * @property {module:model/PayoutSummary}
+ */
+ PayoutSummary,
+
+ /**
+ * The PendingInvitation model constructor.
+ * @property {module:model/PendingInvitation}
+ */
+ PendingInvitation,
+
+ /**
+ * The PendingMenuChanges model constructor.
+ * @property {module:model/PendingMenuChanges}
+ */
+ PendingMenuChanges,
+
+ /**
+ * The PendingMenuChangesSummaries model constructor.
+ * @property {module:model/PendingMenuChangesSummaries}
+ */
+ PendingMenuChangesSummaries,
+
+ /**
+ * The PercentDiscountDetails model constructor.
+ * @property {module:model/PercentDiscountDetails}
+ */
+ PercentDiscountDetails,
+
+ /**
+ * The PhoneCall model constructor.
+ * @property {module:model/PhoneCall}
+ */
+ PhoneCall,
+
+ /**
+ * The PhoneCallEndedEvent model constructor.
+ * @property {module:model/PhoneCallEndedEvent}
+ */
+ PhoneCallEndedEvent,
+
+ /**
+ * The PhoneCallStartedEvent model constructor.
+ * @property {module:model/PhoneCallStartedEvent}
+ */
+ PhoneCallStartedEvent,
+
+ /**
+ * The PosRevenueDetails model constructor.
+ * @property {module:model/PosRevenueDetails}
+ */
+ PosRevenueDetails,
+
+ /**
+ * The PreOrderConfig model constructor.
+ * @property {module:model/PreOrderConfig}
+ */
+ PreOrderConfig,
+
+ /**
+ * The PreOrderTime model constructor.
+ * @property {module:model/PreOrderTime}
+ */
+ PreOrderTime,
+
+ /**
+ * The PredefinedAnswer model constructor.
+ * @property {module:model/PredefinedAnswer}
+ */
+ PredefinedAnswer,
+
+ /**
+ * The PreviousOrder model constructor.
+ * @property {module:model/PreviousOrder}
+ */
+ PreviousOrder,
+
+ /**
+ * The PreviousOrderItem model constructor.
+ * @property {module:model/PreviousOrderItem}
+ */
+ PreviousOrderItem,
+
+ /**
+ * The PreviousOrderItemOption model constructor.
+ * @property {module:model/PreviousOrderItemOption}
+ */
+ PreviousOrderItemOption,
+
+ /**
+ * The Printer model constructor.
+ * @property {module:model/Printer}
+ */
+ Printer,
+
+ /**
+ * The PrinterAssignedToStoreEvent model constructor.
+ * @property {module:model/PrinterAssignedToStoreEvent}
+ */
+ PrinterAssignedToStoreEvent,
+
+ /**
+ * The PrinterTurnedOffEvent model constructor.
+ * @property {module:model/PrinterTurnedOffEvent}
+ */
+ PrinterTurnedOffEvent,
+
+ /**
+ * The PrinterTurnedOnEvent model constructor.
+ * @property {module:model/PrinterTurnedOnEvent}
+ */
+ PrinterTurnedOnEvent,
+
+ /**
+ * The PrinterUnassignedFromStoreEvent model constructor.
+ * @property {module:model/PrinterUnassignedFromStoreEvent}
+ */
+ PrinterUnassignedFromStoreEvent,
+
+ /**
+ * The ProcessPaymentIntentRequest model constructor.
+ * @property {module:model/ProcessPaymentIntentRequest}
+ */
+ ProcessPaymentIntentRequest,
+
+ /**
+ * The ProcessingFeeConfig model constructor.
+ * @property {module:model/ProcessingFeeConfig}
+ */
+ ProcessingFeeConfig,
+
+ /**
+ * The Product model constructor.
+ * @property {module:model/Product}
+ */
+ Product,
+
+ /**
+ * The ProductReference model constructor.
+ * @property {module:model/ProductReference}
+ */
+ ProductReference,
+
+ /**
+ * The PromotionAward model constructor.
+ * @property {module:model/PromotionAward}
+ */
+ PromotionAward,
+
+ /**
+ * The PromotionDetails model constructor.
+ * @property {module:model/PromotionDetails}
+ */
+ PromotionDetails,
+
+ /**
+ * The PublishMenuChanges model constructor.
+ * @property {module:model/PublishMenuChanges}
+ */
+ PublishMenuChanges,
+
+ /**
+ * The PushNotificationDeletedEvent model constructor.
+ * @property {module:model/PushNotificationDeletedEvent}
+ */
+ PushNotificationDeletedEvent,
+
+ /**
+ * The PushNotificationRequest model constructor.
+ * @property {module:model/PushNotificationRequest}
+ */
+ PushNotificationRequest,
+
+ /**
+ * The PushNotificationResponse model constructor.
+ * @property {module:model/PushNotificationResponse}
+ */
+ PushNotificationResponse,
+
+ /**
+ * The PushNotificationScheduledEvent model constructor.
+ * @property {module:model/PushNotificationScheduledEvent}
+ */
+ PushNotificationScheduledEvent,
+
+ /**
+ * The PushNotificationSentEvent model constructor.
+ * @property {module:model/PushNotificationSentEvent}
+ */
+ PushNotificationSentEvent,
+
+ /**
+ * The Range model constructor.
+ * @property {module:model/Range}
+ */
+ Range,
+
+ /**
+ * The ReaderActionStateInfo model constructor.
+ * @property {module:model/ReaderActionStateInfo}
+ */
+ ReaderActionStateInfo,
+
+ /**
+ * The RedeemInvitationResult model constructor.
+ * @property {module:model/RedeemInvitationResult}
+ */
+ RedeemInvitationResult,
+
+ /**
+ * The Refund model constructor.
+ * @property {module:model/Refund}
+ */
+ Refund,
+
+ /**
+ * The Reject model constructor.
+ * @property {module:model/Reject}
+ */
+ Reject,
+
+ /**
+ * The RequestLoginPinModel model constructor.
+ * @property {module:model/RequestLoginPinModel}
+ */
+ RequestLoginPinModel,
+
+ /**
+ * The RequestLoginPinResponse model constructor.
+ * @property {module:model/RequestLoginPinResponse}
+ */
+ RequestLoginPinResponse,
+
+ /**
+ * The RequestPasswordResetModel model constructor.
+ * @property {module:model/RequestPasswordResetModel}
+ */
+ RequestPasswordResetModel,
+
+ /**
+ * The RequestPasswordResetPinResponse model constructor.
+ * @property {module:model/RequestPasswordResetPinResponse}
+ */
+ RequestPasswordResetPinResponse,
+
+ /**
+ * The Response model constructor.
+ * @property {module:model/Response}
+ */
+ Response,
+
+ /**
+ * The RestApiArrayResultAllMetadataResult model constructor.
+ * @property {module:model/RestApiArrayResultAllMetadataResult}
+ */
+ RestApiArrayResultAllMetadataResult,
+
+ /**
+ * The RestApiArrayResultAllergen model constructor.
+ * @property {module:model/RestApiArrayResultAllergen}
+ */
+ RestApiArrayResultAllergen,
+
+ /**
+ * The RestApiArrayResultApmCurrencyDataPoint model constructor.
+ * @property {module:model/RestApiArrayResultApmCurrencyDataPoint}
+ */
+ RestApiArrayResultApmCurrencyDataPoint,
+
+ /**
+ * The RestApiArrayResultApmDataPoint model constructor.
+ * @property {module:model/RestApiArrayResultApmDataPoint}
+ */
+ RestApiArrayResultApmDataPoint,
+
+ /**
+ * The RestApiArrayResultApmHourlyDataPoint model constructor.
+ * @property {module:model/RestApiArrayResultApmHourlyDataPoint}
+ */
+ RestApiArrayResultApmHourlyDataPoint,
+
+ /**
+ * The RestApiArrayResultAppStoreAppConfigurationSummary model constructor.
+ * @property {module:model/RestApiArrayResultAppStoreAppConfigurationSummary}
+ */
+ RestApiArrayResultAppStoreAppConfigurationSummary,
+
+ /**
+ * The RestApiArrayResultAppStoreAppSummary model constructor.
+ * @property {module:model/RestApiArrayResultAppStoreAppSummary}
+ */
+ RestApiArrayResultAppStoreAppSummary,
+
+ /**
+ * The RestApiArrayResultBankAccountSummary model constructor.
+ * @property {module:model/RestApiArrayResultBankAccountSummary}
+ */
+ RestApiArrayResultBankAccountSummary,
+
+ /**
+ * The RestApiArrayResultBusinessHoursPeriod model constructor.
+ * @property {module:model/RestApiArrayResultBusinessHoursPeriod}
+ */
+ RestApiArrayResultBusinessHoursPeriod,
+
+ /**
+ * The RestApiArrayResultChannel model constructor.
+ * @property {module:model/RestApiArrayResultChannel}
+ */
+ RestApiArrayResultChannel,
+
+ /**
+ * The RestApiArrayResultClientDeviceSummary model constructor.
+ * @property {module:model/RestApiArrayResultClientDeviceSummary}
+ */
+ RestApiArrayResultClientDeviceSummary,
+
+ /**
+ * The RestApiArrayResultCountryWithAccountFieldsDefinitions model constructor.
+ * @property {module:model/RestApiArrayResultCountryWithAccountFieldsDefinitions}
+ */
+ RestApiArrayResultCountryWithAccountFieldsDefinitions,
+
+ /**
+ * The RestApiArrayResultDeliveryZone model constructor.
+ * @property {module:model/RestApiArrayResultDeliveryZone}
+ */
+ RestApiArrayResultDeliveryZone,
+
+ /**
+ * The RestApiArrayResultEmvTerminalWithAssignments model constructor.
+ * @property {module:model/RestApiArrayResultEmvTerminalWithAssignments}
+ */
+ RestApiArrayResultEmvTerminalWithAssignments,
+
+ /**
+ * The RestApiArrayResultFulfillmentStatesConfigurationSummary model constructor.
+ * @property {module:model/RestApiArrayResultFulfillmentStatesConfigurationSummary}
+ */
+ RestApiArrayResultFulfillmentStatesConfigurationSummary,
+
+ /**
+ * The RestApiArrayResultHomeAction model constructor.
+ * @property {module:model/RestApiArrayResultHomeAction}
+ */
+ RestApiArrayResultHomeAction,
+
+ /**
+ * The RestApiArrayResultKioskCashPaymentSettings model constructor.
+ * @property {module:model/RestApiArrayResultKioskCashPaymentSettings}
+ */
+ RestApiArrayResultKioskCashPaymentSettings,
+
+ /**
+ * The RestApiArrayResultLocalisedTimeZone model constructor.
+ * @property {module:model/RestApiArrayResultLocalisedTimeZone}
+ */
+ RestApiArrayResultLocalisedTimeZone,
+
+ /**
+ * The RestApiArrayResultLocationAreaLocation model constructor.
+ * @property {module:model/RestApiArrayResultLocationAreaLocation}
+ */
+ RestApiArrayResultLocationAreaLocation,
+
+ /**
+ * The RestApiArrayResultLocationAreaWithLocations model constructor.
+ * @property {module:model/RestApiArrayResultLocationAreaWithLocations}
+ */
+ RestApiArrayResultLocationAreaWithLocations,
+
+ /**
+ * The RestApiArrayResultLoyaltyCampaign model constructor.
+ * @property {module:model/RestApiArrayResultLoyaltyCampaign}
+ */
+ RestApiArrayResultLoyaltyCampaign,
+
+ /**
+ * The RestApiArrayResultMenuCheckpoint model constructor.
+ * @property {module:model/RestApiArrayResultMenuCheckpoint}
+ */
+ RestApiArrayResultMenuCheckpoint,
+
+ /**
+ * The RestApiArrayResultMenuElementEditResponse model constructor.
+ * @property {module:model/RestApiArrayResultMenuElementEditResponse}
+ */
+ RestApiArrayResultMenuElementEditResponse,
+
+ /**
+ * The RestApiArrayResultMenuElementListResponse model constructor.
+ * @property {module:model/RestApiArrayResultMenuElementListResponse}
+ */
+ RestApiArrayResultMenuElementListResponse,
+
+ /**
+ * The RestApiArrayResultMenuItemOptionSet model constructor.
+ * @property {module:model/RestApiArrayResultMenuItemOptionSet}
+ */
+ RestApiArrayResultMenuItemOptionSet,
+
+ /**
+ * The RestApiArrayResultMenuItemOptionSetItem model constructor.
+ * @property {module:model/RestApiArrayResultMenuItemOptionSetItem}
+ */
+ RestApiArrayResultMenuItemOptionSetItem,
+
+ /**
+ * The RestApiArrayResultMenuSection model constructor.
+ * @property {module:model/RestApiArrayResultMenuSection}
+ */
+ RestApiArrayResultMenuSection,
+
+ /**
+ * The RestApiArrayResultMenuSectionItem model constructor.
+ * @property {module:model/RestApiArrayResultMenuSectionItem}
+ */
+ RestApiArrayResultMenuSectionItem,
+
+ /**
+ * The RestApiArrayResultMenuStoreNames model constructor.
+ * @property {module:model/RestApiArrayResultMenuStoreNames}
+ */
+ RestApiArrayResultMenuStoreNames,
+
+ /**
+ * The RestApiArrayResultMenuSummary model constructor.
+ * @property {module:model/RestApiArrayResultMenuSummary}
+ */
+ RestApiArrayResultMenuSummary,
+
+ /**
+ * The RestApiArrayResultMenuTaxDetails model constructor.
+ * @property {module:model/RestApiArrayResultMenuTaxDetails}
+ */
+ RestApiArrayResultMenuTaxDetails,
+
+ /**
+ * The RestApiArrayResultMenuZone model constructor.
+ * @property {module:model/RestApiArrayResultMenuZone}
+ */
+ RestApiArrayResultMenuZone,
+
+ /**
+ * The RestApiArrayResultMetadata model constructor.
+ * @property {module:model/RestApiArrayResultMetadata}
+ */
+ RestApiArrayResultMetadata,
+
+ /**
+ * The RestApiArrayResultMobileAppsStatistics model constructor.
+ * @property {module:model/RestApiArrayResultMobileAppsStatistics}
+ */
+ RestApiArrayResultMobileAppsStatistics,
+
+ /**
+ * The RestApiArrayResultOAuthApp model constructor.
+ * @property {module:model/RestApiArrayResultOAuthApp}
+ */
+ RestApiArrayResultOAuthApp,
+
+ /**
+ * The RestApiArrayResultOauthClientRedirectUri model constructor.
+ * @property {module:model/RestApiArrayResultOauthClientRedirectUri}
+ */
+ RestApiArrayResultOauthClientRedirectUri,
+
+ /**
+ * The RestApiArrayResultOrderBatch model constructor.
+ * @property {module:model/RestApiArrayResultOrderBatch}
+ */
+ RestApiArrayResultOrderBatch,
+
+ /**
+ * The RestApiArrayResultOrderFulfillmentStatus model constructor.
+ * @property {module:model/RestApiArrayResultOrderFulfillmentStatus}
+ */
+ RestApiArrayResultOrderFulfillmentStatus,
+
+ /**
+ * The RestApiArrayResultPayoutSummary model constructor.
+ * @property {module:model/RestApiArrayResultPayoutSummary}
+ */
+ RestApiArrayResultPayoutSummary,
+
+ /**
+ * The RestApiArrayResultPendingInvitation model constructor.
+ * @property {module:model/RestApiArrayResultPendingInvitation}
+ */
+ RestApiArrayResultPendingInvitation,
+
+ /**
+ * The RestApiArrayResultPendingMenuChangesSummaries model constructor.
+ * @property {module:model/RestApiArrayResultPendingMenuChangesSummaries}
+ */
+ RestApiArrayResultPendingMenuChangesSummaries,
+
+ /**
+ * The RestApiArrayResultPreOrderTime model constructor.
+ * @property {module:model/RestApiArrayResultPreOrderTime}
+ */
+ RestApiArrayResultPreOrderTime,
+
+ /**
+ * The RestApiArrayResultProcessingFeeConfig model constructor.
+ * @property {module:model/RestApiArrayResultProcessingFeeConfig}
+ */
+ RestApiArrayResultProcessingFeeConfig,
+
+ /**
+ * The RestApiArrayResultRedeemInvitationResult model constructor.
+ * @property {module:model/RestApiArrayResultRedeemInvitationResult}
+ */
+ RestApiArrayResultRedeemInvitationResult,
+
+ /**
+ * The RestApiArrayResultRestApiDefaultResponse model constructor.
+ * @property {module:model/RestApiArrayResultRestApiDefaultResponse}
+ */
+ RestApiArrayResultRestApiDefaultResponse,
+
+ /**
+ * The RestApiArrayResultRestaurantVoucherEligibleStore model constructor.
+ * @property {module:model/RestApiArrayResultRestaurantVoucherEligibleStore}
+ */
+ RestApiArrayResultRestaurantVoucherEligibleStore,
+
+ /**
+ * The RestApiArrayResultRestaurantVoucherPayGreenConfiguration model constructor.
+ * @property {module:model/RestApiArrayResultRestaurantVoucherPayGreenConfiguration}
+ */
+ RestApiArrayResultRestaurantVoucherPayGreenConfiguration,
+
+ /**
+ * The RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary model constructor.
+ * @property {module:model/RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary}
+ */
+ RestApiArrayResultRestaurantVoucherPayGreenConfigurationSummary,
+
+ /**
+ * The RestApiArrayResultRetentionCampaign model constructor.
+ * @property {module:model/RestApiArrayResultRetentionCampaign}
+ */
+ RestApiArrayResultRetentionCampaign,
+
+ /**
+ * The RestApiArrayResultSmsProviderCredential model constructor.
+ * @property {module:model/RestApiArrayResultSmsProviderCredential}
+ */
+ RestApiArrayResultSmsProviderCredential,
+
+ /**
+ * The RestApiArrayResultStoreChannelAssignment model constructor.
+ * @property {module:model/RestApiArrayResultStoreChannelAssignment}
+ */
+ RestApiArrayResultStoreChannelAssignment,
+
+ /**
+ * The RestApiArrayResultStoreDeliveryZoneFeeConfig model constructor.
+ * @property {module:model/RestApiArrayResultStoreDeliveryZoneFeeConfig}
+ */
+ RestApiArrayResultStoreDeliveryZoneFeeConfig,
+
+ /**
+ * The RestApiArrayResultStoreListItem model constructor.
+ * @property {module:model/RestApiArrayResultStoreListItem}
+ */
+ RestApiArrayResultStoreListItem,
+
+ /**
+ * The RestApiArrayResultStoreStatistics model constructor.
+ * @property {module:model/RestApiArrayResultStoreStatistics}
+ */
+ RestApiArrayResultStoreStatistics,
+
+ /**
+ * The RestApiArrayResultStripeCustomConnectedAccount model constructor.
+ * @property {module:model/RestApiArrayResultStripeCustomConnectedAccount}
+ */
+ RestApiArrayResultStripeCustomConnectedAccount,
+
+ /**
+ * The RestApiArrayResultSubscriptionSummary model constructor.
+ * @property {module:model/RestApiArrayResultSubscriptionSummary}
+ */
+ RestApiArrayResultSubscriptionSummary,
+
+ /**
+ * The RestApiArrayResultSupportedCountry model constructor.
+ * @property {module:model/RestApiArrayResultSupportedCountry}
+ */
+ RestApiArrayResultSupportedCountry,
+
+ /**
+ * The RestApiArrayResultTeammate model constructor.
+ * @property {module:model/RestApiArrayResultTeammate}
+ */
+ RestApiArrayResultTeammate,
+
+ /**
+ * The RestApiArrayResultUserFlipdishAccount model constructor.
+ * @property {module:model/RestApiArrayResultUserFlipdishAccount}
+ */
+ RestApiArrayResultUserFlipdishAccount,
+
+ /**
+ * The RestApiArrayResultUserNote model constructor.
+ * @property {module:model/RestApiArrayResultUserNote}
+ */
+ RestApiArrayResultUserNote,
+
+ /**
+ * The RestApiArrayResultUserStoreInfo model constructor.
+ * @property {module:model/RestApiArrayResultUserStoreInfo}
+ */
+ RestApiArrayResultUserStoreInfo,
+
+ /**
+ * The RestApiArrayResultVoucherDataPoint model constructor.
+ * @property {module:model/RestApiArrayResultVoucherDataPoint}
+ */
+ RestApiArrayResultVoucherDataPoint,
+
+ /**
+ * The RestApiDefaultResponse model constructor.
+ * @property {module:model/RestApiDefaultResponse}
+ */
+ RestApiDefaultResponse,
+
+ /**
+ * The RestApiErrorResult model constructor.
+ * @property {module:model/RestApiErrorResult}
+ */
+ RestApiErrorResult,
+
+ /**
+ * The RestApiEventSearchPaginationResult model constructor.
+ * @property {module:model/RestApiEventSearchPaginationResult}
+ */
+ RestApiEventSearchPaginationResult,
+
+ /**
+ * The RestApiFinanceSearchPaginationResultInvoice model constructor.
+ * @property {module:model/RestApiFinanceSearchPaginationResultInvoice}
+ */
+ RestApiFinanceSearchPaginationResultInvoice,
+
+ /**
+ * The RestApiFinanceSearchPaginationResultSubscriptionInvoice model constructor.
+ * @property {module:model/RestApiFinanceSearchPaginationResultSubscriptionInvoice}
+ */
+ RestApiFinanceSearchPaginationResultSubscriptionInvoice,
+
+ /**
+ * The RestApiForbiddenResult model constructor.
+ * @property {module:model/RestApiForbiddenResult}
+ */
+ RestApiForbiddenResult,
+
+ /**
+ * The RestApiIntegerResult model constructor.
+ * @property {module:model/RestApiIntegerResult}
+ */
+ RestApiIntegerResult,
+
+ /**
+ * The RestApiPaginationResultApp model constructor.
+ * @property {module:model/RestApiPaginationResultApp}
+ */
+ RestApiPaginationResultApp,
+
+ /**
+ * The RestApiPaginationResultAppStoreAppSummary model constructor.
+ * @property {module:model/RestApiPaginationResultAppStoreAppSummary}
+ */
+ RestApiPaginationResultAppStoreAppSummary,
+
+ /**
+ * The RestApiPaginationResultBusinessHoursOverride model constructor.
+ * @property {module:model/RestApiPaginationResultBusinessHoursOverride}
+ */
+ RestApiPaginationResultBusinessHoursOverride,
+
+ /**
+ * The RestApiPaginationResultCatalogItem model constructor.
+ * @property {module:model/RestApiPaginationResultCatalogItem}
+ */
+ RestApiPaginationResultCatalogItem,
+
+ /**
+ * The RestApiPaginationResultGroup model constructor.
+ * @property {module:model/RestApiPaginationResultGroup}
+ */
+ RestApiPaginationResultGroup,
+
+ /**
+ * The RestApiPaginationResultHydraDeviceDetails model constructor.
+ * @property {module:model/RestApiPaginationResultHydraDeviceDetails}
+ */
+ RestApiPaginationResultHydraDeviceDetails,
+
+ /**
+ * The RestApiPaginationResultMetafieldDefinition model constructor.
+ * @property {module:model/RestApiPaginationResultMetafieldDefinition}
+ */
+ RestApiPaginationResultMetafieldDefinition,
+
+ /**
+ * The RestApiPaginationResultMetafieldDefinitionRecommendation model constructor.
+ * @property {module:model/RestApiPaginationResultMetafieldDefinitionRecommendation}
+ */
+ RestApiPaginationResultMetafieldDefinitionRecommendation,
+
+ /**
+ * The RestApiPaginationResultOAuthTokenModel model constructor.
+ * @property {module:model/RestApiPaginationResultOAuthTokenModel}
+ */
+ RestApiPaginationResultOAuthTokenModel,
+
+ /**
+ * The RestApiPaginationResultOrder model constructor.
+ * @property {module:model/RestApiPaginationResultOrder}
+ */
+ RestApiPaginationResultOrder,
+
+ /**
+ * The RestApiPaginationResultOrderSummary model constructor.
+ * @property {module:model/RestApiPaginationResultOrderSummary}
+ */
+ RestApiPaginationResultOrderSummary,
+
+ /**
+ * The RestApiPaginationResultPayout model constructor.
+ * @property {module:model/RestApiPaginationResultPayout}
+ */
+ RestApiPaginationResultPayout,
+
+ /**
+ * The RestApiPaginationResultPayoutChargeback model constructor.
+ * @property {module:model/RestApiPaginationResultPayoutChargeback}
+ */
+ RestApiPaginationResultPayoutChargeback,
+
+ /**
+ * The RestApiPaginationResultPayoutOrder model constructor.
+ * @property {module:model/RestApiPaginationResultPayoutOrder}
+ */
+ RestApiPaginationResultPayoutOrder,
+
+ /**
+ * The RestApiPaginationResultPayoutOtherCharge model constructor.
+ * @property {module:model/RestApiPaginationResultPayoutOtherCharge}
+ */
+ RestApiPaginationResultPayoutOtherCharge,
+
+ /**
+ * The RestApiPaginationResultPayoutRefund model constructor.
+ * @property {module:model/RestApiPaginationResultPayoutRefund}
+ */
+ RestApiPaginationResultPayoutRefund,
+
+ /**
+ * The RestApiPaginationResultPayoutReport3RefundedOrder model constructor.
+ * @property {module:model/RestApiPaginationResultPayoutReport3RefundedOrder}
+ */
+ RestApiPaginationResultPayoutReport3RefundedOrder,
+
+ /**
+ * The RestApiPaginationResultPendingMenuChanges model constructor.
+ * @property {module:model/RestApiPaginationResultPendingMenuChanges}
+ */
+ RestApiPaginationResultPendingMenuChanges,
+
+ /**
+ * The RestApiPaginationResultPhoneCall model constructor.
+ * @property {module:model/RestApiPaginationResultPhoneCall}
+ */
+ RestApiPaginationResultPhoneCall,
+
+ /**
+ * The RestApiPaginationResultProduct model constructor.
+ * @property {module:model/RestApiPaginationResultProduct}
+ */
+ RestApiPaginationResultProduct,
+
+ /**
+ * The RestApiPaginationResultPushNotificationResponse model constructor.
+ * @property {module:model/RestApiPaginationResultPushNotificationResponse}
+ */
+ RestApiPaginationResultPushNotificationResponse,
+
+ /**
+ * The RestApiPaginationResultRestaurant model constructor.
+ * @property {module:model/RestApiPaginationResultRestaurant}
+ */
+ RestApiPaginationResultRestaurant,
+
+ /**
+ * The RestApiPaginationResultStore model constructor.
+ * @property {module:model/RestApiPaginationResultStore}
+ */
+ RestApiPaginationResultStore,
+
+ /**
+ * The RestApiPaginationResultStoreGroup model constructor.
+ * @property {module:model/RestApiPaginationResultStoreGroup}
+ */
+ RestApiPaginationResultStoreGroup,
+
+ /**
+ * The RestApiPaginationResultStoreGroupExtended model constructor.
+ * @property {module:model/RestApiPaginationResultStoreGroupExtended}
+ */
+ RestApiPaginationResultStoreGroupExtended,
+
+ /**
+ * The RestApiPaginationResultStoreHeader model constructor.
+ * @property {module:model/RestApiPaginationResultStoreHeader}
+ */
+ RestApiPaginationResultStoreHeader,
+
+ /**
+ * The RestApiPaginationResultStoreValidationConfig model constructor.
+ * @property {module:model/RestApiPaginationResultStoreValidationConfig}
+ */
+ RestApiPaginationResultStoreValidationConfig,
+
+ /**
+ * The RestApiPaginationResultUserSearch model constructor.
+ * @property {module:model/RestApiPaginationResultUserSearch}
+ */
+ RestApiPaginationResultUserSearch,
+
+ /**
+ * The RestApiPaginationResultVoucherSummary model constructor.
+ * @property {module:model/RestApiPaginationResultVoucherSummary}
+ */
+ RestApiPaginationResultVoucherSummary,
+
+ /**
+ * The RestApiPaginationResultWebhookLog model constructor.
+ * @property {module:model/RestApiPaginationResultWebhookLog}
+ */
+ RestApiPaginationResultWebhookLog,
+
+ /**
+ * The RestApiPaginationResultWebhookSubscription model constructor.
+ * @property {module:model/RestApiPaginationResultWebhookSubscription}
+ */
+ RestApiPaginationResultWebhookSubscription,
+
+ /**
+ * The RestApiResultAcceptInvitationResult model constructor.
+ * @property {module:model/RestApiResultAcceptInvitationResult}
+ */
+ RestApiResultAcceptInvitationResult,
+
+ /**
+ * The RestApiResultAccountDetail model constructor.
+ * @property {module:model/RestApiResultAccountDetail}
+ */
+ RestApiResultAccountDetail,
+
+ /**
+ * The RestApiResultAccountFieldsDefinitions model constructor.
+ * @property {module:model/RestApiResultAccountFieldsDefinitions}
+ */
+ RestApiResultAccountFieldsDefinitions,
+
+ /**
+ * The RestApiResultAddressFormResponse model constructor.
+ * @property {module:model/RestApiResultAddressFormResponse}
+ */
+ RestApiResultAddressFormResponse,
+
+ /**
+ * The RestApiResultApmStatistics model constructor.
+ * @property {module:model/RestApiResultApmStatistics}
+ */
+ RestApiResultApmStatistics,
+
+ /**
+ * The RestApiResultApmStatus model constructor.
+ * @property {module:model/RestApiResultApmStatus}
+ */
+ RestApiResultApmStatus,
+
+ /**
+ * The RestApiResultApp model constructor.
+ * @property {module:model/RestApiResultApp}
+ */
+ RestApiResultApp,
+
+ /**
+ * The RestApiResultAppChannelAssignment model constructor.
+ * @property {module:model/RestApiResultAppChannelAssignment}
+ */
+ RestApiResultAppChannelAssignment,
+
+ /**
+ * The RestApiResultAppCompliance model constructor.
+ * @property {module:model/RestApiResultAppCompliance}
+ */
+ RestApiResultAppCompliance,
+
+ /**
+ * The RestApiResultAppConfigSalesChannel model constructor.
+ * @property {module:model/RestApiResultAppConfigSalesChannel}
+ */
+ RestApiResultAppConfigSalesChannel,
+
+ /**
+ * The RestApiResultAppStoreApp model constructor.
+ * @property {module:model/RestApiResultAppStoreApp}
+ */
+ RestApiResultAppStoreApp,
+
+ /**
+ * The RestApiResultAppStoreAppConfiguration model constructor.
+ * @property {module:model/RestApiResultAppStoreAppConfiguration}
+ */
+ RestApiResultAppStoreAppConfiguration,
+
+ /**
+ * The RestApiResultAppStoreAppEntitlements model constructor.
+ * @property {module:model/RestApiResultAppStoreAppEntitlements}
+ */
+ RestApiResultAppStoreAppEntitlements,
+
+ /**
+ * The RestApiResultAssignedBankAccount model constructor.
+ * @property {module:model/RestApiResultAssignedBankAccount}
+ */
+ RestApiResultAssignedBankAccount,
+
+ /**
+ * The RestApiResultBankAccountDetail model constructor.
+ * @property {module:model/RestApiResultBankAccountDetail}
+ */
+ RestApiResultBankAccountDetail,
+
+ /**
+ * The RestApiResultBluetoothTerminalStatus model constructor.
+ * @property {module:model/RestApiResultBluetoothTerminalStatus}
+ */
+ RestApiResultBluetoothTerminalStatus,
+
+ /**
+ * The RestApiResultBusinessHoursOverride model constructor.
+ * @property {module:model/RestApiResultBusinessHoursOverride}
+ */
+ RestApiResultBusinessHoursOverride,
+
+ /**
+ * The RestApiResultBusinessHoursPeriod model constructor.
+ * @property {module:model/RestApiResultBusinessHoursPeriod}
+ */
+ RestApiResultBusinessHoursPeriod,
+
+ /**
+ * The RestApiResultCardReader model constructor.
+ * @property {module:model/RestApiResultCardReader}
+ */
+ RestApiResultCardReader,
+
+ /**
+ * The RestApiResultCatalogItem model constructor.
+ * @property {module:model/RestApiResultCatalogItem}
+ */
+ RestApiResultCatalogItem,
+
+ /**
+ * The RestApiResultChannel model constructor.
+ * @property {module:model/RestApiResultChannel}
+ */
+ RestApiResultChannel,
+
+ /**
+ * The RestApiResultClientDevice model constructor.
+ * @property {module:model/RestApiResultClientDevice}
+ */
+ RestApiResultClientDevice,
+
+ /**
+ * The RestApiResultClientDeviceEnrollmentResult model constructor.
+ * @property {module:model/RestApiResultClientDeviceEnrollmentResult}
+ */
+ RestApiResultClientDeviceEnrollmentResult,
+
+ /**
+ * The RestApiResultCoordinates model constructor.
+ * @property {module:model/RestApiResultCoordinates}
+ */
+ RestApiResultCoordinates,
+
+ /**
+ * The RestApiResultCountryFormResponse model constructor.
+ * @property {module:model/RestApiResultCountryFormResponse}
+ */
+ RestApiResultCountryFormResponse,
+
+ /**
+ * The RestApiResultCreatedMenuSectionItems model constructor.
+ * @property {module:model/RestApiResultCreatedMenuSectionItems}
+ */
+ RestApiResultCreatedMenuSectionItems,
+
+ /**
+ * The RestApiResultCrossSellMenuItems model constructor.
+ * @property {module:model/RestApiResultCrossSellMenuItems}
+ */
+ RestApiResultCrossSellMenuItems,
+
+ /**
+ * The RestApiResultCustomer model constructor.
+ * @property {module:model/RestApiResultCustomer}
+ */
+ RestApiResultCustomer,
+
+ /**
+ * The RestApiResultCustomers model constructor.
+ * @property {module:model/RestApiResultCustomers}
+ */
+ RestApiResultCustomers,
+
+ /**
+ * The RestApiResultDeliveryZone model constructor.
+ * @property {module:model/RestApiResultDeliveryZone}
+ */
+ RestApiResultDeliveryZone,
+
+ /**
+ * The RestApiResultDnsRecordInformation model constructor.
+ * @property {module:model/RestApiResultDnsRecordInformation}
+ */
+ RestApiResultDnsRecordInformation,
+
+ /**
+ * The RestApiResultExecuteConfigurationActionResult model constructor.
+ * @property {module:model/RestApiResultExecuteConfigurationActionResult}
+ */
+ RestApiResultExecuteConfigurationActionResult,
+
+ /**
+ * The RestApiResultFileCreationResult model constructor.
+ * @property {module:model/RestApiResultFileCreationResult}
+ */
+ RestApiResultFileCreationResult,
+
+ /**
+ * The RestApiResultFileDownloadResult model constructor.
+ * @property {module:model/RestApiResultFileDownloadResult}
+ */
+ RestApiResultFileDownloadResult,
+
+ /**
+ * The RestApiResultFulfillmentStatesConfiguration model constructor.
+ * @property {module:model/RestApiResultFulfillmentStatesConfiguration}
+ */
+ RestApiResultFulfillmentStatesConfiguration,
+
+ /**
+ * The RestApiResultGroup model constructor.
+ * @property {module:model/RestApiResultGroup}
+ */
+ RestApiResultGroup,
+
+ /**
+ * The RestApiResultHasPaymentMethodResponse model constructor.
+ * @property {module:model/RestApiResultHasPaymentMethodResponse}
+ */
+ RestApiResultHasPaymentMethodResponse,
+
+ /**
+ * The RestApiResultHomeStatistics model constructor.
+ * @property {module:model/RestApiResultHomeStatistics}
+ */
+ RestApiResultHomeStatistics,
+
+ /**
+ * The RestApiResultHydraConfig model constructor.
+ * @property {module:model/RestApiResultHydraConfig}
+ */
+ RestApiResultHydraConfig,
+
+ /**
+ * The RestApiResultHydraDeviceDetails model constructor.
+ * @property {module:model/RestApiResultHydraDeviceDetails}
+ */
+ RestApiResultHydraDeviceDetails,
+
+ /**
+ * The RestApiResultHydraStatus model constructor.
+ * @property {module:model/RestApiResultHydraStatus}
+ */
+ RestApiResultHydraStatus,
+
+ /**
+ * The RestApiResultIndexPage model constructor.
+ * @property {module:model/RestApiResultIndexPage}
+ */
+ RestApiResultIndexPage,
+
+ /**
+ * The RestApiResultIndexPageBase model constructor.
+ * @property {module:model/RestApiResultIndexPageBase}
+ */
+ RestApiResultIndexPageBase,
+
+ /**
+ * The RestApiResultIntercomUserHash model constructor.
+ * @property {module:model/RestApiResultIntercomUserHash}
+ */
+ RestApiResultIntercomUserHash,
+
+ /**
+ * The RestApiResultJobResponse model constructor.
+ * @property {module:model/RestApiResultJobResponse}
+ */
+ RestApiResultJobResponse,
+
+ /**
+ * The RestApiResultKioskEntitlementsResult model constructor.
+ * @property {module:model/RestApiResultKioskEntitlementsResult}
+ */
+ RestApiResultKioskEntitlementsResult,
+
+ /**
+ * The RestApiResultKioskIotConnectionParameters model constructor.
+ * @property {module:model/RestApiResultKioskIotConnectionParameters}
+ */
+ RestApiResultKioskIotConnectionParameters,
+
+ /**
+ * The RestApiResultKioskSettings model constructor.
+ * @property {module:model/RestApiResultKioskSettings}
+ */
+ RestApiResultKioskSettings,
+
+ /**
+ * The RestApiResultLightspeedSettings model constructor.
+ * @property {module:model/RestApiResultLightspeedSettings}
+ */
+ RestApiResultLightspeedSettings,
+
+ /**
+ * The RestApiResultLocationArea model constructor.
+ * @property {module:model/RestApiResultLocationArea}
+ */
+ RestApiResultLocationArea,
+
+ /**
+ * The RestApiResultLocationAreaLocation model constructor.
+ * @property {module:model/RestApiResultLocationAreaLocation}
+ */
+ RestApiResultLocationAreaLocation,
+
+ /**
+ * The RestApiResultLocationAreaWithLocations model constructor.
+ * @property {module:model/RestApiResultLocationAreaWithLocations}
+ */
+ RestApiResultLocationAreaWithLocations,
+
+ /**
+ * The RestApiResultLoyaltyCampaign model constructor.
+ * @property {module:model/RestApiResultLoyaltyCampaign}
+ */
+ RestApiResultLoyaltyCampaign,
+
+ /**
+ * The RestApiResultMappedLocation model constructor.
+ * @property {module:model/RestApiResultMappedLocation}
+ */
+ RestApiResultMappedLocation,
+
+ /**
+ * The RestApiResultMenu model constructor.
+ * @property {module:model/RestApiResultMenu}
+ */
+ RestApiResultMenu,
+
+ /**
+ * The RestApiResultMenuItemOptionSet model constructor.
+ * @property {module:model/RestApiResultMenuItemOptionSet}
+ */
+ RestApiResultMenuItemOptionSet,
+
+ /**
+ * The RestApiResultMenuItemOptionSetItem model constructor.
+ * @property {module:model/RestApiResultMenuItemOptionSetItem}
+ */
+ RestApiResultMenuItemOptionSetItem,
+
+ /**
+ * The RestApiResultMenuNutritionInfoHeader model constructor.
+ * @property {module:model/RestApiResultMenuNutritionInfoHeader}
+ */
+ RestApiResultMenuNutritionInfoHeader,
+
+ /**
+ * The RestApiResultMenuSection model constructor.
+ * @property {module:model/RestApiResultMenuSection}
+ */
+ RestApiResultMenuSection,
+
+ /**
+ * The RestApiResultMenuSectionAvailability model constructor.
+ * @property {module:model/RestApiResultMenuSectionAvailability}
+ */
+ RestApiResultMenuSectionAvailability,
+
+ /**
+ * The RestApiResultMenuSectionItem model constructor.
+ * @property {module:model/RestApiResultMenuSectionItem}
+ */
+ RestApiResultMenuSectionItem,
+
+ /**
+ * The RestApiResultMenuZone model constructor.
+ * @property {module:model/RestApiResultMenuZone}
+ */
+ RestApiResultMenuZone,
+
+ /**
+ * The RestApiResultMetadata model constructor.
+ * @property {module:model/RestApiResultMetadata}
+ */
+ RestApiResultMetadata,
+
+ /**
+ * The RestApiResultMetafieldDefinition model constructor.
+ * @property {module:model/RestApiResultMetafieldDefinition}
+ */
+ RestApiResultMetafieldDefinition,
+
+ /**
+ * The RestApiResultMobileAppsImage model constructor.
+ * @property {module:model/RestApiResultMobileAppsImage}
+ */
+ RestApiResultMobileAppsImage,
+
+ /**
+ * The RestApiResultMobileAppsSubmission model constructor.
+ * @property {module:model/RestApiResultMobileAppsSubmission}
+ */
+ RestApiResultMobileAppsSubmission,
+
+ /**
+ * The RestApiResultMobileAppsSubmissionDetails model constructor.
+ * @property {module:model/RestApiResultMobileAppsSubmissionDetails}
+ */
+ RestApiResultMobileAppsSubmissionDetails,
+
+ /**
+ * The RestApiResultMobileAppsSubmissionStatus model constructor.
+ * @property {module:model/RestApiResultMobileAppsSubmissionStatus}
+ */
+ RestApiResultMobileAppsSubmissionStatus,
+
+ /**
+ * The RestApiResultModelBase model constructor.
+ * @property {module:model/RestApiResultModelBase}
+ */
+ RestApiResultModelBase,
+
+ /**
+ * The RestApiResultNutritionInfo model constructor.
+ * @property {module:model/RestApiResultNutritionInfo}
+ */
+ RestApiResultNutritionInfo,
+
+ /**
+ * The RestApiResultNutritionInfoV2 model constructor.
+ * @property {module:model/RestApiResultNutritionInfoV2}
+ */
+ RestApiResultNutritionInfoV2,
+
+ /**
+ * The RestApiResultOAuthApp model constructor.
+ * @property {module:model/RestApiResultOAuthApp}
+ */
+ RestApiResultOAuthApp,
+
+ /**
+ * The RestApiResultOauthClientRedirectUri model constructor.
+ * @property {module:model/RestApiResultOauthClientRedirectUri}
+ */
+ RestApiResultOauthClientRedirectUri,
+
+ /**
+ * The RestApiResultOktaPortalFeatureFlag model constructor.
+ * @property {module:model/RestApiResultOktaPortalFeatureFlag}
+ */
+ RestApiResultOktaPortalFeatureFlag,
+
+ /**
+ * The RestApiResultOrder model constructor.
+ * @property {module:model/RestApiResultOrder}
+ */
+ RestApiResultOrder,
+
+ /**
+ * The RestApiResultOrderBatch model constructor.
+ * @property {module:model/RestApiResultOrderBatch}
+ */
+ RestApiResultOrderBatch,
+
+ /**
+ * The RestApiResultOrderBatchingConfiguration model constructor.
+ * @property {module:model/RestApiResultOrderBatchingConfiguration}
+ */
+ RestApiResultOrderBatchingConfiguration,
+
+ /**
+ * The RestApiResultOrderDeliveryInformation model constructor.
+ * @property {module:model/RestApiResultOrderDeliveryInformation}
+ */
+ RestApiResultOrderDeliveryInformation,
+
+ /**
+ * The RestApiResultOrderFulfillmentStatus model constructor.
+ * @property {module:model/RestApiResultOrderFulfillmentStatus}
+ */
+ RestApiResultOrderFulfillmentStatus,
+
+ /**
+ * The RestApiResultOrderFulfillmentStatusWithConfigurationActions model constructor.
+ * @property {module:model/RestApiResultOrderFulfillmentStatusWithConfigurationActions}
+ */
+ RestApiResultOrderFulfillmentStatusWithConfigurationActions,
+
+ /**
+ * The RestApiResultOrderLeadTimes model constructor.
+ * @property {module:model/RestApiResultOrderLeadTimes}
+ */
+ RestApiResultOrderLeadTimes,
+
+ /**
+ * The RestApiResultOrderPaymentInformation model constructor.
+ * @property {module:model/RestApiResultOrderPaymentInformation}
+ */
+ RestApiResultOrderPaymentInformation,
+
+ /**
+ * The RestApiResultPaymentIntent model constructor.
+ * @property {module:model/RestApiResultPaymentIntent}
+ */
+ RestApiResultPaymentIntent,
+
+ /**
+ * The RestApiResultPaymentTerminalDetails model constructor.
+ * @property {module:model/RestApiResultPaymentTerminalDetails}
+ */
+ RestApiResultPaymentTerminalDetails,
+
+ /**
+ * The RestApiResultPaymentTerminalTransactionDetails model constructor.
+ * @property {module:model/RestApiResultPaymentTerminalTransactionDetails}
+ */
+ RestApiResultPaymentTerminalTransactionDetails,
+
+ /**
+ * The RestApiResultPayoutReport3Details model constructor.
+ * @property {module:model/RestApiResultPayoutReport3Details}
+ */
+ RestApiResultPayoutReport3Details,
+
+ /**
+ * The RestApiResultPayoutReport3Overview model constructor.
+ * @property {module:model/RestApiResultPayoutReport3Overview}
+ */
+ RestApiResultPayoutReport3Overview,
+
+ /**
+ * The RestApiResultPreOrderConfig model constructor.
+ * @property {module:model/RestApiResultPreOrderConfig}
+ */
+ RestApiResultPreOrderConfig,
+
+ /**
+ * The RestApiResultProcessingFeeConfig model constructor.
+ * @property {module:model/RestApiResultProcessingFeeConfig}
+ */
+ RestApiResultProcessingFeeConfig,
+
+ /**
+ * The RestApiResultProduct model constructor.
+ * @property {module:model/RestApiResultProduct}
+ */
+ RestApiResultProduct,
+
+ /**
+ * The RestApiResultPushNotificationResponse model constructor.
+ * @property {module:model/RestApiResultPushNotificationResponse}
+ */
+ RestApiResultPushNotificationResponse,
+
+ /**
+ * The RestApiResultRedeemInvitationResult model constructor.
+ * @property {module:model/RestApiResultRedeemInvitationResult}
+ */
+ RestApiResultRedeemInvitationResult,
+
+ /**
+ * The RestApiResultRestApiDefaultResponse model constructor.
+ * @property {module:model/RestApiResultRestApiDefaultResponse}
+ */
+ RestApiResultRestApiDefaultResponse,
+
+ /**
+ * The RestApiResultRestApiIntegerResult model constructor.
+ * @property {module:model/RestApiResultRestApiIntegerResult}
+ */
+ RestApiResultRestApiIntegerResult,
+
+ /**
+ * The RestApiResultRestaurantVoucherPayGreenConfiguration model constructor.
+ * @property {module:model/RestApiResultRestaurantVoucherPayGreenConfiguration}
+ */
+ RestApiResultRestaurantVoucherPayGreenConfiguration,
+
+ /**
+ * The RestApiResultRestaurantVoucherPayGreenStoreConfiguration model constructor.
+ * @property {module:model/RestApiResultRestaurantVoucherPayGreenStoreConfiguration}
+ */
+ RestApiResultRestaurantVoucherPayGreenStoreConfiguration,
+
+ /**
+ * The RestApiResultRetentionCampaign model constructor.
+ * @property {module:model/RestApiResultRetentionCampaign}
+ */
+ RestApiResultRetentionCampaign,
+
+ /**
+ * The RestApiResultServiceCharge model constructor.
+ * @property {module:model/RestApiResultServiceCharge}
+ */
+ RestApiResultServiceCharge,
+
+ /**
+ * The RestApiResultSmsProviderCredential model constructor.
+ * @property {module:model/RestApiResultSmsProviderCredential}
+ */
+ RestApiResultSmsProviderCredential,
+
+ /**
+ * The RestApiResultStore model constructor.
+ * @property {module:model/RestApiResultStore}
+ */
+ RestApiResultStore,
+
+ /**
+ * The RestApiResultStoreAddress model constructor.
+ * @property {module:model/RestApiResultStoreAddress}
+ */
+ RestApiResultStoreAddress,
+
+ /**
+ * The RestApiResultStoreChannelAssignment model constructor.
+ * @property {module:model/RestApiResultStoreChannelAssignment}
+ */
+ RestApiResultStoreChannelAssignment,
+
+ /**
+ * The RestApiResultStoreEndOfDayReport model constructor.
+ * @property {module:model/RestApiResultStoreEndOfDayReport}
+ */
+ RestApiResultStoreEndOfDayReport,
+
+ /**
+ * The RestApiResultStoreGroup model constructor.
+ * @property {module:model/RestApiResultStoreGroup}
+ */
+ RestApiResultStoreGroup,
+
+ /**
+ * The RestApiResultStoreGroupBase model constructor.
+ * @property {module:model/RestApiResultStoreGroupBase}
+ */
+ RestApiResultStoreGroupBase,
+
+ /**
+ * The RestApiResultStoreOrderCapacityConfig model constructor.
+ * @property {module:model/RestApiResultStoreOrderCapacityConfig}
+ */
+ RestApiResultStoreOrderCapacityConfig,
+
+ /**
+ * The RestApiResultStripeConnectedAccount model constructor.
+ * @property {module:model/RestApiResultStripeConnectedAccount}
+ */
+ RestApiResultStripeConnectedAccount,
+
+ /**
+ * The RestApiResultStripeTerminalConnectionToken model constructor.
+ * @property {module:model/RestApiResultStripeTerminalConnectionToken}
+ */
+ RestApiResultStripeTerminalConnectionToken,
+
+ /**
+ * The RestApiResultStripeTerminalLocation model constructor.
+ * @property {module:model/RestApiResultStripeTerminalLocation}
+ */
+ RestApiResultStripeTerminalLocation,
+
+ /**
+ * The RestApiResultStuartSettings model constructor.
+ * @property {module:model/RestApiResultStuartSettings}
+ */
+ RestApiResultStuartSettings,
+
+ /**
+ * The RestApiResultSubscription model constructor.
+ * @property {module:model/RestApiResultSubscription}
+ */
+ RestApiResultSubscription,
+
+ /**
+ * The RestApiResultTeammate model constructor.
+ * @property {module:model/RestApiResultTeammate}
+ */
+ RestApiResultTeammate,
+
+ /**
+ * The RestApiResultTelemetrySeriesResult model constructor.
+ * @property {module:model/RestApiResultTelemetrySeriesResult}
+ */
+ RestApiResultTelemetrySeriesResult,
+
+ /**
+ * The RestApiResultTipConfiguration model constructor.
+ * @property {module:model/RestApiResultTipConfiguration}
+ */
+ RestApiResultTipConfiguration,
+
+ /**
+ * The RestApiResultUpdateMobileAppsSubmissionStatus model constructor.
+ * @property {module:model/RestApiResultUpdateMobileAppsSubmissionStatus}
+ */
+ RestApiResultUpdateMobileAppsSubmissionStatus,
+
+ /**
+ * The RestApiResultUserInfo model constructor.
+ * @property {module:model/RestApiResultUserInfo}
+ */
+ RestApiResultUserInfo,
+
+ /**
+ * The RestApiResultUserRole model constructor.
+ * @property {module:model/RestApiResultUserRole}
+ */
+ RestApiResultUserRole,
+
+ /**
+ * The RestApiResultVoucher model constructor.
+ * @property {module:model/RestApiResultVoucher}
+ */
+ RestApiResultVoucher,
+
+ /**
+ * The RestApiResultVoucherWithStats model constructor.
+ * @property {module:model/RestApiResultVoucherWithStats}
+ */
+ RestApiResultVoucherWithStats,
+
+ /**
+ * The RestApiResultWebsiteImage model constructor.
+ * @property {module:model/RestApiResultWebsiteImage}
+ */
+ RestApiResultWebsiteImage,
+
+ /**
+ * The RestApiResultWebsiteTestimonial model constructor.
+ * @property {module:model/RestApiResultWebsiteTestimonial}
+ */
+ RestApiResultWebsiteTestimonial,
+
+ /**
+ * The RestApiStringArrayResult model constructor.
+ * @property {module:model/RestApiStringArrayResult}
+ */
+ RestApiStringArrayResult,
+
+ /**
+ * The RestApiStringResult model constructor.
+ * @property {module:model/RestApiStringResult}
+ */
+ RestApiStringResult,
+
+ /**
+ * The RestApiUnauthorizedResult model constructor.
+ * @property {module:model/RestApiUnauthorizedResult}
+ */
+ RestApiUnauthorizedResult,
+
+ /**
+ * The Restaurant model constructor.
+ * @property {module:model/Restaurant}
+ */
+ Restaurant,
+
+ /**
+ * The RestaurantVoucherAssignedStore model constructor.
+ * @property {module:model/RestaurantVoucherAssignedStore}
+ */
+ RestaurantVoucherAssignedStore,
+
+ /**
+ * The RestaurantVoucherEligibleStore model constructor.
+ * @property {module:model/RestaurantVoucherEligibleStore}
+ */
+ RestaurantVoucherEligibleStore,
+
+ /**
+ * The RestaurantVoucherPayGreenConfiguration model constructor.
+ * @property {module:model/RestaurantVoucherPayGreenConfiguration}
+ */
+ RestaurantVoucherPayGreenConfiguration,
+
+ /**
+ * The RestaurantVoucherPayGreenConfigurationSummary model constructor.
+ * @property {module:model/RestaurantVoucherPayGreenConfigurationSummary}
+ */
+ RestaurantVoucherPayGreenConfigurationSummary,
+
+ /**
+ * The RestaurantVoucherPayGreenStoreConfiguration model constructor.
+ * @property {module:model/RestaurantVoucherPayGreenStoreConfiguration}
+ */
+ RestaurantVoucherPayGreenStoreConfiguration,
+
+ /**
+ * The RetentionCampaign model constructor.
+ * @property {module:model/RetentionCampaign}
+ */
+ RetentionCampaign,
+
+ /**
+ * The RetentionCampaignBase model constructor.
+ * @property {module:model/RetentionCampaignBase}
+ */
+ RetentionCampaignBase,
+
+ /**
+ * The RetentionCampaignCreatedEvent model constructor.
+ * @property {module:model/RetentionCampaignCreatedEvent}
+ */
+ RetentionCampaignCreatedEvent,
+
+ /**
+ * The RetentionCampaignDeletedEvent model constructor.
+ * @property {module:model/RetentionCampaignDeletedEvent}
+ */
+ RetentionCampaignDeletedEvent,
+
+ /**
+ * The RetentionCampaignUpdatedEvent model constructor.
+ * @property {module:model/RetentionCampaignUpdatedEvent}
+ */
+ RetentionCampaignUpdatedEvent,
+
+ /**
+ * The RevenueAdjustmentsDetails model constructor.
+ * @property {module:model/RevenueAdjustmentsDetails}
+ */
+ RevenueAdjustmentsDetails,
+
+ /**
+ * The RevenueDetail model constructor.
+ * @property {module:model/RevenueDetail}
+ */
+ RevenueDetail,
+
+ /**
+ * The SafeWaitHandle model constructor.
+ * @property {module:model/SafeWaitHandle}
+ */
+ SafeWaitHandle,
+
+ /**
+ * The SearchCriteria model constructor.
+ * @property {module:model/SearchCriteria}
+ */
+ SearchCriteria,
+
+ /**
+ * The ServiceCharge model constructor.
+ * @property {module:model/ServiceCharge}
+ */
+ ServiceCharge,
+
+ /**
+ * The SetOrderBatchingConfiguration model constructor.
+ * @property {module:model/SetOrderBatchingConfiguration}
+ */
+ SetOrderBatchingConfiguration,
+
+ /**
+ * The SetPasswordWithPinModel model constructor.
+ * @property {module:model/SetPasswordWithPinModel}
+ */
+ SetPasswordWithPinModel,
+
+ /**
+ * The SetVoucherValidityPeriodsSimplifiedRequest model constructor.
+ * @property {module:model/SetVoucherValidityPeriodsSimplifiedRequest}
+ */
+ SetVoucherValidityPeriodsSimplifiedRequest,
+
+ /**
+ * The Setting model constructor.
+ * @property {module:model/Setting}
+ */
+ Setting,
+
+ /**
+ * The SignupStep model constructor.
+ * @property {module:model/SignupStep}
+ */
+ SignupStep,
+
+ /**
+ * The SmsInfo model constructor.
+ * @property {module:model/SmsInfo}
+ */
+ SmsInfo,
+
+ /**
+ * The SmsProviderCredential model constructor.
+ * @property {module:model/SmsProviderCredential}
+ */
+ SmsProviderCredential,
+
+ /**
+ * The SmsProviderCredentialUpdateRequest model constructor.
+ * @property {module:model/SmsProviderCredentialUpdateRequest}
+ */
+ SmsProviderCredentialUpdateRequest,
+
+ /**
+ * The SmsReceivedEvent model constructor.
+ * @property {module:model/SmsReceivedEvent}
+ */
+ SmsReceivedEvent,
+
+ /**
+ * The StatisticsCurrencyDataPoint model constructor.
+ * @property {module:model/StatisticsCurrencyDataPoint}
+ */
+ StatisticsCurrencyDataPoint,
+
+ /**
+ * The Store model constructor.
+ * @property {module:model/Store}
+ */
+ Store,
+
+ /**
+ * The StoreAddress model constructor.
+ * @property {module:model/StoreAddress}
+ */
+ StoreAddress,
+
+ /**
+ * The StoreAddressBase model constructor.
+ * @property {module:model/StoreAddressBase}
+ */
+ StoreAddressBase,
+
+ /**
+ * The StoreAddressForm model constructor.
+ * @property {module:model/StoreAddressForm}
+ */
+ StoreAddressForm,
+
+ /**
+ * The StoreAddressUpdatedEvent model constructor.
+ * @property {module:model/StoreAddressUpdatedEvent}
+ */
+ StoreAddressUpdatedEvent,
+
+ /**
+ * The StoreArchivedEvent model constructor.
+ * @property {module:model/StoreArchivedEvent}
+ */
+ StoreArchivedEvent,
+
+ /**
+ * The StoreBase model constructor.
+ * @property {module:model/StoreBase}
+ */
+ StoreBase,
+
+ /**
+ * The StoreBusinessHoursOverrideCreatedEvent model constructor.
+ * @property {module:model/StoreBusinessHoursOverrideCreatedEvent}
+ */
+ StoreBusinessHoursOverrideCreatedEvent,
+
+ /**
+ * The StoreBusinessHoursOverrideDeletedEvent model constructor.
+ * @property {module:model/StoreBusinessHoursOverrideDeletedEvent}
+ */
+ StoreBusinessHoursOverrideDeletedEvent,
+
+ /**
+ * The StoreCampaignStartTime model constructor.
+ * @property {module:model/StoreCampaignStartTime}
+ */
+ StoreCampaignStartTime,
+
+ /**
+ * The StoreChannelAssignment model constructor.
+ * @property {module:model/StoreChannelAssignment}
+ */
+ StoreChannelAssignment,
+
+ /**
+ * The StoreCloneSettings model constructor.
+ * @property {module:model/StoreCloneSettings}
+ */
+ StoreCloneSettings,
+
+ /**
+ * The StoreCollectionSettings model constructor.
+ * @property {module:model/StoreCollectionSettings}
+ */
+ StoreCollectionSettings,
+
+ /**
+ * The StoreConfig model constructor.
+ * @property {module:model/StoreConfig}
+ */
+ StoreConfig,
+
+ /**
+ * The StoreCreateBase model constructor.
+ * @property {module:model/StoreCreateBase}
+ */
+ StoreCreateBase,
+
+ /**
+ * The StoreCreatedEvent model constructor.
+ * @property {module:model/StoreCreatedEvent}
+ */
+ StoreCreatedEvent,
+
+ /**
+ * The StoreDataPoint model constructor.
+ * @property {module:model/StoreDataPoint}
+ */
+ StoreDataPoint,
+
+ /**
+ * The StoreDeletedEvent model constructor.
+ * @property {module:model/StoreDeletedEvent}
+ */
+ StoreDeletedEvent,
+
+ /**
+ * The StoreDeliveryZoneFeeConfig model constructor.
+ * @property {module:model/StoreDeliveryZoneFeeConfig}
+ */
+ StoreDeliveryZoneFeeConfig,
+
+ /**
+ * The StoreDeliveryZoneFeeConfigUpdateRequest model constructor.
+ * @property {module:model/StoreDeliveryZoneFeeConfigUpdateRequest}
+ */
+ StoreDeliveryZoneFeeConfigUpdateRequest,
+
+ /**
+ * The StoreEndOfDayReport model constructor.
+ * @property {module:model/StoreEndOfDayReport}
+ */
+ StoreEndOfDayReport,
+
+ /**
+ * The StoreFeeConfig model constructor.
+ * @property {module:model/StoreFeeConfig}
+ */
+ StoreFeeConfig,
+
+ /**
+ * The StoreFeeConfigUpdatedEvent model constructor.
+ * @property {module:model/StoreFeeConfigUpdatedEvent}
+ */
+ StoreFeeConfigUpdatedEvent,
+
+ /**
+ * The StoreGroup model constructor.
+ * @property {module:model/StoreGroup}
+ */
+ StoreGroup,
+
+ /**
+ * The StoreGroupBase model constructor.
+ * @property {module:model/StoreGroupBase}
+ */
+ StoreGroupBase,
+
+ /**
+ * The StoreGroupCreatedEvent model constructor.
+ * @property {module:model/StoreGroupCreatedEvent}
+ */
+ StoreGroupCreatedEvent,
+
+ /**
+ * The StoreGroupDeletedEvent model constructor.
+ * @property {module:model/StoreGroupDeletedEvent}
+ */
+ StoreGroupDeletedEvent,
+
+ /**
+ * The StoreGroupExtended model constructor.
+ * @property {module:model/StoreGroupExtended}
+ */
+ StoreGroupExtended,
+
+ /**
+ * The StoreGroupUpdatedEvent model constructor.
+ * @property {module:model/StoreGroupUpdatedEvent}
+ */
+ StoreGroupUpdatedEvent,
+
+ /**
+ * The StoreHeader model constructor.
+ * @property {module:model/StoreHeader}
+ */
+ StoreHeader,
+
+ /**
+ * The StoreItemHeader model constructor.
+ * @property {module:model/StoreItemHeader}
+ */
+ StoreItemHeader,
+
+ /**
+ * The StoreKioskSetting model constructor.
+ * @property {module:model/StoreKioskSetting}
+ */
+ StoreKioskSetting,
+
+ /**
+ * The StoreKioskSettingUpdatedEvent model constructor.
+ * @property {module:model/StoreKioskSettingUpdatedEvent}
+ */
+ StoreKioskSettingUpdatedEvent,
+
+ /**
+ * The StoreListItem model constructor.
+ * @property {module:model/StoreListItem}
+ */
+ StoreListItem,
+
+ /**
+ * The StoreLogoCreatedEvent model constructor.
+ * @property {module:model/StoreLogoCreatedEvent}
+ */
+ StoreLogoCreatedEvent,
+
+ /**
+ * The StoreLogoDeletedEvent model constructor.
+ * @property {module:model/StoreLogoDeletedEvent}
+ */
+ StoreLogoDeletedEvent,
+
+ /**
+ * The StoreLogoUpdatedEvent model constructor.
+ * @property {module:model/StoreLogoUpdatedEvent}
+ */
+ StoreLogoUpdatedEvent,
+
+ /**
+ * The StoreMenuAssignedEvent model constructor.
+ * @property {module:model/StoreMenuAssignedEvent}
+ */
+ StoreMenuAssignedEvent,
+
+ /**
+ * The StoreNote model constructor.
+ * @property {module:model/StoreNote}
+ */
+ StoreNote,
+
+ /**
+ * The StoreOpeningHoursUpdatedEvent model constructor.
+ * @property {module:model/StoreOpeningHoursUpdatedEvent}
+ */
+ StoreOpeningHoursUpdatedEvent,
+
+ /**
+ * The StoreOrderCapacityConfig model constructor.
+ * @property {module:model/StoreOrderCapacityConfig}
+ */
+ StoreOrderCapacityConfig,
+
+ /**
+ * The StoreOrderCapacityConfigEditModel model constructor.
+ * @property {module:model/StoreOrderCapacityConfigEditModel}
+ */
+ StoreOrderCapacityConfigEditModel,
+
+ /**
+ * The StoreOrderCapacityPeriod model constructor.
+ * @property {module:model/StoreOrderCapacityPeriod}
+ */
+ StoreOrderCapacityPeriod,
+
+ /**
+ * The StorePreOrderConfigUpdatedEvent model constructor.
+ * @property {module:model/StorePreOrderConfigUpdatedEvent}
+ */
+ StorePreOrderConfigUpdatedEvent,
+
+ /**
+ * The StorePublishedEvent model constructor.
+ * @property {module:model/StorePublishedEvent}
+ */
+ StorePublishedEvent,
+
+ /**
+ * The StoreServiceChargeUpdatedEvent model constructor.
+ * @property {module:model/StoreServiceChargeUpdatedEvent}
+ */
+ StoreServiceChargeUpdatedEvent,
+
+ /**
+ * The StoreStatistics model constructor.
+ * @property {module:model/StoreStatistics}
+ */
+ StoreStatistics,
+
+ /**
+ * The StoreSummary model constructor.
+ * @property {module:model/StoreSummary}
+ */
+ StoreSummary,
+
+ /**
+ * The StoreTipUpdatedEvent model constructor.
+ * @property {module:model/StoreTipUpdatedEvent}
+ */
+ StoreTipUpdatedEvent,
+
+ /**
+ * The StoreUnarchivedEvent model constructor.
+ * @property {module:model/StoreUnarchivedEvent}
+ */
+ StoreUnarchivedEvent,
+
+ /**
+ * The StoreUnpublishedEvent model constructor.
+ * @property {module:model/StoreUnpublishedEvent}
+ */
+ StoreUnpublishedEvent,
+
+ /**
+ * The StoreUpdatedEvent model constructor.
+ * @property {module:model/StoreUpdatedEvent}
+ */
+ StoreUpdatedEvent,
+
+ /**
+ * The StoreValidationConfig model constructor.
+ * @property {module:model/StoreValidationConfig}
+ */
+ StoreValidationConfig,
+
+ /**
+ * The Stream model constructor.
+ * @property {module:model/Stream}
+ */
+ Stream,
+
+ /**
+ * The StripeAccountLinkRequest model constructor.
+ * @property {module:model/StripeAccountLinkRequest}
+ */
+ StripeAccountLinkRequest,
+
+ /**
+ * The StripeConnectedAccount model constructor.
+ * @property {module:model/StripeConnectedAccount}
+ */
+ StripeConnectedAccount,
+
+ /**
+ * The StripeConnectedAccountInfo model constructor.
+ * @property {module:model/StripeConnectedAccountInfo}
+ */
+ StripeConnectedAccountInfo,
+
+ /**
+ * The StripeCustomConnectedAccount model constructor.
+ * @property {module:model/StripeCustomConnectedAccount}
+ */
+ StripeCustomConnectedAccount,
+
+ /**
+ * The StripeTerminalConnectionToken model constructor.
+ * @property {module:model/StripeTerminalConnectionToken}
+ */
+ StripeTerminalConnectionToken,
+
+ /**
+ * The StripeTerminalLocation model constructor.
+ * @property {module:model/StripeTerminalLocation}
+ */
+ StripeTerminalLocation,
+
+ /**
+ * The StuartSettings model constructor.
+ * @property {module:model/StuartSettings}
+ */
+ StuartSettings,
+
+ /**
+ * The StuartSettingsTransportPrices model constructor.
+ * @property {module:model/StuartSettingsTransportPrices}
+ */
+ StuartSettingsTransportPrices,
+
+ /**
+ * The Subscription model constructor.
+ * @property {module:model/Subscription}
+ */
+ Subscription,
+
+ /**
+ * The SubscriptionInvoice model constructor.
+ * @property {module:model/SubscriptionInvoice}
+ */
+ SubscriptionInvoice,
+
+ /**
+ * The SubscriptionProduct model constructor.
+ * @property {module:model/SubscriptionProduct}
+ */
+ SubscriptionProduct,
+
+ /**
+ * The SubscriptionStore model constructor.
+ * @property {module:model/SubscriptionStore}
+ */
+ SubscriptionStore,
+
+ /**
+ * The SubscriptionSummary model constructor.
+ * @property {module:model/SubscriptionSummary}
+ */
+ SubscriptionSummary,
+
+ /**
+ * The SupportedCountry model constructor.
+ * @property {module:model/SupportedCountry}
+ */
+ SupportedCountry,
+
+ /**
+ * The TaxItem model constructor.
+ * @property {module:model/TaxItem}
+ */
+ TaxItem,
+
+ /**
+ * The TaxRate model constructor.
+ * @property {module:model/TaxRate}
+ */
+ TaxRate,
+
+ /**
+ * The Teammate model constructor.
+ * @property {module:model/Teammate}
+ */
+ Teammate,
+
+ /**
+ * The TeammateBase model constructor.
+ * @property {module:model/TeammateBase}
+ */
+ TeammateBase,
+
+ /**
+ * The TeammateDeletedEvent model constructor.
+ * @property {module:model/TeammateDeletedEvent}
+ */
+ TeammateDeletedEvent,
+
+ /**
+ * The TeammateInviteAcceptedEvent model constructor.
+ * @property {module:model/TeammateInviteAcceptedEvent}
+ */
+ TeammateInviteAcceptedEvent,
+
+ /**
+ * The TeammateInviteSentEvent model constructor.
+ * @property {module:model/TeammateInviteSentEvent}
+ */
+ TeammateInviteSentEvent,
+
+ /**
+ * The TeammateUpdatedEvent model constructor.
+ * @property {module:model/TeammateUpdatedEvent}
+ */
+ TeammateUpdatedEvent,
+
+ /**
+ * The TelemetrySeriesProperty model constructor.
+ * @property {module:model/TelemetrySeriesProperty}
+ */
+ TelemetrySeriesProperty,
+
+ /**
+ * The TelemetrySeriesQueryParameters model constructor.
+ * @property {module:model/TelemetrySeriesQueryParameters}
+ */
+ TelemetrySeriesQueryParameters,
+
+ /**
+ * The TelemetrySeriesResult model constructor.
+ * @property {module:model/TelemetrySeriesResult}
+ */
+ TelemetrySeriesResult,
+
+ /**
+ * The TelephonyConfig model constructor.
+ * @property {module:model/TelephonyConfig}
+ */
+ TelephonyConfig,
+
+ /**
+ * The TelephonyConfigUpdatedEvent model constructor.
+ * @property {module:model/TelephonyConfigUpdatedEvent}
+ */
+ TelephonyConfigUpdatedEvent,
+
+ /**
+ * The ThirdPartyFeesDetails model constructor.
+ * @property {module:model/ThirdPartyFeesDetails}
+ */
+ ThirdPartyFeesDetails,
+
+ /**
+ * The TipConfiguration model constructor.
+ * @property {module:model/TipConfiguration}
+ */
+ TipConfiguration,
+
+ /**
+ * The UnRegisterCardReaderRequest model constructor.
+ * @property {module:model/UnRegisterCardReaderRequest}
+ */
+ UnRegisterCardReaderRequest,
+
+ /**
+ * The UpcomingInvoice model constructor.
+ * @property {module:model/UpcomingInvoice}
+ */
+ UpcomingInvoice,
+
+ /**
+ * The UpdateAppStoreApp model constructor.
+ * @property {module:model/UpdateAppStoreApp}
+ */
+ UpdateAppStoreApp,
+
+ /**
+ * The UpdateAppStoreAppConfiguration model constructor.
+ * @property {module:model/UpdateAppStoreAppConfiguration}
+ */
+ UpdateAppStoreAppConfiguration,
+
+ /**
+ * The UpdateAppStoreAppConfigurationValuesBatch model constructor.
+ * @property {module:model/UpdateAppStoreAppConfigurationValuesBatch}
+ */
+ UpdateAppStoreAppConfigurationValuesBatch,
+
+ /**
+ * The UpdateAppStoreAppConfigurationWebhookDTO model constructor.
+ * @property {module:model/UpdateAppStoreAppConfigurationWebhookDTO}
+ */
+ UpdateAppStoreAppConfigurationWebhookDTO,
+
+ /**
+ * The UpdateAppStoreAppExternalProduct model constructor.
+ * @property {module:model/UpdateAppStoreAppExternalProduct}
+ */
+ UpdateAppStoreAppExternalProduct,
+
+ /**
+ * The UpdateCatalogGroupReference model constructor.
+ * @property {module:model/UpdateCatalogGroupReference}
+ */
+ UpdateCatalogGroupReference,
+
+ /**
+ * The UpdateCatalogItem model constructor.
+ * @property {module:model/UpdateCatalogItem}
+ */
+ UpdateCatalogItem,
+
+ /**
+ * The UpdateDriverNotificationToken model constructor.
+ * @property {module:model/UpdateDriverNotificationToken}
+ */
+ UpdateDriverNotificationToken,
+
+ /**
+ * The UpdateDriverProfileModel model constructor.
+ * @property {module:model/UpdateDriverProfileModel}
+ */
+ UpdateDriverProfileModel,
+
+ /**
+ * The UpdateFulfillmentStatesConfiguration model constructor.
+ * @property {module:model/UpdateFulfillmentStatesConfiguration}
+ */
+ UpdateFulfillmentStatesConfiguration,
+
+ /**
+ * The UpdateGroup model constructor.
+ * @property {module:model/UpdateGroup}
+ */
+ UpdateGroup,
+
+ /**
+ * The UpdateGroupReference model constructor.
+ * @property {module:model/UpdateGroupReference}
+ */
+ UpdateGroupReference,
+
+ /**
+ * The UpdateLocationArea model constructor.
+ * @property {module:model/UpdateLocationArea}
+ */
+ UpdateLocationArea,
+
+ /**
+ * The UpdateMetafieldDefinition model constructor.
+ * @property {module:model/UpdateMetafieldDefinition}
+ */
+ UpdateMetafieldDefinition,
+
+ /**
+ * The UpdateMobileAppsSubmissionStatus model constructor.
+ * @property {module:model/UpdateMobileAppsSubmissionStatus}
+ */
+ UpdateMobileAppsSubmissionStatus,
+
+ /**
+ * The UpdatePayGreenConfigurationRequest model constructor.
+ * @property {module:model/UpdatePayGreenConfigurationRequest}
+ */
+ UpdatePayGreenConfigurationRequest,
+
+ /**
+ * The UpdateProduct model constructor.
+ * @property {module:model/UpdateProduct}
+ */
+ UpdateProduct,
+
+ /**
+ * The UpdateProductReference model constructor.
+ * @property {module:model/UpdateProductReference}
+ */
+ UpdateProductReference,
+
+ /**
+ * The UpdateStorePayGreenConfigurationRequest model constructor.
+ * @property {module:model/UpdateStorePayGreenConfigurationRequest}
+ */
+ UpdateStorePayGreenConfigurationRequest,
+
+ /**
+ * The UpdateTipConfiguration model constructor.
+ * @property {module:model/UpdateTipConfiguration}
+ */
+ UpdateTipConfiguration,
+
+ /**
+ * The UpdateVoucher model constructor.
+ * @property {module:model/UpdateVoucher}
+ */
+ UpdateVoucher,
+
+ /**
+ * The UpdateVoucherUsage model constructor.
+ * @property {module:model/UpdateVoucherUsage}
+ */
+ UpdateVoucherUsage,
+
+ /**
+ * The UserAnsweredSignupQuestionsEvent model constructor.
+ * @property {module:model/UserAnsweredSignupQuestionsEvent}
+ */
+ UserAnsweredSignupQuestionsEvent,
+
+ /**
+ * The UserCreatedEvent model constructor.
+ * @property {module:model/UserCreatedEvent}
+ */
+ UserCreatedEvent,
+
+ /**
+ * The UserDeletedEvent model constructor.
+ * @property {module:model/UserDeletedEvent}
+ */
+ UserDeletedEvent,
+
+ /**
+ * The UserEventInfo model constructor.
+ * @property {module:model/UserEventInfo}
+ */
+ UserEventInfo,
+
+ /**
+ * The UserFlipdishAccount model constructor.
+ * @property {module:model/UserFlipdishAccount}
+ */
+ UserFlipdishAccount,
+
+ /**
+ * The UserInfo model constructor.
+ * @property {module:model/UserInfo}
+ */
+ UserInfo,
+
+ /**
+ * The UserLoginEvent model constructor.
+ * @property {module:model/UserLoginEvent}
+ */
+ UserLoginEvent,
+
+ /**
+ * The UserMonthlyCommission model constructor.
+ * @property {module:model/UserMonthlyCommission}
+ */
+ UserMonthlyCommission,
+
+ /**
+ * The UserNote model constructor.
+ * @property {module:model/UserNote}
+ */
+ UserNote,
+
+ /**
+ * The UserPasswordCreatedEvent model constructor.
+ * @property {module:model/UserPasswordCreatedEvent}
+ */
+ UserPasswordCreatedEvent,
+
+ /**
+ * The UserRole model constructor.
+ * @property {module:model/UserRole}
+ */
+ UserRole,
+
+ /**
+ * The UserSearch model constructor.
+ * @property {module:model/UserSearch}
+ */
+ UserSearch,
+
+ /**
+ * The UserStoreInfo model constructor.
+ * @property {module:model/UserStoreInfo}
+ */
+ UserStoreInfo,
+
+ /**
+ * The UserUpdatedEvent model constructor.
+ * @property {module:model/UserUpdatedEvent}
+ */
+ UserUpdatedEvent,
+
+ /**
+ * The UserWhiteLabelConfig model constructor.
+ * @property {module:model/UserWhiteLabelConfig}
+ */
+ UserWhiteLabelConfig,
+
+ /**
+ * The UserWhiteLabelInfo model constructor.
+ * @property {module:model/UserWhiteLabelInfo}
+ */
+ UserWhiteLabelInfo,
+
+ /**
+ * The ValidValue model constructor.
+ * @property {module:model/ValidValue}
+ */
+ ValidValue,
+
+ /**
+ * The ValidationErrorResult model constructor.
+ * @property {module:model/ValidationErrorResult}
+ */
+ ValidationErrorResult,
+
+ /**
+ * The ValidityPeriod model constructor.
+ * @property {module:model/ValidityPeriod}
+ */
+ ValidityPeriod,
+
+ /**
+ * The Voucher model constructor.
+ * @property {module:model/Voucher}
+ */
+ Voucher,
+
+ /**
+ * The VoucherAppliedEvent model constructor.
+ * @property {module:model/VoucherAppliedEvent}
+ */
+ VoucherAppliedEvent,
+
+ /**
+ * The VoucherCreatedEvent model constructor.
+ * @property {module:model/VoucherCreatedEvent}
+ */
+ VoucherCreatedEvent,
+
+ /**
+ * The VoucherDataPoint model constructor.
+ * @property {module:model/VoucherDataPoint}
+ */
+ VoucherDataPoint,
+
+ /**
+ * The VoucherDeletedEvent model constructor.
+ * @property {module:model/VoucherDeletedEvent}
+ */
+ VoucherDeletedEvent,
+
+ /**
+ * The VoucherSummary model constructor.
+ * @property {module:model/VoucherSummary}
+ */
+ VoucherSummary,
+
+ /**
+ * The VoucherUpdatedEvent model constructor.
+ * @property {module:model/VoucherUpdatedEvent}
+ */
+ VoucherUpdatedEvent,
+
+ /**
+ * The VoucherWithStats model constructor.
+ * @property {module:model/VoucherWithStats}
+ */
+ VoucherWithStats,
+
+ /**
+ * The WaitHandle model constructor.
+ * @property {module:model/WaitHandle}
+ */
+ WaitHandle,
+
+ /**
+ * The WebhookEventSample model constructor.
+ * @property {module:model/WebhookEventSample}
+ */
+ WebhookEventSample,
+
+ /**
+ * The WebhookLog model constructor.
+ * @property {module:model/WebhookLog}
+ */
+ WebhookLog,
+
+ /**
+ * The WebhookSubscription model constructor.
+ * @property {module:model/WebhookSubscription}
+ */
+ WebhookSubscription,
+
+ /**
+ * The WebhookSubscriptionCreatedEvent model constructor.
+ * @property {module:model/WebhookSubscriptionCreatedEvent}
+ */
+ WebhookSubscriptionCreatedEvent,
+
+ /**
+ * The WebhookSubscriptionDeletedEvent model constructor.
+ * @property {module:model/WebhookSubscriptionDeletedEvent}
+ */
+ WebhookSubscriptionDeletedEvent,
+
+ /**
+ * The WebhookSubscriptionEventInfo model constructor.
+ * @property {module:model/WebhookSubscriptionEventInfo}
+ */
+ WebhookSubscriptionEventInfo,
+
+ /**
+ * The WebhookSubscriptionUpdatedEvent model constructor.
+ * @property {module:model/WebhookSubscriptionUpdatedEvent}
+ */
+ WebhookSubscriptionUpdatedEvent,
+
+ /**
+ * The WebsiteImage model constructor.
+ * @property {module:model/WebsiteImage}
+ */
+ WebsiteImage,
+
+ /**
+ * The WebsiteTestimonial model constructor.
+ * @property {module:model/WebsiteTestimonial}
+ */
+ WebsiteTestimonial,
+
+ /**
+ * The WebsiteTestimonialBase model constructor.
+ * @property {module:model/WebsiteTestimonialBase}
+ */
+ WebsiteTestimonialBase,
+
+ /**
+ * The WebsiteUpdatedEvent model constructor.
+ * @property {module:model/WebsiteUpdatedEvent}
+ */
+ WebsiteUpdatedEvent,
+
+ /**
+ * The WebsiteVanityUrlUpdatedEvent model constructor.
+ * @property {module:model/WebsiteVanityUrlUpdatedEvent}
+ */
+ WebsiteVanityUrlUpdatedEvent,
+
+ /**
+ * The WhiteLabelConfig model constructor.
+ * @property {module:model/WhiteLabelConfig}
+ */
+ WhiteLabelConfig,
+
+ /**
+ * The AccountsApi service constructor.
+ * @property {module:api/AccountsApi}
+ */
+ AccountsApi,
+
+ /**
+ * The AddressApi service constructor.
+ * @property {module:api/AddressApi}
+ */
+ AddressApi,
+
+ /**
+ * The ApmApi service constructor.
+ * @property {module:api/ApmApi}
+ */
+ ApmApi,
+
+ /**
+ * The AppStoreApi service constructor.
+ * @property {module:api/AppStoreApi}
+ */
+ AppStoreApi,
+
+ /**
+ * The AppStoreConfigurationsApi service constructor.
+ * @property {module:api/AppStoreConfigurationsApi}
+ */
+ AppStoreConfigurationsApi,
+
+ /**
+ * The AppStoreDeveloperApi service constructor.
+ * @property {module:api/AppStoreDeveloperApi}
+ */
+ AppStoreDeveloperApi,
+
+ /**
+ * The AppStoreEntitlementsApi service constructor.
+ * @property {module:api/AppStoreEntitlementsApi}
+ */
+ AppStoreEntitlementsApi,
+
+ /**
+ * The AppsApi service constructor.
+ * @property {module:api/AppsApi}
+ */
+ AppsApi,
+
+ /**
+ * The AuditLogsApi service constructor.
+ * @property {module:api/AuditLogsApi}
+ */
+ AuditLogsApi,
+
+ /**
+ * The AuthorizationTokensApi service constructor.
+ * @property {module:api/AuthorizationTokensApi}
+ */
+ AuthorizationTokensApi,
+
+ /**
+ * The BankAccountApi service constructor.
+ * @property {module:api/BankAccountApi}
+ */
+ BankAccountApi,
+
+ /**
+ * The CampaignsApi service constructor.
+ * @property {module:api/CampaignsApi}
+ */
+ CampaignsApi,
+
+ /**
+ * The CardReadersApi service constructor.
+ * @property {module:api/CardReadersApi}
+ */
+ CardReadersApi,
+
+ /**
+ * The CatalogChangesApi service constructor.
+ * @property {module:api/CatalogChangesApi}
+ */
+ CatalogChangesApi,
+
+ /**
+ * The CatalogGroupsApi service constructor.
+ * @property {module:api/CatalogGroupsApi}
+ */
+ CatalogGroupsApi,
+
+ /**
+ * The CatalogImagesApi service constructor.
+ * @property {module:api/CatalogImagesApi}
+ */
+ CatalogImagesApi,
+
+ /**
+ * The CatalogItemsApi service constructor.
+ * @property {module:api/CatalogItemsApi}
+ */
+ CatalogItemsApi,
+
+ /**
+ * The CatalogProductsApi service constructor.
+ * @property {module:api/CatalogProductsApi}
+ */
+ CatalogProductsApi,
+
+ /**
+ * The ChannelsApi service constructor.
+ * @property {module:api/ChannelsApi}
+ */
+ ChannelsApi,
+
+ /**
+ * The ClientsApi service constructor.
+ * @property {module:api/ClientsApi}
+ */
+ ClientsApi,
+
+ /**
+ * The ContentSecurityPolicyApi service constructor.
+ * @property {module:api/ContentSecurityPolicyApi}
+ */
+ ContentSecurityPolicyApi,
+
+ /**
+ * The CrossSellApi service constructor.
+ * @property {module:api/CrossSellApi}
+ */
+ CrossSellApi,
+
+ /**
+ * The CustomersApi service constructor.
+ * @property {module:api/CustomersApi}
+ */
+ CustomersApi,
+
+ /**
+ * The DeliveryZoneApi service constructor.
+ * @property {module:api/DeliveryZoneApi}
+ */
+ DeliveryZoneApi,
+
+ /**
+ * The DeviceApi service constructor.
+ * @property {module:api/DeviceApi}
+ */
+ DeviceApi,
+
+ /**
+ * The DriversApi service constructor.
+ * @property {module:api/DriversApi}
+ */
+ DriversApi,
+
+ /**
+ * The EventsApi service constructor.
+ * @property {module:api/EventsApi}
+ */
+ EventsApi,
+
+ /**
+ * The FeaturesApi service constructor.
+ * @property {module:api/FeaturesApi}
+ */
+ FeaturesApi,
+
+ /**
+ * The FilesApi service constructor.
+ * @property {module:api/FilesApi}
+ */
+ FilesApi,
+
+ /**
+ * The FirebaseAppsApi service constructor.
+ * @property {module:api/FirebaseAppsApi}
+ */
+ FirebaseAppsApi,
+
+ /**
+ * The FpmApi service constructor.
+ * @property {module:api/FpmApi}
+ */
+ FpmApi,
+
+ /**
+ * The FulfillmentStateConfigurationApi service constructor.
+ * @property {module:api/FulfillmentStateConfigurationApi}
+ */
+ FulfillmentStateConfigurationApi,
+
+ /**
+ * The HeartbeatApi service constructor.
+ * @property {module:api/HeartbeatApi}
+ */
+ HeartbeatApi,
+
+ /**
+ * The HomeApi service constructor.
+ * @property {module:api/HomeApi}
+ */
+ HomeApi,
+
+ /**
+ * The HydraApi service constructor.
+ * @property {module:api/HydraApi}
+ */
+ HydraApi,
+
+ /**
+ * The IntercomApi service constructor.
+ * @property {module:api/IntercomApi}
+ */
+ IntercomApi,
+
+ /**
+ * The InvoicesApi service constructor.
+ * @property {module:api/InvoicesApi}
+ */
+ InvoicesApi,
+
+ /**
+ * The KioskEntitlementsApi service constructor.
+ * @property {module:api/KioskEntitlementsApi}
+ */
+ KioskEntitlementsApi,
+
+ /**
+ * The KioskIotApi service constructor.
+ * @property {module:api/KioskIotApi}
+ */
+ KioskIotApi,
+
+ /**
+ * The LightspeedApi service constructor.
+ * @property {module:api/LightspeedApi}
+ */
+ LightspeedApi,
+
+ /**
+ * The LocationApi service constructor.
+ * @property {module:api/LocationApi}
+ */
+ LocationApi,
+
+ /**
+ * The LocationAreasApi service constructor.
+ * @property {module:api/LocationAreasApi}
+ */
+ LocationAreasApi,
+
+ /**
+ * The LookerDashboardApi service constructor.
+ * @property {module:api/LookerDashboardApi}
+ */
+ LookerDashboardApi,
+
+ /**
+ * The LookerSingleSignOnApi service constructor.
+ * @property {module:api/LookerSingleSignOnApi}
+ */
+ LookerSingleSignOnApi,
+
+ /**
+ * The MenuOptionSetItemsApi service constructor.
+ * @property {module:api/MenuOptionSetItemsApi}
+ */
+ MenuOptionSetItemsApi,
+
+ /**
+ * The MenuOptionSetsApi service constructor.
+ * @property {module:api/MenuOptionSetsApi}
+ */
+ MenuOptionSetsApi,
+
+ /**
+ * The MenuSectionItemsApi service constructor.
+ * @property {module:api/MenuSectionItemsApi}
+ */
+ MenuSectionItemsApi,
+
+ /**
+ * The MenuSectionsApi service constructor.
+ * @property {module:api/MenuSectionsApi}
+ */
+ MenuSectionsApi,
+
+ /**
+ * The MenuZonesApi service constructor.
+ * @property {module:api/MenuZonesApi}
+ */
+ MenuZonesApi,
+
+ /**
+ * The MenusApi service constructor.
+ * @property {module:api/MenusApi}
+ */
+ MenusApi,
+
+ /**
+ * The MenusNutritionInfoApi service constructor.
+ * @property {module:api/MenusNutritionInfoApi}
+ */
+ MenusNutritionInfoApi,
+
+ /**
+ * The MenusNutritionInfoV2Api service constructor.
+ * @property {module:api/MenusNutritionInfoV2Api}
+ */
+ MenusNutritionInfoV2Api,
+
+ /**
+ * The MetafieldDefinitionsApi service constructor.
+ * @property {module:api/MetafieldDefinitionsApi}
+ */
+ MetafieldDefinitionsApi,
+
+ /**
+ * The MobileAppsApi service constructor.
+ * @property {module:api/MobileAppsApi}
+ */
+ MobileAppsApi,
+
+ /**
+ * The OAuthClientsApi service constructor.
+ * @property {module:api/OAuthClientsApi}
+ */
+ OAuthClientsApi,
+
+ /**
+ * The OnboardingApi service constructor.
+ * @property {module:api/OnboardingApi}
+ */
+ OnboardingApi,
+
+ /**
+ * The OrderBatchesApi service constructor.
+ * @property {module:api/OrderBatchesApi}
+ */
+ OrderBatchesApi,
+
+ /**
+ * The OrderBatchingConfigurationApi service constructor.
+ * @property {module:api/OrderBatchingConfigurationApi}
+ */
+ OrderBatchingConfigurationApi,
+
+ /**
+ * The OrdersApi service constructor.
+ * @property {module:api/OrdersApi}
+ */
+ OrdersApi,
+
+ /**
+ * The PaymentIntentsApi service constructor.
+ * @property {module:api/PaymentIntentsApi}
+ */
+ PaymentIntentsApi,
+
+ /**
+ * The PaymentsApi service constructor.
+ * @property {module:api/PaymentsApi}
+ */
+ PaymentsApi,
+
+ /**
+ * The PayoutReportsApi service constructor.
+ * @property {module:api/PayoutReportsApi}
+ */
+ PayoutReportsApi,
+
+ /**
+ * The PayoutsApi service constructor.
+ * @property {module:api/PayoutsApi}
+ */
+ PayoutsApi,
+
+ /**
+ * The PayoutsExportApi service constructor.
+ * @property {module:api/PayoutsExportApi}
+ */
+ PayoutsExportApi,
+
+ /**
+ * The ProcessingFeeConfigsApi service constructor.
+ * @property {module:api/ProcessingFeeConfigsApi}
+ */
+ ProcessingFeeConfigsApi,
+
+ /**
+ * The PushNotificationsApi service constructor.
+ * @property {module:api/PushNotificationsApi}
+ */
+ PushNotificationsApi,
+
+ /**
+ * The ReceiptsApi service constructor.
+ * @property {module:api/ReceiptsApi}
+ */
+ ReceiptsApi,
+
+ /**
+ * The RestaurantVouchersPayGreenApi service constructor.
+ * @property {module:api/RestaurantVouchersPayGreenApi}
+ */
+ RestaurantVouchersPayGreenApi,
+
+ /**
+ * The SearchApi service constructor.
+ * @property {module:api/SearchApi}
+ */
+ SearchApi,
+
+ /**
+ * The SmsProviderCredentialsApi service constructor.
+ * @property {module:api/SmsProviderCredentialsApi}
+ */
+ SmsProviderCredentialsApi,
+
+ /**
+ * The StoreGroupsApi service constructor.
+ * @property {module:api/StoreGroupsApi}
+ */
+ StoreGroupsApi,
+
+ /**
+ * The StoreOrderCapacityApi service constructor.
+ * @property {module:api/StoreOrderCapacityApi}
+ */
+ StoreOrderCapacityApi,
+
+ /**
+ * The StoresApi service constructor.
+ * @property {module:api/StoresApi}
+ */
+ StoresApi,
+
+ /**
+ * The StripeCustomConnectApi service constructor.
+ * @property {module:api/StripeCustomConnectApi}
+ */
+ StripeCustomConnectApi,
+
+ /**
+ * The StuartApi service constructor.
+ * @property {module:api/StuartApi}
+ */
+ StuartApi,
+
+ /**
+ * The SubscriptionsApi service constructor.
+ * @property {module:api/SubscriptionsApi}
+ */
+ SubscriptionsApi,
+
+ /**
+ * The TeammatesApi service constructor.
+ * @property {module:api/TeammatesApi}
+ */
+ TeammatesApi,
+
+ /**
+ * The TerminalIotApi service constructor.
+ * @property {module:api/TerminalIotApi}
+ */
+ TerminalIotApi,
+
+ /**
+ * The TipsApi service constructor.
+ * @property {module:api/TipsApi}
+ */
+ TipsApi,
+
+ /**
+ * The UsersApi service constructor.
+ * @property {module:api/UsersApi}
+ */
+ UsersApi,
+
+ /**
+ * The VouchersApi service constructor.
+ * @property {module:api/VouchersApi}
+ */
+ VouchersApi,
+
+ /**
+ * The WebhooksApi service constructor.
+ * @property {module:api/WebhooksApi}
+ */
+ WebhooksApi,
+
+ /**
+ * The WebsiteApi service constructor.
+ * @property {module:api/WebsiteApi}
+ */
+ WebsiteApi
+};
diff --git a/src/model/Accept.js b/src/model/Accept.js
new file mode 100644
index 00000000..ffbfef80
--- /dev/null
+++ b/src/model/Accept.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Accept model module.
+ * @module model/Accept
+ * @version 1.0.0
+ */
+class Accept {
+ /**
+ * Constructs a new Accept.
+ * Accept
+ * @alias module:model/Accept
+ */
+ constructor() {
+
+ Accept.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Accept from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Accept} obj Optional instance to populate.
+ * @return {module:model/Accept} The populated Accept instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Accept();
+
+ if (data.hasOwnProperty('EstimatedMinutesForDelivery')) {
+ obj['EstimatedMinutesForDelivery'] = ApiClient.convertToType(data['EstimatedMinutesForDelivery'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Estimated minutes for delivery
+ * @member {Number} EstimatedMinutesForDelivery
+ */
+Accept.prototype['EstimatedMinutesForDelivery'] = undefined;
+
+
+
+
+
+
+export default Accept;
+
diff --git a/src/model/AcceptInvitationResult.js b/src/model/AcceptInvitationResult.js
new file mode 100644
index 00000000..0bc8f7f6
--- /dev/null
+++ b/src/model/AcceptInvitationResult.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AcceptInvitationResult model module.
+ * @module model/AcceptInvitationResult
+ * @version 1.0.0
+ */
+class AcceptInvitationResult {
+ /**
+ * Constructs a new AcceptInvitationResult.
+ *
+ * @alias module:model/AcceptInvitationResult
+ */
+ constructor() {
+
+ AcceptInvitationResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AcceptInvitationResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AcceptInvitationResult} obj Optional instance to populate.
+ * @return {module:model/AcceptInvitationResult} The populated AcceptInvitationResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AcceptInvitationResult();
+
+ if (data.hasOwnProperty('IsNewUser')) {
+ obj['IsNewUser'] = ApiClient.convertToType(data['IsNewUser'], 'Boolean');
+ }
+ if (data.hasOwnProperty('InvitedEmailAddress')) {
+ obj['InvitedEmailAddress'] = ApiClient.convertToType(data['InvitedEmailAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Bool indicating if the user accepting the invitation is a new user
+ * @member {Boolean} IsNewUser
+ */
+AcceptInvitationResult.prototype['IsNewUser'] = undefined;
+
+/**
+ * The email address that was invited.
+ * @member {String} InvitedEmailAddress
+ */
+AcceptInvitationResult.prototype['InvitedEmailAddress'] = undefined;
+
+
+
+
+
+
+export default AcceptInvitationResult;
+
diff --git a/src/model/AccountDetail.js b/src/model/AccountDetail.js
new file mode 100644
index 00000000..ebfc65c8
--- /dev/null
+++ b/src/model/AccountDetail.js
@@ -0,0 +1,164 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import SignupStep from './SignupStep';
+
+/**
+ * The AccountDetail model module.
+ * @module model/AccountDetail
+ * @version 1.0.0
+ */
+class AccountDetail {
+ /**
+ * Constructs a new AccountDetail.
+ * Account details
+ * @alias module:model/AccountDetail
+ */
+ constructor() {
+
+ AccountDetail.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AccountDetail from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AccountDetail} obj Optional instance to populate.
+ * @return {module:model/AccountDetail} The populated AccountDetail instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AccountDetail();
+
+ if (data.hasOwnProperty('Email')) {
+ obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
+ }
+ if (data.hasOwnProperty('SignupSteps')) {
+ obj['SignupSteps'] = ApiClient.convertToType(data['SignupSteps'], [SignupStep]);
+ }
+ if (data.hasOwnProperty('IsVerified')) {
+ obj['IsVerified'] = ApiClient.convertToType(data['IsVerified'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsSelfServeUser')) {
+ obj['IsSelfServeUser'] = ApiClient.convertToType(data['IsSelfServeUser'], 'Boolean');
+ }
+ if (data.hasOwnProperty('AccountId')) {
+ obj['AccountId'] = ApiClient.convertToType(data['AccountId'], 'Number');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Language')) {
+ obj['Language'] = ApiClient.convertToType(data['Language'], 'String');
+ }
+ if (data.hasOwnProperty('TimeZoneInfoId')) {
+ obj['TimeZoneInfoId'] = ApiClient.convertToType(data['TimeZoneInfoId'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayTimesInUserLocalTimeZone')) {
+ obj['DisplayTimesInUserLocalTimeZone'] = ApiClient.convertToType(data['DisplayTimesInUserLocalTimeZone'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ShowHiddenFeatures')) {
+ obj['ShowHiddenFeatures'] = ApiClient.convertToType(data['ShowHiddenFeatures'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CreatedAt')) {
+ obj['CreatedAt'] = ApiClient.convertToType(data['CreatedAt'], 'Date');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Email
+ * @member {String} Email
+ */
+AccountDetail.prototype['Email'] = undefined;
+
+/**
+ * Signup steps
+ * @member {Array.} SignupSteps
+ */
+AccountDetail.prototype['SignupSteps'] = undefined;
+
+/**
+ * Is account email verified
+ * @member {Boolean} IsVerified
+ */
+AccountDetail.prototype['IsVerified'] = undefined;
+
+/**
+ * is the account a Self Server
+ * @member {Boolean} IsSelfServeUser
+ */
+AccountDetail.prototype['IsSelfServeUser'] = undefined;
+
+/**
+ * Accounts Id
+ * @member {Number} AccountId
+ */
+AccountDetail.prototype['AccountId'] = undefined;
+
+/**
+ * Name
+ * @member {String} Name
+ */
+AccountDetail.prototype['Name'] = undefined;
+
+/**
+ * Language Id
+ * @member {String} Language
+ */
+AccountDetail.prototype['Language'] = undefined;
+
+/**
+ * Time Zone Info Id
+ * @member {String} TimeZoneInfoId
+ */
+AccountDetail.prototype['TimeZoneInfoId'] = undefined;
+
+/**
+ * Display the time in time zone local to the user
+ * @member {Boolean} DisplayTimesInUserLocalTimeZone
+ */
+AccountDetail.prototype['DisplayTimesInUserLocalTimeZone'] = undefined;
+
+/**
+ * Show hidden features
+ * @member {Boolean} ShowHiddenFeatures
+ */
+AccountDetail.prototype['ShowHiddenFeatures'] = undefined;
+
+/**
+ * User created at
+ * @member {Date} CreatedAt
+ */
+AccountDetail.prototype['CreatedAt'] = undefined;
+
+
+
+
+
+
+export default AccountDetail;
+
diff --git a/src/model/AccountDetailBase.js b/src/model/AccountDetailBase.js
new file mode 100644
index 00000000..c4af85e8
--- /dev/null
+++ b/src/model/AccountDetailBase.js
@@ -0,0 +1,118 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AccountDetailBase model module.
+ * @module model/AccountDetailBase
+ * @version 1.0.0
+ */
+class AccountDetailBase {
+ /**
+ * Constructs a new AccountDetailBase.
+ * Account Details Base
+ * @alias module:model/AccountDetailBase
+ */
+ constructor() {
+
+ AccountDetailBase.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AccountDetailBase from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AccountDetailBase} obj Optional instance to populate.
+ * @return {module:model/AccountDetailBase} The populated AccountDetailBase instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AccountDetailBase();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Language')) {
+ obj['Language'] = ApiClient.convertToType(data['Language'], 'String');
+ }
+ if (data.hasOwnProperty('TimeZoneInfoId')) {
+ obj['TimeZoneInfoId'] = ApiClient.convertToType(data['TimeZoneInfoId'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayTimesInUserLocalTimeZone')) {
+ obj['DisplayTimesInUserLocalTimeZone'] = ApiClient.convertToType(data['DisplayTimesInUserLocalTimeZone'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ShowHiddenFeatures')) {
+ obj['ShowHiddenFeatures'] = ApiClient.convertToType(data['ShowHiddenFeatures'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CreatedAt')) {
+ obj['CreatedAt'] = ApiClient.convertToType(data['CreatedAt'], 'Date');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Name
+ * @member {String} Name
+ */
+AccountDetailBase.prototype['Name'] = undefined;
+
+/**
+ * Language Id
+ * @member {String} Language
+ */
+AccountDetailBase.prototype['Language'] = undefined;
+
+/**
+ * Time Zone Info Id
+ * @member {String} TimeZoneInfoId
+ */
+AccountDetailBase.prototype['TimeZoneInfoId'] = undefined;
+
+/**
+ * Display the time in time zone local to the user
+ * @member {Boolean} DisplayTimesInUserLocalTimeZone
+ */
+AccountDetailBase.prototype['DisplayTimesInUserLocalTimeZone'] = undefined;
+
+/**
+ * Show hidden features
+ * @member {Boolean} ShowHiddenFeatures
+ */
+AccountDetailBase.prototype['ShowHiddenFeatures'] = undefined;
+
+/**
+ * User created at
+ * @member {Date} CreatedAt
+ */
+AccountDetailBase.prototype['CreatedAt'] = undefined;
+
+
+
+
+
+
+export default AccountDetailBase;
+
diff --git a/src/model/AccountFieldDefinition.js b/src/model/AccountFieldDefinition.js
new file mode 100644
index 00000000..a69215bd
--- /dev/null
+++ b/src/model/AccountFieldDefinition.js
@@ -0,0 +1,235 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AccountFieldDefinition model module.
+ * @module model/AccountFieldDefinition
+ * @version 1.0.0
+ */
+class AccountFieldDefinition {
+ /**
+ * Constructs a new AccountFieldDefinition.
+ * Represents the format of a bank account field
+ * @alias module:model/AccountFieldDefinition
+ */
+ constructor() {
+
+ AccountFieldDefinition.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AccountFieldDefinition from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AccountFieldDefinition} obj Optional instance to populate.
+ * @return {module:model/AccountFieldDefinition} The populated AccountFieldDefinition instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AccountFieldDefinition();
+
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayName')) {
+ obj['DisplayName'] = ApiClient.convertToType(data['DisplayName'], 'String');
+ }
+ if (data.hasOwnProperty('Type')) {
+ obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
+ }
+ if (data.hasOwnProperty('MinLength')) {
+ obj['MinLength'] = ApiClient.convertToType(data['MinLength'], 'Number');
+ }
+ if (data.hasOwnProperty('MaxLength')) {
+ obj['MaxLength'] = ApiClient.convertToType(data['MaxLength'], 'Number');
+ }
+ if (data.hasOwnProperty('DigitsOnly')) {
+ obj['DigitsOnly'] = ApiClient.convertToType(data['DigitsOnly'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Regex')) {
+ obj['Regex'] = ApiClient.convertToType(data['Regex'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Depending on the Key, the field's value will be stored in a different field in PayeeBankAccountData
+ * @member {module:model/AccountFieldDefinition.KeyEnum} Key
+ */
+AccountFieldDefinition.prototype['Key'] = undefined;
+
+/**
+ * Display name of the field
+ * @member {String} DisplayName
+ */
+AccountFieldDefinition.prototype['DisplayName'] = undefined;
+
+/**
+ * There are some fields that are of type known to the frontend (IBAN, Swift) -- for those frontend should use its own validation library, e.g. ibantools
+ * @member {module:model/AccountFieldDefinition.TypeEnum} Type
+ */
+AccountFieldDefinition.prototype['Type'] = undefined;
+
+/**
+ * Minimum length of the field
+ * @member {Number} MinLength
+ */
+AccountFieldDefinition.prototype['MinLength'] = undefined;
+
+/**
+ * Maximum length of the field
+ * @member {Number} MaxLength
+ */
+AccountFieldDefinition.prototype['MaxLength'] = undefined;
+
+/**
+ * Is the field digits (numeric) only
+ * @member {Boolean} DigitsOnly
+ */
+AccountFieldDefinition.prototype['DigitsOnly'] = undefined;
+
+/**
+ * Regex for validating the field (if specified)
+ * @member {String} Regex
+ */
+AccountFieldDefinition.prototype['Regex'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the Key property.
+ * @enum {String}
+ * @readonly
+ */
+AccountFieldDefinition['KeyEnum'] = {
+
+ /**
+ * value: "Iban"
+ * @const
+ */
+ "Iban": "Iban",
+
+ /**
+ * value: "AccountNumber"
+ * @const
+ */
+ "AccountNumber": "AccountNumber",
+
+ /**
+ * value: "RoutingNumber"
+ * @const
+ */
+ "RoutingNumber": "RoutingNumber",
+
+ /**
+ * value: "BSB"
+ * @const
+ */
+ "BSB": "BSB",
+
+ /**
+ * value: "BranchCode"
+ * @const
+ */
+ "BranchCode": "BranchCode",
+
+ /**
+ * value: "BankCode"
+ * @const
+ */
+ "BankCode": "BankCode",
+
+ /**
+ * value: "InstitutionNumber"
+ * @const
+ */
+ "InstitutionNumber": "InstitutionNumber",
+
+ /**
+ * value: "TransitNumber"
+ * @const
+ */
+ "TransitNumber": "TransitNumber",
+
+ /**
+ * value: "ClearingCode"
+ * @const
+ */
+ "ClearingCode": "ClearingCode",
+
+ /**
+ * value: "IfscCode"
+ * @const
+ */
+ "IfscCode": "IfscCode",
+
+ /**
+ * value: "Clabe"
+ * @const
+ */
+ "Clabe": "Clabe",
+
+ /**
+ * value: "SortCode"
+ * @const
+ */
+ "SortCode": "SortCode",
+
+ /**
+ * value: "Swift"
+ * @const
+ */
+ "Swift": "Swift"
+};
+
+
+/**
+ * Allowed values for the Type property.
+ * @enum {String}
+ * @readonly
+ */
+AccountFieldDefinition['TypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Iban"
+ * @const
+ */
+ "Iban": "Iban"
+};
+
+
+
+export default AccountFieldDefinition;
+
diff --git a/src/model/AccountFieldKeyValuePair.js b/src/model/AccountFieldKeyValuePair.js
new file mode 100644
index 00000000..2de52907
--- /dev/null
+++ b/src/model/AccountFieldKeyValuePair.js
@@ -0,0 +1,169 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AccountFieldKeyValuePair model module.
+ * @module model/AccountFieldKeyValuePair
+ * @version 1.0.0
+ */
+class AccountFieldKeyValuePair {
+ /**
+ * Constructs a new AccountFieldKeyValuePair.
+ * Represents one populated account field (its key and value)
+ * @alias module:model/AccountFieldKeyValuePair
+ */
+ constructor() {
+
+ AccountFieldKeyValuePair.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AccountFieldKeyValuePair from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AccountFieldKeyValuePair} obj Optional instance to populate.
+ * @return {module:model/AccountFieldKeyValuePair} The populated AccountFieldKeyValuePair instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AccountFieldKeyValuePair();
+
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Depending on the Key, the field's value will be stored in a different field in PayeeBankAccountData
+ * @member {module:model/AccountFieldKeyValuePair.KeyEnum} Key
+ */
+AccountFieldKeyValuePair.prototype['Key'] = undefined;
+
+/**
+ * The value of the field
+ * @member {String} Value
+ */
+AccountFieldKeyValuePair.prototype['Value'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the Key property.
+ * @enum {String}
+ * @readonly
+ */
+AccountFieldKeyValuePair['KeyEnum'] = {
+
+ /**
+ * value: "Iban"
+ * @const
+ */
+ "Iban": "Iban",
+
+ /**
+ * value: "AccountNumber"
+ * @const
+ */
+ "AccountNumber": "AccountNumber",
+
+ /**
+ * value: "RoutingNumber"
+ * @const
+ */
+ "RoutingNumber": "RoutingNumber",
+
+ /**
+ * value: "BSB"
+ * @const
+ */
+ "BSB": "BSB",
+
+ /**
+ * value: "BranchCode"
+ * @const
+ */
+ "BranchCode": "BranchCode",
+
+ /**
+ * value: "BankCode"
+ * @const
+ */
+ "BankCode": "BankCode",
+
+ /**
+ * value: "InstitutionNumber"
+ * @const
+ */
+ "InstitutionNumber": "InstitutionNumber",
+
+ /**
+ * value: "TransitNumber"
+ * @const
+ */
+ "TransitNumber": "TransitNumber",
+
+ /**
+ * value: "ClearingCode"
+ * @const
+ */
+ "ClearingCode": "ClearingCode",
+
+ /**
+ * value: "IfscCode"
+ * @const
+ */
+ "IfscCode": "IfscCode",
+
+ /**
+ * value: "Clabe"
+ * @const
+ */
+ "Clabe": "Clabe",
+
+ /**
+ * value: "SortCode"
+ * @const
+ */
+ "SortCode": "SortCode",
+
+ /**
+ * value: "Swift"
+ * @const
+ */
+ "Swift": "Swift"
+};
+
+
+
+export default AccountFieldKeyValuePair;
+
diff --git a/src/model/AccountFieldsDefinitions.js b/src/model/AccountFieldsDefinitions.js
new file mode 100644
index 00000000..c727c7d5
--- /dev/null
+++ b/src/model/AccountFieldsDefinitions.js
@@ -0,0 +1,74 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldDefinition from './AccountFieldDefinition';
+
+/**
+ * The AccountFieldsDefinitions model module.
+ * @module model/AccountFieldsDefinitions
+ * @version 1.0.0
+ */
+class AccountFieldsDefinitions {
+ /**
+ * Constructs a new AccountFieldsDefinitions.
+ * List of field definitions per country
+ * @alias module:model/AccountFieldsDefinitions
+ */
+ constructor() {
+
+ AccountFieldsDefinitions.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AccountFieldsDefinitions from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AccountFieldsDefinitions} obj Optional instance to populate.
+ * @return {module:model/AccountFieldsDefinitions} The populated AccountFieldsDefinitions instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AccountFieldsDefinitions();
+
+ if (data.hasOwnProperty('DefinitionsPerCountry')) {
+ obj['DefinitionsPerCountry'] = ApiClient.convertToType(data['DefinitionsPerCountry'], {'String': [AccountFieldDefinition]});
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * List of field definitions per country
+ * @member {Object.>} DefinitionsPerCountry
+ */
+AccountFieldsDefinitions.prototype['DefinitionsPerCountry'] = undefined;
+
+
+
+
+
+
+export default AccountFieldsDefinitions;
+
diff --git a/src/model/AddressFormDisplayFormat.js b/src/model/AddressFormDisplayFormat.js
new file mode 100644
index 00000000..9457fe48
--- /dev/null
+++ b/src/model/AddressFormDisplayFormat.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AddressFormDisplayFormat model module.
+ * @module model/AddressFormDisplayFormat
+ * @version 1.0.0
+ */
+class AddressFormDisplayFormat {
+ /**
+ * Constructs a new AddressFormDisplayFormat.
+ * @alias module:model/AddressFormDisplayFormat
+ */
+ constructor() {
+
+ AddressFormDisplayFormat.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AddressFormDisplayFormat from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AddressFormDisplayFormat} obj Optional instance to populate.
+ * @return {module:model/AddressFormDisplayFormat} The populated AddressFormDisplayFormat instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AddressFormDisplayFormat();
+
+ if (data.hasOwnProperty('OneLine')) {
+ obj['OneLine'] = ApiClient.convertToType(data['OneLine'], 'String');
+ }
+ if (data.hasOwnProperty('TwoLines')) {
+ obj['TwoLines'] = ApiClient.convertToType(data['TwoLines'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} OneLine
+ */
+AddressFormDisplayFormat.prototype['OneLine'] = undefined;
+
+/**
+ * @member {Array.} TwoLines
+ */
+AddressFormDisplayFormat.prototype['TwoLines'] = undefined;
+
+
+
+
+
+
+export default AddressFormDisplayFormat;
+
diff --git a/src/model/AddressFormResponse.js b/src/model/AddressFormResponse.js
new file mode 100644
index 00000000..b0f64326
--- /dev/null
+++ b/src/model/AddressFormResponse.js
@@ -0,0 +1,101 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AddressFormDisplayFormat from './AddressFormDisplayFormat';
+import DynamicFormField from './DynamicFormField';
+
+/**
+ * The AddressFormResponse model module.
+ * @module model/AddressFormResponse
+ * @version 1.0.0
+ */
+class AddressFormResponse {
+ /**
+ * Constructs a new AddressFormResponse.
+ * A response of a dyanmic form definition.
+ * @alias module:model/AddressFormResponse
+ */
+ constructor() {
+
+ AddressFormResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AddressFormResponse from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AddressFormResponse} obj Optional instance to populate.
+ * @return {module:model/AddressFormResponse} The populated AddressFormResponse instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AddressFormResponse();
+
+ if (data.hasOwnProperty('FormData')) {
+ obj['FormData'] = ApiClient.convertToType(data['FormData'], [DynamicFormField]);
+ }
+ if (data.hasOwnProperty('CountryCode')) {
+ obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('Language')) {
+ obj['Language'] = ApiClient.convertToType(data['Language'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayFormat')) {
+ obj['DisplayFormat'] = AddressFormDisplayFormat.constructFromObject(data['DisplayFormat']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * List of field definitions.
+ * @member {Array.} FormData
+ */
+AddressFormResponse.prototype['FormData'] = undefined;
+
+/**
+ * ISO two letter code.
+ * @member {String} CountryCode
+ */
+AddressFormResponse.prototype['CountryCode'] = undefined;
+
+/**
+ * ISO culture code.
+ * @member {String} Language
+ */
+AddressFormResponse.prototype['Language'] = undefined;
+
+/**
+ * @member {module:model/AddressFormDisplayFormat} DisplayFormat
+ */
+AddressFormResponse.prototype['DisplayFormat'] = undefined;
+
+
+
+
+
+
+export default AddressFormResponse;
+
diff --git a/src/model/AllMetadataResult.js b/src/model/AllMetadataResult.js
new file mode 100644
index 00000000..9b477293
--- /dev/null
+++ b/src/model/AllMetadataResult.js
@@ -0,0 +1,83 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Metadata from './Metadata';
+
+/**
+ * The AllMetadataResult model module.
+ * @module model/AllMetadataResult
+ * @version 1.0.0
+ */
+class AllMetadataResult {
+ /**
+ * Constructs a new AllMetadataResult.
+ *
+ * @alias module:model/AllMetadataResult
+ */
+ constructor() {
+
+ AllMetadataResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AllMetadataResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AllMetadataResult} obj Optional instance to populate.
+ * @return {module:model/AllMetadataResult} The populated AllMetadataResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AllMetadataResult();
+
+ if (data.hasOwnProperty('MenuItemMetadata')) {
+ obj['MenuItemMetadata'] = ApiClient.convertToType(data['MenuItemMetadata'], [Metadata]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetItemMetadata')) {
+ obj['MenuItemOptionSetItemMetadata'] = ApiClient.convertToType(data['MenuItemOptionSetItemMetadata'], [Metadata]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Menu item metadata
+ * @member {Array.} MenuItemMetadata
+ */
+AllMetadataResult.prototype['MenuItemMetadata'] = undefined;
+
+/**
+ * Menu item optionset item metadata
+ * @member {Array.} MenuItemOptionSetItemMetadata
+ */
+AllMetadataResult.prototype['MenuItemOptionSetItemMetadata'] = undefined;
+
+
+
+
+
+
+export default AllMetadataResult;
+
diff --git a/src/model/Allergen.js b/src/model/Allergen.js
new file mode 100644
index 00000000..b2e86f9f
--- /dev/null
+++ b/src/model/Allergen.js
@@ -0,0 +1,90 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Allergen model module.
+ * @module model/Allergen
+ * @version 1.0.0
+ */
+class Allergen {
+ /**
+ * Constructs a new Allergen.
+ * @alias module:model/Allergen
+ */
+ constructor() {
+
+ Allergen.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Allergen from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Allergen} obj Optional instance to populate.
+ * @return {module:model/Allergen} The populated Allergen instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Allergen();
+
+ if (data.hasOwnProperty('AllergenId')) {
+ obj['AllergenId'] = ApiClient.convertToType(data['AllergenId'], 'String');
+ }
+ if (data.hasOwnProperty('LocalizedName')) {
+ obj['LocalizedName'] = ApiClient.convertToType(data['LocalizedName'], 'String');
+ }
+ if (data.hasOwnProperty('IconUrl')) {
+ obj['IconUrl'] = ApiClient.convertToType(data['IconUrl'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * A unique identifier for the allergen
+ * @member {String} AllergenId
+ */
+Allergen.prototype['AllergenId'] = undefined;
+
+/**
+ * Localized name of the allergen
+ * @member {String} LocalizedName
+ */
+Allergen.prototype['LocalizedName'] = undefined;
+
+/**
+ * Url to the icon for the allergen
+ * @member {String} IconUrl
+ */
+Allergen.prototype['IconUrl'] = undefined;
+
+
+
+
+
+
+export default Allergen;
+
diff --git a/src/model/AnalyticsClientEvent.js b/src/model/AnalyticsClientEvent.js
new file mode 100644
index 00000000..5f4a004b
--- /dev/null
+++ b/src/model/AnalyticsClientEvent.js
@@ -0,0 +1,181 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AnalyticsClientEvent model module.
+ * @module model/AnalyticsClientEvent
+ * @version 1.0.0
+ */
+class AnalyticsClientEvent {
+ /**
+ * Constructs a new AnalyticsClientEvent.
+ * Client Analytics event
+ * @alias module:model/AnalyticsClientEvent
+ */
+ constructor() {
+
+ AnalyticsClientEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AnalyticsClientEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AnalyticsClientEvent} obj Optional instance to populate.
+ * @return {module:model/AnalyticsClientEvent} The populated AnalyticsClientEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AnalyticsClientEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('EventType')) {
+ obj['EventType'] = ApiClient.convertToType(data['EventType'], 'String');
+ }
+ if (data.hasOwnProperty('AppType')) {
+ obj['AppType'] = ApiClient.convertToType(data['AppType'], 'String');
+ }
+ if (data.hasOwnProperty('Metadata')) {
+ obj['Metadata'] = ApiClient.convertToType(data['Metadata'], 'String');
+ }
+ if (data.hasOwnProperty('UserId')) {
+ obj['UserId'] = ApiClient.convertToType(data['UserId'], 'Number');
+ }
+ if (data.hasOwnProperty('Latitude')) {
+ obj['Latitude'] = ApiClient.convertToType(data['Latitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Longitude')) {
+ obj['Longitude'] = ApiClient.convertToType(data['Longitude'], 'Number');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AnalyticsClientEvent.prototype['EventName'] = undefined;
+
+/**
+ * Type of the event
+ * @member {String} EventType
+ */
+AnalyticsClientEvent.prototype['EventType'] = undefined;
+
+/**
+ * Type of the app the event is coming from
+ * @member {String} AppType
+ */
+AnalyticsClientEvent.prototype['AppType'] = undefined;
+
+/**
+ * JSON Metadata
+ * @member {String} Metadata
+ */
+AnalyticsClientEvent.prototype['Metadata'] = undefined;
+
+/**
+ * User Id
+ * @member {Number} UserId
+ */
+AnalyticsClientEvent.prototype['UserId'] = undefined;
+
+/**
+ * Latitude of the event
+ * @member {Number} Latitude
+ */
+AnalyticsClientEvent.prototype['Latitude'] = undefined;
+
+/**
+ * Longitude of the event
+ * @member {Number} Longitude
+ */
+AnalyticsClientEvent.prototype['Longitude'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AnalyticsClientEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AnalyticsClientEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AnalyticsClientEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AnalyticsClientEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+AnalyticsClientEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AnalyticsClientEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AnalyticsClientEvent;
+
diff --git a/src/model/ApmCurrencyDataPoint.js b/src/model/ApmCurrencyDataPoint.js
new file mode 100644
index 00000000..6019c355
--- /dev/null
+++ b/src/model/ApmCurrencyDataPoint.js
@@ -0,0 +1,92 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CurrencyData from './CurrencyData';
+
+/**
+ * The ApmCurrencyDataPoint model module.
+ * @module model/ApmCurrencyDataPoint
+ * @version 1.0.0
+ */
+class ApmCurrencyDataPoint {
+ /**
+ * Constructs a new ApmCurrencyDataPoint.
+ * A single data point in timeline graphs related to APM
+ * @alias module:model/ApmCurrencyDataPoint
+ */
+ constructor() {
+
+ ApmCurrencyDataPoint.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ApmCurrencyDataPoint from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApmCurrencyDataPoint} obj Optional instance to populate.
+ * @return {module:model/ApmCurrencyDataPoint} The populated ApmCurrencyDataPoint instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApmCurrencyDataPoint();
+
+ if (data.hasOwnProperty('PeriodStart')) {
+ obj['PeriodStart'] = ApiClient.convertToType(data['PeriodStart'], 'Date');
+ }
+ if (data.hasOwnProperty('PeriodLengthInDays')) {
+ obj['PeriodLengthInDays'] = ApiClient.convertToType(data['PeriodLengthInDays'], 'Number');
+ }
+ if (data.hasOwnProperty('CurrencyData')) {
+ obj['CurrencyData'] = ApiClient.convertToType(data['CurrencyData'], [CurrencyData]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Date from which the data point starts
+ * @member {Date} PeriodStart
+ */
+ApmCurrencyDataPoint.prototype['PeriodStart'] = undefined;
+
+/**
+ * The length in days that this data point covers
+ * @member {Number} PeriodLengthInDays
+ */
+ApmCurrencyDataPoint.prototype['PeriodLengthInDays'] = undefined;
+
+/**
+ * The values of this data point
+ * @member {Array.} CurrencyData
+ */
+ApmCurrencyDataPoint.prototype['CurrencyData'] = undefined;
+
+
+
+
+
+
+export default ApmCurrencyDataPoint;
+
diff --git a/src/model/ApmDataPoint.js b/src/model/ApmDataPoint.js
new file mode 100644
index 00000000..69969cb0
--- /dev/null
+++ b/src/model/ApmDataPoint.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ApmDataPoint model module.
+ * @module model/ApmDataPoint
+ * @version 1.0.0
+ */
+class ApmDataPoint {
+ /**
+ * Constructs a new ApmDataPoint.
+ * A single data point in timeline graphs related to APM
+ * @alias module:model/ApmDataPoint
+ */
+ constructor() {
+
+ ApmDataPoint.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ApmDataPoint from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApmDataPoint} obj Optional instance to populate.
+ * @return {module:model/ApmDataPoint} The populated ApmDataPoint instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApmDataPoint();
+
+ if (data.hasOwnProperty('PeriodStart')) {
+ obj['PeriodStart'] = ApiClient.convertToType(data['PeriodStart'], 'Date');
+ }
+ if (data.hasOwnProperty('PeriodLengthInDays')) {
+ obj['PeriodLengthInDays'] = ApiClient.convertToType(data['PeriodLengthInDays'], 'Number');
+ }
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Date from which the data point starts
+ * @member {Date} PeriodStart
+ */
+ApmDataPoint.prototype['PeriodStart'] = undefined;
+
+/**
+ * The length in days that this data point covers
+ * @member {Number} PeriodLengthInDays
+ */
+ApmDataPoint.prototype['PeriodLengthInDays'] = undefined;
+
+/**
+ * The value of this data point
+ * @member {Number} Value
+ */
+ApmDataPoint.prototype['Value'] = undefined;
+
+
+
+
+
+
+export default ApmDataPoint;
+
diff --git a/src/model/ApmHourlyDataPoint.js b/src/model/ApmHourlyDataPoint.js
new file mode 100644
index 00000000..b82a1edf
--- /dev/null
+++ b/src/model/ApmHourlyDataPoint.js
@@ -0,0 +1,142 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ApmHourlyDataPoint model module.
+ * @module model/ApmHourlyDataPoint
+ * @version 1.0.0
+ */
+class ApmHourlyDataPoint {
+ /**
+ * Constructs a new ApmHourlyDataPoint.
+ * Provides an average value for a single hour of day of the week
+ * @alias module:model/ApmHourlyDataPoint
+ */
+ constructor() {
+
+ ApmHourlyDataPoint.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ApmHourlyDataPoint from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApmHourlyDataPoint} obj Optional instance to populate.
+ * @return {module:model/ApmHourlyDataPoint} The populated ApmHourlyDataPoint instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApmHourlyDataPoint();
+
+ if (data.hasOwnProperty('Day')) {
+ obj['Day'] = ApiClient.convertToType(data['Day'], 'String');
+ }
+ if (data.hasOwnProperty('Hour')) {
+ obj['Hour'] = ApiClient.convertToType(data['Hour'], 'Number');
+ }
+ if (data.hasOwnProperty('TotalValue')) {
+ obj['TotalValue'] = ApiClient.convertToType(data['TotalValue'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Day of the week
+ * @member {module:model/ApmHourlyDataPoint.DayEnum} Day
+ */
+ApmHourlyDataPoint.prototype['Day'] = undefined;
+
+/**
+ * Hour in the day
+ * @member {Number} Hour
+ */
+ApmHourlyDataPoint.prototype['Hour'] = undefined;
+
+/**
+ * Total Value
+ * @member {Number} TotalValue
+ */
+ApmHourlyDataPoint.prototype['TotalValue'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the Day property.
+ * @enum {String}
+ * @readonly
+ */
+ApmHourlyDataPoint['DayEnum'] = {
+
+ /**
+ * value: "Sunday"
+ * @const
+ */
+ "Sunday": "Sunday",
+
+ /**
+ * value: "Monday"
+ * @const
+ */
+ "Monday": "Monday",
+
+ /**
+ * value: "Tuesday"
+ * @const
+ */
+ "Tuesday": "Tuesday",
+
+ /**
+ * value: "Wednesday"
+ * @const
+ */
+ "Wednesday": "Wednesday",
+
+ /**
+ * value: "Thursday"
+ * @const
+ */
+ "Thursday": "Thursday",
+
+ /**
+ * value: "Friday"
+ * @const
+ */
+ "Friday": "Friday",
+
+ /**
+ * value: "Saturday"
+ * @const
+ */
+ "Saturday": "Saturday"
+};
+
+
+
+export default ApmHourlyDataPoint;
+
diff --git a/src/model/ApmStatistics.js b/src/model/ApmStatistics.js
new file mode 100644
index 00000000..b8ad355d
--- /dev/null
+++ b/src/model/ApmStatistics.js
@@ -0,0 +1,92 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import StatisticsCurrencyDataPoint from './StatisticsCurrencyDataPoint';
+
+/**
+ * The ApmStatistics model module.
+ * @module model/ApmStatistics
+ * @version 1.0.0
+ */
+class ApmStatistics {
+ /**
+ * Constructs a new ApmStatistics.
+ * APM Statistics
+ * @alias module:model/ApmStatistics
+ */
+ constructor() {
+
+ ApmStatistics.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ApmStatistics from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApmStatistics} obj Optional instance to populate.
+ * @return {module:model/ApmStatistics} The populated ApmStatistics instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApmStatistics();
+
+ if (data.hasOwnProperty('EstimatedMinutesSaved')) {
+ obj['EstimatedMinutesSaved'] = ApiClient.convertToType(data['EstimatedMinutesSaved'], 'Number');
+ }
+ if (data.hasOwnProperty('EstimatedMinutesCouldSaved')) {
+ obj['EstimatedMinutesCouldSaved'] = ApiClient.convertToType(data['EstimatedMinutesCouldSaved'], 'Number');
+ }
+ if (data.hasOwnProperty('CurrencyData')) {
+ obj['CurrencyData'] = ApiClient.convertToType(data['CurrencyData'], [StatisticsCurrencyDataPoint]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Total amount of time spent with APM
+ * @member {Number} EstimatedMinutesSaved
+ */
+ApmStatistics.prototype['EstimatedMinutesSaved'] = undefined;
+
+/**
+ * Total amount of time that could be saved
+ * @member {Number} EstimatedMinutesCouldSaved
+ */
+ApmStatistics.prototype['EstimatedMinutesCouldSaved'] = undefined;
+
+/**
+ * Currency based data
+ * @member {Array.} CurrencyData
+ */
+ApmStatistics.prototype['CurrencyData'] = undefined;
+
+
+
+
+
+
+export default ApmStatistics;
+
diff --git a/src/model/ApmStatus.js b/src/model/ApmStatus.js
new file mode 100644
index 00000000..0f86836f
--- /dev/null
+++ b/src/model/ApmStatus.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ApmStatus model module.
+ * @module model/ApmStatus
+ * @version 1.0.0
+ */
+class ApmStatus {
+ /**
+ * Constructs a new ApmStatus.
+ * APM status
+ * @alias module:model/ApmStatus
+ */
+ constructor() {
+
+ ApmStatus.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ApmStatus from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ApmStatus} obj Optional instance to populate.
+ * @return {module:model/ApmStatus} The populated ApmStatus instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ApmStatus();
+
+ if (data.hasOwnProperty('IsApmEnabled')) {
+ obj['IsApmEnabled'] = ApiClient.convertToType(data['IsApmEnabled'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Indicates if APM is active or otherwise
+ * @member {Boolean} IsApmEnabled
+ */
+ApmStatus.prototype['IsApmEnabled'] = undefined;
+
+
+
+
+
+
+export default ApmStatus;
+
diff --git a/src/model/App.js b/src/model/App.js
new file mode 100644
index 00000000..b571c227
--- /dev/null
+++ b/src/model/App.js
@@ -0,0 +1,1701 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Coordinates from './Coordinates';
+import Language from './Language';
+
+/**
+ * The App model module.
+ * @module model/App
+ * @version 1.0.0
+ */
+class App {
+ /**
+ * Constructs a new App.
+ * App
+ * @alias module:model/App
+ */
+ constructor() {
+
+ App.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a App from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/App} obj Optional instance to populate.
+ * @return {module:model/App} The populated App instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new App();
+
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('HasIosApp')) {
+ obj['HasIosApp'] = ApiClient.convertToType(data['HasIosApp'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IosAppStoreUrl')) {
+ obj['IosAppStoreUrl'] = ApiClient.convertToType(data['IosAppStoreUrl'], 'String');
+ }
+ if (data.hasOwnProperty('HasAndroidApp')) {
+ obj['HasAndroidApp'] = ApiClient.convertToType(data['HasAndroidApp'], 'Boolean');
+ }
+ if (data.hasOwnProperty('AndroidPlayStoreUrl')) {
+ obj['AndroidPlayStoreUrl'] = ApiClient.convertToType(data['AndroidPlayStoreUrl'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayDeliveryRestaurantScreen')) {
+ obj['DisplayDeliveryRestaurantScreen'] = ApiClient.convertToType(data['DisplayDeliveryRestaurantScreen'], 'Boolean');
+ }
+ if (data.hasOwnProperty('LogoImageUrl')) {
+ obj['LogoImageUrl'] = ApiClient.convertToType(data['LogoImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('Languages')) {
+ obj['Languages'] = ApiClient.convertToType(data['Languages'], [Language]);
+ }
+ if (data.hasOwnProperty('AvailableAppLanguages')) {
+ obj['AvailableAppLanguages'] = ApiClient.convertToType(data['AvailableAppLanguages'], [Language]);
+ }
+ if (data.hasOwnProperty('AppAccessLevel')) {
+ obj['AppAccessLevel'] = ApiClient.convertToType(data['AppAccessLevel'], 'String');
+ }
+ if (data.hasOwnProperty('AppResourceSet')) {
+ obj['AppResourceSet'] = ApiClient.convertToType(data['AppResourceSet'], ['String']);
+ }
+ if (data.hasOwnProperty('Features')) {
+ obj['Features'] = ApiClient.convertToType(data['Features'], ['String']);
+ }
+ if (data.hasOwnProperty('MapCenter')) {
+ obj['MapCenter'] = Coordinates.constructFromObject(data['MapCenter']);
+ }
+ if (data.hasOwnProperty('MapNorthEast')) {
+ obj['MapNorthEast'] = Coordinates.constructFromObject(data['MapNorthEast']);
+ }
+ if (data.hasOwnProperty('MapSouthWest')) {
+ obj['MapSouthWest'] = Coordinates.constructFromObject(data['MapSouthWest']);
+ }
+ if (data.hasOwnProperty('GoogleMapsApiKeyWeb')) {
+ obj['GoogleMapsApiKeyWeb'] = ApiClient.convertToType(data['GoogleMapsApiKeyWeb'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('SmsRestaurantName')) {
+ obj['SmsRestaurantName'] = ApiClient.convertToType(data['SmsRestaurantName'], 'String');
+ }
+ if (data.hasOwnProperty('WebToAppRedirect')) {
+ obj['WebToAppRedirect'] = ApiClient.convertToType(data['WebToAppRedirect'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('HostName')) {
+ obj['HostName'] = ApiClient.convertToType(data['HostName'], 'String');
+ }
+ if (data.hasOwnProperty('MainColor')) {
+ obj['MainColor'] = ApiClient.convertToType(data['MainColor'], 'String');
+ }
+ if (data.hasOwnProperty('KioskPrimaryColour')) {
+ obj['KioskPrimaryColour'] = ApiClient.convertToType(data['KioskPrimaryColour'], 'String');
+ }
+ if (data.hasOwnProperty('ApplicationCategory')) {
+ obj['ApplicationCategory'] = ApiClient.convertToType(data['ApplicationCategory'], 'String');
+ }
+ if (data.hasOwnProperty('IsPanaceaEnabled')) {
+ obj['IsPanaceaEnabled'] = ApiClient.convertToType(data['IsPanaceaEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('PanaceaVanityUrl')) {
+ obj['PanaceaVanityUrl'] = ApiClient.convertToType(data['PanaceaVanityUrl'], 'String');
+ }
+ if (data.hasOwnProperty('CookieConsentPromptEnabled')) {
+ obj['CookieConsentPromptEnabled'] = ApiClient.convertToType(data['CookieConsentPromptEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CountryId')) {
+ obj['CountryId'] = ApiClient.convertToType(data['CountryId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * App Identifier
+ * @member {String} AppId
+ */
+App.prototype['AppId'] = undefined;
+
+/**
+ * Has iOS app in Apple App Store. This is readonly.
+ * @member {Boolean} HasIosApp
+ */
+App.prototype['HasIosApp'] = undefined;
+
+/**
+ * IOS App Store URL
+ * @member {String} IosAppStoreUrl
+ */
+App.prototype['IosAppStoreUrl'] = undefined;
+
+/**
+ * Has Android app in Google Play Store. This is readonly.
+ * @member {Boolean} HasAndroidApp
+ */
+App.prototype['HasAndroidApp'] = undefined;
+
+/**
+ * Android Play Store URL
+ * @member {String} AndroidPlayStoreUrl
+ */
+App.prototype['AndroidPlayStoreUrl'] = undefined;
+
+/**
+ * Display delivery restaurant screen
+ * @member {Boolean} DisplayDeliveryRestaurantScreen
+ */
+App.prototype['DisplayDeliveryRestaurantScreen'] = undefined;
+
+/**
+ * Application Logo.
+ * @member {String} LogoImageUrl
+ */
+App.prototype['LogoImageUrl'] = undefined;
+
+/**
+ * Languages that have been selected to be available to customers.
+ * @member {Array.} Languages
+ */
+App.prototype['Languages'] = undefined;
+
+/**
+ * Lists all languages that are supported by Flipdish.
+ * @member {Array.} AvailableAppLanguages
+ */
+App.prototype['AvailableAppLanguages'] = undefined;
+
+/**
+ * App access level for the logged in user
+ * @member {module:model/App.AppAccessLevelEnum} AppAccessLevel
+ */
+App.prototype['AppAccessLevel'] = undefined;
+
+/**
+ * Constitutes a list of available resources
+ * @member {Array.} AppResourceSet
+ */
+App.prototype['AppResourceSet'] = undefined;
+
+/**
+ * Feature flags. These cannot be set by 3rd parties.
+ * @member {Array.} Features
+ */
+App.prototype['Features'] = undefined;
+
+/**
+ * @member {module:model/Coordinates} MapCenter
+ */
+App.prototype['MapCenter'] = undefined;
+
+/**
+ * @member {module:model/Coordinates} MapNorthEast
+ */
+App.prototype['MapNorthEast'] = undefined;
+
+/**
+ * @member {module:model/Coordinates} MapSouthWest
+ */
+App.prototype['MapSouthWest'] = undefined;
+
+/**
+ * Key to be passed with Google Maps requests
+ * @member {String} GoogleMapsApiKeyWeb
+ */
+App.prototype['GoogleMapsApiKeyWeb'] = undefined;
+
+/**
+ * Org Id
+ * @member {String} OrgId
+ */
+App.prototype['OrgId'] = undefined;
+
+/**
+ * SMS Restaurant Name
+ * @member {String} SmsRestaurantName
+ */
+App.prototype['SmsRestaurantName'] = undefined;
+
+/**
+ * Web to App Redirect settings
+ * @member {module:model/App.WebToAppRedirectEnum} WebToAppRedirect
+ */
+App.prototype['WebToAppRedirect'] = undefined;
+
+/**
+ * App name. This is used in various places on the Apple App Store, Google Play Store, mobile apps and websites.
+ * @member {String} Name
+ */
+App.prototype['Name'] = undefined;
+
+/**
+ * HostName on which the web-ordering system is allowed to be hosted or that a Flipdish website is hosted on.
+ * @member {String} HostName
+ */
+App.prototype['HostName'] = undefined;
+
+/**
+ * Main color of the web / Android / iOS applications
+ * @member {String} MainColor
+ */
+App.prototype['MainColor'] = undefined;
+
+/**
+ * Primary colour used on the Kiosk
+ * @member {String} KioskPrimaryColour
+ */
+App.prototype['KioskPrimaryColour'] = undefined;
+
+/**
+ * Application Category
+ * @member {module:model/App.ApplicationCategoryEnum} ApplicationCategory
+ */
+App.prototype['ApplicationCategory'] = undefined;
+
+/**
+ * Panacea is the term used for websites that are hosted on the my.flipdish.com domain. This value is true when the App's website is hosted on this domain. The alternative to using Panacea websites is to use a custom domain.
+ * @member {Boolean} IsPanaceaEnabled
+ */
+App.prototype['IsPanaceaEnabled'] = undefined;
+
+/**
+ * In case of IsPanaceaEnabled is true, the app can be accessed via https://my.flipdish.com/{PanaceaVanityUrl}
+ * @member {String} PanaceaVanityUrl
+ */
+App.prototype['PanaceaVanityUrl'] = undefined;
+
+/**
+ * Cookie Consent Prompt Enabled
+ * @member {Boolean} CookieConsentPromptEnabled
+ */
+App.prototype['CookieConsentPromptEnabled'] = undefined;
+
+/**
+ * Country identifier in ISO 3166-1 alpha-2 format. This code is set automatically based on the locations of the Stores in the App. The App Country is used - to determine how to parse mobile phone numbers that are entered in their local numbering format - to determine if country specific payment methods should be offered - in various fraud checks
+ * @member {String} CountryId
+ */
+App.prototype['CountryId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the AppAccessLevel property.
+ * @enum {String}
+ * @readonly
+ */
+App['AppAccessLevelEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Owner"
+ * @const
+ */
+ "Owner": "Owner",
+
+ /**
+ * value: "StoreOwner"
+ * @const
+ */
+ "StoreOwner": "StoreOwner",
+
+ /**
+ * value: "PropertyOwner"
+ * @const
+ */
+ "PropertyOwner": "PropertyOwner",
+
+ /**
+ * value: "ManagedOwner"
+ * @const
+ */
+ "ManagedOwner": "ManagedOwner",
+
+ /**
+ * value: "Integrator"
+ * @const
+ */
+ "Integrator": "Integrator",
+
+ /**
+ * value: "PropertyManager"
+ * @const
+ */
+ "PropertyManager": "PropertyManager",
+
+ /**
+ * value: "StoreManager"
+ * @const
+ */
+ "StoreManager": "StoreManager",
+
+ /**
+ * value: "StoreStaff"
+ * @const
+ */
+ "StoreStaff": "StoreStaff",
+
+ /**
+ * value: "StoreReadOnlyAccess"
+ * @const
+ */
+ "StoreReadOnlyAccess": "StoreReadOnlyAccess",
+
+ /**
+ * value: "FinanceManger"
+ * @const
+ */
+ "FinanceManger": "FinanceManger",
+
+ /**
+ * value: "Onboarding"
+ * @const
+ */
+ "Onboarding": "Onboarding",
+
+ /**
+ * value: "Support"
+ * @const
+ */
+ "Support": "Support"
+};
+
+
+/**
+ * Allowed values for the AppResourceSet property.
+ * @enum {String}
+ * @readonly
+ */
+App['AppResourceSetEnum'] = {
+
+ /**
+ * value: "ViewApp"
+ * @const
+ */
+ "ViewApp": "ViewApp",
+
+ /**
+ * value: "CreateApp"
+ * @const
+ */
+ "CreateApp": "CreateApp",
+
+ /**
+ * value: "UpdateApp"
+ * @const
+ */
+ "UpdateApp": "UpdateApp",
+
+ /**
+ * value: "ViewAppName"
+ * @const
+ */
+ "ViewAppName": "ViewAppName",
+
+ /**
+ * value: "EditAppAssets"
+ * @const
+ */
+ "EditAppAssets": "EditAppAssets",
+
+ /**
+ * value: "EditAppFeatures"
+ * @const
+ */
+ "EditAppFeatures": "EditAppFeatures",
+
+ /**
+ * value: "ViewTeammates"
+ * @const
+ */
+ "ViewTeammates": "ViewTeammates",
+
+ /**
+ * value: "EditTeammates"
+ * @const
+ */
+ "EditTeammates": "EditTeammates",
+
+ /**
+ * value: "CreateTeammateOwner"
+ * @const
+ */
+ "CreateTeammateOwner": "CreateTeammateOwner",
+
+ /**
+ * value: "CreateTeammateManagedOwner"
+ * @const
+ */
+ "CreateTeammateManagedOwner": "CreateTeammateManagedOwner",
+
+ /**
+ * value: "CreateTeammateStoreOwner"
+ * @const
+ */
+ "CreateTeammateStoreOwner": "CreateTeammateStoreOwner",
+
+ /**
+ * value: "CreateTeammateStoreManager"
+ * @const
+ */
+ "CreateTeammateStoreManager": "CreateTeammateStoreManager",
+
+ /**
+ * value: "CreateTeammateStoreStaff"
+ * @const
+ */
+ "CreateTeammateStoreStaff": "CreateTeammateStoreStaff",
+
+ /**
+ * value: "CreateTeammateStoreReadAccess"
+ * @const
+ */
+ "CreateTeammateStoreReadAccess": "CreateTeammateStoreReadAccess",
+
+ /**
+ * value: "CreateTeammateFinanceManager"
+ * @const
+ */
+ "CreateTeammateFinanceManager": "CreateTeammateFinanceManager",
+
+ /**
+ * value: "CreateTeammateIntegrator"
+ * @const
+ */
+ "CreateTeammateIntegrator": "CreateTeammateIntegrator",
+
+ /**
+ * value: "CreateTeammateOnboarding"
+ * @const
+ */
+ "CreateTeammateOnboarding": "CreateTeammateOnboarding",
+
+ /**
+ * value: "CreateTeammatePropertyManager"
+ * @const
+ */
+ "CreateTeammatePropertyManager": "CreateTeammatePropertyManager",
+
+ /**
+ * value: "CreateTeammatePropertyOwner"
+ * @const
+ */
+ "CreateTeammatePropertyOwner": "CreateTeammatePropertyOwner",
+
+ /**
+ * value: "ViewApmConfigurations"
+ * @const
+ */
+ "ViewApmConfigurations": "ViewApmConfigurations",
+
+ /**
+ * value: "EditApmConfigurations"
+ * @const
+ */
+ "EditApmConfigurations": "EditApmConfigurations",
+
+ /**
+ * value: "ViewCampaignsConfigurations"
+ * @const
+ */
+ "ViewCampaignsConfigurations": "ViewCampaignsConfigurations",
+
+ /**
+ * value: "CreateCampaignsConfigurations"
+ * @const
+ */
+ "CreateCampaignsConfigurations": "CreateCampaignsConfigurations",
+
+ /**
+ * value: "UpdateCampaignsConfigurations"
+ * @const
+ */
+ "UpdateCampaignsConfigurations": "UpdateCampaignsConfigurations",
+
+ /**
+ * value: "DeleteCampaignsConfigurations"
+ * @const
+ */
+ "DeleteCampaignsConfigurations": "DeleteCampaignsConfigurations",
+
+ /**
+ * value: "StampLoyaltyCardAgainstCampaignsConfigurations"
+ * @const
+ */
+ "StampLoyaltyCardAgainstCampaignsConfigurations": "StampLoyaltyCardAgainstCampaignsConfigurations",
+
+ /**
+ * value: "ViewDevelopersSettings"
+ * @const
+ */
+ "ViewDevelopersSettings": "ViewDevelopersSettings",
+
+ /**
+ * value: "EditDevelopersSettings"
+ * @const
+ */
+ "EditDevelopersSettings": "EditDevelopersSettings",
+
+ /**
+ * value: "ViewOrders"
+ * @const
+ */
+ "ViewOrders": "ViewOrders",
+
+ /**
+ * value: "UpdateOrdersAccept"
+ * @const
+ */
+ "UpdateOrdersAccept": "UpdateOrdersAccept",
+
+ /**
+ * value: "UpdateOrdersReject"
+ * @const
+ */
+ "UpdateOrdersReject": "UpdateOrdersReject",
+
+ /**
+ * value: "UpdateOrdersRefund"
+ * @const
+ */
+ "UpdateOrdersRefund": "UpdateOrdersRefund",
+
+ /**
+ * value: "UpdateOrdersDispatch"
+ * @const
+ */
+ "UpdateOrdersDispatch": "UpdateOrdersDispatch",
+
+ /**
+ * value: "ViewStores"
+ * @const
+ */
+ "ViewStores": "ViewStores",
+
+ /**
+ * value: "CreateStores"
+ * @const
+ */
+ "CreateStores": "CreateStores",
+
+ /**
+ * value: "EditStores"
+ * @const
+ */
+ "EditStores": "EditStores",
+
+ /**
+ * value: "ViewStoresOpeningHours"
+ * @const
+ */
+ "ViewStoresOpeningHours": "ViewStoresOpeningHours",
+
+ /**
+ * value: "UpdateStoresOpenForCollectionOrDelivery"
+ * @const
+ */
+ "UpdateStoresOpenForCollectionOrDelivery": "UpdateStoresOpenForCollectionOrDelivery",
+
+ /**
+ * value: "UpdateStoresOpeningHours"
+ * @const
+ */
+ "UpdateStoresOpeningHours": "UpdateStoresOpeningHours",
+
+ /**
+ * value: "ViewStoresOpeningHoursOverride"
+ * @const
+ */
+ "ViewStoresOpeningHoursOverride": "ViewStoresOpeningHoursOverride",
+
+ /**
+ * value: "EditStoresOpeningHoursOverride"
+ * @const
+ */
+ "EditStoresOpeningHoursOverride": "EditStoresOpeningHoursOverride",
+
+ /**
+ * value: "EditStoresOpeningHoursOverrideTemporary"
+ * @const
+ */
+ "EditStoresOpeningHoursOverrideTemporary": "EditStoresOpeningHoursOverrideTemporary",
+
+ /**
+ * value: "UpdateStoresName"
+ * @const
+ */
+ "UpdateStoresName": "UpdateStoresName",
+
+ /**
+ * value: "EditStoreKioskSettings"
+ * @const
+ */
+ "EditStoreKioskSettings": "EditStoreKioskSettings",
+
+ /**
+ * value: "EditStoreOrderCapacity"
+ * @const
+ */
+ "EditStoreOrderCapacity": "EditStoreOrderCapacity",
+
+ /**
+ * value: "ArchiveStores"
+ * @const
+ */
+ "ArchiveStores": "ArchiveStores",
+
+ /**
+ * value: "PublishStores"
+ * @const
+ */
+ "PublishStores": "PublishStores",
+
+ /**
+ * value: "UpdatePrinterTerminalsAssign"
+ * @const
+ */
+ "UpdatePrinterTerminalsAssign": "UpdatePrinterTerminalsAssign",
+
+ /**
+ * value: "UpdatePrinterTerminalsToggle"
+ * @const
+ */
+ "UpdatePrinterTerminalsToggle": "UpdatePrinterTerminalsToggle",
+
+ /**
+ * value: "EditStoreNotifications"
+ * @const
+ */
+ "EditStoreNotifications": "EditStoreNotifications",
+
+ /**
+ * value: "ViewStoreGroups"
+ * @const
+ */
+ "ViewStoreGroups": "ViewStoreGroups",
+
+ /**
+ * value: "CreateStoreGroups"
+ * @const
+ */
+ "CreateStoreGroups": "CreateStoreGroups",
+
+ /**
+ * value: "UpdateStoreGroups"
+ * @const
+ */
+ "UpdateStoreGroups": "UpdateStoreGroups",
+
+ /**
+ * value: "DeleteStoreGroups"
+ * @const
+ */
+ "DeleteStoreGroups": "DeleteStoreGroups",
+
+ /**
+ * value: "ViewDeliveryZones"
+ * @const
+ */
+ "ViewDeliveryZones": "ViewDeliveryZones",
+
+ /**
+ * value: "CreateDeliveryZones"
+ * @const
+ */
+ "CreateDeliveryZones": "CreateDeliveryZones",
+
+ /**
+ * value: "UpdateDeliveryZones"
+ * @const
+ */
+ "UpdateDeliveryZones": "UpdateDeliveryZones",
+
+ /**
+ * value: "DeleteDeliveryZones"
+ * @const
+ */
+ "DeleteDeliveryZones": "DeleteDeliveryZones",
+
+ /**
+ * value: "ViewMenu"
+ * @const
+ */
+ "ViewMenu": "ViewMenu",
+
+ /**
+ * value: "CreateMenu"
+ * @const
+ */
+ "CreateMenu": "CreateMenu",
+
+ /**
+ * value: "UpdateMenu"
+ * @const
+ */
+ "UpdateMenu": "UpdateMenu",
+
+ /**
+ * value: "DeleteMenu"
+ * @const
+ */
+ "DeleteMenu": "DeleteMenu",
+
+ /**
+ * value: "UpdateMenuLock"
+ * @const
+ */
+ "UpdateMenuLock": "UpdateMenuLock",
+
+ /**
+ * value: "UpdateMenuItemsHideTemporarily"
+ * @const
+ */
+ "UpdateMenuItemsHideTemporarily": "UpdateMenuItemsHideTemporarily",
+
+ /**
+ * value: "EditMenuImage"
+ * @const
+ */
+ "EditMenuImage": "EditMenuImage",
+
+ /**
+ * value: "ViewVouchers"
+ * @const
+ */
+ "ViewVouchers": "ViewVouchers",
+
+ /**
+ * value: "EditVouchers"
+ * @const
+ */
+ "EditVouchers": "EditVouchers",
+
+ /**
+ * value: "ViewWebsiteContent"
+ * @const
+ */
+ "ViewWebsiteContent": "ViewWebsiteContent",
+
+ /**
+ * value: "EditWebsiteContent"
+ * @const
+ */
+ "EditWebsiteContent": "EditWebsiteContent",
+
+ /**
+ * value: "ViewWebsiteDnsVerified"
+ * @const
+ */
+ "ViewWebsiteDnsVerified": "ViewWebsiteDnsVerified",
+
+ /**
+ * value: "ViewWebsiteCertificateCreated"
+ * @const
+ */
+ "ViewWebsiteCertificateCreated": "ViewWebsiteCertificateCreated",
+
+ /**
+ * value: "ViewWebsiteCertificateRenewed"
+ * @const
+ */
+ "ViewWebsiteCertificateRenewed": "ViewWebsiteCertificateRenewed",
+
+ /**
+ * value: "ViewBankAccounts"
+ * @const
+ */
+ "ViewBankAccounts": "ViewBankAccounts",
+
+ /**
+ * value: "CreateBankAccounts"
+ * @const
+ */
+ "CreateBankAccounts": "CreateBankAccounts",
+
+ /**
+ * value: "UpdateBankAccounts"
+ * @const
+ */
+ "UpdateBankAccounts": "UpdateBankAccounts",
+
+ /**
+ * value: "UpdateBankAccountsAssign"
+ * @const
+ */
+ "UpdateBankAccountsAssign": "UpdateBankAccountsAssign",
+
+ /**
+ * value: "ViewAssignedBankAccount"
+ * @const
+ */
+ "ViewAssignedBankAccount": "ViewAssignedBankAccount",
+
+ /**
+ * value: "VerifyBankAccounts"
+ * @const
+ */
+ "VerifyBankAccounts": "VerifyBankAccounts",
+
+ /**
+ * value: "ViewServiceChargeConfigurations"
+ * @const
+ */
+ "ViewServiceChargeConfigurations": "ViewServiceChargeConfigurations",
+
+ /**
+ * value: "EditServiceChargeConfigurations"
+ * @const
+ */
+ "EditServiceChargeConfigurations": "EditServiceChargeConfigurations",
+
+ /**
+ * value: "EditStoreDeliveryZoneFees"
+ * @const
+ */
+ "EditStoreDeliveryZoneFees": "EditStoreDeliveryZoneFees",
+
+ /**
+ * value: "EditStoreDeliveryFeesLimited"
+ * @const
+ */
+ "EditStoreDeliveryFeesLimited": "EditStoreDeliveryFeesLimited",
+
+ /**
+ * value: "ViewHydraConfig"
+ * @const
+ */
+ "ViewHydraConfig": "ViewHydraConfig",
+
+ /**
+ * value: "UpdateHydraConfigManage"
+ * @const
+ */
+ "UpdateHydraConfigManage": "UpdateHydraConfigManage",
+
+ /**
+ * value: "InitiateBluetoothPairingMode"
+ * @const
+ */
+ "InitiateBluetoothPairingMode": "InitiateBluetoothPairingMode",
+
+ /**
+ * value: "DeleteTerminal"
+ * @const
+ */
+ "DeleteTerminal": "DeleteTerminal",
+
+ /**
+ * value: "ViewKioskTelemetry"
+ * @const
+ */
+ "ViewKioskTelemetry": "ViewKioskTelemetry",
+
+ /**
+ * value: "ViewCustomers"
+ * @const
+ */
+ "ViewCustomers": "ViewCustomers",
+
+ /**
+ * value: "EditCustomers"
+ * @const
+ */
+ "EditCustomers": "EditCustomers",
+
+ /**
+ * value: "CreateCustomers"
+ * @const
+ */
+ "CreateCustomers": "CreateCustomers",
+
+ /**
+ * value: "CreateCatalogElements"
+ * @const
+ */
+ "CreateCatalogElements": "CreateCatalogElements",
+
+ /**
+ * value: "UpdateCatalogElements"
+ * @const
+ */
+ "UpdateCatalogElements": "UpdateCatalogElements",
+
+ /**
+ * value: "ViewCatalogElements"
+ * @const
+ */
+ "ViewCatalogElements": "ViewCatalogElements",
+
+ /**
+ * value: "DeleteCatalogElements"
+ * @const
+ */
+ "DeleteCatalogElements": "DeleteCatalogElements",
+
+ /**
+ * value: "ViewMetafieldDefinitions"
+ * @const
+ */
+ "ViewMetafieldDefinitions": "ViewMetafieldDefinitions",
+
+ /**
+ * value: "CreateMetafieldDefinitions"
+ * @const
+ */
+ "CreateMetafieldDefinitions": "CreateMetafieldDefinitions",
+
+ /**
+ * value: "UpdateMetafieldDefinitions"
+ * @const
+ */
+ "UpdateMetafieldDefinitions": "UpdateMetafieldDefinitions",
+
+ /**
+ * value: "DeleteMetafieldDefinitions"
+ * @const
+ */
+ "DeleteMetafieldDefinitions": "DeleteMetafieldDefinitions",
+
+ /**
+ * value: "UpdateMetafields"
+ * @const
+ */
+ "UpdateMetafields": "UpdateMetafields",
+
+ /**
+ * value: "ViewCatalogMenuChanges"
+ * @const
+ */
+ "ViewCatalogMenuChanges": "ViewCatalogMenuChanges",
+
+ /**
+ * value: "PublishCatalogMenuChanges"
+ * @const
+ */
+ "PublishCatalogMenuChanges": "PublishCatalogMenuChanges",
+
+ /**
+ * value: "ViewAppStatistics"
+ * @const
+ */
+ "ViewAppStatistics": "ViewAppStatistics",
+
+ /**
+ * value: "ViewApmStatistics"
+ * @const
+ */
+ "ViewApmStatistics": "ViewApmStatistics",
+
+ /**
+ * value: "ViewCampaignsStatistics"
+ * @const
+ */
+ "ViewCampaignsStatistics": "ViewCampaignsStatistics",
+
+ /**
+ * value: "ViewCustomerStatistics"
+ * @const
+ */
+ "ViewCustomerStatistics": "ViewCustomerStatistics",
+
+ /**
+ * value: "ViewLiveStatistics"
+ * @const
+ */
+ "ViewLiveStatistics": "ViewLiveStatistics",
+
+ /**
+ * value: "ViewOrderStatistics"
+ * @const
+ */
+ "ViewOrderStatistics": "ViewOrderStatistics",
+
+ /**
+ * value: "ViewSalesStatistics"
+ * @const
+ */
+ "ViewSalesStatistics": "ViewSalesStatistics",
+
+ /**
+ * value: "ViewSalesEndOfDayStatistics"
+ * @const
+ */
+ "ViewSalesEndOfDayStatistics": "ViewSalesEndOfDayStatistics",
+
+ /**
+ * value: "ViewVouchersStatistics"
+ * @const
+ */
+ "ViewVouchersStatistics": "ViewVouchersStatistics",
+
+ /**
+ * value: "DownloadCustomerCsvExport"
+ * @const
+ */
+ "DownloadCustomerCsvExport": "DownloadCustomerCsvExport",
+
+ /**
+ * value: "ViewApmAuditLogs"
+ * @const
+ */
+ "ViewApmAuditLogs": "ViewApmAuditLogs",
+
+ /**
+ * value: "ViewStoreAuditLogs"
+ * @const
+ */
+ "ViewStoreAuditLogs": "ViewStoreAuditLogs",
+
+ /**
+ * value: "ViewMenuAuditLogs"
+ * @const
+ */
+ "ViewMenuAuditLogs": "ViewMenuAuditLogs",
+
+ /**
+ * value: "ViewBankAccountAuditLogs"
+ * @const
+ */
+ "ViewBankAccountAuditLogs": "ViewBankAccountAuditLogs",
+
+ /**
+ * value: "ViewFeeConfigurationsAuditLogs"
+ * @const
+ */
+ "ViewFeeConfigurationsAuditLogs": "ViewFeeConfigurationsAuditLogs",
+
+ /**
+ * value: "ViewOrdersAuditLogs"
+ * @const
+ */
+ "ViewOrdersAuditLogs": "ViewOrdersAuditLogs",
+
+ /**
+ * value: "ViewVouchersAuditLogs"
+ * @const
+ */
+ "ViewVouchersAuditLogs": "ViewVouchersAuditLogs",
+
+ /**
+ * value: "ViewUserEventsAuditLogs"
+ * @const
+ */
+ "ViewUserEventsAuditLogs": "ViewUserEventsAuditLogs",
+
+ /**
+ * value: "ViewCampaignsAuditLogs"
+ * @const
+ */
+ "ViewCampaignsAuditLogs": "ViewCampaignsAuditLogs",
+
+ /**
+ * value: "ViewTeammatesAuditLogs"
+ * @const
+ */
+ "ViewTeammatesAuditLogs": "ViewTeammatesAuditLogs",
+
+ /**
+ * value: "ViewAppAuditLogs"
+ * @const
+ */
+ "ViewAppAuditLogs": "ViewAppAuditLogs",
+
+ /**
+ * value: "ViewCustomerAuditLogs"
+ * @const
+ */
+ "ViewCustomerAuditLogs": "ViewCustomerAuditLogs",
+
+ /**
+ * value: "ViewPrinterAuditLogs"
+ * @const
+ */
+ "ViewPrinterAuditLogs": "ViewPrinterAuditLogs",
+
+ /**
+ * value: "ViewHydraAuditLogs"
+ * @const
+ */
+ "ViewHydraAuditLogs": "ViewHydraAuditLogs",
+
+ /**
+ * value: "ViewPushNotificationAuditLogs"
+ * @const
+ */
+ "ViewPushNotificationAuditLogs": "ViewPushNotificationAuditLogs",
+
+ /**
+ * value: "ViewStripeCustomConnectedAccountAuditLogs"
+ * @const
+ */
+ "ViewStripeCustomConnectedAccountAuditLogs": "ViewStripeCustomConnectedAccountAuditLogs",
+
+ /**
+ * value: "ViewKioskBluetoothDeviceAuditLogs"
+ * @const
+ */
+ "ViewKioskBluetoothDeviceAuditLogs": "ViewKioskBluetoothDeviceAuditLogs",
+
+ /**
+ * value: "ViewExternalAuditLogs"
+ * @const
+ */
+ "ViewExternalAuditLogs": "ViewExternalAuditLogs",
+
+ /**
+ * value: "CreateExternalAuditLogEvents"
+ * @const
+ */
+ "CreateExternalAuditLogEvents": "CreateExternalAuditLogEvents",
+
+ /**
+ * value: "ViewCatalogAuditLogs"
+ * @const
+ */
+ "ViewCatalogAuditLogs": "ViewCatalogAuditLogs",
+
+ /**
+ * value: "ViewOrderFulfillmentAuditLogs"
+ * @const
+ */
+ "ViewOrderFulfillmentAuditLogs": "ViewOrderFulfillmentAuditLogs",
+
+ /**
+ * value: "ViewChannelAuditLogs"
+ * @const
+ */
+ "ViewChannelAuditLogs": "ViewChannelAuditLogs",
+
+ /**
+ * value: "ViewAppStoreAuditLogs"
+ * @const
+ */
+ "ViewAppStoreAuditLogs": "ViewAppStoreAuditLogs",
+
+ /**
+ * value: "SendPushNotificationToCustomer"
+ * @const
+ */
+ "SendPushNotificationToCustomer": "SendPushNotificationToCustomer",
+
+ /**
+ * value: "InviteDriverToApp"
+ * @const
+ */
+ "InviteDriverToApp": "InviteDriverToApp",
+
+ /**
+ * value: "GetDriverForApp"
+ * @const
+ */
+ "GetDriverForApp": "GetDriverForApp",
+
+ /**
+ * value: "RemoveDriverFromApp"
+ * @const
+ */
+ "RemoveDriverFromApp": "RemoveDriverFromApp",
+
+ /**
+ * value: "AssignDriverToOrder"
+ * @const
+ */
+ "AssignDriverToOrder": "AssignDriverToOrder",
+
+ /**
+ * value: "UnassignDriverFromOrder"
+ * @const
+ */
+ "UnassignDriverFromOrder": "UnassignDriverFromOrder",
+
+ /**
+ * value: "UpdateOrdersDeliveryTrackingStatus"
+ * @const
+ */
+ "UpdateOrdersDeliveryTrackingStatus": "UpdateOrdersDeliveryTrackingStatus",
+
+ /**
+ * value: "UpdateOrderFulfillmentStatus"
+ * @const
+ */
+ "UpdateOrderFulfillmentStatus": "UpdateOrderFulfillmentStatus",
+
+ /**
+ * value: "ViewFulfillmentStatesConfiguration"
+ * @const
+ */
+ "ViewFulfillmentStatesConfiguration": "ViewFulfillmentStatesConfiguration",
+
+ /**
+ * value: "CreateFulfillmentStatesConfiguration"
+ * @const
+ */
+ "CreateFulfillmentStatesConfiguration": "CreateFulfillmentStatesConfiguration",
+
+ /**
+ * value: "UpdateFulfillmentStatesConfiguration"
+ * @const
+ */
+ "UpdateFulfillmentStatesConfiguration": "UpdateFulfillmentStatesConfiguration",
+
+ /**
+ * value: "DeleteFulfillmentStatesConfiguration"
+ * @const
+ */
+ "DeleteFulfillmentStatesConfiguration": "DeleteFulfillmentStatesConfiguration",
+
+ /**
+ * value: "ViewPayouts"
+ * @const
+ */
+ "ViewPayouts": "ViewPayouts",
+
+ /**
+ * value: "ViewChannels"
+ * @const
+ */
+ "ViewChannels": "ViewChannels",
+
+ /**
+ * value: "ViewOnboarding"
+ * @const
+ */
+ "ViewOnboarding": "ViewOnboarding",
+
+ /**
+ * value: "UpdateOnboarding"
+ * @const
+ */
+ "UpdateOnboarding": "UpdateOnboarding",
+
+ /**
+ * value: "ViewClientDevices"
+ * @const
+ */
+ "ViewClientDevices": "ViewClientDevices",
+
+ /**
+ * value: "UpdateClientDevices"
+ * @const
+ */
+ "UpdateClientDevices": "UpdateClientDevices",
+
+ /**
+ * value: "EnrollClientDevices"
+ * @const
+ */
+ "EnrollClientDevices": "EnrollClientDevices",
+
+ /**
+ * value: "AssignClientDevices"
+ * @const
+ */
+ "AssignClientDevices": "AssignClientDevices",
+
+ /**
+ * value: "ViewClientAuditLogs"
+ * @const
+ */
+ "ViewClientAuditLogs": "ViewClientAuditLogs",
+
+ /**
+ * value: "CreateAppStoreAppConfiguration"
+ * @const
+ */
+ "CreateAppStoreAppConfiguration": "CreateAppStoreAppConfiguration",
+
+ /**
+ * value: "ViewAppStoreAppConfiguration"
+ * @const
+ */
+ "ViewAppStoreAppConfiguration": "ViewAppStoreAppConfiguration",
+
+ /**
+ * value: "UpdateAppStoreAppConfiguration"
+ * @const
+ */
+ "UpdateAppStoreAppConfiguration": "UpdateAppStoreAppConfiguration",
+
+ /**
+ * value: "DeleteAppStoreAppConfiguration"
+ * @const
+ */
+ "DeleteAppStoreAppConfiguration": "DeleteAppStoreAppConfiguration",
+
+ /**
+ * value: "UpdateAppStoreAppConfigurationSettings"
+ * @const
+ */
+ "UpdateAppStoreAppConfigurationSettings": "UpdateAppStoreAppConfigurationSettings",
+
+ /**
+ * value: "CreateAppStoreSubscription"
+ * @const
+ */
+ "CreateAppStoreSubscription": "CreateAppStoreSubscription",
+
+ /**
+ * value: "UpdateAppStoreSubscription"
+ * @const
+ */
+ "UpdateAppStoreSubscription": "UpdateAppStoreSubscription",
+
+ /**
+ * value: "DeleteAppStoreSubscription"
+ * @const
+ */
+ "DeleteAppStoreSubscription": "DeleteAppStoreSubscription",
+
+ /**
+ * value: "ViewSalesChannels"
+ * @const
+ */
+ "ViewSalesChannels": "ViewSalesChannels",
+
+ /**
+ * value: "EditSalesChannels"
+ * @const
+ */
+ "EditSalesChannels": "EditSalesChannels",
+
+ /**
+ * value: "ViewPayGreenWhiteLabelConfiguration"
+ * @const
+ */
+ "ViewPayGreenWhiteLabelConfiguration": "ViewPayGreenWhiteLabelConfiguration",
+
+ /**
+ * value: "CreatePayGreenWhiteLabelConfiguration"
+ * @const
+ */
+ "CreatePayGreenWhiteLabelConfiguration": "CreatePayGreenWhiteLabelConfiguration",
+
+ /**
+ * value: "UpdatePayGreenWhiteLabelConfiguration"
+ * @const
+ */
+ "UpdatePayGreenWhiteLabelConfiguration": "UpdatePayGreenWhiteLabelConfiguration",
+
+ /**
+ * value: "UpdatePayGreenStoreConfiguration"
+ * @const
+ */
+ "UpdatePayGreenStoreConfiguration": "UpdatePayGreenStoreConfiguration",
+
+ /**
+ * value: "ViewSubscriptions"
+ * @const
+ */
+ "ViewSubscriptions": "ViewSubscriptions",
+
+ /**
+ * value: "ViewInvoices"
+ * @const
+ */
+ "ViewInvoices": "ViewInvoices",
+
+ /**
+ * value: "EditAccountsBills"
+ * @const
+ */
+ "EditAccountsBills": "EditAccountsBills",
+
+ /**
+ * value: "ViewAccountsBills"
+ * @const
+ */
+ "ViewAccountsBills": "ViewAccountsBills",
+
+ /**
+ * value: "EditAccountsCategories"
+ * @const
+ */
+ "EditAccountsCategories": "EditAccountsCategories",
+
+ /**
+ * value: "ViewAccountsCategories"
+ * @const
+ */
+ "ViewAccountsCategories": "ViewAccountsCategories",
+
+ /**
+ * value: "EditAccountsCreditAccounts"
+ * @const
+ */
+ "EditAccountsCreditAccounts": "EditAccountsCreditAccounts",
+
+ /**
+ * value: "ViewAccountsCreditAccounts"
+ * @const
+ */
+ "ViewAccountsCreditAccounts": "ViewAccountsCreditAccounts",
+
+ /**
+ * value: "EditAccountsCreditBooks"
+ * @const
+ */
+ "EditAccountsCreditBooks": "EditAccountsCreditBooks",
+
+ /**
+ * value: "ViewAccountsCreditBooks"
+ * @const
+ */
+ "ViewAccountsCreditBooks": "ViewAccountsCreditBooks",
+
+ /**
+ * value: "EditAccountsExpenses"
+ * @const
+ */
+ "EditAccountsExpenses": "EditAccountsExpenses",
+
+ /**
+ * value: "ViewAccountsExpenses"
+ * @const
+ */
+ "ViewAccountsExpenses": "ViewAccountsExpenses",
+
+ /**
+ * value: "EditAccountsTransactionAccounts"
+ * @const
+ */
+ "EditAccountsTransactionAccounts": "EditAccountsTransactionAccounts",
+
+ /**
+ * value: "ViewAccountsTransactionAccounts"
+ * @const
+ */
+ "ViewAccountsTransactionAccounts": "ViewAccountsTransactionAccounts",
+
+ /**
+ * value: "EditDocumentExplorer"
+ * @const
+ */
+ "EditDocumentExplorer": "EditDocumentExplorer",
+
+ /**
+ * value: "ViewDocumentExplorer"
+ * @const
+ */
+ "ViewDocumentExplorer": "ViewDocumentExplorer",
+
+ /**
+ * value: "ViewInventoryReports"
+ * @const
+ */
+ "ViewInventoryReports": "ViewInventoryReports",
+
+ /**
+ * value: "EditInventoryPurchaseOrders"
+ * @const
+ */
+ "EditInventoryPurchaseOrders": "EditInventoryPurchaseOrders",
+
+ /**
+ * value: "ViewInventoryPurchaseOrders"
+ * @const
+ */
+ "ViewInventoryPurchaseOrders": "ViewInventoryPurchaseOrders",
+
+ /**
+ * value: "EditInventoryStockItems"
+ * @const
+ */
+ "EditInventoryStockItems": "EditInventoryStockItems",
+
+ /**
+ * value: "ViewInventoryStockItems"
+ * @const
+ */
+ "ViewInventoryStockItems": "ViewInventoryStockItems",
+
+ /**
+ * value: "EditInventorySupplier"
+ * @const
+ */
+ "EditInventorySupplier": "EditInventorySupplier",
+
+ /**
+ * value: "ViewInventorySupplier"
+ * @const
+ */
+ "ViewInventorySupplier": "ViewInventorySupplier",
+
+ /**
+ * value: "EditInventoryTrackingProfiles"
+ * @const
+ */
+ "EditInventoryTrackingProfiles": "EditInventoryTrackingProfiles",
+
+ /**
+ * value: "ViewInventoryTrackingProfiles"
+ * @const
+ */
+ "ViewInventoryTrackingProfiles": "ViewInventoryTrackingProfiles",
+
+ /**
+ * value: "ViewPayrollReports"
+ * @const
+ */
+ "ViewPayrollReports": "ViewPayrollReports",
+
+ /**
+ * value: "EditPayrollHoliday"
+ * @const
+ */
+ "EditPayrollHoliday": "EditPayrollHoliday",
+
+ /**
+ * value: "ViewPayrollHoliday"
+ * @const
+ */
+ "ViewPayrollHoliday": "ViewPayrollHoliday",
+
+ /**
+ * value: "EditPayrollRota"
+ * @const
+ */
+ "EditPayrollRota": "EditPayrollRota",
+
+ /**
+ * value: "ViewPayrollRota"
+ * @const
+ */
+ "ViewPayrollRota": "ViewPayrollRota",
+
+ /**
+ * value: "EditPayrollStaff"
+ * @const
+ */
+ "EditPayrollStaff": "EditPayrollStaff",
+
+ /**
+ * value: "ViewPayrollStaff"
+ * @const
+ */
+ "ViewPayrollStaff": "ViewPayrollStaff",
+
+ /**
+ * value: "ViewSalesReports"
+ * @const
+ */
+ "ViewSalesReports": "ViewSalesReports",
+
+ /**
+ * value: "ViewCostReports"
+ * @const
+ */
+ "ViewCostReports": "ViewCostReports",
+
+ /**
+ * value: "ViewMenuReports"
+ * @const
+ */
+ "ViewMenuReports": "ViewMenuReports"
+};
+
+
+/**
+ * Allowed values for the WebToAppRedirect property.
+ * @enum {String}
+ * @readonly
+ */
+App['WebToAppRedirectEnum'] = {
+
+ /**
+ * value: "NoRedirect"
+ * @const
+ */
+ "NoRedirect": "NoRedirect",
+
+ /**
+ * value: "RedirectOnce"
+ * @const
+ */
+ "RedirectOnce": "RedirectOnce",
+
+ /**
+ * value: "RedirectAlways"
+ * @const
+ */
+ "RedirectAlways": "RedirectAlways",
+
+ /**
+ * value: "SuggestPwa"
+ * @const
+ */
+ "SuggestPwa": "SuggestPwa",
+
+ /**
+ * value: "ForcePwa"
+ * @const
+ */
+ "ForcePwa": "ForcePwa"
+};
+
+
+/**
+ * Allowed values for the ApplicationCategory property.
+ * @enum {String}
+ * @readonly
+ */
+App['ApplicationCategoryEnum'] = {
+
+ /**
+ * value: "Restaurant"
+ * @const
+ */
+ "Restaurant": "Restaurant",
+
+ /**
+ * value: "Cafe"
+ * @const
+ */
+ "Cafe": "Cafe",
+
+ /**
+ * value: "Convenience"
+ * @const
+ */
+ "Convenience": "Convenience"
+};
+
+
+
+export default App;
+
diff --git a/src/model/AppChannelAssignment.js b/src/model/AppChannelAssignment.js
new file mode 100644
index 00000000..f72c3fc5
--- /dev/null
+++ b/src/model/AppChannelAssignment.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppChannelAssignment model module.
+ * @module model/AppChannelAssignment
+ * @version 1.0.0
+ */
+class AppChannelAssignment {
+ /**
+ * Constructs a new AppChannelAssignment.
+ * Describes a ChannelAssignment which is when a AppId is assigned to a Sales Channel
+ * @alias module:model/AppChannelAssignment
+ */
+ constructor() {
+
+ AppChannelAssignment.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppChannelAssignment from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppChannelAssignment} obj Optional instance to populate.
+ * @return {module:model/AppChannelAssignment} The populated AppChannelAssignment instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppChannelAssignment();
+
+ if (data.hasOwnProperty('ChannelId')) {
+ obj['ChannelId'] = ApiClient.convertToType(data['ChannelId'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Id of the channel on the assignment
+ * @member {Number} ChannelId
+ */
+AppChannelAssignment.prototype['ChannelId'] = undefined;
+
+/**
+ * AppId of the assignment
+ * @member {String} AppId
+ */
+AppChannelAssignment.prototype['AppId'] = undefined;
+
+
+
+
+
+
+export default AppChannelAssignment;
+
diff --git a/src/model/AppCompliance.js b/src/model/AppCompliance.js
new file mode 100644
index 00000000..d9858c2e
--- /dev/null
+++ b/src/model/AppCompliance.js
@@ -0,0 +1,112 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppCompliance model module.
+ * @module model/AppCompliance
+ * @version 1.0.0
+ */
+class AppCompliance {
+ /**
+ * Constructs a new AppCompliance.
+ * Application compliance model
+ * @alias module:model/AppCompliance
+ */
+ constructor() {
+
+ AppCompliance.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppCompliance from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppCompliance} obj Optional instance to populate.
+ * @return {module:model/AppCompliance} The populated AppCompliance instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppCompliance();
+
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('ComplianceType')) {
+ obj['ComplianceType'] = ApiClient.convertToType(data['ComplianceType'], 'String');
+ }
+ if (data.hasOwnProperty('AllowDisablingOfGdpr')) {
+ obj['AllowDisablingOfGdpr'] = ApiClient.convertToType(data['AllowDisablingOfGdpr'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * App ID
+ * @member {String} AppId
+ */
+AppCompliance.prototype['AppId'] = undefined;
+
+/**
+ * Type of compliance. This controls if the Flipdish websites and apps display cookie consent banners and adjust cookies to be inline with various regulations. You should set this correctly based on your region.
+ * @member {module:model/AppCompliance.ComplianceTypeEnum} ComplianceType
+ */
+AppCompliance.prototype['ComplianceType'] = undefined;
+
+/**
+ * For EU countries, we should not allow to change the option to “Default banner”, but all other countries should be able to do so.
+ * @member {Boolean} AllowDisablingOfGdpr
+ */
+AppCompliance.prototype['AllowDisablingOfGdpr'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ComplianceType property.
+ * @enum {String}
+ * @readonly
+ */
+AppCompliance['ComplianceTypeEnum'] = {
+
+ /**
+ * value: "Default"
+ * @const
+ */
+ "Default": "Default",
+
+ /**
+ * value: "GdprCompliance"
+ * @const
+ */
+ "GdprCompliance": "GdprCompliance"
+};
+
+
+
+export default AppCompliance;
+
diff --git a/src/model/AppConfigSalesChannel.js b/src/model/AppConfigSalesChannel.js
new file mode 100644
index 00000000..db63be49
--- /dev/null
+++ b/src/model/AppConfigSalesChannel.js
@@ -0,0 +1,193 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppConfigSalesChannel model module.
+ * @module model/AppConfigSalesChannel
+ * @version 1.0.0
+ */
+class AppConfigSalesChannel {
+ /**
+ * Constructs a new AppConfigSalesChannel.
+ * App Config Sales Channel
+ * @alias module:model/AppConfigSalesChannel
+ */
+ constructor() {
+
+ AppConfigSalesChannel.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppConfigSalesChannel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppConfigSalesChannel} obj Optional instance to populate.
+ * @return {module:model/AppConfigSalesChannel} The populated AppConfigSalesChannel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppConfigSalesChannel();
+
+ if (data.hasOwnProperty('EmailRequestMode')) {
+ obj['EmailRequestMode'] = ApiClient.convertToType(data['EmailRequestMode'], 'String');
+ }
+ if (data.hasOwnProperty('WebToAppRedirect')) {
+ obj['WebToAppRedirect'] = ApiClient.convertToType(data['WebToAppRedirect'], 'String');
+ }
+ if (data.hasOwnProperty('AddressEntryType')) {
+ obj['AddressEntryType'] = ApiClient.convertToType(data['AddressEntryType'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayDeliveryRestaurantListScreen')) {
+ obj['DisplayDeliveryRestaurantListScreen'] = ApiClient.convertToType(data['DisplayDeliveryRestaurantListScreen'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Display a popup to users requesting their email address
+ * @member {module:model/AppConfigSalesChannel.EmailRequestModeEnum} EmailRequestMode
+ */
+AppConfigSalesChannel.prototype['EmailRequestMode'] = undefined;
+
+/**
+ * Sends users to their native apps or request them to install the pwa
+ * @member {module:model/AppConfigSalesChannel.WebToAppRedirectEnum} WebToAppRedirect
+ */
+AppConfigSalesChannel.prototype['WebToAppRedirect'] = undefined;
+
+/**
+ * Address entry type - TextEntryManualDisallowed is the only supported configuration
+ * @member {module:model/AppConfigSalesChannel.AddressEntryTypeEnum} AddressEntryType
+ */
+AppConfigSalesChannel.prototype['AddressEntryType'] = undefined;
+
+/**
+ * Display Pickup Restaurant List Screen
+ * @member {Boolean} DisplayDeliveryRestaurantListScreen
+ */
+AppConfigSalesChannel.prototype['DisplayDeliveryRestaurantListScreen'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the EmailRequestMode property.
+ * @enum {String}
+ * @readonly
+ */
+AppConfigSalesChannel['EmailRequestModeEnum'] = {
+
+ /**
+ * value: "DoNotRequest"
+ * @const
+ */
+ "DoNotRequest": "DoNotRequest",
+
+ /**
+ * value: "Request"
+ * @const
+ */
+ "Request": "Request",
+
+ /**
+ * value: "Require"
+ * @const
+ */
+ "Require": "Require"
+};
+
+
+/**
+ * Allowed values for the WebToAppRedirect property.
+ * @enum {String}
+ * @readonly
+ */
+AppConfigSalesChannel['WebToAppRedirectEnum'] = {
+
+ /**
+ * value: "NoRedirect"
+ * @const
+ */
+ "NoRedirect": "NoRedirect",
+
+ /**
+ * value: "RedirectOnce"
+ * @const
+ */
+ "RedirectOnce": "RedirectOnce",
+
+ /**
+ * value: "RedirectAlways"
+ * @const
+ */
+ "RedirectAlways": "RedirectAlways",
+
+ /**
+ * value: "SuggestPwa"
+ * @const
+ */
+ "SuggestPwa": "SuggestPwa",
+
+ /**
+ * value: "ForcePwa"
+ * @const
+ */
+ "ForcePwa": "ForcePwa"
+};
+
+
+/**
+ * Allowed values for the AddressEntryType property.
+ * @enum {String}
+ * @readonly
+ */
+AppConfigSalesChannel['AddressEntryTypeEnum'] = {
+
+ /**
+ * value: "MapFirst"
+ * @const
+ */
+ "MapFirst": "MapFirst",
+
+ /**
+ * value: "TextEntryManualAllowed"
+ * @const
+ */
+ "TextEntryManualAllowed": "TextEntryManualAllowed",
+
+ /**
+ * value: "TextEntryManualDisallowed"
+ * @const
+ */
+ "TextEntryManualDisallowed": "TextEntryManualDisallowed"
+};
+
+
+
+export default AppConfigSalesChannel;
+
diff --git a/src/model/AppConfigUpdateModel.js b/src/model/AppConfigUpdateModel.js
new file mode 100644
index 00000000..60a28056
--- /dev/null
+++ b/src/model/AppConfigUpdateModel.js
@@ -0,0 +1,181 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppConfigUpdateModel model module.
+ * @module model/AppConfigUpdateModel
+ * @version 1.0.0
+ */
+class AppConfigUpdateModel {
+ /**
+ * Constructs a new AppConfigUpdateModel.
+ * Application configuration
+ * @alias module:model/AppConfigUpdateModel
+ */
+ constructor() {
+
+ AppConfigUpdateModel.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppConfigUpdateModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppConfigUpdateModel} obj Optional instance to populate.
+ * @return {module:model/AppConfigUpdateModel} The populated AppConfigUpdateModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppConfigUpdateModel();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('HostName')) {
+ obj['HostName'] = ApiClient.convertToType(data['HostName'], 'String');
+ }
+ if (data.hasOwnProperty('MainColor')) {
+ obj['MainColor'] = ApiClient.convertToType(data['MainColor'], 'String');
+ }
+ if (data.hasOwnProperty('KioskPrimaryColour')) {
+ obj['KioskPrimaryColour'] = ApiClient.convertToType(data['KioskPrimaryColour'], 'String');
+ }
+ if (data.hasOwnProperty('ApplicationCategory')) {
+ obj['ApplicationCategory'] = ApiClient.convertToType(data['ApplicationCategory'], 'String');
+ }
+ if (data.hasOwnProperty('IsPanaceaEnabled')) {
+ obj['IsPanaceaEnabled'] = ApiClient.convertToType(data['IsPanaceaEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('PanaceaVanityUrl')) {
+ obj['PanaceaVanityUrl'] = ApiClient.convertToType(data['PanaceaVanityUrl'], 'String');
+ }
+ if (data.hasOwnProperty('CookieConsentPromptEnabled')) {
+ obj['CookieConsentPromptEnabled'] = ApiClient.convertToType(data['CookieConsentPromptEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('LogoImageUrl')) {
+ obj['LogoImageUrl'] = ApiClient.convertToType(data['LogoImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('CountryId')) {
+ obj['CountryId'] = ApiClient.convertToType(data['CountryId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * App name. This is used in various places on the Apple App Store, Google Play Store, mobile apps and websites.
+ * @member {String} Name
+ */
+AppConfigUpdateModel.prototype['Name'] = undefined;
+
+/**
+ * HostName on which the web-ordering system is allowed to be hosted or that a Flipdish website is hosted on.
+ * @member {String} HostName
+ */
+AppConfigUpdateModel.prototype['HostName'] = undefined;
+
+/**
+ * Main color of the web / Android / iOS applications
+ * @member {String} MainColor
+ */
+AppConfigUpdateModel.prototype['MainColor'] = undefined;
+
+/**
+ * Primary colour used on the Kiosk
+ * @member {String} KioskPrimaryColour
+ */
+AppConfigUpdateModel.prototype['KioskPrimaryColour'] = undefined;
+
+/**
+ * Application Category
+ * @member {module:model/AppConfigUpdateModel.ApplicationCategoryEnum} ApplicationCategory
+ */
+AppConfigUpdateModel.prototype['ApplicationCategory'] = undefined;
+
+/**
+ * Panacea is the term used for websites that are hosted on the my.flipdish.com domain. This value is true when the App's website is hosted on this domain. The alternative to using Panacea websites is to use a custom domain.
+ * @member {Boolean} IsPanaceaEnabled
+ */
+AppConfigUpdateModel.prototype['IsPanaceaEnabled'] = undefined;
+
+/**
+ * In case of IsPanaceaEnabled is true, the app can be accessed via https://my.flipdish.com/{PanaceaVanityUrl}
+ * @member {String} PanaceaVanityUrl
+ */
+AppConfigUpdateModel.prototype['PanaceaVanityUrl'] = undefined;
+
+/**
+ * Cookie Consent Prompt Enabled
+ * @member {Boolean} CookieConsentPromptEnabled
+ */
+AppConfigUpdateModel.prototype['CookieConsentPromptEnabled'] = undefined;
+
+/**
+ * Logo image URL
+ * @member {String} LogoImageUrl
+ */
+AppConfigUpdateModel.prototype['LogoImageUrl'] = undefined;
+
+/**
+ * Country identifier in ISO 3166-1 alpha-2 format. This code is set automatically based on the locations of the Stores in the App. The App Country is used - to determine how to parse mobile phone numbers that are entered in their local numbering format - to determine if country specific payment methods should be offered - in various fraud checks
+ * @member {String} CountryId
+ */
+AppConfigUpdateModel.prototype['CountryId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ApplicationCategory property.
+ * @enum {String}
+ * @readonly
+ */
+AppConfigUpdateModel['ApplicationCategoryEnum'] = {
+
+ /**
+ * value: "Restaurant"
+ * @const
+ */
+ "Restaurant": "Restaurant",
+
+ /**
+ * value: "Cafe"
+ * @const
+ */
+ "Cafe": "Cafe",
+
+ /**
+ * value: "Convenience"
+ * @const
+ */
+ "Convenience": "Convenience"
+};
+
+
+
+export default AppConfigUpdateModel;
+
diff --git a/src/model/AppCreatedEvent.js b/src/model/AppCreatedEvent.js
new file mode 100644
index 00000000..6a82152e
--- /dev/null
+++ b/src/model/AppCreatedEvent.js
@@ -0,0 +1,172 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The AppCreatedEvent model module.
+ * @module model/AppCreatedEvent
+ * @version 1.0.0
+ */
+class AppCreatedEvent {
+ /**
+ * Constructs a new AppCreatedEvent.
+ * Application created event
+ * @alias module:model/AppCreatedEvent
+ */
+ constructor() {
+
+ AppCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/AppCreatedEvent} The populated AppCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppCreatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('AppName')) {
+ obj['AppName'] = ApiClient.convertToType(data['AppName'], 'String');
+ }
+ if (data.hasOwnProperty('CountryId')) {
+ obj['CountryId'] = ApiClient.convertToType(data['CountryId'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('AccountId')) {
+ obj['AccountId'] = ApiClient.convertToType(data['AccountId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AppCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+AppCreatedEvent.prototype['Description'] = undefined;
+
+/**
+ * App Name
+ * @member {String} AppName
+ */
+AppCreatedEvent.prototype['AppName'] = undefined;
+
+/**
+ * Country Id
+ * @member {String} CountryId
+ */
+AppCreatedEvent.prototype['CountryId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+AppCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * Salesforce Account Id
+ * @member {String} AccountId
+ */
+AppCreatedEvent.prototype['AccountId'] = undefined;
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+AppCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AppCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AppCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AppCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AppCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AppCreatedEvent;
+
diff --git a/src/model/AppInstall.js b/src/model/AppInstall.js
new file mode 100644
index 00000000..fa409bfb
--- /dev/null
+++ b/src/model/AppInstall.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppInstall model module.
+ * @module model/AppInstall
+ * @version 1.0.0
+ */
+class AppInstall {
+ /**
+ * Constructs a new AppInstall.
+ * App Install information
+ * @alias module:model/AppInstall
+ */
+ constructor() {
+
+ AppInstall.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppInstall from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppInstall} obj Optional instance to populate.
+ * @return {module:model/AppInstall} The populated AppInstall instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppInstall();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('FirstLogin')) {
+ obj['FirstLogin'] = ApiClient.convertToType(data['FirstLogin'], 'Date');
+ }
+ if (data.hasOwnProperty('FirstLoginHuman')) {
+ obj['FirstLoginHuman'] = ApiClient.convertToType(data['FirstLoginHuman'], 'String');
+ }
+ if (data.hasOwnProperty('LastActivity')) {
+ obj['LastActivity'] = ApiClient.convertToType(data['LastActivity'], 'Date');
+ }
+ if (data.hasOwnProperty('LastActivityHuman')) {
+ obj['LastActivityHuman'] = ApiClient.convertToType(data['LastActivityHuman'], 'String');
+ }
+ if (data.hasOwnProperty('GoogleTokens')) {
+ obj['GoogleTokens'] = ApiClient.convertToType(data['GoogleTokens'], 'Number');
+ }
+ if (data.hasOwnProperty('AppleTokens')) {
+ obj['AppleTokens'] = ApiClient.convertToType(data['AppleTokens'], 'Number');
+ }
+ if (data.hasOwnProperty('OrderCount')) {
+ obj['OrderCount'] = ApiClient.convertToType(data['OrderCount'], 'Number');
+ }
+ if (data.hasOwnProperty('UserAgentAtSignup')) {
+ obj['UserAgentAtSignup'] = ApiClient.convertToType(data['UserAgentAtSignup'], 'String');
+ }
+ if (data.hasOwnProperty('UserAgentMostRecent')) {
+ obj['UserAgentMostRecent'] = ApiClient.convertToType(data['UserAgentMostRecent'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Name of the installed application.
+ * @member {String} Name
+ */
+AppInstall.prototype['Name'] = undefined;
+
+/**
+ * Date and time of the user's first login to the app.
+ * @member {Date} FirstLogin
+ */
+AppInstall.prototype['FirstLogin'] = undefined;
+
+/**
+ * Human-readable representation of the first login date.
+ * @member {String} FirstLoginHuman
+ */
+AppInstall.prototype['FirstLoginHuman'] = undefined;
+
+/**
+ * Date and time of the user's last activity in the app.
+ * @member {Date} LastActivity
+ */
+AppInstall.prototype['LastActivity'] = undefined;
+
+/**
+ * Human-readable representation of the last activity date.
+ * @member {String} LastActivityHuman
+ */
+AppInstall.prototype['LastActivityHuman'] = undefined;
+
+/**
+ * Number of Google push notification tokens associated with the app install.
+ * @member {Number} GoogleTokens
+ */
+AppInstall.prototype['GoogleTokens'] = undefined;
+
+/**
+ * Number of Apple push notification tokens associated with the app install.
+ * @member {Number} AppleTokens
+ */
+AppInstall.prototype['AppleTokens'] = undefined;
+
+/**
+ * Number of orders placed by the user through this app install.
+ * @member {Number} OrderCount
+ */
+AppInstall.prototype['OrderCount'] = undefined;
+
+/**
+ * User agent string at the time of signup.
+ * @member {String} UserAgentAtSignup
+ */
+AppInstall.prototype['UserAgentAtSignup'] = undefined;
+
+/**
+ * Most recent user agent string used by the user.
+ * @member {String} UserAgentMostRecent
+ */
+AppInstall.prototype['UserAgentMostRecent'] = undefined;
+
+
+
+
+
+
+export default AppInstall;
+
diff --git a/src/model/AppLookup.js b/src/model/AppLookup.js
new file mode 100644
index 00000000..56b18dd8
--- /dev/null
+++ b/src/model/AppLookup.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppLookup model module.
+ * @module model/AppLookup
+ * @version 1.0.0
+ */
+class AppLookup {
+ /**
+ * Constructs a new AppLookup.
+ * App lookup model
+ * @alias module:model/AppLookup
+ */
+ constructor() {
+
+ AppLookup.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppLookup from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppLookup} obj Optional instance to populate.
+ * @return {module:model/AppLookup} The populated AppLookup instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppLookup();
+
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppLookup.prototype['AppId'] = undefined;
+
+
+
+
+
+
+export default AppLookup;
+
diff --git a/src/model/AppStoreApp.js b/src/model/AppStoreApp.js
new file mode 100644
index 00000000..e65a5930
--- /dev/null
+++ b/src/model/AppStoreApp.js
@@ -0,0 +1,594 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AppStoreAppSupportInfo from './AppStoreAppSupportInfo';
+import FieldGroup from './FieldGroup';
+
+/**
+ * The AppStoreApp model module.
+ * @module model/AppStoreApp
+ * @version 1.0.0
+ */
+class AppStoreApp {
+ /**
+ * Constructs a new AppStoreApp.
+ * @alias module:model/AppStoreApp
+ * @param Id {String}
+ * @param VerificationStatus {module:model/AppStoreApp.VerificationStatusEnum}
+ * @param OAuthAppId {String}
+ * @param Internal {Boolean}
+ * @param Details {String}
+ * @param ConfigurationType {module:model/AppStoreApp.ConfigurationTypeEnum}
+ * @param StoreSelectorType {module:model/AppStoreApp.StoreSelectorTypeEnum}
+ * @param PermissionsType {module:model/AppStoreApp.PermissionsTypeEnum}
+ * @param Name {String}
+ * @param Description {String}
+ * @param Categories {Array.}
+ * @param Countries {Array.}
+ */
+ constructor(Id, VerificationStatus, OAuthAppId, Internal, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries) {
+
+ AppStoreApp.initialize(this, Id, VerificationStatus, OAuthAppId, Internal, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Id, VerificationStatus, OAuthAppId, Internal, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries) {
+ obj['Id'] = Id;
+ obj['VerificationStatus'] = VerificationStatus;
+ obj['OAuthAppId'] = OAuthAppId;
+ obj['Internal'] = Internal;
+ obj['Details'] = Details;
+ obj['ConfigurationType'] = ConfigurationType;
+ obj['StoreSelectorType'] = StoreSelectorType;
+ obj['PermissionsType'] = PermissionsType;
+ obj['Name'] = Name;
+ obj['Description'] = Description;
+ obj['Categories'] = Categories;
+ obj['Countries'] = Countries;
+ }
+
+ /**
+ * Constructs a AppStoreApp from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreApp} obj Optional instance to populate.
+ * @return {module:model/AppStoreApp} The populated AppStoreApp instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreApp();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
+ }
+ if (data.hasOwnProperty('VerificationStatus')) {
+ obj['VerificationStatus'] = ApiClient.convertToType(data['VerificationStatus'], 'String');
+ }
+ if (data.hasOwnProperty('Logo')) {
+ obj['Logo'] = ApiClient.convertToType(data['Logo'], 'String');
+ }
+ if (data.hasOwnProperty('OAuthAppId')) {
+ obj['OAuthAppId'] = ApiClient.convertToType(data['OAuthAppId'], 'String');
+ }
+ if (data.hasOwnProperty('Internal')) {
+ obj['Internal'] = ApiClient.convertToType(data['Internal'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Details')) {
+ obj['Details'] = ApiClient.convertToType(data['Details'], 'String');
+ }
+ if (data.hasOwnProperty('ConfigurationType')) {
+ obj['ConfigurationType'] = ApiClient.convertToType(data['ConfigurationType'], 'String');
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('FieldGroups')) {
+ obj['FieldGroups'] = ApiClient.convertToType(data['FieldGroups'], [FieldGroup]);
+ }
+ if (data.hasOwnProperty('SetupInstructions')) {
+ obj['SetupInstructions'] = ApiClient.convertToType(data['SetupInstructions'], 'String');
+ }
+ if (data.hasOwnProperty('ExternalSetupLink')) {
+ obj['ExternalSetupLink'] = ApiClient.convertToType(data['ExternalSetupLink'], 'String');
+ }
+ if (data.hasOwnProperty('TeammateAppAccessLevel')) {
+ obj['TeammateAppAccessLevel'] = ApiClient.convertToType(data['TeammateAppAccessLevel'], 'String');
+ }
+ if (data.hasOwnProperty('PermissionsType')) {
+ obj['PermissionsType'] = ApiClient.convertToType(data['PermissionsType'], 'String');
+ }
+ if (data.hasOwnProperty('Support')) {
+ obj['Support'] = AppStoreAppSupportInfo.constructFromObject(data['Support']);
+ }
+ if (data.hasOwnProperty('ExternalFunctionActionUrl')) {
+ obj['ExternalFunctionActionUrl'] = ApiClient.convertToType(data['ExternalFunctionActionUrl'], 'String');
+ }
+ if (data.hasOwnProperty('ExternalFunctionSignatureKey')) {
+ obj['ExternalFunctionSignatureKey'] = ApiClient.convertToType(data['ExternalFunctionSignatureKey'], 'String');
+ }
+ if (data.hasOwnProperty('IsPaid')) {
+ obj['IsPaid'] = ApiClient.convertToType(data['IsPaid'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Categories')) {
+ obj['Categories'] = ApiClient.convertToType(data['Categories'], ['String']);
+ }
+ if (data.hasOwnProperty('Countries')) {
+ obj['Countries'] = ApiClient.convertToType(data['Countries'], ['String']);
+ }
+ if (data.hasOwnProperty('DeveloperName')) {
+ obj['DeveloperName'] = ApiClient.convertToType(data['DeveloperName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Id
+ */
+AppStoreApp.prototype['Id'] = undefined;
+
+/**
+ * @member {module:model/AppStoreApp.VerificationStatusEnum} VerificationStatus
+ */
+AppStoreApp.prototype['VerificationStatus'] = undefined;
+
+/**
+ * @member {String} Logo
+ */
+AppStoreApp.prototype['Logo'] = undefined;
+
+/**
+ * @member {String} OAuthAppId
+ */
+AppStoreApp.prototype['OAuthAppId'] = undefined;
+
+/**
+ * @member {Boolean} Internal
+ */
+AppStoreApp.prototype['Internal'] = undefined;
+
+/**
+ * @member {String} Details
+ */
+AppStoreApp.prototype['Details'] = undefined;
+
+/**
+ * @member {module:model/AppStoreApp.ConfigurationTypeEnum} ConfigurationType
+ */
+AppStoreApp.prototype['ConfigurationType'] = undefined;
+
+/**
+ * @member {module:model/AppStoreApp.StoreSelectorTypeEnum} StoreSelectorType
+ */
+AppStoreApp.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * @member {Array.} FieldGroups
+ */
+AppStoreApp.prototype['FieldGroups'] = undefined;
+
+/**
+ * @member {String} SetupInstructions
+ */
+AppStoreApp.prototype['SetupInstructions'] = undefined;
+
+/**
+ * @member {String} ExternalSetupLink
+ */
+AppStoreApp.prototype['ExternalSetupLink'] = undefined;
+
+/**
+ * @member {module:model/AppStoreApp.TeammateAppAccessLevelEnum} TeammateAppAccessLevel
+ */
+AppStoreApp.prototype['TeammateAppAccessLevel'] = undefined;
+
+/**
+ * @member {module:model/AppStoreApp.PermissionsTypeEnum} PermissionsType
+ */
+AppStoreApp.prototype['PermissionsType'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppSupportInfo} Support
+ */
+AppStoreApp.prototype['Support'] = undefined;
+
+/**
+ * @member {String} ExternalFunctionActionUrl
+ */
+AppStoreApp.prototype['ExternalFunctionActionUrl'] = undefined;
+
+/**
+ * @member {String} ExternalFunctionSignatureKey
+ */
+AppStoreApp.prototype['ExternalFunctionSignatureKey'] = undefined;
+
+/**
+ * @member {Boolean} IsPaid
+ */
+AppStoreApp.prototype['IsPaid'] = undefined;
+
+/**
+ * @member {String} Name
+ */
+AppStoreApp.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+AppStoreApp.prototype['Description'] = undefined;
+
+/**
+ * @member {Boolean} IsEnabled
+ */
+AppStoreApp.prototype['IsEnabled'] = undefined;
+
+/**
+ * @member {Array.} Categories
+ */
+AppStoreApp.prototype['Categories'] = undefined;
+
+/**
+ * @member {Array.} Countries
+ */
+AppStoreApp.prototype['Countries'] = undefined;
+
+/**
+ * @member {String} DeveloperName
+ */
+AppStoreApp.prototype['DeveloperName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the VerificationStatus property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['VerificationStatusEnum'] = {
+
+ /**
+ * value: "Draft"
+ * @const
+ */
+ "Draft": "Draft",
+
+ /**
+ * value: "Submitted"
+ * @const
+ */
+ "Submitted": "Submitted",
+
+ /**
+ * value: "Verified"
+ * @const
+ */
+ "Verified": "Verified"
+};
+
+
+/**
+ * Allowed values for the ConfigurationType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['ConfigurationTypeEnum'] = {
+
+ /**
+ * value: "ExternalLink"
+ * @const
+ */
+ "ExternalLink": "ExternalLink",
+
+ /**
+ * value: "FlipdishHosted"
+ * @const
+ */
+ "FlipdishHosted": "FlipdishHosted"
+};
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+/**
+ * Allowed values for the TeammateAppAccessLevel property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['TeammateAppAccessLevelEnum'] = {
+
+ /**
+ * value: "Owner"
+ * @const
+ */
+ "Owner": "Owner",
+
+ /**
+ * value: "StoreOwner"
+ * @const
+ */
+ "StoreOwner": "StoreOwner",
+
+ /**
+ * value: "PropertyOwner"
+ * @const
+ */
+ "PropertyOwner": "PropertyOwner",
+
+ /**
+ * value: "ManagedOwner"
+ * @const
+ */
+ "ManagedOwner": "ManagedOwner",
+
+ /**
+ * value: "Integrator"
+ * @const
+ */
+ "Integrator": "Integrator",
+
+ /**
+ * value: "PropertyManager"
+ * @const
+ */
+ "PropertyManager": "PropertyManager",
+
+ /**
+ * value: "StoreManager"
+ * @const
+ */
+ "StoreManager": "StoreManager",
+
+ /**
+ * value: "StoreStaff"
+ * @const
+ */
+ "StoreStaff": "StoreStaff",
+
+ /**
+ * value: "StoreReadOnlyAccess"
+ * @const
+ */
+ "StoreReadOnlyAccess": "StoreReadOnlyAccess",
+
+ /**
+ * value: "FinanceManger"
+ * @const
+ */
+ "FinanceManger": "FinanceManger"
+};
+
+
+/**
+ * Allowed values for the PermissionsType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['PermissionsTypeEnum'] = {
+
+ /**
+ * value: "Teammate"
+ * @const
+ */
+ "Teammate": "Teammate"
+};
+
+
+/**
+ * Allowed values for the Categories property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['CategoriesEnum'] = {
+
+ /**
+ * value: "PointOfSale"
+ * @const
+ */
+ "PointOfSale": "PointOfSale",
+
+ /**
+ * value: "DeliveryAndLogistics"
+ * @const
+ */
+ "DeliveryAndLogistics": "DeliveryAndLogistics",
+
+ /**
+ * value: "CRM"
+ * @const
+ */
+ "CRM": "CRM",
+
+ /**
+ * value: "GiftCard"
+ * @const
+ */
+ "GiftCard": "GiftCard",
+
+ /**
+ * value: "Accounting"
+ * @const
+ */
+ "Accounting": "Accounting",
+
+ /**
+ * value: "LoyaltyAndMarketing"
+ * @const
+ */
+ "LoyaltyAndMarketing": "LoyaltyAndMarketing",
+
+ /**
+ * value: "Other"
+ * @const
+ */
+ "Other": "Other"
+};
+
+
+/**
+ * Allowed values for the Countries property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreApp['CountriesEnum'] = {
+
+ /**
+ * value: "GB"
+ * @const
+ */
+ "GB": "GB",
+
+ /**
+ * value: "IE"
+ * @const
+ */
+ "IE": "IE",
+
+ /**
+ * value: "FR"
+ * @const
+ */
+ "FR": "FR",
+
+ /**
+ * value: "ES"
+ * @const
+ */
+ "ES": "ES",
+
+ /**
+ * value: "PT"
+ * @const
+ */
+ "PT": "PT",
+
+ /**
+ * value: "IT"
+ * @const
+ */
+ "IT": "IT",
+
+ /**
+ * value: "DE"
+ * @const
+ */
+ "DE": "DE",
+
+ /**
+ * value: "PL"
+ * @const
+ */
+ "PL": "PL",
+
+ /**
+ * value: "BE"
+ * @const
+ */
+ "BE": "BE",
+
+ /**
+ * value: "LU"
+ * @const
+ */
+ "LU": "LU",
+
+ /**
+ * value: "NL"
+ * @const
+ */
+ "NL": "NL",
+
+ /**
+ * value: "US"
+ * @const
+ */
+ "US": "US",
+
+ /**
+ * value: "CA"
+ * @const
+ */
+ "CA": "CA",
+
+ /**
+ * value: "BG"
+ * @const
+ */
+ "BG": "BG",
+
+ /**
+ * value: "MX"
+ * @const
+ */
+ "MX": "MX",
+
+ /**
+ * value: "AU"
+ * @const
+ */
+ "AU": "AU",
+
+ /**
+ * value: "NZ"
+ * @const
+ */
+ "NZ": "NZ"
+};
+
+
+
+export default AppStoreApp;
+
diff --git a/src/model/AppStoreAppConfiguration.js b/src/model/AppStoreAppConfiguration.js
new file mode 100644
index 00000000..aacdabf4
--- /dev/null
+++ b/src/model/AppStoreAppConfiguration.js
@@ -0,0 +1,633 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AppStoreAppSupportInfo from './AppStoreAppSupportInfo';
+import FieldGroup from './FieldGroup';
+import Setting from './Setting';
+
+/**
+ * The AppStoreAppConfiguration model module.
+ * @module model/AppStoreAppConfiguration
+ * @version 1.0.0
+ */
+class AppStoreAppConfiguration {
+ /**
+ * Constructs a new AppStoreAppConfiguration.
+ * @alias module:model/AppStoreAppConfiguration
+ * @param Id {String}
+ * @param AppId {String}
+ * @param AppStoreAppId {String}
+ * @param IsEnabled {Boolean}
+ * @param VerificationStatus {module:model/AppStoreAppConfiguration.VerificationStatusEnum}
+ * @param OAuthAppId {String}
+ * @param Internal {Boolean}
+ * @param Details {String}
+ * @param ConfigurationType {module:model/AppStoreAppConfiguration.ConfigurationTypeEnum}
+ * @param StoreSelectorType {module:model/AppStoreAppConfiguration.StoreSelectorTypeEnum}
+ * @param PermissionsType {module:model/AppStoreAppConfiguration.PermissionsTypeEnum}
+ * @param Name {String}
+ * @param Description {String}
+ * @param Categories {Array.}
+ * @param Countries {Array.}
+ */
+ constructor(Id, AppId, AppStoreAppId, IsEnabled, VerificationStatus, OAuthAppId, Internal, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries) {
+
+ AppStoreAppConfiguration.initialize(this, Id, AppId, AppStoreAppId, IsEnabled, VerificationStatus, OAuthAppId, Internal, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Id, AppId, AppStoreAppId, IsEnabled, VerificationStatus, OAuthAppId, Internal, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries) {
+ obj['Id'] = Id;
+ obj['AppId'] = AppId;
+ obj['AppStoreAppId'] = AppStoreAppId;
+ obj['IsEnabled'] = IsEnabled;
+ obj['VerificationStatus'] = VerificationStatus;
+ obj['OAuthAppId'] = OAuthAppId;
+ obj['Internal'] = Internal;
+ obj['Details'] = Details;
+ obj['ConfigurationType'] = ConfigurationType;
+ obj['StoreSelectorType'] = StoreSelectorType;
+ obj['PermissionsType'] = PermissionsType;
+ obj['Name'] = Name;
+ obj['Description'] = Description;
+ obj['Categories'] = Categories;
+ obj['Countries'] = Countries;
+ }
+
+ /**
+ * Constructs a AppStoreAppConfiguration from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreAppConfiguration} obj Optional instance to populate.
+ * @return {module:model/AppStoreAppConfiguration} The populated AppStoreAppConfiguration instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreAppConfiguration();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppId')) {
+ obj['AppStoreAppId'] = ApiClient.convertToType(data['AppStoreAppId'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('Settings')) {
+ obj['Settings'] = ApiClient.convertToType(data['Settings'], [Setting]);
+ }
+ if (data.hasOwnProperty('VerificationStatus')) {
+ obj['VerificationStatus'] = ApiClient.convertToType(data['VerificationStatus'], 'String');
+ }
+ if (data.hasOwnProperty('Logo')) {
+ obj['Logo'] = ApiClient.convertToType(data['Logo'], 'String');
+ }
+ if (data.hasOwnProperty('OAuthAppId')) {
+ obj['OAuthAppId'] = ApiClient.convertToType(data['OAuthAppId'], 'String');
+ }
+ if (data.hasOwnProperty('Internal')) {
+ obj['Internal'] = ApiClient.convertToType(data['Internal'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Details')) {
+ obj['Details'] = ApiClient.convertToType(data['Details'], 'String');
+ }
+ if (data.hasOwnProperty('ConfigurationType')) {
+ obj['ConfigurationType'] = ApiClient.convertToType(data['ConfigurationType'], 'String');
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('FieldGroups')) {
+ obj['FieldGroups'] = ApiClient.convertToType(data['FieldGroups'], [FieldGroup]);
+ }
+ if (data.hasOwnProperty('SetupInstructions')) {
+ obj['SetupInstructions'] = ApiClient.convertToType(data['SetupInstructions'], 'String');
+ }
+ if (data.hasOwnProperty('ExternalSetupLink')) {
+ obj['ExternalSetupLink'] = ApiClient.convertToType(data['ExternalSetupLink'], 'String');
+ }
+ if (data.hasOwnProperty('TeammateAppAccessLevel')) {
+ obj['TeammateAppAccessLevel'] = ApiClient.convertToType(data['TeammateAppAccessLevel'], 'String');
+ }
+ if (data.hasOwnProperty('PermissionsType')) {
+ obj['PermissionsType'] = ApiClient.convertToType(data['PermissionsType'], 'String');
+ }
+ if (data.hasOwnProperty('Support')) {
+ obj['Support'] = AppStoreAppSupportInfo.constructFromObject(data['Support']);
+ }
+ if (data.hasOwnProperty('ExternalFunctionActionUrl')) {
+ obj['ExternalFunctionActionUrl'] = ApiClient.convertToType(data['ExternalFunctionActionUrl'], 'String');
+ }
+ if (data.hasOwnProperty('ExternalFunctionSignatureKey')) {
+ obj['ExternalFunctionSignatureKey'] = ApiClient.convertToType(data['ExternalFunctionSignatureKey'], 'String');
+ }
+ if (data.hasOwnProperty('IsPaid')) {
+ obj['IsPaid'] = ApiClient.convertToType(data['IsPaid'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Categories')) {
+ obj['Categories'] = ApiClient.convertToType(data['Categories'], ['String']);
+ }
+ if (data.hasOwnProperty('Countries')) {
+ obj['Countries'] = ApiClient.convertToType(data['Countries'], ['String']);
+ }
+ if (data.hasOwnProperty('DeveloperName')) {
+ obj['DeveloperName'] = ApiClient.convertToType(data['DeveloperName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Id
+ */
+AppStoreAppConfiguration.prototype['Id'] = undefined;
+
+/**
+ * @member {String} AppId
+ */
+AppStoreAppConfiguration.prototype['AppId'] = undefined;
+
+/**
+ * @member {String} AppStoreAppId
+ */
+AppStoreAppConfiguration.prototype['AppStoreAppId'] = undefined;
+
+/**
+ * @member {Boolean} IsEnabled
+ */
+AppStoreAppConfiguration.prototype['IsEnabled'] = undefined;
+
+/**
+ * @member {Array.} StoreIds
+ */
+AppStoreAppConfiguration.prototype['StoreIds'] = undefined;
+
+/**
+ * @member {Array.} Settings
+ */
+AppStoreAppConfiguration.prototype['Settings'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfiguration.VerificationStatusEnum} VerificationStatus
+ */
+AppStoreAppConfiguration.prototype['VerificationStatus'] = undefined;
+
+/**
+ * @member {String} Logo
+ */
+AppStoreAppConfiguration.prototype['Logo'] = undefined;
+
+/**
+ * @member {String} OAuthAppId
+ */
+AppStoreAppConfiguration.prototype['OAuthAppId'] = undefined;
+
+/**
+ * @member {Boolean} Internal
+ */
+AppStoreAppConfiguration.prototype['Internal'] = undefined;
+
+/**
+ * @member {String} Details
+ */
+AppStoreAppConfiguration.prototype['Details'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfiguration.ConfigurationTypeEnum} ConfigurationType
+ */
+AppStoreAppConfiguration.prototype['ConfigurationType'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfiguration.StoreSelectorTypeEnum} StoreSelectorType
+ */
+AppStoreAppConfiguration.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * @member {Array.} FieldGroups
+ */
+AppStoreAppConfiguration.prototype['FieldGroups'] = undefined;
+
+/**
+ * @member {String} SetupInstructions
+ */
+AppStoreAppConfiguration.prototype['SetupInstructions'] = undefined;
+
+/**
+ * @member {String} ExternalSetupLink
+ */
+AppStoreAppConfiguration.prototype['ExternalSetupLink'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfiguration.TeammateAppAccessLevelEnum} TeammateAppAccessLevel
+ */
+AppStoreAppConfiguration.prototype['TeammateAppAccessLevel'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfiguration.PermissionsTypeEnum} PermissionsType
+ */
+AppStoreAppConfiguration.prototype['PermissionsType'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppSupportInfo} Support
+ */
+AppStoreAppConfiguration.prototype['Support'] = undefined;
+
+/**
+ * @member {String} ExternalFunctionActionUrl
+ */
+AppStoreAppConfiguration.prototype['ExternalFunctionActionUrl'] = undefined;
+
+/**
+ * @member {String} ExternalFunctionSignatureKey
+ */
+AppStoreAppConfiguration.prototype['ExternalFunctionSignatureKey'] = undefined;
+
+/**
+ * @member {Boolean} IsPaid
+ */
+AppStoreAppConfiguration.prototype['IsPaid'] = undefined;
+
+/**
+ * @member {String} Name
+ */
+AppStoreAppConfiguration.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+AppStoreAppConfiguration.prototype['Description'] = undefined;
+
+/**
+ * @member {Array.} Categories
+ */
+AppStoreAppConfiguration.prototype['Categories'] = undefined;
+
+/**
+ * @member {Array.} Countries
+ */
+AppStoreAppConfiguration.prototype['Countries'] = undefined;
+
+/**
+ * @member {String} DeveloperName
+ */
+AppStoreAppConfiguration.prototype['DeveloperName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the VerificationStatus property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['VerificationStatusEnum'] = {
+
+ /**
+ * value: "Draft"
+ * @const
+ */
+ "Draft": "Draft",
+
+ /**
+ * value: "Submitted"
+ * @const
+ */
+ "Submitted": "Submitted",
+
+ /**
+ * value: "Verified"
+ * @const
+ */
+ "Verified": "Verified"
+};
+
+
+/**
+ * Allowed values for the ConfigurationType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['ConfigurationTypeEnum'] = {
+
+ /**
+ * value: "ExternalLink"
+ * @const
+ */
+ "ExternalLink": "ExternalLink",
+
+ /**
+ * value: "FlipdishHosted"
+ * @const
+ */
+ "FlipdishHosted": "FlipdishHosted"
+};
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+/**
+ * Allowed values for the TeammateAppAccessLevel property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['TeammateAppAccessLevelEnum'] = {
+
+ /**
+ * value: "Owner"
+ * @const
+ */
+ "Owner": "Owner",
+
+ /**
+ * value: "StoreOwner"
+ * @const
+ */
+ "StoreOwner": "StoreOwner",
+
+ /**
+ * value: "PropertyOwner"
+ * @const
+ */
+ "PropertyOwner": "PropertyOwner",
+
+ /**
+ * value: "ManagedOwner"
+ * @const
+ */
+ "ManagedOwner": "ManagedOwner",
+
+ /**
+ * value: "Integrator"
+ * @const
+ */
+ "Integrator": "Integrator",
+
+ /**
+ * value: "PropertyManager"
+ * @const
+ */
+ "PropertyManager": "PropertyManager",
+
+ /**
+ * value: "StoreManager"
+ * @const
+ */
+ "StoreManager": "StoreManager",
+
+ /**
+ * value: "StoreStaff"
+ * @const
+ */
+ "StoreStaff": "StoreStaff",
+
+ /**
+ * value: "StoreReadOnlyAccess"
+ * @const
+ */
+ "StoreReadOnlyAccess": "StoreReadOnlyAccess",
+
+ /**
+ * value: "FinanceManger"
+ * @const
+ */
+ "FinanceManger": "FinanceManger"
+};
+
+
+/**
+ * Allowed values for the PermissionsType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['PermissionsTypeEnum'] = {
+
+ /**
+ * value: "Teammate"
+ * @const
+ */
+ "Teammate": "Teammate"
+};
+
+
+/**
+ * Allowed values for the Categories property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['CategoriesEnum'] = {
+
+ /**
+ * value: "PointOfSale"
+ * @const
+ */
+ "PointOfSale": "PointOfSale",
+
+ /**
+ * value: "DeliveryAndLogistics"
+ * @const
+ */
+ "DeliveryAndLogistics": "DeliveryAndLogistics",
+
+ /**
+ * value: "CRM"
+ * @const
+ */
+ "CRM": "CRM",
+
+ /**
+ * value: "GiftCard"
+ * @const
+ */
+ "GiftCard": "GiftCard",
+
+ /**
+ * value: "Accounting"
+ * @const
+ */
+ "Accounting": "Accounting",
+
+ /**
+ * value: "LoyaltyAndMarketing"
+ * @const
+ */
+ "LoyaltyAndMarketing": "LoyaltyAndMarketing",
+
+ /**
+ * value: "Other"
+ * @const
+ */
+ "Other": "Other"
+};
+
+
+/**
+ * Allowed values for the Countries property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfiguration['CountriesEnum'] = {
+
+ /**
+ * value: "GB"
+ * @const
+ */
+ "GB": "GB",
+
+ /**
+ * value: "IE"
+ * @const
+ */
+ "IE": "IE",
+
+ /**
+ * value: "FR"
+ * @const
+ */
+ "FR": "FR",
+
+ /**
+ * value: "ES"
+ * @const
+ */
+ "ES": "ES",
+
+ /**
+ * value: "PT"
+ * @const
+ */
+ "PT": "PT",
+
+ /**
+ * value: "IT"
+ * @const
+ */
+ "IT": "IT",
+
+ /**
+ * value: "DE"
+ * @const
+ */
+ "DE": "DE",
+
+ /**
+ * value: "PL"
+ * @const
+ */
+ "PL": "PL",
+
+ /**
+ * value: "BE"
+ * @const
+ */
+ "BE": "BE",
+
+ /**
+ * value: "LU"
+ * @const
+ */
+ "LU": "LU",
+
+ /**
+ * value: "NL"
+ * @const
+ */
+ "NL": "NL",
+
+ /**
+ * value: "US"
+ * @const
+ */
+ "US": "US",
+
+ /**
+ * value: "CA"
+ * @const
+ */
+ "CA": "CA",
+
+ /**
+ * value: "BG"
+ * @const
+ */
+ "BG": "BG",
+
+ /**
+ * value: "MX"
+ * @const
+ */
+ "MX": "MX",
+
+ /**
+ * value: "AU"
+ * @const
+ */
+ "AU": "AU",
+
+ /**
+ * value: "NZ"
+ * @const
+ */
+ "NZ": "NZ"
+};
+
+
+
+export default AppStoreAppConfiguration;
+
diff --git a/src/model/AppStoreAppConfigurationSummary.js b/src/model/AppStoreAppConfigurationSummary.js
new file mode 100644
index 00000000..43769407
--- /dev/null
+++ b/src/model/AppStoreAppConfigurationSummary.js
@@ -0,0 +1,228 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ConfiguredStore from './ConfiguredStore';
+
+/**
+ * The AppStoreAppConfigurationSummary model module.
+ * @module model/AppStoreAppConfigurationSummary
+ * @version 1.0.0
+ */
+class AppStoreAppConfigurationSummary {
+ /**
+ * Constructs a new AppStoreAppConfigurationSummary.
+ * @alias module:model/AppStoreAppConfigurationSummary
+ * @param Id {String}
+ * @param AppId {String}
+ * @param IsEnabled {Boolean}
+ * @param Stores {Array.}
+ * @param ConfigurationType {module:model/AppStoreAppConfigurationSummary.ConfigurationTypeEnum}
+ * @param StoreSelectorType {module:model/AppStoreAppConfigurationSummary.StoreSelectorTypeEnum}
+ * @param Internal {Boolean}
+ * @param AppStoreAppId {String}
+ * @param Name {String}
+ * @param Description {String}
+ */
+ constructor(Id, AppId, IsEnabled, Stores, ConfigurationType, StoreSelectorType, Internal, AppStoreAppId, Name, Description) {
+
+ AppStoreAppConfigurationSummary.initialize(this, Id, AppId, IsEnabled, Stores, ConfigurationType, StoreSelectorType, Internal, AppStoreAppId, Name, Description);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Id, AppId, IsEnabled, Stores, ConfigurationType, StoreSelectorType, Internal, AppStoreAppId, Name, Description) {
+ obj['Id'] = Id;
+ obj['AppId'] = AppId;
+ obj['IsEnabled'] = IsEnabled;
+ obj['Stores'] = Stores;
+ obj['ConfigurationType'] = ConfigurationType;
+ obj['StoreSelectorType'] = StoreSelectorType;
+ obj['Internal'] = Internal;
+ obj['AppStoreAppId'] = AppStoreAppId;
+ obj['Name'] = Name;
+ obj['Description'] = Description;
+ }
+
+ /**
+ * Constructs a AppStoreAppConfigurationSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreAppConfigurationSummary} obj Optional instance to populate.
+ * @return {module:model/AppStoreAppConfigurationSummary} The populated AppStoreAppConfigurationSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreAppConfigurationSummary();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Stores')) {
+ obj['Stores'] = ApiClient.convertToType(data['Stores'], [ConfiguredStore]);
+ }
+ if (data.hasOwnProperty('ConfigurationType')) {
+ obj['ConfigurationType'] = ApiClient.convertToType(data['ConfigurationType'], 'String');
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('Internal')) {
+ obj['Internal'] = ApiClient.convertToType(data['Internal'], 'Boolean');
+ }
+ if (data.hasOwnProperty('AppStoreAppId')) {
+ obj['AppStoreAppId'] = ApiClient.convertToType(data['AppStoreAppId'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Logo')) {
+ obj['Logo'] = ApiClient.convertToType(data['Logo'], 'String');
+ }
+ if (data.hasOwnProperty('DeveloperName')) {
+ obj['DeveloperName'] = ApiClient.convertToType(data['DeveloperName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Id
+ */
+AppStoreAppConfigurationSummary.prototype['Id'] = undefined;
+
+/**
+ * @member {String} AppId
+ */
+AppStoreAppConfigurationSummary.prototype['AppId'] = undefined;
+
+/**
+ * @member {Boolean} IsEnabled
+ */
+AppStoreAppConfigurationSummary.prototype['IsEnabled'] = undefined;
+
+/**
+ * @member {Array.} Stores
+ */
+AppStoreAppConfigurationSummary.prototype['Stores'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfigurationSummary.ConfigurationTypeEnum} ConfigurationType
+ */
+AppStoreAppConfigurationSummary.prototype['ConfigurationType'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppConfigurationSummary.StoreSelectorTypeEnum} StoreSelectorType
+ */
+AppStoreAppConfigurationSummary.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * @member {Boolean} Internal
+ */
+AppStoreAppConfigurationSummary.prototype['Internal'] = undefined;
+
+/**
+ * @member {String} AppStoreAppId
+ */
+AppStoreAppConfigurationSummary.prototype['AppStoreAppId'] = undefined;
+
+/**
+ * @member {String} Name
+ */
+AppStoreAppConfigurationSummary.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+AppStoreAppConfigurationSummary.prototype['Description'] = undefined;
+
+/**
+ * @member {String} Logo
+ */
+AppStoreAppConfigurationSummary.prototype['Logo'] = undefined;
+
+/**
+ * @member {String} DeveloperName
+ */
+AppStoreAppConfigurationSummary.prototype['DeveloperName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ConfigurationType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfigurationSummary['ConfigurationTypeEnum'] = {
+
+ /**
+ * value: "ExternalLink"
+ * @const
+ */
+ "ExternalLink": "ExternalLink",
+
+ /**
+ * value: "FlipdishHosted"
+ * @const
+ */
+ "FlipdishHosted": "FlipdishHosted"
+};
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppConfigurationSummary['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+
+export default AppStoreAppConfigurationSummary;
+
diff --git a/src/model/AppStoreAppEntitlements.js b/src/model/AppStoreAppEntitlements.js
new file mode 100644
index 00000000..7a102a85
--- /dev/null
+++ b/src/model/AppStoreAppEntitlements.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppStoreAppEntitlements model module.
+ * @module model/AppStoreAppEntitlements
+ * @version 1.0.0
+ */
+class AppStoreAppEntitlements {
+ /**
+ * Constructs a new AppStoreAppEntitlements.
+ * @alias module:model/AppStoreAppEntitlements
+ */
+ constructor() {
+
+ AppStoreAppEntitlements.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppStoreAppEntitlements from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreAppEntitlements} obj Optional instance to populate.
+ * @return {module:model/AppStoreAppEntitlements} The populated AppStoreAppEntitlements instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreAppEntitlements();
+
+ if (data.hasOwnProperty('EntitlementQuantity')) {
+ obj['EntitlementQuantity'] = ApiClient.convertToType(data['EntitlementQuantity'], 'Number');
+ }
+ if (data.hasOwnProperty('CurrentUsage')) {
+ obj['CurrentUsage'] = ApiClient.convertToType(data['CurrentUsage'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} EntitlementQuantity
+ */
+AppStoreAppEntitlements.prototype['EntitlementQuantity'] = undefined;
+
+/**
+ * @member {Number} CurrentUsage
+ */
+AppStoreAppEntitlements.prototype['CurrentUsage'] = undefined;
+
+
+
+
+
+
+export default AppStoreAppEntitlements;
+
diff --git a/src/model/AppStoreAppSummary.js b/src/model/AppStoreAppSummary.js
new file mode 100644
index 00000000..73fc4de1
--- /dev/null
+++ b/src/model/AppStoreAppSummary.js
@@ -0,0 +1,346 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppStoreAppSummary model module.
+ * @module model/AppStoreAppSummary
+ * @version 1.0.0
+ */
+class AppStoreAppSummary {
+ /**
+ * Constructs a new AppStoreAppSummary.
+ * @alias module:model/AppStoreAppSummary
+ * @param Id {String}
+ * @param VerificationStatus {module:model/AppStoreAppSummary.VerificationStatusEnum}
+ * @param Internal {Boolean}
+ * @param Name {String}
+ * @param Description {String}
+ * @param Categories {Array.}
+ * @param Countries {Array.}
+ */
+ constructor(Id, VerificationStatus, Internal, Name, Description, Categories, Countries) {
+
+ AppStoreAppSummary.initialize(this, Id, VerificationStatus, Internal, Name, Description, Categories, Countries);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Id, VerificationStatus, Internal, Name, Description, Categories, Countries) {
+ obj['Id'] = Id;
+ obj['VerificationStatus'] = VerificationStatus;
+ obj['Internal'] = Internal;
+ obj['Name'] = Name;
+ obj['Description'] = Description;
+ obj['Categories'] = Categories;
+ obj['Countries'] = Countries;
+ }
+
+ /**
+ * Constructs a AppStoreAppSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreAppSummary} obj Optional instance to populate.
+ * @return {module:model/AppStoreAppSummary} The populated AppStoreAppSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreAppSummary();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
+ }
+ if (data.hasOwnProperty('VerificationStatus')) {
+ obj['VerificationStatus'] = ApiClient.convertToType(data['VerificationStatus'], 'String');
+ }
+ if (data.hasOwnProperty('Logo')) {
+ obj['Logo'] = ApiClient.convertToType(data['Logo'], 'String');
+ }
+ if (data.hasOwnProperty('Internal')) {
+ obj['Internal'] = ApiClient.convertToType(data['Internal'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Categories')) {
+ obj['Categories'] = ApiClient.convertToType(data['Categories'], ['String']);
+ }
+ if (data.hasOwnProperty('Countries')) {
+ obj['Countries'] = ApiClient.convertToType(data['Countries'], ['String']);
+ }
+ if (data.hasOwnProperty('DeveloperName')) {
+ obj['DeveloperName'] = ApiClient.convertToType(data['DeveloperName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Id
+ */
+AppStoreAppSummary.prototype['Id'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppSummary.VerificationStatusEnum} VerificationStatus
+ */
+AppStoreAppSummary.prototype['VerificationStatus'] = undefined;
+
+/**
+ * @member {String} Logo
+ */
+AppStoreAppSummary.prototype['Logo'] = undefined;
+
+/**
+ * @member {Boolean} Internal
+ */
+AppStoreAppSummary.prototype['Internal'] = undefined;
+
+/**
+ * @member {String} Name
+ */
+AppStoreAppSummary.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+AppStoreAppSummary.prototype['Description'] = undefined;
+
+/**
+ * @member {Boolean} IsEnabled
+ */
+AppStoreAppSummary.prototype['IsEnabled'] = undefined;
+
+/**
+ * @member {Array.} Categories
+ */
+AppStoreAppSummary.prototype['Categories'] = undefined;
+
+/**
+ * @member {Array.} Countries
+ */
+AppStoreAppSummary.prototype['Countries'] = undefined;
+
+/**
+ * @member {String} DeveloperName
+ */
+AppStoreAppSummary.prototype['DeveloperName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the VerificationStatus property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppSummary['VerificationStatusEnum'] = {
+
+ /**
+ * value: "Draft"
+ * @const
+ */
+ "Draft": "Draft",
+
+ /**
+ * value: "Submitted"
+ * @const
+ */
+ "Submitted": "Submitted",
+
+ /**
+ * value: "Verified"
+ * @const
+ */
+ "Verified": "Verified"
+};
+
+
+/**
+ * Allowed values for the Categories property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppSummary['CategoriesEnum'] = {
+
+ /**
+ * value: "PointOfSale"
+ * @const
+ */
+ "PointOfSale": "PointOfSale",
+
+ /**
+ * value: "DeliveryAndLogistics"
+ * @const
+ */
+ "DeliveryAndLogistics": "DeliveryAndLogistics",
+
+ /**
+ * value: "CRM"
+ * @const
+ */
+ "CRM": "CRM",
+
+ /**
+ * value: "GiftCard"
+ * @const
+ */
+ "GiftCard": "GiftCard",
+
+ /**
+ * value: "Accounting"
+ * @const
+ */
+ "Accounting": "Accounting",
+
+ /**
+ * value: "LoyaltyAndMarketing"
+ * @const
+ */
+ "LoyaltyAndMarketing": "LoyaltyAndMarketing",
+
+ /**
+ * value: "Other"
+ * @const
+ */
+ "Other": "Other"
+};
+
+
+/**
+ * Allowed values for the Countries property.
+ * @enum {String}
+ * @readonly
+ */
+AppStoreAppSummary['CountriesEnum'] = {
+
+ /**
+ * value: "GB"
+ * @const
+ */
+ "GB": "GB",
+
+ /**
+ * value: "IE"
+ * @const
+ */
+ "IE": "IE",
+
+ /**
+ * value: "FR"
+ * @const
+ */
+ "FR": "FR",
+
+ /**
+ * value: "ES"
+ * @const
+ */
+ "ES": "ES",
+
+ /**
+ * value: "PT"
+ * @const
+ */
+ "PT": "PT",
+
+ /**
+ * value: "IT"
+ * @const
+ */
+ "IT": "IT",
+
+ /**
+ * value: "DE"
+ * @const
+ */
+ "DE": "DE",
+
+ /**
+ * value: "PL"
+ * @const
+ */
+ "PL": "PL",
+
+ /**
+ * value: "BE"
+ * @const
+ */
+ "BE": "BE",
+
+ /**
+ * value: "LU"
+ * @const
+ */
+ "LU": "LU",
+
+ /**
+ * value: "NL"
+ * @const
+ */
+ "NL": "NL",
+
+ /**
+ * value: "US"
+ * @const
+ */
+ "US": "US",
+
+ /**
+ * value: "CA"
+ * @const
+ */
+ "CA": "CA",
+
+ /**
+ * value: "BG"
+ * @const
+ */
+ "BG": "BG",
+
+ /**
+ * value: "MX"
+ * @const
+ */
+ "MX": "MX",
+
+ /**
+ * value: "AU"
+ * @const
+ */
+ "AU": "AU",
+
+ /**
+ * value: "NZ"
+ * @const
+ */
+ "NZ": "NZ"
+};
+
+
+
+export default AppStoreAppSummary;
+
diff --git a/src/model/AppStoreAppSupportInfo.js b/src/model/AppStoreAppSupportInfo.js
new file mode 100644
index 00000000..bd61585f
--- /dev/null
+++ b/src/model/AppStoreAppSupportInfo.js
@@ -0,0 +1,111 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppStoreAppSupportInfo model module.
+ * @module model/AppStoreAppSupportInfo
+ * @version 1.0.0
+ */
+class AppStoreAppSupportInfo {
+ /**
+ * Constructs a new AppStoreAppSupportInfo.
+ * @alias module:model/AppStoreAppSupportInfo
+ */
+ constructor() {
+
+ AppStoreAppSupportInfo.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppStoreAppSupportInfo from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreAppSupportInfo} obj Optional instance to populate.
+ * @return {module:model/AppStoreAppSupportInfo} The populated AppStoreAppSupportInfo instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreAppSupportInfo();
+
+ if (data.hasOwnProperty('PrivacyPolicy')) {
+ obj['PrivacyPolicy'] = ApiClient.convertToType(data['PrivacyPolicy'], 'String');
+ }
+ if (data.hasOwnProperty('TermsOfUse')) {
+ obj['TermsOfUse'] = ApiClient.convertToType(data['TermsOfUse'], 'String');
+ }
+ if (data.hasOwnProperty('CompanyWebsite')) {
+ obj['CompanyWebsite'] = ApiClient.convertToType(data['CompanyWebsite'], 'String');
+ }
+ if (data.hasOwnProperty('LearnMore')) {
+ obj['LearnMore'] = ApiClient.convertToType(data['LearnMore'], 'String');
+ }
+ if (data.hasOwnProperty('InstallationMessage')) {
+ obj['InstallationMessage'] = ApiClient.convertToType(data['InstallationMessage'], 'String');
+ }
+ if (data.hasOwnProperty('SupportEmail')) {
+ obj['SupportEmail'] = ApiClient.convertToType(data['SupportEmail'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} PrivacyPolicy
+ */
+AppStoreAppSupportInfo.prototype['PrivacyPolicy'] = undefined;
+
+/**
+ * @member {String} TermsOfUse
+ */
+AppStoreAppSupportInfo.prototype['TermsOfUse'] = undefined;
+
+/**
+ * @member {String} CompanyWebsite
+ */
+AppStoreAppSupportInfo.prototype['CompanyWebsite'] = undefined;
+
+/**
+ * @member {String} LearnMore
+ */
+AppStoreAppSupportInfo.prototype['LearnMore'] = undefined;
+
+/**
+ * @member {String} InstallationMessage
+ */
+AppStoreAppSupportInfo.prototype['InstallationMessage'] = undefined;
+
+/**
+ * @member {String} SupportEmail
+ */
+AppStoreAppSupportInfo.prototype['SupportEmail'] = undefined;
+
+
+
+
+
+
+export default AppStoreAppSupportInfo;
+
diff --git a/src/model/AppStoreConfigCreatedEvent.js b/src/model/AppStoreConfigCreatedEvent.js
new file mode 100644
index 00000000..4f06295c
--- /dev/null
+++ b/src/model/AppStoreConfigCreatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The AppStoreConfigCreatedEvent model module.
+ * @module model/AppStoreConfigCreatedEvent
+ * @version 1.0.0
+ */
+class AppStoreConfigCreatedEvent {
+ /**
+ * Constructs a new AppStoreConfigCreatedEvent.
+ * AppStore Config Created event
+ * @alias module:model/AppStoreConfigCreatedEvent
+ */
+ constructor() {
+
+ AppStoreConfigCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppStoreConfigCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreConfigCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/AppStoreConfigCreatedEvent} The populated AppStoreConfigCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreConfigCreatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppId')) {
+ obj['AppStoreAppId'] = ApiClient.convertToType(data['AppStoreAppId'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppConfigurationId')) {
+ obj['AppStoreAppConfigurationId'] = ApiClient.convertToType(data['AppStoreAppConfigurationId'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AppStoreConfigCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * App Store App Id
+ * @member {String} AppStoreAppId
+ */
+AppStoreConfigCreatedEvent.prototype['AppStoreAppId'] = undefined;
+
+/**
+ * App Store Configuration Id
+ * @member {String} AppStoreAppConfigurationId
+ */
+AppStoreConfigCreatedEvent.prototype['AppStoreAppConfigurationId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+AppStoreConfigCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AppStoreConfigCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AppStoreConfigCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AppStoreConfigCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppStoreConfigCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+AppStoreConfigCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AppStoreConfigCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AppStoreConfigCreatedEvent;
+
diff --git a/src/model/AppStoreConfigDeletedEvent.js b/src/model/AppStoreConfigDeletedEvent.js
new file mode 100644
index 00000000..8443c772
--- /dev/null
+++ b/src/model/AppStoreConfigDeletedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The AppStoreConfigDeletedEvent model module.
+ * @module model/AppStoreConfigDeletedEvent
+ * @version 1.0.0
+ */
+class AppStoreConfigDeletedEvent {
+ /**
+ * Constructs a new AppStoreConfigDeletedEvent.
+ * AppStore Config Deleted event
+ * @alias module:model/AppStoreConfigDeletedEvent
+ */
+ constructor() {
+
+ AppStoreConfigDeletedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppStoreConfigDeletedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreConfigDeletedEvent} obj Optional instance to populate.
+ * @return {module:model/AppStoreConfigDeletedEvent} The populated AppStoreConfigDeletedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreConfigDeletedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppId')) {
+ obj['AppStoreAppId'] = ApiClient.convertToType(data['AppStoreAppId'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppConfigurationId')) {
+ obj['AppStoreAppConfigurationId'] = ApiClient.convertToType(data['AppStoreAppConfigurationId'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AppStoreConfigDeletedEvent.prototype['EventName'] = undefined;
+
+/**
+ * App Store Id
+ * @member {String} AppStoreAppId
+ */
+AppStoreConfigDeletedEvent.prototype['AppStoreAppId'] = undefined;
+
+/**
+ * App Store Configuration Id
+ * @member {String} AppStoreAppConfigurationId
+ */
+AppStoreConfigDeletedEvent.prototype['AppStoreAppConfigurationId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+AppStoreConfigDeletedEvent.prototype['User'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AppStoreConfigDeletedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AppStoreConfigDeletedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AppStoreConfigDeletedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppStoreConfigDeletedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+AppStoreConfigDeletedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AppStoreConfigDeletedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AppStoreConfigDeletedEvent;
+
diff --git a/src/model/AppStoreConfigUpdatedEvent.js b/src/model/AppStoreConfigUpdatedEvent.js
new file mode 100644
index 00000000..9c38041e
--- /dev/null
+++ b/src/model/AppStoreConfigUpdatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UpdateAppStoreAppConfigurationWebhookDTO from './UpdateAppStoreAppConfigurationWebhookDTO';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The AppStoreConfigUpdatedEvent model module.
+ * @module model/AppStoreConfigUpdatedEvent
+ * @version 1.0.0
+ */
+class AppStoreConfigUpdatedEvent {
+ /**
+ * Constructs a new AppStoreConfigUpdatedEvent.
+ * AppStore Config Updated event
+ * @alias module:model/AppStoreConfigUpdatedEvent
+ */
+ constructor() {
+
+ AppStoreConfigUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppStoreConfigUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreConfigUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/AppStoreConfigUpdatedEvent} The populated AppStoreConfigUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreConfigUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppId')) {
+ obj['AppStoreAppId'] = ApiClient.convertToType(data['AppStoreAppId'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppConfiguration')) {
+ obj['AppStoreAppConfiguration'] = UpdateAppStoreAppConfigurationWebhookDTO.constructFromObject(data['AppStoreAppConfiguration']);
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AppStoreConfigUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * App Store Id
+ * @member {String} AppStoreAppId
+ */
+AppStoreConfigUpdatedEvent.prototype['AppStoreAppId'] = undefined;
+
+/**
+ * @member {module:model/UpdateAppStoreAppConfigurationWebhookDTO} AppStoreAppConfiguration
+ */
+AppStoreConfigUpdatedEvent.prototype['AppStoreAppConfiguration'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+AppStoreConfigUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AppStoreConfigUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AppStoreConfigUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AppStoreConfigUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppStoreConfigUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+AppStoreConfigUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AppStoreConfigUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AppStoreConfigUpdatedEvent;
+
diff --git a/src/model/AppStoreSubscriptionChangeJobUpdatedEvent.js b/src/model/AppStoreSubscriptionChangeJobUpdatedEvent.js
new file mode 100644
index 00000000..5eff6648
--- /dev/null
+++ b/src/model/AppStoreSubscriptionChangeJobUpdatedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AppStoreSubscriptionChangeJobUpdatedEvent model module.
+ * @module model/AppStoreSubscriptionChangeJobUpdatedEvent
+ * @version 1.0.0
+ */
+class AppStoreSubscriptionChangeJobUpdatedEvent {
+ /**
+ * Constructs a new AppStoreSubscriptionChangeJobUpdatedEvent.
+ * Subscription change job status updated event
+ * @alias module:model/AppStoreSubscriptionChangeJobUpdatedEvent
+ */
+ constructor() {
+
+ AppStoreSubscriptionChangeJobUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppStoreSubscriptionChangeJobUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppStoreSubscriptionChangeJobUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/AppStoreSubscriptionChangeJobUpdatedEvent} The populated AppStoreSubscriptionChangeJobUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppStoreSubscriptionChangeJobUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('AppStoreAppId')) {
+ obj['AppStoreAppId'] = ApiClient.convertToType(data['AppStoreAppId'], 'String');
+ }
+ if (data.hasOwnProperty('Status')) {
+ obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * App Store Id
+ * @member {String} AppStoreAppId
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['AppStoreAppId'] = undefined;
+
+/**
+ * Status
+ * @member {String} Status
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['Status'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AppStoreSubscriptionChangeJobUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AppStoreSubscriptionChangeJobUpdatedEvent;
+
diff --git a/src/model/AppUpdatedEvent.js b/src/model/AppUpdatedEvent.js
new file mode 100644
index 00000000..df9a4a2f
--- /dev/null
+++ b/src/model/AppUpdatedEvent.js
@@ -0,0 +1,181 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import App from './App';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The AppUpdatedEvent model module.
+ * @module model/AppUpdatedEvent
+ * @version 1.0.0
+ */
+class AppUpdatedEvent {
+ /**
+ * Constructs a new AppUpdatedEvent.
+ * Application updated event
+ * @alias module:model/AppUpdatedEvent
+ */
+ constructor() {
+
+ AppUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AppUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AppUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/AppUpdatedEvent} The populated AppUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AppUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Changes')) {
+ obj['Changes'] = ApiClient.convertToType(data['Changes'], 'String');
+ }
+ if (data.hasOwnProperty('AppName')) {
+ obj['AppName'] = ApiClient.convertToType(data['AppName'], 'String');
+ }
+ if (data.hasOwnProperty('CountryId')) {
+ obj['CountryId'] = ApiClient.convertToType(data['CountryId'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('App')) {
+ obj['App'] = App.constructFromObject(data['App']);
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+AppUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+AppUpdatedEvent.prototype['Description'] = undefined;
+
+/**
+ * A summary of changes made
+ * @member {String} Changes
+ */
+AppUpdatedEvent.prototype['Changes'] = undefined;
+
+/**
+ * App Name
+ * @member {String} AppName
+ */
+AppUpdatedEvent.prototype['AppName'] = undefined;
+
+/**
+ * Country Id
+ * @member {String} CountryId
+ */
+AppUpdatedEvent.prototype['CountryId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+AppUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/App} App
+ */
+AppUpdatedEvent.prototype['App'] = undefined;
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+AppUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+AppUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+AppUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+AppUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+AppUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+AppUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default AppUpdatedEvent;
+
diff --git a/src/model/AssignedBankAccount.js b/src/model/AssignedBankAccount.js
new file mode 100644
index 00000000..854c9bce
--- /dev/null
+++ b/src/model/AssignedBankAccount.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AssignedBankAccount model module.
+ * @module model/AssignedBankAccount
+ * @version 1.0.0
+ */
+class AssignedBankAccount {
+ /**
+ * Constructs a new AssignedBankAccount.
+ * Assigned to Store Bank Account
+ * @alias module:model/AssignedBankAccount
+ */
+ constructor() {
+
+ AssignedBankAccount.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AssignedBankAccount from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssignedBankAccount} obj Optional instance to populate.
+ * @return {module:model/AssignedBankAccount} The populated AssignedBankAccount instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssignedBankAccount();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'Number');
+ }
+ if (data.hasOwnProperty('BankAccountName')) {
+ obj['BankAccountName'] = ApiClient.convertToType(data['BankAccountName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Id of Bank Account
+ * @member {Number} Id
+ */
+AssignedBankAccount.prototype['Id'] = undefined;
+
+/**
+ * Name of Bank Account
+ * @member {String} BankAccountName
+ */
+AssignedBankAccount.prototype['BankAccountName'] = undefined;
+
+
+
+
+
+
+export default AssignedBankAccount;
+
diff --git a/src/model/AuditLogFieldChangeInformation.js b/src/model/AuditLogFieldChangeInformation.js
new file mode 100644
index 00000000..03ac7fef
--- /dev/null
+++ b/src/model/AuditLogFieldChangeInformation.js
@@ -0,0 +1,109 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The AuditLogFieldChangeInformation model module.
+ * @module model/AuditLogFieldChangeInformation
+ * @version 1.0.0
+ */
+class AuditLogFieldChangeInformation {
+ /**
+ * Constructs a new AuditLogFieldChangeInformation.
+ * Change information for a field
+ * @alias module:model/AuditLogFieldChangeInformation
+ */
+ constructor() {
+
+ AuditLogFieldChangeInformation.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a AuditLogFieldChangeInformation from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AuditLogFieldChangeInformation} obj Optional instance to populate.
+ * @return {module:model/AuditLogFieldChangeInformation} The populated AuditLogFieldChangeInformation instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AuditLogFieldChangeInformation();
+
+ if (data.hasOwnProperty('Path')) {
+ obj['Path'] = ApiClient.convertToType(data['Path'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('OldValue')) {
+ obj['OldValue'] = ApiClient.convertToType(data['OldValue'], 'String');
+ }
+ if (data.hasOwnProperty('NewValue')) {
+ obj['NewValue'] = ApiClient.convertToType(data['NewValue'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Path (hierarchy)
+ * @member {String} Path
+ */
+AuditLogFieldChangeInformation.prototype['Path'] = undefined;
+
+/**
+ * Name of field
+ * @member {String} Name
+ */
+AuditLogFieldChangeInformation.prototype['Name'] = undefined;
+
+/**
+ * Key (code) of field
+ * @member {String} Key
+ */
+AuditLogFieldChangeInformation.prototype['Key'] = undefined;
+
+/**
+ * Old value
+ * @member {String} OldValue
+ */
+AuditLogFieldChangeInformation.prototype['OldValue'] = undefined;
+
+/**
+ * New value
+ * @member {String} NewValue
+ */
+AuditLogFieldChangeInformation.prototype['NewValue'] = undefined;
+
+
+
+
+
+
+export default AuditLogFieldChangeInformation;
+
diff --git a/src/model/BalanceDetails.js b/src/model/BalanceDetails.js
new file mode 100644
index 00000000..024f870e
--- /dev/null
+++ b/src/model/BalanceDetails.js
@@ -0,0 +1,80 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The BalanceDetails model module.
+ * @module model/BalanceDetails
+ * @version 1.0.0
+ */
+class BalanceDetails {
+ /**
+ * Constructs a new BalanceDetails.
+ * Period opening and closing balance
+ * @alias module:model/BalanceDetails
+ */
+ constructor() {
+
+ BalanceDetails.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BalanceDetails from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BalanceDetails} obj Optional instance to populate.
+ * @return {module:model/BalanceDetails} The populated BalanceDetails instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BalanceDetails();
+
+ if (data.hasOwnProperty('OpeningBalance')) {
+ obj['OpeningBalance'] = ApiClient.convertToType(data['OpeningBalance'], 'Number');
+ }
+ if (data.hasOwnProperty('ClosingBalance')) {
+ obj['ClosingBalance'] = ApiClient.convertToType(data['ClosingBalance'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} OpeningBalance
+ */
+BalanceDetails.prototype['OpeningBalance'] = undefined;
+
+/**
+ * @member {Number} ClosingBalance
+ */
+BalanceDetails.prototype['ClosingBalance'] = undefined;
+
+
+
+
+
+
+export default BalanceDetails;
+
diff --git a/src/model/BankAccount.js b/src/model/BankAccount.js
new file mode 100644
index 00000000..1fd634ba
--- /dev/null
+++ b/src/model/BankAccount.js
@@ -0,0 +1,224 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldKeyValuePair from './AccountFieldKeyValuePair';
+
+/**
+ * The BankAccount model module.
+ * @module model/BankAccount
+ * @version 1.0.0
+ */
+class BankAccount {
+ /**
+ * Constructs a new BankAccount.
+ * BANK ACCOUNT
+ * @alias module:model/BankAccount
+ */
+ constructor() {
+
+ BankAccount.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccount from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccount} obj Optional instance to populate.
+ * @return {module:model/BankAccount} The populated BankAccount instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccount();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'Number');
+ }
+ if (data.hasOwnProperty('AccountName')) {
+ obj['AccountName'] = ApiClient.convertToType(data['AccountName'], 'String');
+ }
+ if (data.hasOwnProperty('Iban')) {
+ obj['Iban'] = ApiClient.convertToType(data['Iban'], 'String');
+ }
+ if (data.hasOwnProperty('Swift')) {
+ obj['Swift'] = ApiClient.convertToType(data['Swift'], 'String');
+ }
+ if (data.hasOwnProperty('PopulatedAccountFields')) {
+ obj['PopulatedAccountFields'] = ApiClient.convertToType(data['PopulatedAccountFields'], [AccountFieldKeyValuePair]);
+ }
+ if (data.hasOwnProperty('AccountState')) {
+ obj['AccountState'] = ApiClient.convertToType(data['AccountState'], 'String');
+ }
+ if (data.hasOwnProperty('StoreNames')) {
+ obj['StoreNames'] = ApiClient.convertToType(data['StoreNames'], ['String']);
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('BankAddress')) {
+ obj['BankAddress'] = ApiClient.convertToType(data['BankAddress'], 'String');
+ }
+ if (data.hasOwnProperty('BankCountryCode')) {
+ obj['BankCountryCode'] = ApiClient.convertToType(data['BankCountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderAddress')) {
+ obj['AccountHolderAddress'] = ApiClient.convertToType(data['AccountHolderAddress'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderCountryCode')) {
+ obj['AccountHolderCountryCode'] = ApiClient.convertToType(data['AccountHolderCountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('VatNumber')) {
+ obj['VatNumber'] = ApiClient.convertToType(data['VatNumber'], 'String');
+ }
+ if (data.hasOwnProperty('StripeAccountId')) {
+ obj['StripeAccountId'] = ApiClient.convertToType(data['StripeAccountId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Id of this account
+ * @member {Number} Id
+ */
+BankAccount.prototype['Id'] = undefined;
+
+/**
+ * Name of this account
+ * @member {String} AccountName
+ */
+BankAccount.prototype['AccountName'] = undefined;
+
+/**
+ * IBAN of this account
+ * @member {String} Iban
+ */
+BankAccount.prototype['Iban'] = undefined;
+
+/**
+ * SWIFT of this bank account
+ * @member {String} Swift
+ */
+BankAccount.prototype['Swift'] = undefined;
+
+/**
+ * A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields should be ignored.
+ * @member {Array.} PopulatedAccountFields
+ */
+BankAccount.prototype['PopulatedAccountFields'] = undefined;
+
+/**
+ * Status of Account
+ * @member {module:model/BankAccount.AccountStateEnum} AccountState
+ */
+BankAccount.prototype['AccountState'] = undefined;
+
+/**
+ * Store Names that are attached to this account
+ * @member {Array.} StoreNames
+ */
+BankAccount.prototype['StoreNames'] = undefined;
+
+/**
+ * Store Ids that are attached to this account
+ * @member {Array.} StoreIds
+ */
+BankAccount.prototype['StoreIds'] = undefined;
+
+/**
+ * Address lf the bank
+ * @member {String} BankAddress
+ */
+BankAccount.prototype['BankAddress'] = undefined;
+
+/**
+ * CountryCode of the Bank Account
+ * @member {String} BankCountryCode
+ */
+BankAccount.prototype['BankCountryCode'] = undefined;
+
+/**
+ * Account Holders Address
+ * @member {String} AccountHolderAddress
+ */
+BankAccount.prototype['AccountHolderAddress'] = undefined;
+
+/**
+ * Account Holders Country Code
+ * @member {String} AccountHolderCountryCode
+ */
+BankAccount.prototype['AccountHolderCountryCode'] = undefined;
+
+/**
+ * Account Holders Vat Number
+ * @member {String} VatNumber
+ */
+BankAccount.prototype['VatNumber'] = undefined;
+
+/**
+ * Stripe Id of the connected account
+ * @member {String} StripeAccountId
+ */
+BankAccount.prototype['StripeAccountId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the AccountState property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccount['AccountStateEnum'] = {
+
+ /**
+ * value: "Unverified"
+ * @const
+ */
+ "Unverified": "Unverified",
+
+ /**
+ * value: "AwatingVerification"
+ * @const
+ */
+ "AwatingVerification": "AwatingVerification",
+
+ /**
+ * value: "Verified"
+ * @const
+ */
+ "Verified": "Verified",
+
+ /**
+ * value: "Grandfathered"
+ * @const
+ */
+ "Grandfathered": "Grandfathered"
+};
+
+
+
+export default BankAccount;
+
diff --git a/src/model/BankAccountAssignedEvent.js b/src/model/BankAccountAssignedEvent.js
new file mode 100644
index 00000000..988a6d81
--- /dev/null
+++ b/src/model/BankAccountAssignedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import BankAccount from './BankAccount';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The BankAccountAssignedEvent model module.
+ * @module model/BankAccountAssignedEvent
+ * @version 1.0.0
+ */
+class BankAccountAssignedEvent {
+ /**
+ * Constructs a new BankAccountAssignedEvent.
+ *
+ * @alias module:model/BankAccountAssignedEvent
+ */
+ constructor() {
+
+ BankAccountAssignedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountAssignedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountAssignedEvent} obj Optional instance to populate.
+ * @return {module:model/BankAccountAssignedEvent} The populated BankAccountAssignedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountAssignedEvent();
+
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('BankAccount')) {
+ obj['BankAccount'] = BankAccount.constructFromObject(data['BankAccount']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+BankAccountAssignedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * @member {module:model/BankAccount} BankAccount
+ */
+BankAccountAssignedEvent.prototype['BankAccount'] = undefined;
+
+/**
+ * Event description
+ * @member {String} Description
+ */
+BankAccountAssignedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+BankAccountAssignedEvent.prototype['User'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+BankAccountAssignedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+BankAccountAssignedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+BankAccountAssignedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+BankAccountAssignedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+BankAccountAssignedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+BankAccountAssignedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default BankAccountAssignedEvent;
+
diff --git a/src/model/BankAccountCreate.js b/src/model/BankAccountCreate.js
new file mode 100644
index 00000000..0f446d27
--- /dev/null
+++ b/src/model/BankAccountCreate.js
@@ -0,0 +1,920 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldKeyValuePair from './AccountFieldKeyValuePair';
+
+/**
+ * The BankAccountCreate model module.
+ * @module model/BankAccountCreate
+ * @version 1.0.0
+ */
+class BankAccountCreate {
+ /**
+ * Constructs a new BankAccountCreate.
+ *
+ * @alias module:model/BankAccountCreate
+ */
+ constructor() {
+
+ BankAccountCreate.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountCreate from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountCreate} obj Optional instance to populate.
+ * @return {module:model/BankAccountCreate} The populated BankAccountCreate instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountCreate();
+
+ if (data.hasOwnProperty('BankAddress')) {
+ obj['BankAddress'] = ApiClient.convertToType(data['BankAddress'], 'String');
+ }
+ if (data.hasOwnProperty('BankCountryCode')) {
+ obj['BankCountryCode'] = ApiClient.convertToType(data['BankCountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderAddress')) {
+ obj['AccountHolderAddress'] = ApiClient.convertToType(data['AccountHolderAddress'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderCountryCode')) {
+ obj['AccountHolderCountryCode'] = ApiClient.convertToType(data['AccountHolderCountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('VatNumber')) {
+ obj['VatNumber'] = ApiClient.convertToType(data['VatNumber'], 'String');
+ }
+ if (data.hasOwnProperty('CurrencyCode')) {
+ obj['CurrencyCode'] = ApiClient.convertToType(data['CurrencyCode'], 'String');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('BankName')) {
+ obj['BankName'] = ApiClient.convertToType(data['BankName'], 'String');
+ }
+ if (data.hasOwnProperty('AccountName')) {
+ obj['AccountName'] = ApiClient.convertToType(data['AccountName'], 'String');
+ }
+ if (data.hasOwnProperty('Iban')) {
+ obj['Iban'] = ApiClient.convertToType(data['Iban'], 'String');
+ }
+ if (data.hasOwnProperty('Swift')) {
+ obj['Swift'] = ApiClient.convertToType(data['Swift'], 'String');
+ }
+ if (data.hasOwnProperty('NationalClearingCode')) {
+ obj['NationalClearingCode'] = ApiClient.convertToType(data['NationalClearingCode'], 'String');
+ }
+ if (data.hasOwnProperty('PopulatedAccountFields')) {
+ obj['PopulatedAccountFields'] = ApiClient.convertToType(data['PopulatedAccountFields'], [AccountFieldKeyValuePair]);
+ }
+ if (data.hasOwnProperty('RejectionReason')) {
+ obj['RejectionReason'] = ApiClient.convertToType(data['RejectionReason'], 'String');
+ }
+ if (data.hasOwnProperty('BusinessType')) {
+ obj['BusinessType'] = ApiClient.convertToType(data['BusinessType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Address lf the bank
+ * @member {String} BankAddress
+ */
+BankAccountCreate.prototype['BankAddress'] = undefined;
+
+/**
+ * CountryCode of the Bank Account
+ * @member {String} BankCountryCode
+ */
+BankAccountCreate.prototype['BankCountryCode'] = undefined;
+
+/**
+ * Account Holders Address
+ * @member {String} AccountHolderAddress
+ */
+BankAccountCreate.prototype['AccountHolderAddress'] = undefined;
+
+/**
+ * Account Holders Country Code
+ * @member {String} AccountHolderCountryCode
+ */
+BankAccountCreate.prototype['AccountHolderCountryCode'] = undefined;
+
+/**
+ * Account Holders Vat Number
+ * @member {String} VatNumber
+ */
+BankAccountCreate.prototype['VatNumber'] = undefined;
+
+/**
+ * Currency of Account
+ * @member {module:model/BankAccountCreate.CurrencyCodeEnum} CurrencyCode
+ */
+BankAccountCreate.prototype['CurrencyCode'] = undefined;
+
+/**
+ * List of stores to attach to Account
+ * @member {Array.} StoreIds
+ */
+BankAccountCreate.prototype['StoreIds'] = undefined;
+
+/**
+ * Name of Bank
+ * @member {String} BankName
+ */
+BankAccountCreate.prototype['BankName'] = undefined;
+
+/**
+ * Name of this account
+ * @member {String} AccountName
+ */
+BankAccountCreate.prototype['AccountName'] = undefined;
+
+/**
+ * IBAN of this account
+ * @member {String} Iban
+ */
+BankAccountCreate.prototype['Iban'] = undefined;
+
+/**
+ * SWIFT of this bank account
+ * @member {String} Swift
+ */
+BankAccountCreate.prototype['Swift'] = undefined;
+
+/**
+ * National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ)
+ * @member {String} NationalClearingCode
+ */
+BankAccountCreate.prototype['NationalClearingCode'] = undefined;
+
+/**
+ * A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored.
+ * @member {Array.} PopulatedAccountFields
+ */
+BankAccountCreate.prototype['PopulatedAccountFields'] = undefined;
+
+/**
+ * Reason for Rejection
+ * @member {String} RejectionReason
+ */
+BankAccountCreate.prototype['RejectionReason'] = undefined;
+
+/**
+ * Business Type
+ * @member {module:model/BankAccountCreate.BusinessTypeEnum} BusinessType
+ */
+BankAccountCreate.prototype['BusinessType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the CurrencyCode property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountCreate['CurrencyCodeEnum'] = {
+
+ /**
+ * value: "EUR"
+ * @const
+ */
+ "EUR": "EUR",
+
+ /**
+ * value: "USD"
+ * @const
+ */
+ "USD": "USD",
+
+ /**
+ * value: "GBP"
+ * @const
+ */
+ "GBP": "GBP",
+
+ /**
+ * value: "CAD"
+ * @const
+ */
+ "CAD": "CAD",
+
+ /**
+ * value: "AUD"
+ * @const
+ */
+ "AUD": "AUD",
+
+ /**
+ * value: "DJF"
+ * @const
+ */
+ "DJF": "DJF",
+
+ /**
+ * value: "ZAR"
+ * @const
+ */
+ "ZAR": "ZAR",
+
+ /**
+ * value: "ETB"
+ * @const
+ */
+ "ETB": "ETB",
+
+ /**
+ * value: "AED"
+ * @const
+ */
+ "AED": "AED",
+
+ /**
+ * value: "BHD"
+ * @const
+ */
+ "BHD": "BHD",
+
+ /**
+ * value: "DZD"
+ * @const
+ */
+ "DZD": "DZD",
+
+ /**
+ * value: "EGP"
+ * @const
+ */
+ "EGP": "EGP",
+
+ /**
+ * value: "IQD"
+ * @const
+ */
+ "IQD": "IQD",
+
+ /**
+ * value: "JOD"
+ * @const
+ */
+ "JOD": "JOD",
+
+ /**
+ * value: "KWD"
+ * @const
+ */
+ "KWD": "KWD",
+
+ /**
+ * value: "LBP"
+ * @const
+ */
+ "LBP": "LBP",
+
+ /**
+ * value: "LYD"
+ * @const
+ */
+ "LYD": "LYD",
+
+ /**
+ * value: "MAD"
+ * @const
+ */
+ "MAD": "MAD",
+
+ /**
+ * value: "OMR"
+ * @const
+ */
+ "OMR": "OMR",
+
+ /**
+ * value: "QAR"
+ * @const
+ */
+ "QAR": "QAR",
+
+ /**
+ * value: "SAR"
+ * @const
+ */
+ "SAR": "SAR",
+
+ /**
+ * value: "SYP"
+ * @const
+ */
+ "SYP": "SYP",
+
+ /**
+ * value: "TND"
+ * @const
+ */
+ "TND": "TND",
+
+ /**
+ * value: "YER"
+ * @const
+ */
+ "YER": "YER",
+
+ /**
+ * value: "CLP"
+ * @const
+ */
+ "CLP": "CLP",
+
+ /**
+ * value: "INR"
+ * @const
+ */
+ "INR": "INR",
+
+ /**
+ * value: "AZN"
+ * @const
+ */
+ "AZN": "AZN",
+
+ /**
+ * value: "RUB"
+ * @const
+ */
+ "RUB": "RUB",
+
+ /**
+ * value: "BYN"
+ * @const
+ */
+ "BYN": "BYN",
+
+ /**
+ * value: "BGN"
+ * @const
+ */
+ "BGN": "BGN",
+
+ /**
+ * value: "NGN"
+ * @const
+ */
+ "NGN": "NGN",
+
+ /**
+ * value: "BDT"
+ * @const
+ */
+ "BDT": "BDT",
+
+ /**
+ * value: "CNY"
+ * @const
+ */
+ "CNY": "CNY",
+
+ /**
+ * value: "BAM"
+ * @const
+ */
+ "BAM": "BAM",
+
+ /**
+ * value: "CZK"
+ * @const
+ */
+ "CZK": "CZK",
+
+ /**
+ * value: "DKK"
+ * @const
+ */
+ "DKK": "DKK",
+
+ /**
+ * value: "CHF"
+ * @const
+ */
+ "CHF": "CHF",
+
+ /**
+ * value: "MVR"
+ * @const
+ */
+ "MVR": "MVR",
+
+ /**
+ * value: "BTN"
+ * @const
+ */
+ "BTN": "BTN",
+
+ /**
+ * value: "XCD"
+ * @const
+ */
+ "XCD": "XCD",
+
+ /**
+ * value: "BZD"
+ * @const
+ */
+ "BZD": "BZD",
+
+ /**
+ * value: "HKD"
+ * @const
+ */
+ "HKD": "HKD",
+
+ /**
+ * value: "IDR"
+ * @const
+ */
+ "IDR": "IDR",
+
+ /**
+ * value: "JMD"
+ * @const
+ */
+ "JMD": "JMD",
+
+ /**
+ * value: "MYR"
+ * @const
+ */
+ "MYR": "MYR",
+
+ /**
+ * value: "NZD"
+ * @const
+ */
+ "NZD": "NZD",
+
+ /**
+ * value: "PHP"
+ * @const
+ */
+ "PHP": "PHP",
+
+ /**
+ * value: "SGD"
+ * @const
+ */
+ "SGD": "SGD",
+
+ /**
+ * value: "TTD"
+ * @const
+ */
+ "TTD": "TTD",
+
+ /**
+ * value: "XDR"
+ * @const
+ */
+ "XDR": "XDR",
+
+ /**
+ * value: "ARS"
+ * @const
+ */
+ "ARS": "ARS",
+
+ /**
+ * value: "BOB"
+ * @const
+ */
+ "BOB": "BOB",
+
+ /**
+ * value: "COP"
+ * @const
+ */
+ "COP": "COP",
+
+ /**
+ * value: "CRC"
+ * @const
+ */
+ "CRC": "CRC",
+
+ /**
+ * value: "CUP"
+ * @const
+ */
+ "CUP": "CUP",
+
+ /**
+ * value: "DOP"
+ * @const
+ */
+ "DOP": "DOP",
+
+ /**
+ * value: "GTQ"
+ * @const
+ */
+ "GTQ": "GTQ",
+
+ /**
+ * value: "HNL"
+ * @const
+ */
+ "HNL": "HNL",
+
+ /**
+ * value: "MXN"
+ * @const
+ */
+ "MXN": "MXN",
+
+ /**
+ * value: "NIO"
+ * @const
+ */
+ "NIO": "NIO",
+
+ /**
+ * value: "PAB"
+ * @const
+ */
+ "PAB": "PAB",
+
+ /**
+ * value: "PEN"
+ * @const
+ */
+ "PEN": "PEN",
+
+ /**
+ * value: "PYG"
+ * @const
+ */
+ "PYG": "PYG",
+
+ /**
+ * value: "UYU"
+ * @const
+ */
+ "UYU": "UYU",
+
+ /**
+ * value: "VEF"
+ * @const
+ */
+ "VEF": "VEF",
+
+ /**
+ * value: "IRR"
+ * @const
+ */
+ "IRR": "IRR",
+
+ /**
+ * value: "XOF"
+ * @const
+ */
+ "XOF": "XOF",
+
+ /**
+ * value: "CDF"
+ * @const
+ */
+ "CDF": "CDF",
+
+ /**
+ * value: "XAF"
+ * @const
+ */
+ "XAF": "XAF",
+
+ /**
+ * value: "HTG"
+ * @const
+ */
+ "HTG": "HTG",
+
+ /**
+ * value: "ILS"
+ * @const
+ */
+ "ILS": "ILS",
+
+ /**
+ * value: "HRK"
+ * @const
+ */
+ "HRK": "HRK",
+
+ /**
+ * value: "HUF"
+ * @const
+ */
+ "HUF": "HUF",
+
+ /**
+ * value: "AMD"
+ * @const
+ */
+ "AMD": "AMD",
+
+ /**
+ * value: "ISK"
+ * @const
+ */
+ "ISK": "ISK",
+
+ /**
+ * value: "JPY"
+ * @const
+ */
+ "JPY": "JPY",
+
+ /**
+ * value: "GEL"
+ * @const
+ */
+ "GEL": "GEL",
+
+ /**
+ * value: "KZT"
+ * @const
+ */
+ "KZT": "KZT",
+
+ /**
+ * value: "KHR"
+ * @const
+ */
+ "KHR": "KHR",
+
+ /**
+ * value: "KRW"
+ * @const
+ */
+ "KRW": "KRW",
+
+ /**
+ * value: "KGS"
+ * @const
+ */
+ "KGS": "KGS",
+
+ /**
+ * value: "LAK"
+ * @const
+ */
+ "LAK": "LAK",
+
+ /**
+ * value: "MKD"
+ * @const
+ */
+ "MKD": "MKD",
+
+ /**
+ * value: "MNT"
+ * @const
+ */
+ "MNT": "MNT",
+
+ /**
+ * value: "BND"
+ * @const
+ */
+ "BND": "BND",
+
+ /**
+ * value: "MMK"
+ * @const
+ */
+ "MMK": "MMK",
+
+ /**
+ * value: "NOK"
+ * @const
+ */
+ "NOK": "NOK",
+
+ /**
+ * value: "NPR"
+ * @const
+ */
+ "NPR": "NPR",
+
+ /**
+ * value: "PKR"
+ * @const
+ */
+ "PKR": "PKR",
+
+ /**
+ * value: "PLN"
+ * @const
+ */
+ "PLN": "PLN",
+
+ /**
+ * value: "AFN"
+ * @const
+ */
+ "AFN": "AFN",
+
+ /**
+ * value: "BRL"
+ * @const
+ */
+ "BRL": "BRL",
+
+ /**
+ * value: "MDL"
+ * @const
+ */
+ "MDL": "MDL",
+
+ /**
+ * value: "RON"
+ * @const
+ */
+ "RON": "RON",
+
+ /**
+ * value: "RWF"
+ * @const
+ */
+ "RWF": "RWF",
+
+ /**
+ * value: "SEK"
+ * @const
+ */
+ "SEK": "SEK",
+
+ /**
+ * value: "LKR"
+ * @const
+ */
+ "LKR": "LKR",
+
+ /**
+ * value: "SOS"
+ * @const
+ */
+ "SOS": "SOS",
+
+ /**
+ * value: "ALL"
+ * @const
+ */
+ "ALL": "ALL",
+
+ /**
+ * value: "RSD"
+ * @const
+ */
+ "RSD": "RSD",
+
+ /**
+ * value: "KES"
+ * @const
+ */
+ "KES": "KES",
+
+ /**
+ * value: "TJS"
+ * @const
+ */
+ "TJS": "TJS",
+
+ /**
+ * value: "THB"
+ * @const
+ */
+ "THB": "THB",
+
+ /**
+ * value: "ERN"
+ * @const
+ */
+ "ERN": "ERN",
+
+ /**
+ * value: "TMT"
+ * @const
+ */
+ "TMT": "TMT",
+
+ /**
+ * value: "BWP"
+ * @const
+ */
+ "BWP": "BWP",
+
+ /**
+ * value: "TRY"
+ * @const
+ */
+ "TRY": "TRY",
+
+ /**
+ * value: "UAH"
+ * @const
+ */
+ "UAH": "UAH",
+
+ /**
+ * value: "UZS"
+ * @const
+ */
+ "UZS": "UZS",
+
+ /**
+ * value: "VND"
+ * @const
+ */
+ "VND": "VND",
+
+ /**
+ * value: "MOP"
+ * @const
+ */
+ "MOP": "MOP",
+
+ /**
+ * value: "TWD"
+ * @const
+ */
+ "TWD": "TWD",
+
+ /**
+ * value: "BMD"
+ * @const
+ */
+ "BMD": "BMD"
+};
+
+
+/**
+ * Allowed values for the BusinessType property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountCreate['BusinessTypeEnum'] = {
+
+ /**
+ * value: "Individual"
+ * @const
+ */
+ "Individual": "Individual",
+
+ /**
+ * value: "Company"
+ * @const
+ */
+ "Company": "Company",
+
+ /**
+ * value: "NonProfit"
+ * @const
+ */
+ "NonProfit": "NonProfit",
+
+ /**
+ * value: "GovernmentEntity"
+ * @const
+ */
+ "GovernmentEntity": "GovernmentEntity"
+};
+
+
+
+export default BankAccountCreate;
+
diff --git a/src/model/BankAccountCreatedEvent.js b/src/model/BankAccountCreatedEvent.js
new file mode 100644
index 00000000..e98dfa9f
--- /dev/null
+++ b/src/model/BankAccountCreatedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import BankAccount from './BankAccount';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The BankAccountCreatedEvent model module.
+ * @module model/BankAccountCreatedEvent
+ * @version 1.0.0
+ */
+class BankAccountCreatedEvent {
+ /**
+ * Constructs a new BankAccountCreatedEvent.
+ *
+ * @alias module:model/BankAccountCreatedEvent
+ */
+ constructor() {
+
+ BankAccountCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/BankAccountCreatedEvent} The populated BankAccountCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountCreatedEvent();
+
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('BankAccount')) {
+ obj['BankAccount'] = BankAccount.constructFromObject(data['BankAccount']);
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+BankAccountCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * @member {module:model/BankAccount} BankAccount
+ */
+BankAccountCreatedEvent.prototype['BankAccount'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+BankAccountCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+BankAccountCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+BankAccountCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+BankAccountCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+BankAccountCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+BankAccountCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+BankAccountCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default BankAccountCreatedEvent;
+
diff --git a/src/model/BankAccountDeletedEvent.js b/src/model/BankAccountDeletedEvent.js
new file mode 100644
index 00000000..5e6cdbee
--- /dev/null
+++ b/src/model/BankAccountDeletedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import BankAccount from './BankAccount';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The BankAccountDeletedEvent model module.
+ * @module model/BankAccountDeletedEvent
+ * @version 1.0.0
+ */
+class BankAccountDeletedEvent {
+ /**
+ * Constructs a new BankAccountDeletedEvent.
+ *
+ * @alias module:model/BankAccountDeletedEvent
+ */
+ constructor() {
+
+ BankAccountDeletedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountDeletedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountDeletedEvent} obj Optional instance to populate.
+ * @return {module:model/BankAccountDeletedEvent} The populated BankAccountDeletedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountDeletedEvent();
+
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('BankAccount')) {
+ obj['BankAccount'] = BankAccount.constructFromObject(data['BankAccount']);
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+BankAccountDeletedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * @member {module:model/BankAccount} BankAccount
+ */
+BankAccountDeletedEvent.prototype['BankAccount'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+BankAccountDeletedEvent.prototype['User'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+BankAccountDeletedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+BankAccountDeletedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+BankAccountDeletedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+BankAccountDeletedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+BankAccountDeletedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+BankAccountDeletedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default BankAccountDeletedEvent;
+
diff --git a/src/model/BankAccountDetail.js b/src/model/BankAccountDetail.js
new file mode 100644
index 00000000..38d62e50
--- /dev/null
+++ b/src/model/BankAccountDetail.js
@@ -0,0 +1,989 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldKeyValuePair from './AccountFieldKeyValuePair';
+import StripeConnectedAccountInfo from './StripeConnectedAccountInfo';
+
+/**
+ * The BankAccountDetail model module.
+ * @module model/BankAccountDetail
+ * @version 1.0.0
+ */
+class BankAccountDetail {
+ /**
+ * Constructs a new BankAccountDetail.
+ *
+ * @alias module:model/BankAccountDetail
+ */
+ constructor() {
+
+ BankAccountDetail.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountDetail from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountDetail} obj Optional instance to populate.
+ * @return {module:model/BankAccountDetail} The populated BankAccountDetail instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountDetail();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'Number');
+ }
+ if (data.hasOwnProperty('StoreNames')) {
+ obj['StoreNames'] = ApiClient.convertToType(data['StoreNames'], ['String']);
+ }
+ if (data.hasOwnProperty('AccountState')) {
+ obj['AccountState'] = ApiClient.convertToType(data['AccountState'], 'String');
+ }
+ if (data.hasOwnProperty('StripeConnectedAccountInfo')) {
+ obj['StripeConnectedAccountInfo'] = StripeConnectedAccountInfo.constructFromObject(data['StripeConnectedAccountInfo']);
+ }
+ if (data.hasOwnProperty('BankAddress')) {
+ obj['BankAddress'] = ApiClient.convertToType(data['BankAddress'], 'String');
+ }
+ if (data.hasOwnProperty('BankCountryCode')) {
+ obj['BankCountryCode'] = ApiClient.convertToType(data['BankCountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderAddress')) {
+ obj['AccountHolderAddress'] = ApiClient.convertToType(data['AccountHolderAddress'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderCountryCode')) {
+ obj['AccountHolderCountryCode'] = ApiClient.convertToType(data['AccountHolderCountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('VatNumber')) {
+ obj['VatNumber'] = ApiClient.convertToType(data['VatNumber'], 'String');
+ }
+ if (data.hasOwnProperty('CurrencyCode')) {
+ obj['CurrencyCode'] = ApiClient.convertToType(data['CurrencyCode'], 'String');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('BankName')) {
+ obj['BankName'] = ApiClient.convertToType(data['BankName'], 'String');
+ }
+ if (data.hasOwnProperty('AccountName')) {
+ obj['AccountName'] = ApiClient.convertToType(data['AccountName'], 'String');
+ }
+ if (data.hasOwnProperty('Iban')) {
+ obj['Iban'] = ApiClient.convertToType(data['Iban'], 'String');
+ }
+ if (data.hasOwnProperty('Swift')) {
+ obj['Swift'] = ApiClient.convertToType(data['Swift'], 'String');
+ }
+ if (data.hasOwnProperty('NationalClearingCode')) {
+ obj['NationalClearingCode'] = ApiClient.convertToType(data['NationalClearingCode'], 'String');
+ }
+ if (data.hasOwnProperty('PopulatedAccountFields')) {
+ obj['PopulatedAccountFields'] = ApiClient.convertToType(data['PopulatedAccountFields'], [AccountFieldKeyValuePair]);
+ }
+ if (data.hasOwnProperty('RejectionReason')) {
+ obj['RejectionReason'] = ApiClient.convertToType(data['RejectionReason'], 'String');
+ }
+ if (data.hasOwnProperty('BusinessType')) {
+ obj['BusinessType'] = ApiClient.convertToType(data['BusinessType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Id of this account
+ * @member {Number} Id
+ */
+BankAccountDetail.prototype['Id'] = undefined;
+
+/**
+ * Store Names that are attached to this account
+ * @member {Array.} StoreNames
+ */
+BankAccountDetail.prototype['StoreNames'] = undefined;
+
+/**
+ * Status of Account
+ * @member {module:model/BankAccountDetail.AccountStateEnum} AccountState
+ */
+BankAccountDetail.prototype['AccountState'] = undefined;
+
+/**
+ * @member {module:model/StripeConnectedAccountInfo} StripeConnectedAccountInfo
+ */
+BankAccountDetail.prototype['StripeConnectedAccountInfo'] = undefined;
+
+/**
+ * Address lf the bank
+ * @member {String} BankAddress
+ */
+BankAccountDetail.prototype['BankAddress'] = undefined;
+
+/**
+ * CountryCode of the Bank Account
+ * @member {String} BankCountryCode
+ */
+BankAccountDetail.prototype['BankCountryCode'] = undefined;
+
+/**
+ * Account Holders Address
+ * @member {String} AccountHolderAddress
+ */
+BankAccountDetail.prototype['AccountHolderAddress'] = undefined;
+
+/**
+ * Account Holders Country Code
+ * @member {String} AccountHolderCountryCode
+ */
+BankAccountDetail.prototype['AccountHolderCountryCode'] = undefined;
+
+/**
+ * Account Holders Vat Number
+ * @member {String} VatNumber
+ */
+BankAccountDetail.prototype['VatNumber'] = undefined;
+
+/**
+ * Currency of Account
+ * @member {module:model/BankAccountDetail.CurrencyCodeEnum} CurrencyCode
+ */
+BankAccountDetail.prototype['CurrencyCode'] = undefined;
+
+/**
+ * List of stores to attach to Account
+ * @member {Array.} StoreIds
+ */
+BankAccountDetail.prototype['StoreIds'] = undefined;
+
+/**
+ * Name of Bank
+ * @member {String} BankName
+ */
+BankAccountDetail.prototype['BankName'] = undefined;
+
+/**
+ * Name of this account
+ * @member {String} AccountName
+ */
+BankAccountDetail.prototype['AccountName'] = undefined;
+
+/**
+ * IBAN of this account
+ * @member {String} Iban
+ */
+BankAccountDetail.prototype['Iban'] = undefined;
+
+/**
+ * SWIFT of this bank account
+ * @member {String} Swift
+ */
+BankAccountDetail.prototype['Swift'] = undefined;
+
+/**
+ * National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ)
+ * @member {String} NationalClearingCode
+ */
+BankAccountDetail.prototype['NationalClearingCode'] = undefined;
+
+/**
+ * A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored.
+ * @member {Array.} PopulatedAccountFields
+ */
+BankAccountDetail.prototype['PopulatedAccountFields'] = undefined;
+
+/**
+ * Reason for Rejection
+ * @member {String} RejectionReason
+ */
+BankAccountDetail.prototype['RejectionReason'] = undefined;
+
+/**
+ * Business Type
+ * @member {module:model/BankAccountDetail.BusinessTypeEnum} BusinessType
+ */
+BankAccountDetail.prototype['BusinessType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the AccountState property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountDetail['AccountStateEnum'] = {
+
+ /**
+ * value: "Unverified"
+ * @const
+ */
+ "Unverified": "Unverified",
+
+ /**
+ * value: "AwatingVerification"
+ * @const
+ */
+ "AwatingVerification": "AwatingVerification",
+
+ /**
+ * value: "Verified"
+ * @const
+ */
+ "Verified": "Verified",
+
+ /**
+ * value: "Grandfathered"
+ * @const
+ */
+ "Grandfathered": "Grandfathered"
+};
+
+
+/**
+ * Allowed values for the CurrencyCode property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountDetail['CurrencyCodeEnum'] = {
+
+ /**
+ * value: "EUR"
+ * @const
+ */
+ "EUR": "EUR",
+
+ /**
+ * value: "USD"
+ * @const
+ */
+ "USD": "USD",
+
+ /**
+ * value: "GBP"
+ * @const
+ */
+ "GBP": "GBP",
+
+ /**
+ * value: "CAD"
+ * @const
+ */
+ "CAD": "CAD",
+
+ /**
+ * value: "AUD"
+ * @const
+ */
+ "AUD": "AUD",
+
+ /**
+ * value: "DJF"
+ * @const
+ */
+ "DJF": "DJF",
+
+ /**
+ * value: "ZAR"
+ * @const
+ */
+ "ZAR": "ZAR",
+
+ /**
+ * value: "ETB"
+ * @const
+ */
+ "ETB": "ETB",
+
+ /**
+ * value: "AED"
+ * @const
+ */
+ "AED": "AED",
+
+ /**
+ * value: "BHD"
+ * @const
+ */
+ "BHD": "BHD",
+
+ /**
+ * value: "DZD"
+ * @const
+ */
+ "DZD": "DZD",
+
+ /**
+ * value: "EGP"
+ * @const
+ */
+ "EGP": "EGP",
+
+ /**
+ * value: "IQD"
+ * @const
+ */
+ "IQD": "IQD",
+
+ /**
+ * value: "JOD"
+ * @const
+ */
+ "JOD": "JOD",
+
+ /**
+ * value: "KWD"
+ * @const
+ */
+ "KWD": "KWD",
+
+ /**
+ * value: "LBP"
+ * @const
+ */
+ "LBP": "LBP",
+
+ /**
+ * value: "LYD"
+ * @const
+ */
+ "LYD": "LYD",
+
+ /**
+ * value: "MAD"
+ * @const
+ */
+ "MAD": "MAD",
+
+ /**
+ * value: "OMR"
+ * @const
+ */
+ "OMR": "OMR",
+
+ /**
+ * value: "QAR"
+ * @const
+ */
+ "QAR": "QAR",
+
+ /**
+ * value: "SAR"
+ * @const
+ */
+ "SAR": "SAR",
+
+ /**
+ * value: "SYP"
+ * @const
+ */
+ "SYP": "SYP",
+
+ /**
+ * value: "TND"
+ * @const
+ */
+ "TND": "TND",
+
+ /**
+ * value: "YER"
+ * @const
+ */
+ "YER": "YER",
+
+ /**
+ * value: "CLP"
+ * @const
+ */
+ "CLP": "CLP",
+
+ /**
+ * value: "INR"
+ * @const
+ */
+ "INR": "INR",
+
+ /**
+ * value: "AZN"
+ * @const
+ */
+ "AZN": "AZN",
+
+ /**
+ * value: "RUB"
+ * @const
+ */
+ "RUB": "RUB",
+
+ /**
+ * value: "BYN"
+ * @const
+ */
+ "BYN": "BYN",
+
+ /**
+ * value: "BGN"
+ * @const
+ */
+ "BGN": "BGN",
+
+ /**
+ * value: "NGN"
+ * @const
+ */
+ "NGN": "NGN",
+
+ /**
+ * value: "BDT"
+ * @const
+ */
+ "BDT": "BDT",
+
+ /**
+ * value: "CNY"
+ * @const
+ */
+ "CNY": "CNY",
+
+ /**
+ * value: "BAM"
+ * @const
+ */
+ "BAM": "BAM",
+
+ /**
+ * value: "CZK"
+ * @const
+ */
+ "CZK": "CZK",
+
+ /**
+ * value: "DKK"
+ * @const
+ */
+ "DKK": "DKK",
+
+ /**
+ * value: "CHF"
+ * @const
+ */
+ "CHF": "CHF",
+
+ /**
+ * value: "MVR"
+ * @const
+ */
+ "MVR": "MVR",
+
+ /**
+ * value: "BTN"
+ * @const
+ */
+ "BTN": "BTN",
+
+ /**
+ * value: "XCD"
+ * @const
+ */
+ "XCD": "XCD",
+
+ /**
+ * value: "BZD"
+ * @const
+ */
+ "BZD": "BZD",
+
+ /**
+ * value: "HKD"
+ * @const
+ */
+ "HKD": "HKD",
+
+ /**
+ * value: "IDR"
+ * @const
+ */
+ "IDR": "IDR",
+
+ /**
+ * value: "JMD"
+ * @const
+ */
+ "JMD": "JMD",
+
+ /**
+ * value: "MYR"
+ * @const
+ */
+ "MYR": "MYR",
+
+ /**
+ * value: "NZD"
+ * @const
+ */
+ "NZD": "NZD",
+
+ /**
+ * value: "PHP"
+ * @const
+ */
+ "PHP": "PHP",
+
+ /**
+ * value: "SGD"
+ * @const
+ */
+ "SGD": "SGD",
+
+ /**
+ * value: "TTD"
+ * @const
+ */
+ "TTD": "TTD",
+
+ /**
+ * value: "XDR"
+ * @const
+ */
+ "XDR": "XDR",
+
+ /**
+ * value: "ARS"
+ * @const
+ */
+ "ARS": "ARS",
+
+ /**
+ * value: "BOB"
+ * @const
+ */
+ "BOB": "BOB",
+
+ /**
+ * value: "COP"
+ * @const
+ */
+ "COP": "COP",
+
+ /**
+ * value: "CRC"
+ * @const
+ */
+ "CRC": "CRC",
+
+ /**
+ * value: "CUP"
+ * @const
+ */
+ "CUP": "CUP",
+
+ /**
+ * value: "DOP"
+ * @const
+ */
+ "DOP": "DOP",
+
+ /**
+ * value: "GTQ"
+ * @const
+ */
+ "GTQ": "GTQ",
+
+ /**
+ * value: "HNL"
+ * @const
+ */
+ "HNL": "HNL",
+
+ /**
+ * value: "MXN"
+ * @const
+ */
+ "MXN": "MXN",
+
+ /**
+ * value: "NIO"
+ * @const
+ */
+ "NIO": "NIO",
+
+ /**
+ * value: "PAB"
+ * @const
+ */
+ "PAB": "PAB",
+
+ /**
+ * value: "PEN"
+ * @const
+ */
+ "PEN": "PEN",
+
+ /**
+ * value: "PYG"
+ * @const
+ */
+ "PYG": "PYG",
+
+ /**
+ * value: "UYU"
+ * @const
+ */
+ "UYU": "UYU",
+
+ /**
+ * value: "VEF"
+ * @const
+ */
+ "VEF": "VEF",
+
+ /**
+ * value: "IRR"
+ * @const
+ */
+ "IRR": "IRR",
+
+ /**
+ * value: "XOF"
+ * @const
+ */
+ "XOF": "XOF",
+
+ /**
+ * value: "CDF"
+ * @const
+ */
+ "CDF": "CDF",
+
+ /**
+ * value: "XAF"
+ * @const
+ */
+ "XAF": "XAF",
+
+ /**
+ * value: "HTG"
+ * @const
+ */
+ "HTG": "HTG",
+
+ /**
+ * value: "ILS"
+ * @const
+ */
+ "ILS": "ILS",
+
+ /**
+ * value: "HRK"
+ * @const
+ */
+ "HRK": "HRK",
+
+ /**
+ * value: "HUF"
+ * @const
+ */
+ "HUF": "HUF",
+
+ /**
+ * value: "AMD"
+ * @const
+ */
+ "AMD": "AMD",
+
+ /**
+ * value: "ISK"
+ * @const
+ */
+ "ISK": "ISK",
+
+ /**
+ * value: "JPY"
+ * @const
+ */
+ "JPY": "JPY",
+
+ /**
+ * value: "GEL"
+ * @const
+ */
+ "GEL": "GEL",
+
+ /**
+ * value: "KZT"
+ * @const
+ */
+ "KZT": "KZT",
+
+ /**
+ * value: "KHR"
+ * @const
+ */
+ "KHR": "KHR",
+
+ /**
+ * value: "KRW"
+ * @const
+ */
+ "KRW": "KRW",
+
+ /**
+ * value: "KGS"
+ * @const
+ */
+ "KGS": "KGS",
+
+ /**
+ * value: "LAK"
+ * @const
+ */
+ "LAK": "LAK",
+
+ /**
+ * value: "MKD"
+ * @const
+ */
+ "MKD": "MKD",
+
+ /**
+ * value: "MNT"
+ * @const
+ */
+ "MNT": "MNT",
+
+ /**
+ * value: "BND"
+ * @const
+ */
+ "BND": "BND",
+
+ /**
+ * value: "MMK"
+ * @const
+ */
+ "MMK": "MMK",
+
+ /**
+ * value: "NOK"
+ * @const
+ */
+ "NOK": "NOK",
+
+ /**
+ * value: "NPR"
+ * @const
+ */
+ "NPR": "NPR",
+
+ /**
+ * value: "PKR"
+ * @const
+ */
+ "PKR": "PKR",
+
+ /**
+ * value: "PLN"
+ * @const
+ */
+ "PLN": "PLN",
+
+ /**
+ * value: "AFN"
+ * @const
+ */
+ "AFN": "AFN",
+
+ /**
+ * value: "BRL"
+ * @const
+ */
+ "BRL": "BRL",
+
+ /**
+ * value: "MDL"
+ * @const
+ */
+ "MDL": "MDL",
+
+ /**
+ * value: "RON"
+ * @const
+ */
+ "RON": "RON",
+
+ /**
+ * value: "RWF"
+ * @const
+ */
+ "RWF": "RWF",
+
+ /**
+ * value: "SEK"
+ * @const
+ */
+ "SEK": "SEK",
+
+ /**
+ * value: "LKR"
+ * @const
+ */
+ "LKR": "LKR",
+
+ /**
+ * value: "SOS"
+ * @const
+ */
+ "SOS": "SOS",
+
+ /**
+ * value: "ALL"
+ * @const
+ */
+ "ALL": "ALL",
+
+ /**
+ * value: "RSD"
+ * @const
+ */
+ "RSD": "RSD",
+
+ /**
+ * value: "KES"
+ * @const
+ */
+ "KES": "KES",
+
+ /**
+ * value: "TJS"
+ * @const
+ */
+ "TJS": "TJS",
+
+ /**
+ * value: "THB"
+ * @const
+ */
+ "THB": "THB",
+
+ /**
+ * value: "ERN"
+ * @const
+ */
+ "ERN": "ERN",
+
+ /**
+ * value: "TMT"
+ * @const
+ */
+ "TMT": "TMT",
+
+ /**
+ * value: "BWP"
+ * @const
+ */
+ "BWP": "BWP",
+
+ /**
+ * value: "TRY"
+ * @const
+ */
+ "TRY": "TRY",
+
+ /**
+ * value: "UAH"
+ * @const
+ */
+ "UAH": "UAH",
+
+ /**
+ * value: "UZS"
+ * @const
+ */
+ "UZS": "UZS",
+
+ /**
+ * value: "VND"
+ * @const
+ */
+ "VND": "VND",
+
+ /**
+ * value: "MOP"
+ * @const
+ */
+ "MOP": "MOP",
+
+ /**
+ * value: "TWD"
+ * @const
+ */
+ "TWD": "TWD",
+
+ /**
+ * value: "BMD"
+ * @const
+ */
+ "BMD": "BMD"
+};
+
+
+/**
+ * Allowed values for the BusinessType property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountDetail['BusinessTypeEnum'] = {
+
+ /**
+ * value: "Individual"
+ * @const
+ */
+ "Individual": "Individual",
+
+ /**
+ * value: "Company"
+ * @const
+ */
+ "Company": "Company",
+
+ /**
+ * value: "NonProfit"
+ * @const
+ */
+ "NonProfit": "NonProfit",
+
+ /**
+ * value: "GovernmentEntity"
+ * @const
+ */
+ "GovernmentEntity": "GovernmentEntity"
+};
+
+
+
+export default BankAccountDetail;
+
diff --git a/src/model/BankAccountDetailsUpdateRequest.js b/src/model/BankAccountDetailsUpdateRequest.js
new file mode 100644
index 00000000..423dc514
--- /dev/null
+++ b/src/model/BankAccountDetailsUpdateRequest.js
@@ -0,0 +1,206 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldKeyValuePair from './AccountFieldKeyValuePair';
+
+/**
+ * The BankAccountDetailsUpdateRequest model module.
+ * @module model/BankAccountDetailsUpdateRequest
+ * @version 1.0.0
+ */
+class BankAccountDetailsUpdateRequest {
+ /**
+ * Constructs a new BankAccountDetailsUpdateRequest.
+ * Represents a request to update bank account information details
+ * @alias module:model/BankAccountDetailsUpdateRequest
+ */
+ constructor() {
+
+ BankAccountDetailsUpdateRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountDetailsUpdateRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountDetailsUpdateRequest} obj Optional instance to populate.
+ * @return {module:model/BankAccountDetailsUpdateRequest} The populated BankAccountDetailsUpdateRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountDetailsUpdateRequest();
+
+ if (data.hasOwnProperty('BankAddress')) {
+ obj['BankAddress'] = ApiClient.convertToType(data['BankAddress'], 'String');
+ }
+ if (data.hasOwnProperty('AccountHolderAddress')) {
+ obj['AccountHolderAddress'] = ApiClient.convertToType(data['AccountHolderAddress'], 'String');
+ }
+ if (data.hasOwnProperty('VatNumber')) {
+ obj['VatNumber'] = ApiClient.convertToType(data['VatNumber'], 'String');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('BankName')) {
+ obj['BankName'] = ApiClient.convertToType(data['BankName'], 'String');
+ }
+ if (data.hasOwnProperty('AccountName')) {
+ obj['AccountName'] = ApiClient.convertToType(data['AccountName'], 'String');
+ }
+ if (data.hasOwnProperty('Iban')) {
+ obj['Iban'] = ApiClient.convertToType(data['Iban'], 'String');
+ }
+ if (data.hasOwnProperty('Swift')) {
+ obj['Swift'] = ApiClient.convertToType(data['Swift'], 'String');
+ }
+ if (data.hasOwnProperty('NationalClearingCode')) {
+ obj['NationalClearingCode'] = ApiClient.convertToType(data['NationalClearingCode'], 'String');
+ }
+ if (data.hasOwnProperty('PopulatedAccountFields')) {
+ obj['PopulatedAccountFields'] = ApiClient.convertToType(data['PopulatedAccountFields'], [AccountFieldKeyValuePair]);
+ }
+ if (data.hasOwnProperty('RejectionReason')) {
+ obj['RejectionReason'] = ApiClient.convertToType(data['RejectionReason'], 'String');
+ }
+ if (data.hasOwnProperty('BusinessType')) {
+ obj['BusinessType'] = ApiClient.convertToType(data['BusinessType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Address of the bank account
+ * @member {String} BankAddress
+ */
+BankAccountDetailsUpdateRequest.prototype['BankAddress'] = undefined;
+
+/**
+ * Address of the payee
+ * @member {String} AccountHolderAddress
+ */
+BankAccountDetailsUpdateRequest.prototype['AccountHolderAddress'] = undefined;
+
+/**
+ * Account Holders Vat Number
+ * @member {String} VatNumber
+ */
+BankAccountDetailsUpdateRequest.prototype['VatNumber'] = undefined;
+
+/**
+ * List of stores to attach to Account
+ * @member {Array.} StoreIds
+ */
+BankAccountDetailsUpdateRequest.prototype['StoreIds'] = undefined;
+
+/**
+ * Name of Bank
+ * @member {String} BankName
+ */
+BankAccountDetailsUpdateRequest.prototype['BankName'] = undefined;
+
+/**
+ * Name of this account
+ * @member {String} AccountName
+ */
+BankAccountDetailsUpdateRequest.prototype['AccountName'] = undefined;
+
+/**
+ * IBAN of this account
+ * @member {String} Iban
+ */
+BankAccountDetailsUpdateRequest.prototype['Iban'] = undefined;
+
+/**
+ * SWIFT of this bank account
+ * @member {String} Swift
+ */
+BankAccountDetailsUpdateRequest.prototype['Swift'] = undefined;
+
+/**
+ * National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ)
+ * @member {String} NationalClearingCode
+ */
+BankAccountDetailsUpdateRequest.prototype['NationalClearingCode'] = undefined;
+
+/**
+ * A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored.
+ * @member {Array.} PopulatedAccountFields
+ */
+BankAccountDetailsUpdateRequest.prototype['PopulatedAccountFields'] = undefined;
+
+/**
+ * Reason for Rejection
+ * @member {String} RejectionReason
+ */
+BankAccountDetailsUpdateRequest.prototype['RejectionReason'] = undefined;
+
+/**
+ * Business Type
+ * @member {module:model/BankAccountDetailsUpdateRequest.BusinessTypeEnum} BusinessType
+ */
+BankAccountDetailsUpdateRequest.prototype['BusinessType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the BusinessType property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountDetailsUpdateRequest['BusinessTypeEnum'] = {
+
+ /**
+ * value: "Individual"
+ * @const
+ */
+ "Individual": "Individual",
+
+ /**
+ * value: "Company"
+ * @const
+ */
+ "Company": "Company",
+
+ /**
+ * value: "NonProfit"
+ * @const
+ */
+ "NonProfit": "NonProfit",
+
+ /**
+ * value: "GovernmentEntity"
+ * @const
+ */
+ "GovernmentEntity": "GovernmentEntity"
+};
+
+
+
+export default BankAccountDetailsUpdateRequest;
+
diff --git a/src/model/BankAccountSummary.js b/src/model/BankAccountSummary.js
new file mode 100644
index 00000000..0f974eb0
--- /dev/null
+++ b/src/model/BankAccountSummary.js
@@ -0,0 +1,248 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldKeyValuePair from './AccountFieldKeyValuePair';
+import StripeConnectedAccountInfo from './StripeConnectedAccountInfo';
+
+/**
+ * The BankAccountSummary model module.
+ * @module model/BankAccountSummary
+ * @version 1.0.0
+ */
+class BankAccountSummary {
+ /**
+ * Constructs a new BankAccountSummary.
+ *
+ * @alias module:model/BankAccountSummary
+ */
+ constructor() {
+
+ BankAccountSummary.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountSummary} obj Optional instance to populate.
+ * @return {module:model/BankAccountSummary} The populated BankAccountSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountSummary();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'Number');
+ }
+ if (data.hasOwnProperty('StoreNames')) {
+ obj['StoreNames'] = ApiClient.convertToType(data['StoreNames'], ['String']);
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('AccountState')) {
+ obj['AccountState'] = ApiClient.convertToType(data['AccountState'], 'String');
+ }
+ if (data.hasOwnProperty('CurrencyCode')) {
+ obj['CurrencyCode'] = ApiClient.convertToType(data['CurrencyCode'], 'String');
+ }
+ if (data.hasOwnProperty('StripeConnectedAccountInfo')) {
+ obj['StripeConnectedAccountInfo'] = StripeConnectedAccountInfo.constructFromObject(data['StripeConnectedAccountInfo']);
+ }
+ if (data.hasOwnProperty('AccountName')) {
+ obj['AccountName'] = ApiClient.convertToType(data['AccountName'], 'String');
+ }
+ if (data.hasOwnProperty('Iban')) {
+ obj['Iban'] = ApiClient.convertToType(data['Iban'], 'String');
+ }
+ if (data.hasOwnProperty('Swift')) {
+ obj['Swift'] = ApiClient.convertToType(data['Swift'], 'String');
+ }
+ if (data.hasOwnProperty('NationalClearingCode')) {
+ obj['NationalClearingCode'] = ApiClient.convertToType(data['NationalClearingCode'], 'String');
+ }
+ if (data.hasOwnProperty('PopulatedAccountFields')) {
+ obj['PopulatedAccountFields'] = ApiClient.convertToType(data['PopulatedAccountFields'], [AccountFieldKeyValuePair]);
+ }
+ if (data.hasOwnProperty('RejectionReason')) {
+ obj['RejectionReason'] = ApiClient.convertToType(data['RejectionReason'], 'String');
+ }
+ if (data.hasOwnProperty('BusinessType')) {
+ obj['BusinessType'] = ApiClient.convertToType(data['BusinessType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Id of this account
+ * @member {Number} Id
+ */
+BankAccountSummary.prototype['Id'] = undefined;
+
+/**
+ * Store Names that are attached to this account
+ * @member {Array.} StoreNames
+ */
+BankAccountSummary.prototype['StoreNames'] = undefined;
+
+/**
+ * Store Ids that are attached to this account
+ * @member {Array.} StoreIds
+ */
+BankAccountSummary.prototype['StoreIds'] = undefined;
+
+/**
+ * Status of Account
+ * @member {module:model/BankAccountSummary.AccountStateEnum} AccountState
+ */
+BankAccountSummary.prototype['AccountState'] = undefined;
+
+/**
+ * Currency of Account
+ * @member {String} CurrencyCode
+ */
+BankAccountSummary.prototype['CurrencyCode'] = undefined;
+
+/**
+ * @member {module:model/StripeConnectedAccountInfo} StripeConnectedAccountInfo
+ */
+BankAccountSummary.prototype['StripeConnectedAccountInfo'] = undefined;
+
+/**
+ * Name of this account
+ * @member {String} AccountName
+ */
+BankAccountSummary.prototype['AccountName'] = undefined;
+
+/**
+ * IBAN of this account
+ * @member {String} Iban
+ */
+BankAccountSummary.prototype['Iban'] = undefined;
+
+/**
+ * SWIFT of this bank account
+ * @member {String} Swift
+ */
+BankAccountSummary.prototype['Swift'] = undefined;
+
+/**
+ * National Clearing Code (BSB in Australia, Routing Number in USA/Canada, NCC in NZ)
+ * @member {String} NationalClearingCode
+ */
+BankAccountSummary.prototype['NationalClearingCode'] = undefined;
+
+/**
+ * A list of one or more populated account fields (field key-value pairs). If this list contains at least one item, the Iban, Swift and NationalClearingCode fields will be ignored.
+ * @member {Array.} PopulatedAccountFields
+ */
+BankAccountSummary.prototype['PopulatedAccountFields'] = undefined;
+
+/**
+ * Reason for Rejection
+ * @member {String} RejectionReason
+ */
+BankAccountSummary.prototype['RejectionReason'] = undefined;
+
+/**
+ * Business Type
+ * @member {module:model/BankAccountSummary.BusinessTypeEnum} BusinessType
+ */
+BankAccountSummary.prototype['BusinessType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the AccountState property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountSummary['AccountStateEnum'] = {
+
+ /**
+ * value: "Unverified"
+ * @const
+ */
+ "Unverified": "Unverified",
+
+ /**
+ * value: "AwatingVerification"
+ * @const
+ */
+ "AwatingVerification": "AwatingVerification",
+
+ /**
+ * value: "Verified"
+ * @const
+ */
+ "Verified": "Verified",
+
+ /**
+ * value: "Grandfathered"
+ * @const
+ */
+ "Grandfathered": "Grandfathered"
+};
+
+
+/**
+ * Allowed values for the BusinessType property.
+ * @enum {String}
+ * @readonly
+ */
+BankAccountSummary['BusinessTypeEnum'] = {
+
+ /**
+ * value: "Individual"
+ * @const
+ */
+ "Individual": "Individual",
+
+ /**
+ * value: "Company"
+ * @const
+ */
+ "Company": "Company",
+
+ /**
+ * value: "NonProfit"
+ * @const
+ */
+ "NonProfit": "NonProfit",
+
+ /**
+ * value: "GovernmentEntity"
+ * @const
+ */
+ "GovernmentEntity": "GovernmentEntity"
+};
+
+
+
+export default BankAccountSummary;
+
diff --git a/src/model/BankAccountUpdatedEvent.js b/src/model/BankAccountUpdatedEvent.js
new file mode 100644
index 00000000..1d020cce
--- /dev/null
+++ b/src/model/BankAccountUpdatedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import BankAccount from './BankAccount';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The BankAccountUpdatedEvent model module.
+ * @module model/BankAccountUpdatedEvent
+ * @version 1.0.0
+ */
+class BankAccountUpdatedEvent {
+ /**
+ * Constructs a new BankAccountUpdatedEvent.
+ *
+ * @alias module:model/BankAccountUpdatedEvent
+ */
+ constructor() {
+
+ BankAccountUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BankAccountUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BankAccountUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/BankAccountUpdatedEvent} The populated BankAccountUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BankAccountUpdatedEvent();
+
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('BankAccount')) {
+ obj['BankAccount'] = BankAccount.constructFromObject(data['BankAccount']);
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+BankAccountUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * @member {module:model/BankAccount} BankAccount
+ */
+BankAccountUpdatedEvent.prototype['BankAccount'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+BankAccountUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+BankAccountUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+BankAccountUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+BankAccountUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+BankAccountUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+BankAccountUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+BankAccountUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default BankAccountUpdatedEvent;
+
diff --git a/src/model/BluetoothTerminalStatus.js b/src/model/BluetoothTerminalStatus.js
new file mode 100644
index 00000000..ad05ea81
--- /dev/null
+++ b/src/model/BluetoothTerminalStatus.js
@@ -0,0 +1,205 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The BluetoothTerminalStatus model module.
+ * @module model/BluetoothTerminalStatus
+ * @version 1.0.0
+ */
+class BluetoothTerminalStatus {
+ /**
+ * Constructs a new BluetoothTerminalStatus.
+ * Status of the bluetooth terminal
+ * @alias module:model/BluetoothTerminalStatus
+ */
+ constructor() {
+
+ BluetoothTerminalStatus.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BluetoothTerminalStatus from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BluetoothTerminalStatus} obj Optional instance to populate.
+ * @return {module:model/BluetoothTerminalStatus} The populated BluetoothTerminalStatus instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BluetoothTerminalStatus();
+
+ if (data.hasOwnProperty('SerialNumber')) {
+ obj['SerialNumber'] = ApiClient.convertToType(data['SerialNumber'], 'String');
+ }
+ if (data.hasOwnProperty('SoftwareVersion')) {
+ obj['SoftwareVersion'] = ApiClient.convertToType(data['SoftwareVersion'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceType')) {
+ obj['DeviceType'] = ApiClient.convertToType(data['DeviceType'], 'String');
+ }
+ if (data.hasOwnProperty('Status')) {
+ obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
+ }
+ if (data.hasOwnProperty('BatteryLevel')) {
+ obj['BatteryLevel'] = ApiClient.convertToType(data['BatteryLevel'], 'Number');
+ }
+ if (data.hasOwnProperty('UpdateTime')) {
+ obj['UpdateTime'] = ApiClient.convertToType(data['UpdateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('ReaderId')) {
+ obj['ReaderId'] = ApiClient.convertToType(data['ReaderId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Serial Number
+ * @member {String} SerialNumber
+ */
+BluetoothTerminalStatus.prototype['SerialNumber'] = undefined;
+
+/**
+ * Software Version
+ * @member {String} SoftwareVersion
+ */
+BluetoothTerminalStatus.prototype['SoftwareVersion'] = undefined;
+
+/**
+ * Device Type
+ * @member {module:model/BluetoothTerminalStatus.DeviceTypeEnum} DeviceType
+ */
+BluetoothTerminalStatus.prototype['DeviceType'] = undefined;
+
+/**
+ * Device Status
+ * @member {module:model/BluetoothTerminalStatus.StatusEnum} Status
+ */
+BluetoothTerminalStatus.prototype['Status'] = undefined;
+
+/**
+ * Indication of the battery level from 0 to 1
+ * @member {Number} BatteryLevel
+ */
+BluetoothTerminalStatus.prototype['BatteryLevel'] = undefined;
+
+/**
+ * Last time the status was updated
+ * @member {Date} UpdateTime
+ */
+BluetoothTerminalStatus.prototype['UpdateTime'] = undefined;
+
+/**
+ * ReaderId for Stripe Terminal
+ * @member {String} ReaderId
+ */
+BluetoothTerminalStatus.prototype['ReaderId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the DeviceType property.
+ * @enum {String}
+ * @readonly
+ */
+BluetoothTerminalStatus['DeviceTypeEnum'] = {
+
+ /**
+ * value: "CHIPPER_2X"
+ * @const
+ */
+ "CHIPPER_2X": "CHIPPER_2X",
+
+ /**
+ * value: "COTS_DEVICE"
+ * @const
+ */
+ "COTS_DEVICE": "COTS_DEVICE",
+
+ /**
+ * value: "VERIFONE_P400"
+ * @const
+ */
+ "VERIFONE_P400": "VERIFONE_P400",
+
+ /**
+ * value: "WISEPAD_3"
+ * @const
+ */
+ "WISEPAD_3": "WISEPAD_3",
+
+ /**
+ * value: "WISEPOS_E"
+ * @const
+ */
+ "WISEPOS_E": "WISEPOS_E"
+};
+
+
+/**
+ * Allowed values for the Status property.
+ * @enum {String}
+ * @readonly
+ */
+BluetoothTerminalStatus['StatusEnum'] = {
+
+ /**
+ * value: "Not_Connected"
+ * @const
+ */
+ "Not_Connected": "Not_Connected",
+
+ /**
+ * value: "Connecting"
+ * @const
+ */
+ "Connecting": "Connecting",
+
+ /**
+ * value: "Connected"
+ * @const
+ */
+ "Connected": "Connected",
+
+ /**
+ * value: "Online"
+ * @const
+ */
+ "Online": "Online",
+
+ /**
+ * value: "Offline"
+ * @const
+ */
+ "Offline": "Offline"
+};
+
+
+
+export default BluetoothTerminalStatus;
+
diff --git a/src/model/BusinessHoursOverride.js b/src/model/BusinessHoursOverride.js
new file mode 100644
index 00000000..c9482fcf
--- /dev/null
+++ b/src/model/BusinessHoursOverride.js
@@ -0,0 +1,161 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The BusinessHoursOverride model module.
+ * @module model/BusinessHoursOverride
+ * @version 1.0.0
+ */
+class BusinessHoursOverride {
+ /**
+ * Constructs a new BusinessHoursOverride.
+ *
+ * @alias module:model/BusinessHoursOverride
+ * @param StartTime {Date} Date and time in ISO 8601 format.
+ * @param EndTime {Date} Date and time in ISO 8601 format.
+ */
+ constructor(StartTime, EndTime) {
+
+ BusinessHoursOverride.initialize(this, StartTime, EndTime);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, StartTime, EndTime) {
+ obj['StartTime'] = StartTime;
+ obj['EndTime'] = EndTime;
+ }
+
+ /**
+ * Constructs a BusinessHoursOverride from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BusinessHoursOverride} obj Optional instance to populate.
+ * @return {module:model/BusinessHoursOverride} The populated BusinessHoursOverride instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BusinessHoursOverride();
+
+ if (data.hasOwnProperty('BusinessHoursOverrideId')) {
+ obj['BusinessHoursOverrideId'] = ApiClient.convertToType(data['BusinessHoursOverrideId'], 'Number');
+ }
+ if (data.hasOwnProperty('DeliveryType')) {
+ obj['DeliveryType'] = ApiClient.convertToType(data['DeliveryType'], 'String');
+ }
+ if (data.hasOwnProperty('StartTime')) {
+ obj['StartTime'] = ApiClient.convertToType(data['StartTime'], 'Date');
+ }
+ if (data.hasOwnProperty('EndTime')) {
+ obj['EndTime'] = ApiClient.convertToType(data['EndTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Type')) {
+ obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Unique identifier
+ * @member {Number} BusinessHoursOverrideId
+ */
+BusinessHoursOverride.prototype['BusinessHoursOverrideId'] = undefined;
+
+/**
+ * Delivery or Pickup
+ * @member {module:model/BusinessHoursOverride.DeliveryTypeEnum} DeliveryType
+ */
+BusinessHoursOverride.prototype['DeliveryType'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} StartTime
+ */
+BusinessHoursOverride.prototype['StartTime'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} EndTime
+ */
+BusinessHoursOverride.prototype['EndTime'] = undefined;
+
+/**
+ * Open, Closed or ClosedAllowPreOrders
+ * @member {module:model/BusinessHoursOverride.TypeEnum} Type
+ */
+BusinessHoursOverride.prototype['Type'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the DeliveryType property.
+ * @enum {String}
+ * @readonly
+ */
+BusinessHoursOverride['DeliveryTypeEnum'] = {
+
+ /**
+ * value: "Delivery"
+ * @const
+ */
+ "Delivery": "Delivery",
+
+ /**
+ * value: "Pickup"
+ * @const
+ */
+ "Pickup": "Pickup"
+};
+
+
+/**
+ * Allowed values for the Type property.
+ * @enum {String}
+ * @readonly
+ */
+BusinessHoursOverride['TypeEnum'] = {
+
+ /**
+ * value: "Open"
+ * @const
+ */
+ "Open": "Open",
+
+ /**
+ * value: "Closed"
+ * @const
+ */
+ "Closed": "Closed",
+
+ /**
+ * value: "ClosedAllowPreOrders"
+ * @const
+ */
+ "ClosedAllowPreOrders": "ClosedAllowPreOrders"
+};
+
+
+
+export default BusinessHoursOverride;
+
diff --git a/src/model/BusinessHoursOverrideBase.js b/src/model/BusinessHoursOverrideBase.js
new file mode 100644
index 00000000..25e9dca3
--- /dev/null
+++ b/src/model/BusinessHoursOverrideBase.js
@@ -0,0 +1,152 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The BusinessHoursOverrideBase model module.
+ * @module model/BusinessHoursOverrideBase
+ * @version 1.0.0
+ */
+class BusinessHoursOverrideBase {
+ /**
+ * Constructs a new BusinessHoursOverrideBase.
+ *
+ * @alias module:model/BusinessHoursOverrideBase
+ * @param StartTime {Date} Date and time in ISO 8601 format.
+ * @param EndTime {Date} Date and time in ISO 8601 format.
+ */
+ constructor(StartTime, EndTime) {
+
+ BusinessHoursOverrideBase.initialize(this, StartTime, EndTime);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, StartTime, EndTime) {
+ obj['StartTime'] = StartTime;
+ obj['EndTime'] = EndTime;
+ }
+
+ /**
+ * Constructs a BusinessHoursOverrideBase from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BusinessHoursOverrideBase} obj Optional instance to populate.
+ * @return {module:model/BusinessHoursOverrideBase} The populated BusinessHoursOverrideBase instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BusinessHoursOverrideBase();
+
+ if (data.hasOwnProperty('DeliveryType')) {
+ obj['DeliveryType'] = ApiClient.convertToType(data['DeliveryType'], 'String');
+ }
+ if (data.hasOwnProperty('StartTime')) {
+ obj['StartTime'] = ApiClient.convertToType(data['StartTime'], 'Date');
+ }
+ if (data.hasOwnProperty('EndTime')) {
+ obj['EndTime'] = ApiClient.convertToType(data['EndTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Type')) {
+ obj['Type'] = ApiClient.convertToType(data['Type'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Delivery or Pickup
+ * @member {module:model/BusinessHoursOverrideBase.DeliveryTypeEnum} DeliveryType
+ */
+BusinessHoursOverrideBase.prototype['DeliveryType'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} StartTime
+ */
+BusinessHoursOverrideBase.prototype['StartTime'] = undefined;
+
+/**
+ * Date and time in ISO 8601 format.
+ * @member {Date} EndTime
+ */
+BusinessHoursOverrideBase.prototype['EndTime'] = undefined;
+
+/**
+ * Open, Closed or ClosedAllowPreOrders
+ * @member {module:model/BusinessHoursOverrideBase.TypeEnum} Type
+ */
+BusinessHoursOverrideBase.prototype['Type'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the DeliveryType property.
+ * @enum {String}
+ * @readonly
+ */
+BusinessHoursOverrideBase['DeliveryTypeEnum'] = {
+
+ /**
+ * value: "Delivery"
+ * @const
+ */
+ "Delivery": "Delivery",
+
+ /**
+ * value: "Pickup"
+ * @const
+ */
+ "Pickup": "Pickup"
+};
+
+
+/**
+ * Allowed values for the Type property.
+ * @enum {String}
+ * @readonly
+ */
+BusinessHoursOverrideBase['TypeEnum'] = {
+
+ /**
+ * value: "Open"
+ * @const
+ */
+ "Open": "Open",
+
+ /**
+ * value: "Closed"
+ * @const
+ */
+ "Closed": "Closed",
+
+ /**
+ * value: "ClosedAllowPreOrders"
+ * @const
+ */
+ "ClosedAllowPreOrders": "ClosedAllowPreOrders"
+};
+
+
+
+export default BusinessHoursOverrideBase;
+
diff --git a/src/model/BusinessHoursPeriod.js b/src/model/BusinessHoursPeriod.js
new file mode 100644
index 00000000..eb18c805
--- /dev/null
+++ b/src/model/BusinessHoursPeriod.js
@@ -0,0 +1,186 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Range from './Range';
+
+/**
+ * The BusinessHoursPeriod model module.
+ * @module model/BusinessHoursPeriod
+ * @version 1.0.0
+ */
+class BusinessHoursPeriod {
+ /**
+ * Constructs a new BusinessHoursPeriod.
+ * Business hours period
+ * @alias module:model/BusinessHoursPeriod
+ */
+ constructor() {
+
+ BusinessHoursPeriod.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BusinessHoursPeriod from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BusinessHoursPeriod} obj Optional instance to populate.
+ * @return {module:model/BusinessHoursPeriod} The populated BusinessHoursPeriod instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BusinessHoursPeriod();
+
+ if (data.hasOwnProperty('Early')) {
+ obj['Early'] = Range.constructFromObject(data['Early']);
+ }
+ if (data.hasOwnProperty('Late')) {
+ obj['Late'] = Range.constructFromObject(data['Late']);
+ }
+ if (data.hasOwnProperty('Ranges')) {
+ obj['Ranges'] = ApiClient.convertToType(data['Ranges'], [Range]);
+ }
+ if (data.hasOwnProperty('DayOfWeek')) {
+ obj['DayOfWeek'] = ApiClient.convertToType(data['DayOfWeek'], 'String');
+ }
+ if (data.hasOwnProperty('StartTime')) {
+ obj['StartTime'] = ApiClient.convertToType(data['StartTime'], 'String');
+ }
+ if (data.hasOwnProperty('Period')) {
+ obj['Period'] = ApiClient.convertToType(data['Period'], 'String');
+ }
+ if (data.hasOwnProperty('StartTimeEarly')) {
+ obj['StartTimeEarly'] = ApiClient.convertToType(data['StartTimeEarly'], 'String');
+ }
+ if (data.hasOwnProperty('PeriodEarly')) {
+ obj['PeriodEarly'] = ApiClient.convertToType(data['PeriodEarly'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Range} Early
+ */
+BusinessHoursPeriod.prototype['Early'] = undefined;
+
+/**
+ * @member {module:model/Range} Late
+ */
+BusinessHoursPeriod.prototype['Late'] = undefined;
+
+/**
+ * Ranges
+ * @member {Array.} Ranges
+ */
+BusinessHoursPeriod.prototype['Ranges'] = undefined;
+
+/**
+ * Day of week
+ * @member {module:model/BusinessHoursPeriod.DayOfWeekEnum} DayOfWeek
+ */
+BusinessHoursPeriod.prototype['DayOfWeek'] = undefined;
+
+/**
+ * Start time
+ * @member {String} StartTime
+ */
+BusinessHoursPeriod.prototype['StartTime'] = undefined;
+
+/**
+ * Period
+ * @member {String} Period
+ */
+BusinessHoursPeriod.prototype['Period'] = undefined;
+
+/**
+ * Start time early
+ * @member {String} StartTimeEarly
+ */
+BusinessHoursPeriod.prototype['StartTimeEarly'] = undefined;
+
+/**
+ * Period early
+ * @member {String} PeriodEarly
+ */
+BusinessHoursPeriod.prototype['PeriodEarly'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the DayOfWeek property.
+ * @enum {String}
+ * @readonly
+ */
+BusinessHoursPeriod['DayOfWeekEnum'] = {
+
+ /**
+ * value: "Sunday"
+ * @const
+ */
+ "Sunday": "Sunday",
+
+ /**
+ * value: "Monday"
+ * @const
+ */
+ "Monday": "Monday",
+
+ /**
+ * value: "Tuesday"
+ * @const
+ */
+ "Tuesday": "Tuesday",
+
+ /**
+ * value: "Wednesday"
+ * @const
+ */
+ "Wednesday": "Wednesday",
+
+ /**
+ * value: "Thursday"
+ * @const
+ */
+ "Thursday": "Thursday",
+
+ /**
+ * value: "Friday"
+ * @const
+ */
+ "Friday": "Friday",
+
+ /**
+ * value: "Saturday"
+ * @const
+ */
+ "Saturday": "Saturday"
+};
+
+
+
+export default BusinessHoursPeriod;
+
diff --git a/src/model/BusinessHoursPeriodBase.js b/src/model/BusinessHoursPeriodBase.js
new file mode 100644
index 00000000..7dce9b40
--- /dev/null
+++ b/src/model/BusinessHoursPeriodBase.js
@@ -0,0 +1,160 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The BusinessHoursPeriodBase model module.
+ * @module model/BusinessHoursPeriodBase
+ * @version 1.0.0
+ */
+class BusinessHoursPeriodBase {
+ /**
+ * Constructs a new BusinessHoursPeriodBase.
+ * Business hours period
+ * @alias module:model/BusinessHoursPeriodBase
+ */
+ constructor() {
+
+ BusinessHoursPeriodBase.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a BusinessHoursPeriodBase from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BusinessHoursPeriodBase} obj Optional instance to populate.
+ * @return {module:model/BusinessHoursPeriodBase} The populated BusinessHoursPeriodBase instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BusinessHoursPeriodBase();
+
+ if (data.hasOwnProperty('DayOfWeek')) {
+ obj['DayOfWeek'] = ApiClient.convertToType(data['DayOfWeek'], 'String');
+ }
+ if (data.hasOwnProperty('StartTime')) {
+ obj['StartTime'] = ApiClient.convertToType(data['StartTime'], 'String');
+ }
+ if (data.hasOwnProperty('Period')) {
+ obj['Period'] = ApiClient.convertToType(data['Period'], 'String');
+ }
+ if (data.hasOwnProperty('StartTimeEarly')) {
+ obj['StartTimeEarly'] = ApiClient.convertToType(data['StartTimeEarly'], 'String');
+ }
+ if (data.hasOwnProperty('PeriodEarly')) {
+ obj['PeriodEarly'] = ApiClient.convertToType(data['PeriodEarly'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Day of week
+ * @member {module:model/BusinessHoursPeriodBase.DayOfWeekEnum} DayOfWeek
+ */
+BusinessHoursPeriodBase.prototype['DayOfWeek'] = undefined;
+
+/**
+ * Start time
+ * @member {String} StartTime
+ */
+BusinessHoursPeriodBase.prototype['StartTime'] = undefined;
+
+/**
+ * Period
+ * @member {String} Period
+ */
+BusinessHoursPeriodBase.prototype['Period'] = undefined;
+
+/**
+ * Start time early
+ * @member {String} StartTimeEarly
+ */
+BusinessHoursPeriodBase.prototype['StartTimeEarly'] = undefined;
+
+/**
+ * Period early
+ * @member {String} PeriodEarly
+ */
+BusinessHoursPeriodBase.prototype['PeriodEarly'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the DayOfWeek property.
+ * @enum {String}
+ * @readonly
+ */
+BusinessHoursPeriodBase['DayOfWeekEnum'] = {
+
+ /**
+ * value: "Sunday"
+ * @const
+ */
+ "Sunday": "Sunday",
+
+ /**
+ * value: "Monday"
+ * @const
+ */
+ "Monday": "Monday",
+
+ /**
+ * value: "Tuesday"
+ * @const
+ */
+ "Tuesday": "Tuesday",
+
+ /**
+ * value: "Wednesday"
+ * @const
+ */
+ "Wednesday": "Wednesday",
+
+ /**
+ * value: "Thursday"
+ * @const
+ */
+ "Thursday": "Thursday",
+
+ /**
+ * value: "Friday"
+ * @const
+ */
+ "Friday": "Friday",
+
+ /**
+ * value: "Saturday"
+ * @const
+ */
+ "Saturday": "Saturday"
+};
+
+
+
+export default BusinessHoursPeriodBase;
+
diff --git a/src/model/CampaignStatistics.js b/src/model/CampaignStatistics.js
new file mode 100644
index 00000000..eb99fcfc
--- /dev/null
+++ b/src/model/CampaignStatistics.js
@@ -0,0 +1,109 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CampaignStatistics model module.
+ * @module model/CampaignStatistics
+ * @version 1.0.0
+ */
+class CampaignStatistics {
+ /**
+ * Constructs a new CampaignStatistics.
+ * Campaign statistics
+ * @alias module:model/CampaignStatistics
+ */
+ constructor() {
+
+ CampaignStatistics.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CampaignStatistics from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CampaignStatistics} obj Optional instance to populate.
+ * @return {module:model/CampaignStatistics} The populated CampaignStatistics instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CampaignStatistics();
+
+ if (data.hasOwnProperty('VouchersIssued')) {
+ obj['VouchersIssued'] = ApiClient.convertToType(data['VouchersIssued'], 'Number');
+ }
+ if (data.hasOwnProperty('VouchersRedeemed')) {
+ obj['VouchersRedeemed'] = ApiClient.convertToType(data['VouchersRedeemed'], 'Number');
+ }
+ if (data.hasOwnProperty('Conversion')) {
+ obj['Conversion'] = ApiClient.convertToType(data['Conversion'], 'Number');
+ }
+ if (data.hasOwnProperty('SalesGenerated')) {
+ obj['SalesGenerated'] = ApiClient.convertToType(data['SalesGenerated'], 'Number');
+ }
+ if (data.hasOwnProperty('ReturnOfInvestment')) {
+ obj['ReturnOfInvestment'] = ApiClient.convertToType(data['ReturnOfInvestment'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Deprecated. Number of issued vouchers. This field is always zero.
+ * @member {Number} VouchersIssued
+ */
+CampaignStatistics.prototype['VouchersIssued'] = undefined;
+
+/**
+ * Deprecated. Number of redeemed vouchers. This field is always zero. This field is always zero.
+ * @member {Number} VouchersRedeemed
+ */
+CampaignStatistics.prototype['VouchersRedeemed'] = undefined;
+
+/**
+ * Deprecated. Conversion of campaign (VouchersIssued / VouchersRedeemed). This field is always zero.
+ * @member {Number} Conversion
+ */
+CampaignStatistics.prototype['Conversion'] = undefined;
+
+/**
+ * Deprecated. Sales generated by campaign (TotalAmount - FeeChargedToCustomer ie. the discounted sale value). This field is always zero.
+ * @member {Number} SalesGenerated
+ */
+CampaignStatistics.prototype['SalesGenerated'] = undefined;
+
+/**
+ * Deprecated. Return of investment of campaign (TotalAmount / DiscountAmount). This field is always zero.
+ * @member {Number} ReturnOfInvestment
+ */
+CampaignStatistics.prototype['ReturnOfInvestment'] = undefined;
+
+
+
+
+
+
+export default CampaignStatistics;
+
diff --git a/src/model/CancellationToken.js b/src/model/CancellationToken.js
new file mode 100644
index 00000000..96b4b16c
--- /dev/null
+++ b/src/model/CancellationToken.js
@@ -0,0 +1,88 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import WaitHandle from './WaitHandle';
+
+/**
+ * The CancellationToken model module.
+ * @module model/CancellationToken
+ * @version 1.0.0
+ */
+class CancellationToken {
+ /**
+ * Constructs a new CancellationToken.
+ * @alias module:model/CancellationToken
+ */
+ constructor() {
+
+ CancellationToken.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CancellationToken from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CancellationToken} obj Optional instance to populate.
+ * @return {module:model/CancellationToken} The populated CancellationToken instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CancellationToken();
+
+ if (data.hasOwnProperty('IsCancellationRequested')) {
+ obj['IsCancellationRequested'] = ApiClient.convertToType(data['IsCancellationRequested'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CanBeCanceled')) {
+ obj['CanBeCanceled'] = ApiClient.convertToType(data['CanBeCanceled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('WaitHandle')) {
+ obj['WaitHandle'] = WaitHandle.constructFromObject(data['WaitHandle']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Boolean} IsCancellationRequested
+ */
+CancellationToken.prototype['IsCancellationRequested'] = undefined;
+
+/**
+ * @member {Boolean} CanBeCanceled
+ */
+CancellationToken.prototype['CanBeCanceled'] = undefined;
+
+/**
+ * @member {module:model/WaitHandle} WaitHandle
+ */
+CancellationToken.prototype['WaitHandle'] = undefined;
+
+
+
+
+
+
+export default CancellationToken;
+
diff --git a/src/model/CardReader.js b/src/model/CardReader.js
new file mode 100644
index 00000000..b72f66f1
--- /dev/null
+++ b/src/model/CardReader.js
@@ -0,0 +1,136 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ReaderActionStateInfo from './ReaderActionStateInfo';
+
+/**
+ * The CardReader model module.
+ * @module model/CardReader
+ * @version 1.0.0
+ */
+class CardReader {
+ /**
+ * Constructs a new CardReader.
+ * Card reader
+ * @alias module:model/CardReader
+ */
+ constructor() {
+
+ CardReader.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CardReader from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CardReader} obj Optional instance to populate.
+ * @return {module:model/CardReader} The populated CardReader instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CardReader();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceSoftwareVersion')) {
+ obj['DeviceSoftwareVersion'] = ApiClient.convertToType(data['DeviceSoftwareVersion'], 'String');
+ }
+ if (data.hasOwnProperty('SerialNumber')) {
+ obj['SerialNumber'] = ApiClient.convertToType(data['SerialNumber'], 'String');
+ }
+ if (data.hasOwnProperty('Status')) {
+ obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
+ }
+ if (data.hasOwnProperty('RegistrationCode')) {
+ obj['RegistrationCode'] = ApiClient.convertToType(data['RegistrationCode'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceType')) {
+ obj['DeviceType'] = ApiClient.convertToType(data['DeviceType'], 'String');
+ }
+ if (data.hasOwnProperty('Deleted')) {
+ obj['Deleted'] = ApiClient.convertToType(data['Deleted'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Action')) {
+ obj['Action'] = ReaderActionStateInfo.constructFromObject(data['Action']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Stripe reader id
+ * @member {String} Id
+ */
+CardReader.prototype['Id'] = undefined;
+
+/**
+ * Software version
+ * @member {String} DeviceSoftwareVersion
+ */
+CardReader.prototype['DeviceSoftwareVersion'] = undefined;
+
+/**
+ * Device serial number
+ * @member {String} SerialNumber
+ */
+CardReader.prototype['SerialNumber'] = undefined;
+
+/**
+ * Device status online or offline
+ * @member {String} Status
+ */
+CardReader.prototype['Status'] = undefined;
+
+/**
+ * Registration code
+ * @member {String} RegistrationCode
+ */
+CardReader.prototype['RegistrationCode'] = undefined;
+
+/**
+ * Device type
+ * @member {String} DeviceType
+ */
+CardReader.prototype['DeviceType'] = undefined;
+
+/**
+ * Indicates that the reader is deleted or not
+ * @member {Boolean} Deleted
+ */
+CardReader.prototype['Deleted'] = undefined;
+
+/**
+ * @member {module:model/ReaderActionStateInfo} Action
+ */
+CardReader.prototype['Action'] = undefined;
+
+
+
+
+
+
+export default CardReader;
+
diff --git a/src/model/CardReaderRegistrationRequest.js b/src/model/CardReaderRegistrationRequest.js
new file mode 100644
index 00000000..2cf7ea83
--- /dev/null
+++ b/src/model/CardReaderRegistrationRequest.js
@@ -0,0 +1,84 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CardReaderRegistrationRequest model module.
+ * @module model/CardReaderRegistrationRequest
+ * @version 1.0.0
+ */
+class CardReaderRegistrationRequest {
+ /**
+ * Constructs a new CardReaderRegistrationRequest.
+ * Card reader registration request
+ * @alias module:model/CardReaderRegistrationRequest
+ * @param RegistrationCode {String} The reader registration code
+ */
+ constructor(RegistrationCode) {
+
+ CardReaderRegistrationRequest.initialize(this, RegistrationCode);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, RegistrationCode) {
+ obj['RegistrationCode'] = RegistrationCode;
+ }
+
+ /**
+ * Constructs a CardReaderRegistrationRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CardReaderRegistrationRequest} obj Optional instance to populate.
+ * @return {module:model/CardReaderRegistrationRequest} The populated CardReaderRegistrationRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CardReaderRegistrationRequest();
+
+ if (data.hasOwnProperty('RegistrationCode')) {
+ obj['RegistrationCode'] = ApiClient.convertToType(data['RegistrationCode'], 'String');
+ }
+ if (data.hasOwnProperty('KioskDeviceId')) {
+ obj['KioskDeviceId'] = ApiClient.convertToType(data['KioskDeviceId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The reader registration code
+ * @member {String} RegistrationCode
+ */
+CardReaderRegistrationRequest.prototype['RegistrationCode'] = undefined;
+
+/**
+ * The kiosk device id
+ * @member {String} KioskDeviceId
+ */
+CardReaderRegistrationRequest.prototype['KioskDeviceId'] = undefined;
+
+
+
+
+
+
+export default CardReaderRegistrationRequest;
+
diff --git a/src/model/CatalogGroupArchivedEvent.js b/src/model/CatalogGroupArchivedEvent.js
new file mode 100644
index 00000000..78f54659
--- /dev/null
+++ b/src/model/CatalogGroupArchivedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Group from './Group';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CatalogGroupArchivedEvent model module.
+ * @module model/CatalogGroupArchivedEvent
+ * @version 1.0.0
+ */
+class CatalogGroupArchivedEvent {
+ /**
+ * Constructs a new CatalogGroupArchivedEvent.
+ *
+ * @alias module:model/CatalogGroupArchivedEvent
+ */
+ constructor() {
+
+ CatalogGroupArchivedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogGroupArchivedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogGroupArchivedEvent} obj Optional instance to populate.
+ * @return {module:model/CatalogGroupArchivedEvent} The populated CatalogGroupArchivedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogGroupArchivedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Group')) {
+ obj['Group'] = Group.constructFromObject(data['Group']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CatalogGroupArchivedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CatalogGroupArchivedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CatalogGroupArchivedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/Group} Group
+ */
+CatalogGroupArchivedEvent.prototype['Group'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CatalogGroupArchivedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CatalogGroupArchivedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CatalogGroupArchivedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CatalogGroupArchivedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CatalogGroupArchivedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CatalogGroupArchivedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CatalogGroupArchivedEvent;
+
diff --git a/src/model/CatalogGroupCreatedEvent.js b/src/model/CatalogGroupCreatedEvent.js
new file mode 100644
index 00000000..ac5a0e5e
--- /dev/null
+++ b/src/model/CatalogGroupCreatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Group from './Group';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CatalogGroupCreatedEvent model module.
+ * @module model/CatalogGroupCreatedEvent
+ * @version 1.0.0
+ */
+class CatalogGroupCreatedEvent {
+ /**
+ * Constructs a new CatalogGroupCreatedEvent.
+ *
+ * @alias module:model/CatalogGroupCreatedEvent
+ */
+ constructor() {
+
+ CatalogGroupCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogGroupCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogGroupCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/CatalogGroupCreatedEvent} The populated CatalogGroupCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogGroupCreatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Group')) {
+ obj['Group'] = Group.constructFromObject(data['Group']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CatalogGroupCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CatalogGroupCreatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CatalogGroupCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/Group} Group
+ */
+CatalogGroupCreatedEvent.prototype['Group'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CatalogGroupCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CatalogGroupCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CatalogGroupCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CatalogGroupCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CatalogGroupCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CatalogGroupCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CatalogGroupCreatedEvent;
+
diff --git a/src/model/CatalogGroupReference.js b/src/model/CatalogGroupReference.js
new file mode 100644
index 00000000..da45b2ab
--- /dev/null
+++ b/src/model/CatalogGroupReference.js
@@ -0,0 +1,119 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Group from './Group';
+
+/**
+ * The CatalogGroupReference model module.
+ * @module model/CatalogGroupReference
+ * @version 1.0.0
+ */
+class CatalogGroupReference {
+ /**
+ * Constructs a new CatalogGroupReference.
+ * Reference to an existing {Flipdish.Menus.PublicModels.V1.Catalog.Groups.Group}
+ * @alias module:model/CatalogGroupReference
+ * @param CatalogGroupId {String} Identifier of the ProductId to use as SubProduct
+ * @param GroupType {module:model/CatalogGroupReference.GroupTypeEnum} Type of the SupProduct
+ */
+ constructor(CatalogGroupId, GroupType) {
+
+ CatalogGroupReference.initialize(this, CatalogGroupId, GroupType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, CatalogGroupId, GroupType) {
+ obj['CatalogGroupId'] = CatalogGroupId;
+ obj['GroupType'] = GroupType;
+ }
+
+ /**
+ * Constructs a CatalogGroupReference from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogGroupReference} obj Optional instance to populate.
+ * @return {module:model/CatalogGroupReference} The populated CatalogGroupReference instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogGroupReference();
+
+ if (data.hasOwnProperty('Group')) {
+ obj['Group'] = Group.constructFromObject(data['Group']);
+ }
+ if (data.hasOwnProperty('CatalogGroupId')) {
+ obj['CatalogGroupId'] = ApiClient.convertToType(data['CatalogGroupId'], 'String');
+ }
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('GroupType')) {
+ obj['GroupType'] = ApiClient.convertToType(data['GroupType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Group} Group
+ */
+CatalogGroupReference.prototype['Group'] = undefined;
+
+/**
+ * Identifier of the ProductId to use as SubProduct
+ * @member {String} CatalogGroupId
+ */
+CatalogGroupReference.prototype['CatalogGroupId'] = undefined;
+
+/**
+ * Identifier of the ProductId to use as SubProduct
+ * @member {String} CatalogItemId
+ */
+CatalogGroupReference.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Type of the SupProduct
+ * @member {module:model/CatalogGroupReference.GroupTypeEnum} GroupType
+ */
+CatalogGroupReference.prototype['GroupType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the GroupType property.
+ * @enum {String}
+ * @readonly
+ */
+CatalogGroupReference['GroupTypeEnum'] = {
+
+ /**
+ * value: "ModifierGroup"
+ * @const
+ */
+ "ModifierGroup": "ModifierGroup"
+};
+
+
+
+export default CatalogGroupReference;
+
diff --git a/src/model/CatalogGroupUpdatedEvent.js b/src/model/CatalogGroupUpdatedEvent.js
new file mode 100644
index 00000000..f0819f0e
--- /dev/null
+++ b/src/model/CatalogGroupUpdatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Group from './Group';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CatalogGroupUpdatedEvent model module.
+ * @module model/CatalogGroupUpdatedEvent
+ * @version 1.0.0
+ */
+class CatalogGroupUpdatedEvent {
+ /**
+ * Constructs a new CatalogGroupUpdatedEvent.
+ *
+ * @alias module:model/CatalogGroupUpdatedEvent
+ */
+ constructor() {
+
+ CatalogGroupUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogGroupUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogGroupUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/CatalogGroupUpdatedEvent} The populated CatalogGroupUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogGroupUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Group')) {
+ obj['Group'] = Group.constructFromObject(data['Group']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CatalogGroupUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CatalogGroupUpdatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CatalogGroupUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/Group} Group
+ */
+CatalogGroupUpdatedEvent.prototype['Group'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CatalogGroupUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CatalogGroupUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CatalogGroupUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CatalogGroupUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CatalogGroupUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CatalogGroupUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CatalogGroupUpdatedEvent;
+
diff --git a/src/model/CatalogImage.js b/src/model/CatalogImage.js
new file mode 100644
index 00000000..f447420f
--- /dev/null
+++ b/src/model/CatalogImage.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CatalogImage model module.
+ * @module model/CatalogImage
+ * @version 1.0.0
+ */
+class CatalogImage {
+ /**
+ * Constructs a new CatalogImage.
+ * Catalog Image
+ * @alias module:model/CatalogImage
+ */
+ constructor() {
+
+ CatalogImage.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogImage from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogImage} obj Optional instance to populate.
+ * @return {module:model/CatalogImage} The populated CatalogImage instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogImage();
+
+ if (data.hasOwnProperty('ImageUri')) {
+ obj['ImageUri'] = ApiClient.convertToType(data['ImageUri'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Unique catalog Item id
+ * @member {String} ImageUri
+ */
+CatalogImage.prototype['ImageUri'] = undefined;
+
+
+
+
+
+
+export default CatalogImage;
+
diff --git a/src/model/CatalogItem.js b/src/model/CatalogItem.js
new file mode 100644
index 00000000..e1d1436c
--- /dev/null
+++ b/src/model/CatalogItem.js
@@ -0,0 +1,194 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CatalogGroupReference from './CatalogGroupReference';
+import Metafield from './Metafield';
+
+/**
+ * The CatalogItem model module.
+ * @module model/CatalogItem
+ * @version 1.0.0
+ */
+class CatalogItem {
+ /**
+ * Constructs a new CatalogItem.
+ * CatalogItem
+ * @alias module:model/CatalogItem
+ * @param ItemType {module:model/CatalogItem.ItemTypeEnum} Type of item (Product, Modifier, etc)
+ * @param Sku {String} Stock Keeping Unit (SKU)
+ * @param Name {String} Item name
+ * @param Price {Number} Item price
+ */
+ constructor(ItemType, Sku, Name, Price) {
+
+ CatalogItem.initialize(this, ItemType, Sku, Name, Price);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, ItemType, Sku, Name, Price) {
+ obj['ItemType'] = ItemType;
+ obj['Sku'] = Sku;
+ obj['Name'] = Name;
+ obj['Price'] = Price;
+ }
+
+ /**
+ * Constructs a CatalogItem from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogItem} obj Optional instance to populate.
+ * @return {module:model/CatalogItem} The populated CatalogItem instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogItem();
+
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('IsArchived')) {
+ obj['IsArchived'] = ApiClient.convertToType(data['IsArchived'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Groups')) {
+ obj['Groups'] = ApiClient.convertToType(data['Groups'], [CatalogGroupReference]);
+ }
+ if (data.hasOwnProperty('Metafields')) {
+ obj['Metafields'] = ApiClient.convertToType(data['Metafields'], [Metafield]);
+ }
+ if (data.hasOwnProperty('ItemType')) {
+ obj['ItemType'] = ApiClient.convertToType(data['ItemType'], 'String');
+ }
+ if (data.hasOwnProperty('Sku')) {
+ obj['Sku'] = ApiClient.convertToType(data['Sku'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Price')) {
+ obj['Price'] = ApiClient.convertToType(data['Price'], 'Number');
+ }
+ if (data.hasOwnProperty('ImageFileName')) {
+ obj['ImageFileName'] = ApiClient.convertToType(data['ImageFileName'], 'String');
+ }
+ if (data.hasOwnProperty('Alcohol')) {
+ obj['Alcohol'] = ApiClient.convertToType(data['Alcohol'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Unique catalog Item id
+ * @member {String} CatalogItemId
+ */
+CatalogItem.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Returns true if the item is archived
+ * @member {Boolean} IsArchived
+ */
+CatalogItem.prototype['IsArchived'] = undefined;
+
+/**
+ * Collection of groups associated with this item
+ * @member {Array.} Groups
+ */
+CatalogItem.prototype['Groups'] = undefined;
+
+/**
+ * Collection of metafields
+ * @member {Array.} Metafields
+ */
+CatalogItem.prototype['Metafields'] = undefined;
+
+/**
+ * Type of item (Product, Modifier, etc)
+ * @member {module:model/CatalogItem.ItemTypeEnum} ItemType
+ */
+CatalogItem.prototype['ItemType'] = undefined;
+
+/**
+ * Stock Keeping Unit (SKU)
+ * @member {String} Sku
+ */
+CatalogItem.prototype['Sku'] = undefined;
+
+/**
+ * Item name
+ * @member {String} Name
+ */
+CatalogItem.prototype['Name'] = undefined;
+
+/**
+ * Item description
+ * @member {String} Description
+ */
+CatalogItem.prototype['Description'] = undefined;
+
+/**
+ * Item price
+ * @member {Number} Price
+ */
+CatalogItem.prototype['Price'] = undefined;
+
+/**
+ * Image File Name
+ * @member {String} ImageFileName
+ */
+CatalogItem.prototype['ImageFileName'] = undefined;
+
+/**
+ * item contains alcohol
+ * @member {Boolean} Alcohol
+ */
+CatalogItem.prototype['Alcohol'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ItemType property.
+ * @enum {String}
+ * @readonly
+ */
+CatalogItem['ItemTypeEnum'] = {
+
+ /**
+ * value: "Product"
+ * @const
+ */
+ "Product": "Product",
+
+ /**
+ * value: "Modifier"
+ * @const
+ */
+ "Modifier": "Modifier"
+};
+
+
+
+export default CatalogItem;
+
diff --git a/src/model/CatalogItemArchivedEvent.js b/src/model/CatalogItemArchivedEvent.js
new file mode 100644
index 00000000..c074604d
--- /dev/null
+++ b/src/model/CatalogItemArchivedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CatalogItem from './CatalogItem';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CatalogItemArchivedEvent model module.
+ * @module model/CatalogItemArchivedEvent
+ * @version 1.0.0
+ */
+class CatalogItemArchivedEvent {
+ /**
+ * Constructs a new CatalogItemArchivedEvent.
+ *
+ * @alias module:model/CatalogItemArchivedEvent
+ */
+ constructor() {
+
+ CatalogItemArchivedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogItemArchivedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogItemArchivedEvent} obj Optional instance to populate.
+ * @return {module:model/CatalogItemArchivedEvent} The populated CatalogItemArchivedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogItemArchivedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('CatalogItem')) {
+ obj['CatalogItem'] = CatalogItem.constructFromObject(data['CatalogItem']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CatalogItemArchivedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CatalogItemArchivedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CatalogItemArchivedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/CatalogItem} CatalogItem
+ */
+CatalogItemArchivedEvent.prototype['CatalogItem'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CatalogItemArchivedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CatalogItemArchivedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CatalogItemArchivedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CatalogItemArchivedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CatalogItemArchivedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CatalogItemArchivedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CatalogItemArchivedEvent;
+
diff --git a/src/model/CatalogItemCreatedEvent.js b/src/model/CatalogItemCreatedEvent.js
new file mode 100644
index 00000000..23a43bf9
--- /dev/null
+++ b/src/model/CatalogItemCreatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CatalogItem from './CatalogItem';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CatalogItemCreatedEvent model module.
+ * @module model/CatalogItemCreatedEvent
+ * @version 1.0.0
+ */
+class CatalogItemCreatedEvent {
+ /**
+ * Constructs a new CatalogItemCreatedEvent.
+ *
+ * @alias module:model/CatalogItemCreatedEvent
+ */
+ constructor() {
+
+ CatalogItemCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogItemCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogItemCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/CatalogItemCreatedEvent} The populated CatalogItemCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogItemCreatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('CatalogItem')) {
+ obj['CatalogItem'] = CatalogItem.constructFromObject(data['CatalogItem']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CatalogItemCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CatalogItemCreatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CatalogItemCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/CatalogItem} CatalogItem
+ */
+CatalogItemCreatedEvent.prototype['CatalogItem'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CatalogItemCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CatalogItemCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CatalogItemCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CatalogItemCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CatalogItemCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CatalogItemCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CatalogItemCreatedEvent;
+
diff --git a/src/model/CatalogItemUpdatedEvent.js b/src/model/CatalogItemUpdatedEvent.js
new file mode 100644
index 00000000..dfa77854
--- /dev/null
+++ b/src/model/CatalogItemUpdatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CatalogItem from './CatalogItem';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CatalogItemUpdatedEvent model module.
+ * @module model/CatalogItemUpdatedEvent
+ * @version 1.0.0
+ */
+class CatalogItemUpdatedEvent {
+ /**
+ * Constructs a new CatalogItemUpdatedEvent.
+ *
+ * @alias module:model/CatalogItemUpdatedEvent
+ */
+ constructor() {
+
+ CatalogItemUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CatalogItemUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CatalogItemUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/CatalogItemUpdatedEvent} The populated CatalogItemUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CatalogItemUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('CatalogItem')) {
+ obj['CatalogItem'] = CatalogItem.constructFromObject(data['CatalogItem']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CatalogItemUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CatalogItemUpdatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CatalogItemUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/CatalogItem} CatalogItem
+ */
+CatalogItemUpdatedEvent.prototype['CatalogItem'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CatalogItemUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CatalogItemUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CatalogItemUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CatalogItemUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CatalogItemUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CatalogItemUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CatalogItemUpdatedEvent;
+
diff --git a/src/model/CertificateCreatedEvent.js b/src/model/CertificateCreatedEvent.js
new file mode 100644
index 00000000..167ee179
--- /dev/null
+++ b/src/model/CertificateCreatedEvent.js
@@ -0,0 +1,136 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CertificateCreatedEvent model module.
+ * @module model/CertificateCreatedEvent
+ * @version 1.0.0
+ */
+class CertificateCreatedEvent {
+ /**
+ * Constructs a new CertificateCreatedEvent.
+ * The DNS for the Hostname verified
+ * @alias module:model/CertificateCreatedEvent
+ */
+ constructor() {
+
+ CertificateCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CertificateCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CertificateCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/CertificateCreatedEvent} The populated CertificateCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CertificateCreatedEvent();
+
+ if (data.hasOwnProperty('Hostname')) {
+ obj['Hostname'] = ApiClient.convertToType(data['Hostname'], 'String');
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Description
+ * @member {String} Hostname
+ */
+CertificateCreatedEvent.prototype['Hostname'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CertificateCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CertificateCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CertificateCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CertificateCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CertificateCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CertificateCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CertificateCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CertificateCreatedEvent;
+
diff --git a/src/model/CertificateRenewedEvent.js b/src/model/CertificateRenewedEvent.js
new file mode 100644
index 00000000..f3a696b0
--- /dev/null
+++ b/src/model/CertificateRenewedEvent.js
@@ -0,0 +1,136 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CertificateRenewedEvent model module.
+ * @module model/CertificateRenewedEvent
+ * @version 1.0.0
+ */
+class CertificateRenewedEvent {
+ /**
+ * Constructs a new CertificateRenewedEvent.
+ * The DNS for the Hostname verified
+ * @alias module:model/CertificateRenewedEvent
+ */
+ constructor() {
+
+ CertificateRenewedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CertificateRenewedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CertificateRenewedEvent} obj Optional instance to populate.
+ * @return {module:model/CertificateRenewedEvent} The populated CertificateRenewedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CertificateRenewedEvent();
+
+ if (data.hasOwnProperty('Hostname')) {
+ obj['Hostname'] = ApiClient.convertToType(data['Hostname'], 'String');
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Description
+ * @member {String} Hostname
+ */
+CertificateRenewedEvent.prototype['Hostname'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CertificateRenewedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CertificateRenewedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CertificateRenewedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CertificateRenewedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CertificateRenewedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CertificateRenewedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CertificateRenewedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CertificateRenewedEvent;
+
diff --git a/src/model/ChangePasswordModel.js b/src/model/ChangePasswordModel.js
new file mode 100644
index 00000000..08e7808e
--- /dev/null
+++ b/src/model/ChangePasswordModel.js
@@ -0,0 +1,86 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ChangePasswordModel model module.
+ * @module model/ChangePasswordModel
+ * @version 1.0.0
+ */
+class ChangePasswordModel {
+ /**
+ * Constructs a new ChangePasswordModel.
+ * Change password model
+ * @alias module:model/ChangePasswordModel
+ * @param OldPassword {String} Old password
+ * @param NewPassword {String} New password
+ */
+ constructor(OldPassword, NewPassword) {
+
+ ChangePasswordModel.initialize(this, OldPassword, NewPassword);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, OldPassword, NewPassword) {
+ obj['OldPassword'] = OldPassword;
+ obj['NewPassword'] = NewPassword;
+ }
+
+ /**
+ * Constructs a ChangePasswordModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ChangePasswordModel} obj Optional instance to populate.
+ * @return {module:model/ChangePasswordModel} The populated ChangePasswordModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ChangePasswordModel();
+
+ if (data.hasOwnProperty('OldPassword')) {
+ obj['OldPassword'] = ApiClient.convertToType(data['OldPassword'], 'String');
+ }
+ if (data.hasOwnProperty('NewPassword')) {
+ obj['NewPassword'] = ApiClient.convertToType(data['NewPassword'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Old password
+ * @member {String} OldPassword
+ */
+ChangePasswordModel.prototype['OldPassword'] = undefined;
+
+/**
+ * New password
+ * @member {String} NewPassword
+ */
+ChangePasswordModel.prototype['NewPassword'] = undefined;
+
+
+
+
+
+
+export default ChangePasswordModel;
+
diff --git a/src/model/Channel.js b/src/model/Channel.js
new file mode 100644
index 00000000..35bd93e9
--- /dev/null
+++ b/src/model/Channel.js
@@ -0,0 +1,138 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Channel model module.
+ * @module model/Channel
+ * @version 1.0.0
+ */
+class Channel {
+ /**
+ * Constructs a new Channel.
+ * @alias module:model/Channel
+ */
+ constructor() {
+
+ Channel.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Channel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Channel} obj Optional instance to populate.
+ * @return {module:model/Channel} The populated Channel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Channel();
+
+ if (data.hasOwnProperty('ChannelId')) {
+ obj['ChannelId'] = ApiClient.convertToType(data['ChannelId'], 'Number');
+ }
+ if (data.hasOwnProperty('TranslationKey')) {
+ obj['TranslationKey'] = ApiClient.convertToType(data['TranslationKey'], 'String');
+ }
+ if (data.hasOwnProperty('Source')) {
+ obj['Source'] = ApiClient.convertToType(data['Source'], 'String');
+ }
+ if (data.hasOwnProperty('LogoUri')) {
+ obj['LogoUri'] = ApiClient.convertToType(data['LogoUri'], 'String');
+ }
+ if (data.hasOwnProperty('Available')) {
+ obj['Available'] = ApiClient.convertToType(data['Available'], 'Boolean');
+ }
+ if (data.hasOwnProperty('MaintainedExternally')) {
+ obj['MaintainedExternally'] = ApiClient.convertToType(data['MaintainedExternally'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Channel Id
+ * @member {Number} ChannelId
+ */
+Channel.prototype['ChannelId'] = undefined;
+
+/**
+ * Channel TranslationKey
+ * @member {String} TranslationKey
+ */
+Channel.prototype['TranslationKey'] = undefined;
+
+/**
+ * Channel Source
+ * @member {module:model/Channel.SourceEnum} Source
+ */
+Channel.prototype['Source'] = undefined;
+
+/**
+ * Channel Logo URl
+ * @member {String} LogoUri
+ */
+Channel.prototype['LogoUri'] = undefined;
+
+/**
+ * Channel is Available or not
+ * @member {Boolean} Available
+ */
+Channel.prototype['Available'] = undefined;
+
+/**
+ * Channel is Maintained Externally or not
+ * @member {Boolean} MaintainedExternally
+ */
+Channel.prototype['MaintainedExternally'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the Source property.
+ * @enum {String}
+ * @readonly
+ */
+Channel['SourceEnum'] = {
+
+ /**
+ * value: "Internal"
+ * @const
+ */
+ "Internal": "Internal",
+
+ /**
+ * value: "External"
+ * @const
+ */
+ "External": "External"
+};
+
+
+
+export default Channel;
+
diff --git a/src/model/ChannelStoresUpdatedEvent.js b/src/model/ChannelStoresUpdatedEvent.js
new file mode 100644
index 00000000..3c7daac8
--- /dev/null
+++ b/src/model/ChannelStoresUpdatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The ChannelStoresUpdatedEvent model module.
+ * @module model/ChannelStoresUpdatedEvent
+ * @version 1.0.0
+ */
+class ChannelStoresUpdatedEvent {
+ /**
+ * Constructs a new ChannelStoresUpdatedEvent.
+ * Channel Stores Updated Event
+ * @alias module:model/ChannelStoresUpdatedEvent
+ */
+ constructor() {
+
+ ChannelStoresUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ChannelStoresUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ChannelStoresUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/ChannelStoresUpdatedEvent} The populated ChannelStoresUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ChannelStoresUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('ChannelId')) {
+ obj['ChannelId'] = ApiClient.convertToType(data['ChannelId'], 'Number');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+ChannelStoresUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * ID of the channel
+ * @member {Number} ChannelId
+ */
+ChannelStoresUpdatedEvent.prototype['ChannelId'] = undefined;
+
+/**
+ * List of store ids
+ * @member {Array.} StoreIds
+ */
+ChannelStoresUpdatedEvent.prototype['StoreIds'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+ChannelStoresUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+ChannelStoresUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+ChannelStoresUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+ChannelStoresUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+ChannelStoresUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+ChannelStoresUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+ChannelStoresUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default ChannelStoresUpdatedEvent;
+
diff --git a/src/model/ChargebackDetails.js b/src/model/ChargebackDetails.js
new file mode 100644
index 00000000..e73c2369
--- /dev/null
+++ b/src/model/ChargebackDetails.js
@@ -0,0 +1,109 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ChargebackDetails model module.
+ * @module model/ChargebackDetails
+ * @version 1.0.0
+ */
+class ChargebackDetails {
+ /**
+ * Constructs a new ChargebackDetails.
+ * Chargebacks breakdown
+ * @alias module:model/ChargebackDetails
+ */
+ constructor() {
+
+ ChargebackDetails.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ChargebackDetails from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ChargebackDetails} obj Optional instance to populate.
+ * @return {module:model/ChargebackDetails} The populated ChargebackDetails instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ChargebackDetails();
+
+ if (data.hasOwnProperty('ChargebackAmount')) {
+ obj['ChargebackAmount'] = ApiClient.convertToType(data['ChargebackAmount'], 'Number');
+ }
+ if (data.hasOwnProperty('PosSalesChargebackAmount')) {
+ obj['PosSalesChargebackAmount'] = ApiClient.convertToType(data['PosSalesChargebackAmount'], 'Number');
+ }
+ if (data.hasOwnProperty('ChargebackRefundedFees')) {
+ obj['ChargebackRefundedFees'] = ApiClient.convertToType(data['ChargebackRefundedFees'], 'Number');
+ }
+ if (data.hasOwnProperty('ChargebacksCount')) {
+ obj['ChargebacksCount'] = ApiClient.convertToType(data['ChargebacksCount'], 'Number');
+ }
+ if (data.hasOwnProperty('TotalChargebackCost')) {
+ obj['TotalChargebackCost'] = ApiClient.convertToType(data['TotalChargebackCost'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Chargeback amount
+ * @member {Number} ChargebackAmount
+ */
+ChargebackDetails.prototype['ChargebackAmount'] = undefined;
+
+/**
+ * POS Chargeback amount
+ * @member {Number} PosSalesChargebackAmount
+ */
+ChargebackDetails.prototype['PosSalesChargebackAmount'] = undefined;
+
+/**
+ * Chargeback refunded feeds
+ * @member {Number} ChargebackRefundedFees
+ */
+ChargebackDetails.prototype['ChargebackRefundedFees'] = undefined;
+
+/**
+ * Number of chargebacks
+ * @member {Number} ChargebacksCount
+ */
+ChargebackDetails.prototype['ChargebacksCount'] = undefined;
+
+/**
+ * Total amount
+ * @member {Number} TotalChargebackCost
+ */
+ChargebackDetails.prototype['TotalChargebackCost'] = undefined;
+
+
+
+
+
+
+export default ChargebackDetails;
+
diff --git a/src/model/ClientDevice.js b/src/model/ClientDevice.js
new file mode 100644
index 00000000..6ecc7cd1
--- /dev/null
+++ b/src/model/ClientDevice.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ClientDevice model module.
+ * @module model/ClientDevice
+ * @version 1.0.0
+ */
+class ClientDevice {
+ /**
+ * Constructs a new ClientDevice.
+ * Client Device
+ * @alias module:model/ClientDevice
+ */
+ constructor() {
+
+ ClientDevice.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ClientDevice from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ClientDevice} obj Optional instance to populate.
+ * @return {module:model/ClientDevice} The populated ClientDevice instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ClientDevice();
+
+ if (data.hasOwnProperty('DeviceModel')) {
+ obj['DeviceModel'] = ApiClient.convertToType(data['DeviceModel'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceId')) {
+ obj['DeviceId'] = ApiClient.convertToType(data['DeviceId'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceName')) {
+ obj['DeviceName'] = ApiClient.convertToType(data['DeviceName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Device Model
+ * @member {String} DeviceModel
+ */
+ClientDevice.prototype['DeviceModel'] = undefined;
+
+/**
+ * Device Id
+ * @member {String} DeviceId
+ */
+ClientDevice.prototype['DeviceId'] = undefined;
+
+/**
+ * Device Name
+ * @member {String} DeviceName
+ */
+ClientDevice.prototype['DeviceName'] = undefined;
+
+
+
+
+
+
+export default ClientDevice;
+
diff --git a/src/model/ClientDeviceAssignEnrolledDevice.js b/src/model/ClientDeviceAssignEnrolledDevice.js
new file mode 100644
index 00000000..dca52fae
--- /dev/null
+++ b/src/model/ClientDeviceAssignEnrolledDevice.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ClientDeviceAssignEnrolledDevice model module.
+ * @module model/ClientDeviceAssignEnrolledDevice
+ * @version 1.0.0
+ */
+class ClientDeviceAssignEnrolledDevice {
+ /**
+ * Constructs a new ClientDeviceAssignEnrolledDevice.
+ * Assign enrolled device to AppId
+ * @alias module:model/ClientDeviceAssignEnrolledDevice
+ */
+ constructor() {
+
+ ClientDeviceAssignEnrolledDevice.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ClientDeviceAssignEnrolledDevice from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ClientDeviceAssignEnrolledDevice} obj Optional instance to populate.
+ * @return {module:model/ClientDeviceAssignEnrolledDevice} The populated ClientDeviceAssignEnrolledDevice instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ClientDeviceAssignEnrolledDevice();
+
+ if (data.hasOwnProperty('DeviceModel')) {
+ obj['DeviceModel'] = ApiClient.convertToType(data['DeviceModel'], 'String');
+ }
+ if (data.hasOwnProperty('PinCode')) {
+ obj['PinCode'] = ApiClient.convertToType(data['PinCode'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Device Model
+ * @member {String} DeviceModel
+ */
+ClientDeviceAssignEnrolledDevice.prototype['DeviceModel'] = undefined;
+
+/**
+ * Pin Code
+ * @member {String} PinCode
+ */
+ClientDeviceAssignEnrolledDevice.prototype['PinCode'] = undefined;
+
+
+
+
+
+
+export default ClientDeviceAssignEnrolledDevice;
+
diff --git a/src/model/ClientDeviceEnroll.js b/src/model/ClientDeviceEnroll.js
new file mode 100644
index 00000000..bc11d643
--- /dev/null
+++ b/src/model/ClientDeviceEnroll.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ClientDeviceEnroll model module.
+ * @module model/ClientDeviceEnroll
+ * @version 1.0.0
+ */
+class ClientDeviceEnroll {
+ /**
+ * Constructs a new ClientDeviceEnroll.
+ * Enroll a client device
+ * @alias module:model/ClientDeviceEnroll
+ */
+ constructor() {
+
+ ClientDeviceEnroll.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ClientDeviceEnroll from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ClientDeviceEnroll} obj Optional instance to populate.
+ * @return {module:model/ClientDeviceEnroll} The populated ClientDeviceEnroll instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ClientDeviceEnroll();
+
+ if (data.hasOwnProperty('DeviceModel')) {
+ obj['DeviceModel'] = ApiClient.convertToType(data['DeviceModel'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceId')) {
+ obj['DeviceId'] = ApiClient.convertToType(data['DeviceId'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceName')) {
+ obj['DeviceName'] = ApiClient.convertToType(data['DeviceName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Device model
+ * @member {String} DeviceModel
+ */
+ClientDeviceEnroll.prototype['DeviceModel'] = undefined;
+
+/**
+ * Device Id
+ * @member {String} DeviceId
+ */
+ClientDeviceEnroll.prototype['DeviceId'] = undefined;
+
+/**
+ * Device Name
+ * @member {String} DeviceName
+ */
+ClientDeviceEnroll.prototype['DeviceName'] = undefined;
+
+
+
+
+
+
+export default ClientDeviceEnroll;
+
diff --git a/src/model/ClientDeviceEnrollmentResult.js b/src/model/ClientDeviceEnrollmentResult.js
new file mode 100644
index 00000000..ade7cd0c
--- /dev/null
+++ b/src/model/ClientDeviceEnrollmentResult.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ClientDeviceEnrollmentResult model module.
+ * @module model/ClientDeviceEnrollmentResult
+ * @version 1.0.0
+ */
+class ClientDeviceEnrollmentResult {
+ /**
+ * Constructs a new ClientDeviceEnrollmentResult.
+ * Device enrollment result
+ * @alias module:model/ClientDeviceEnrollmentResult
+ */
+ constructor() {
+
+ ClientDeviceEnrollmentResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ClientDeviceEnrollmentResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ClientDeviceEnrollmentResult} obj Optional instance to populate.
+ * @return {module:model/ClientDeviceEnrollmentResult} The populated ClientDeviceEnrollmentResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ClientDeviceEnrollmentResult();
+
+ if (data.hasOwnProperty('PinCode')) {
+ obj['PinCode'] = ApiClient.convertToType(data['PinCode'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * PIN Code for assigning
+ * @member {String} PinCode
+ */
+ClientDeviceEnrollmentResult.prototype['PinCode'] = undefined;
+
+
+
+
+
+
+export default ClientDeviceEnrollmentResult;
+
diff --git a/src/model/ClientDeviceSummary.js b/src/model/ClientDeviceSummary.js
new file mode 100644
index 00000000..fd0445ce
--- /dev/null
+++ b/src/model/ClientDeviceSummary.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ClientDeviceSummary model module.
+ * @module model/ClientDeviceSummary
+ * @version 1.0.0
+ */
+class ClientDeviceSummary {
+ /**
+ * Constructs a new ClientDeviceSummary.
+ * Client Device summary (header fields)
+ * @alias module:model/ClientDeviceSummary
+ */
+ constructor() {
+
+ ClientDeviceSummary.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ClientDeviceSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ClientDeviceSummary} obj Optional instance to populate.
+ * @return {module:model/ClientDeviceSummary} The populated ClientDeviceSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ClientDeviceSummary();
+
+ if (data.hasOwnProperty('DeviceModel')) {
+ obj['DeviceModel'] = ApiClient.convertToType(data['DeviceModel'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceId')) {
+ obj['DeviceId'] = ApiClient.convertToType(data['DeviceId'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceName')) {
+ obj['DeviceName'] = ApiClient.convertToType(data['DeviceName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Device Model
+ * @member {String} DeviceModel
+ */
+ClientDeviceSummary.prototype['DeviceModel'] = undefined;
+
+/**
+ * Device Id
+ * @member {String} DeviceId
+ */
+ClientDeviceSummary.prototype['DeviceId'] = undefined;
+
+/**
+ * Device Name
+ * @member {String} DeviceName
+ */
+ClientDeviceSummary.prototype['DeviceName'] = undefined;
+
+
+
+
+
+
+export default ClientDeviceSummary;
+
diff --git a/src/model/ConfiguredStore.js b/src/model/ConfiguredStore.js
new file mode 100644
index 00000000..4fb0b4c3
--- /dev/null
+++ b/src/model/ConfiguredStore.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ConfiguredStore model module.
+ * @module model/ConfiguredStore
+ * @version 1.0.0
+ */
+class ConfiguredStore {
+ /**
+ * Constructs a new ConfiguredStore.
+ * @alias module:model/ConfiguredStore
+ */
+ constructor() {
+
+ ConfiguredStore.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ConfiguredStore from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConfiguredStore} obj Optional instance to populate.
+ * @return {module:model/ConfiguredStore} The populated ConfiguredStore instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConfiguredStore();
+
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} StoreId
+ */
+ConfiguredStore.prototype['StoreId'] = undefined;
+
+/**
+ * @member {String} Name
+ */
+ConfiguredStore.prototype['Name'] = undefined;
+
+
+
+
+
+
+export default ConfiguredStore;
+
diff --git a/src/model/Coordinates.js b/src/model/Coordinates.js
new file mode 100644
index 00000000..c1b1d3d0
--- /dev/null
+++ b/src/model/Coordinates.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Coordinates model module.
+ * @module model/Coordinates
+ * @version 1.0.0
+ */
+class Coordinates {
+ /**
+ * Constructs a new Coordinates.
+ * Coordinates
+ * @alias module:model/Coordinates
+ */
+ constructor() {
+
+ Coordinates.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Coordinates from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Coordinates} obj Optional instance to populate.
+ * @return {module:model/Coordinates} The populated Coordinates instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Coordinates();
+
+ if (data.hasOwnProperty('Latitude')) {
+ obj['Latitude'] = ApiClient.convertToType(data['Latitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Longitude')) {
+ obj['Longitude'] = ApiClient.convertToType(data['Longitude'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Latitude
+ * @member {Number} Latitude
+ */
+Coordinates.prototype['Latitude'] = undefined;
+
+/**
+ * Longitude
+ * @member {Number} Longitude
+ */
+Coordinates.prototype['Longitude'] = undefined;
+
+
+
+
+
+
+export default Coordinates;
+
diff --git a/src/model/CountryFormResponse.js b/src/model/CountryFormResponse.js
new file mode 100644
index 00000000..21611f32
--- /dev/null
+++ b/src/model/CountryFormResponse.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CountryFormResponse model module.
+ * @module model/CountryFormResponse
+ * @version 1.0.0
+ */
+class CountryFormResponse {
+ /**
+ * Constructs a new CountryFormResponse.
+ * Country
+ * @alias module:model/CountryFormResponse
+ */
+ constructor() {
+
+ CountryFormResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CountryFormResponse from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CountryFormResponse} obj Optional instance to populate.
+ * @return {module:model/CountryFormResponse} The populated CountryFormResponse instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CountryFormResponse();
+
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], 'String');
+ }
+ if (data.hasOwnProperty('Label')) {
+ obj['Label'] = ApiClient.convertToType(data['Label'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * ISO two letter code.
+ * @member {String} Value
+ */
+CountryFormResponse.prototype['Value'] = undefined;
+
+/**
+ * Label
+ * @member {String} Label
+ */
+CountryFormResponse.prototype['Label'] = undefined;
+
+
+
+
+
+
+export default CountryFormResponse;
+
diff --git a/src/model/CountryWithAccountFieldsDefinitions.js b/src/model/CountryWithAccountFieldsDefinitions.js
new file mode 100644
index 00000000..a0a4ea18
--- /dev/null
+++ b/src/model/CountryWithAccountFieldsDefinitions.js
@@ -0,0 +1,101 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AccountFieldDefinition from './AccountFieldDefinition';
+
+/**
+ * The CountryWithAccountFieldsDefinitions model module.
+ * @module model/CountryWithAccountFieldsDefinitions
+ * @version 1.0.0
+ */
+class CountryWithAccountFieldsDefinitions {
+ /**
+ * Constructs a new CountryWithAccountFieldsDefinitions.
+ * List of field definitions per country
+ * @alias module:model/CountryWithAccountFieldsDefinitions
+ */
+ constructor() {
+
+ CountryWithAccountFieldsDefinitions.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CountryWithAccountFieldsDefinitions from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CountryWithAccountFieldsDefinitions} obj Optional instance to populate.
+ * @return {module:model/CountryWithAccountFieldsDefinitions} The populated CountryWithAccountFieldsDefinitions instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CountryWithAccountFieldsDefinitions();
+
+ if (data.hasOwnProperty('CountryCode')) {
+ obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayName')) {
+ obj['DisplayName'] = ApiClient.convertToType(data['DisplayName'], 'String');
+ }
+ if (data.hasOwnProperty('SupportType')) {
+ obj['SupportType'] = ApiClient.convertToType(data['SupportType'], 'String');
+ }
+ if (data.hasOwnProperty('FieldDefinitions')) {
+ obj['FieldDefinitions'] = ApiClient.convertToType(data['FieldDefinitions'], [AccountFieldDefinition]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Country 2-letter ISO code
+ * @member {String} CountryCode
+ */
+CountryWithAccountFieldsDefinitions.prototype['CountryCode'] = undefined;
+
+/**
+ * Display name of the country
+ * @member {String} DisplayName
+ */
+CountryWithAccountFieldsDefinitions.prototype['DisplayName'] = undefined;
+
+/**
+ * Country support type (supported-by-stripe-cc, supported-by-flipdish,not-supported)
+ * @member {String} SupportType
+ */
+CountryWithAccountFieldsDefinitions.prototype['SupportType'] = undefined;
+
+/**
+ * Bank Account field definitions
+ * @member {Array.} FieldDefinitions
+ */
+CountryWithAccountFieldsDefinitions.prototype['FieldDefinitions'] = undefined;
+
+
+
+
+
+
+export default CountryWithAccountFieldsDefinitions;
+
diff --git a/src/model/CreateAccountModel.js b/src/model/CreateAccountModel.js
new file mode 100644
index 00000000..e9eaeeb0
--- /dev/null
+++ b/src/model/CreateAccountModel.js
@@ -0,0 +1,122 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateAccountModel model module.
+ * @module model/CreateAccountModel
+ * @version 1.0.0
+ */
+class CreateAccountModel {
+ /**
+ * Constructs a new CreateAccountModel.
+ * Create account model
+ * @alias module:model/CreateAccountModel
+ * @param Email {String} Email address
+ * @param StoreName {String} Store name
+ */
+ constructor(Email, StoreName) {
+
+ CreateAccountModel.initialize(this, Email, StoreName);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Email, StoreName) {
+ obj['Email'] = Email;
+ obj['StoreName'] = StoreName;
+ }
+
+ /**
+ * Constructs a CreateAccountModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateAccountModel} obj Optional instance to populate.
+ * @return {module:model/CreateAccountModel} The populated CreateAccountModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateAccountModel();
+
+ if (data.hasOwnProperty('Email')) {
+ obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
+ }
+ if (data.hasOwnProperty('StoreName')) {
+ obj['StoreName'] = ApiClient.convertToType(data['StoreName'], 'String');
+ }
+ if (data.hasOwnProperty('LanguageId')) {
+ obj['LanguageId'] = ApiClient.convertToType(data['LanguageId'], 'String');
+ }
+ if (data.hasOwnProperty('Rid')) {
+ obj['Rid'] = ApiClient.convertToType(data['Rid'], 'Number');
+ }
+ if (data.hasOwnProperty('Cid')) {
+ obj['Cid'] = ApiClient.convertToType(data['Cid'], 'String');
+ }
+ if (data.hasOwnProperty('RecaptchaToken')) {
+ obj['RecaptchaToken'] = ApiClient.convertToType(data['RecaptchaToken'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Email address
+ * @member {String} Email
+ */
+CreateAccountModel.prototype['Email'] = undefined;
+
+/**
+ * Store name
+ * @member {String} StoreName
+ */
+CreateAccountModel.prototype['StoreName'] = undefined;
+
+/**
+ * LanguageId
+ * @member {String} LanguageId
+ */
+CreateAccountModel.prototype['LanguageId'] = undefined;
+
+/**
+ * Referral ID
+ * @member {Number} Rid
+ */
+CreateAccountModel.prototype['Rid'] = undefined;
+
+/**
+ * Campaign ID
+ * @member {String} Cid
+ */
+CreateAccountModel.prototype['Cid'] = undefined;
+
+/**
+ * Google Recaptcha Token
+ * @member {String} RecaptchaToken
+ */
+CreateAccountModel.prototype['RecaptchaToken'] = undefined;
+
+
+
+
+
+
+export default CreateAccountModel;
+
diff --git a/src/model/CreateAppParameters.js b/src/model/CreateAppParameters.js
new file mode 100644
index 00000000..f812f8d6
--- /dev/null
+++ b/src/model/CreateAppParameters.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateAppParameters model module.
+ * @module model/CreateAppParameters
+ * @version 1.0.0
+ */
+class CreateAppParameters {
+ /**
+ * Constructs a new CreateAppParameters.
+ * The parameters required to create a new app.
+ * @alias module:model/CreateAppParameters
+ */
+ constructor() {
+
+ CreateAppParameters.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateAppParameters from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateAppParameters} obj Optional instance to populate.
+ * @return {module:model/CreateAppParameters} The populated CreateAppParameters instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateAppParameters();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The name of the brand that this app/white-label represents.
+ * @member {String} Name
+ */
+CreateAppParameters.prototype['Name'] = undefined;
+
+
+
+
+
+
+export default CreateAppParameters;
+
diff --git a/src/model/CreateAppStoreApp.js b/src/model/CreateAppStoreApp.js
new file mode 100644
index 00000000..5fb6cfdb
--- /dev/null
+++ b/src/model/CreateAppStoreApp.js
@@ -0,0 +1,519 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AppStoreAppSupportInfo from './AppStoreAppSupportInfo';
+import FieldGroup from './FieldGroup';
+
+/**
+ * The CreateAppStoreApp model module.
+ * @module model/CreateAppStoreApp
+ * @version 1.0.0
+ */
+class CreateAppStoreApp {
+ /**
+ * Constructs a new CreateAppStoreApp.
+ * @alias module:model/CreateAppStoreApp
+ * @param Details {String}
+ * @param ConfigurationType {module:model/CreateAppStoreApp.ConfigurationTypeEnum}
+ * @param StoreSelectorType {module:model/CreateAppStoreApp.StoreSelectorTypeEnum}
+ * @param PermissionsType {module:model/CreateAppStoreApp.PermissionsTypeEnum}
+ * @param Name {String}
+ * @param Description {String}
+ * @param Categories {Array.}
+ * @param Countries {Array.}
+ */
+ constructor(Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries) {
+
+ CreateAppStoreApp.initialize(this, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Details, ConfigurationType, StoreSelectorType, PermissionsType, Name, Description, Categories, Countries) {
+ obj['Details'] = Details;
+ obj['ConfigurationType'] = ConfigurationType;
+ obj['StoreSelectorType'] = StoreSelectorType;
+ obj['PermissionsType'] = PermissionsType;
+ obj['Name'] = Name;
+ obj['Description'] = Description;
+ obj['Categories'] = Categories;
+ obj['Countries'] = Countries;
+ }
+
+ /**
+ * Constructs a CreateAppStoreApp from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateAppStoreApp} obj Optional instance to populate.
+ * @return {module:model/CreateAppStoreApp} The populated CreateAppStoreApp instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateAppStoreApp();
+
+ if (data.hasOwnProperty('Details')) {
+ obj['Details'] = ApiClient.convertToType(data['Details'], 'String');
+ }
+ if (data.hasOwnProperty('ConfigurationType')) {
+ obj['ConfigurationType'] = ApiClient.convertToType(data['ConfigurationType'], 'String');
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('FieldGroups')) {
+ obj['FieldGroups'] = ApiClient.convertToType(data['FieldGroups'], [FieldGroup]);
+ }
+ if (data.hasOwnProperty('SetupInstructions')) {
+ obj['SetupInstructions'] = ApiClient.convertToType(data['SetupInstructions'], 'String');
+ }
+ if (data.hasOwnProperty('ExternalSetupLink')) {
+ obj['ExternalSetupLink'] = ApiClient.convertToType(data['ExternalSetupLink'], 'String');
+ }
+ if (data.hasOwnProperty('TeammateAppAccessLevel')) {
+ obj['TeammateAppAccessLevel'] = ApiClient.convertToType(data['TeammateAppAccessLevel'], 'String');
+ }
+ if (data.hasOwnProperty('PermissionsType')) {
+ obj['PermissionsType'] = ApiClient.convertToType(data['PermissionsType'], 'String');
+ }
+ if (data.hasOwnProperty('Support')) {
+ obj['Support'] = AppStoreAppSupportInfo.constructFromObject(data['Support']);
+ }
+ if (data.hasOwnProperty('ExternalFunctionActionUrl')) {
+ obj['ExternalFunctionActionUrl'] = ApiClient.convertToType(data['ExternalFunctionActionUrl'], 'String');
+ }
+ if (data.hasOwnProperty('ExternalFunctionSignatureKey')) {
+ obj['ExternalFunctionSignatureKey'] = ApiClient.convertToType(data['ExternalFunctionSignatureKey'], 'String');
+ }
+ if (data.hasOwnProperty('IsPaid')) {
+ obj['IsPaid'] = ApiClient.convertToType(data['IsPaid'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Categories')) {
+ obj['Categories'] = ApiClient.convertToType(data['Categories'], ['String']);
+ }
+ if (data.hasOwnProperty('Countries')) {
+ obj['Countries'] = ApiClient.convertToType(data['Countries'], ['String']);
+ }
+ if (data.hasOwnProperty('DeveloperName')) {
+ obj['DeveloperName'] = ApiClient.convertToType(data['DeveloperName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Details
+ */
+CreateAppStoreApp.prototype['Details'] = undefined;
+
+/**
+ * @member {module:model/CreateAppStoreApp.ConfigurationTypeEnum} ConfigurationType
+ */
+CreateAppStoreApp.prototype['ConfigurationType'] = undefined;
+
+/**
+ * @member {module:model/CreateAppStoreApp.StoreSelectorTypeEnum} StoreSelectorType
+ */
+CreateAppStoreApp.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * @member {Array.} FieldGroups
+ */
+CreateAppStoreApp.prototype['FieldGroups'] = undefined;
+
+/**
+ * @member {String} SetupInstructions
+ */
+CreateAppStoreApp.prototype['SetupInstructions'] = undefined;
+
+/**
+ * @member {String} ExternalSetupLink
+ */
+CreateAppStoreApp.prototype['ExternalSetupLink'] = undefined;
+
+/**
+ * @member {module:model/CreateAppStoreApp.TeammateAppAccessLevelEnum} TeammateAppAccessLevel
+ */
+CreateAppStoreApp.prototype['TeammateAppAccessLevel'] = undefined;
+
+/**
+ * @member {module:model/CreateAppStoreApp.PermissionsTypeEnum} PermissionsType
+ */
+CreateAppStoreApp.prototype['PermissionsType'] = undefined;
+
+/**
+ * @member {module:model/AppStoreAppSupportInfo} Support
+ */
+CreateAppStoreApp.prototype['Support'] = undefined;
+
+/**
+ * @member {String} ExternalFunctionActionUrl
+ */
+CreateAppStoreApp.prototype['ExternalFunctionActionUrl'] = undefined;
+
+/**
+ * @member {String} ExternalFunctionSignatureKey
+ */
+CreateAppStoreApp.prototype['ExternalFunctionSignatureKey'] = undefined;
+
+/**
+ * @member {Boolean} IsPaid
+ */
+CreateAppStoreApp.prototype['IsPaid'] = undefined;
+
+/**
+ * @member {String} Name
+ */
+CreateAppStoreApp.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+CreateAppStoreApp.prototype['Description'] = undefined;
+
+/**
+ * @member {Boolean} IsEnabled
+ */
+CreateAppStoreApp.prototype['IsEnabled'] = undefined;
+
+/**
+ * @member {Array.} Categories
+ */
+CreateAppStoreApp.prototype['Categories'] = undefined;
+
+/**
+ * @member {Array.} Countries
+ */
+CreateAppStoreApp.prototype['Countries'] = undefined;
+
+/**
+ * @member {String} DeveloperName
+ */
+CreateAppStoreApp.prototype['DeveloperName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ConfigurationType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateAppStoreApp['ConfigurationTypeEnum'] = {
+
+ /**
+ * value: "ExternalLink"
+ * @const
+ */
+ "ExternalLink": "ExternalLink",
+
+ /**
+ * value: "FlipdishHosted"
+ * @const
+ */
+ "FlipdishHosted": "FlipdishHosted"
+};
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateAppStoreApp['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+/**
+ * Allowed values for the TeammateAppAccessLevel property.
+ * @enum {String}
+ * @readonly
+ */
+CreateAppStoreApp['TeammateAppAccessLevelEnum'] = {
+
+ /**
+ * value: "Owner"
+ * @const
+ */
+ "Owner": "Owner",
+
+ /**
+ * value: "StoreOwner"
+ * @const
+ */
+ "StoreOwner": "StoreOwner",
+
+ /**
+ * value: "PropertyOwner"
+ * @const
+ */
+ "PropertyOwner": "PropertyOwner",
+
+ /**
+ * value: "ManagedOwner"
+ * @const
+ */
+ "ManagedOwner": "ManagedOwner",
+
+ /**
+ * value: "Integrator"
+ * @const
+ */
+ "Integrator": "Integrator",
+
+ /**
+ * value: "PropertyManager"
+ * @const
+ */
+ "PropertyManager": "PropertyManager",
+
+ /**
+ * value: "StoreManager"
+ * @const
+ */
+ "StoreManager": "StoreManager",
+
+ /**
+ * value: "StoreStaff"
+ * @const
+ */
+ "StoreStaff": "StoreStaff",
+
+ /**
+ * value: "StoreReadOnlyAccess"
+ * @const
+ */
+ "StoreReadOnlyAccess": "StoreReadOnlyAccess",
+
+ /**
+ * value: "FinanceManger"
+ * @const
+ */
+ "FinanceManger": "FinanceManger"
+};
+
+
+/**
+ * Allowed values for the PermissionsType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateAppStoreApp['PermissionsTypeEnum'] = {
+
+ /**
+ * value: "Teammate"
+ * @const
+ */
+ "Teammate": "Teammate"
+};
+
+
+/**
+ * Allowed values for the Categories property.
+ * @enum {String}
+ * @readonly
+ */
+CreateAppStoreApp['CategoriesEnum'] = {
+
+ /**
+ * value: "PointOfSale"
+ * @const
+ */
+ "PointOfSale": "PointOfSale",
+
+ /**
+ * value: "DeliveryAndLogistics"
+ * @const
+ */
+ "DeliveryAndLogistics": "DeliveryAndLogistics",
+
+ /**
+ * value: "CRM"
+ * @const
+ */
+ "CRM": "CRM",
+
+ /**
+ * value: "GiftCard"
+ * @const
+ */
+ "GiftCard": "GiftCard",
+
+ /**
+ * value: "Accounting"
+ * @const
+ */
+ "Accounting": "Accounting",
+
+ /**
+ * value: "LoyaltyAndMarketing"
+ * @const
+ */
+ "LoyaltyAndMarketing": "LoyaltyAndMarketing",
+
+ /**
+ * value: "Other"
+ * @const
+ */
+ "Other": "Other"
+};
+
+
+/**
+ * Allowed values for the Countries property.
+ * @enum {String}
+ * @readonly
+ */
+CreateAppStoreApp['CountriesEnum'] = {
+
+ /**
+ * value: "GB"
+ * @const
+ */
+ "GB": "GB",
+
+ /**
+ * value: "IE"
+ * @const
+ */
+ "IE": "IE",
+
+ /**
+ * value: "FR"
+ * @const
+ */
+ "FR": "FR",
+
+ /**
+ * value: "ES"
+ * @const
+ */
+ "ES": "ES",
+
+ /**
+ * value: "PT"
+ * @const
+ */
+ "PT": "PT",
+
+ /**
+ * value: "IT"
+ * @const
+ */
+ "IT": "IT",
+
+ /**
+ * value: "DE"
+ * @const
+ */
+ "DE": "DE",
+
+ /**
+ * value: "PL"
+ * @const
+ */
+ "PL": "PL",
+
+ /**
+ * value: "BE"
+ * @const
+ */
+ "BE": "BE",
+
+ /**
+ * value: "LU"
+ * @const
+ */
+ "LU": "LU",
+
+ /**
+ * value: "NL"
+ * @const
+ */
+ "NL": "NL",
+
+ /**
+ * value: "US"
+ * @const
+ */
+ "US": "US",
+
+ /**
+ * value: "CA"
+ * @const
+ */
+ "CA": "CA",
+
+ /**
+ * value: "BG"
+ * @const
+ */
+ "BG": "BG",
+
+ /**
+ * value: "MX"
+ * @const
+ */
+ "MX": "MX",
+
+ /**
+ * value: "AU"
+ * @const
+ */
+ "AU": "AU",
+
+ /**
+ * value: "NZ"
+ * @const
+ */
+ "NZ": "NZ"
+};
+
+
+
+export default CreateAppStoreApp;
+
diff --git a/src/model/CreateBasicAccountModel.js b/src/model/CreateBasicAccountModel.js
new file mode 100644
index 00000000..8ef9fda2
--- /dev/null
+++ b/src/model/CreateBasicAccountModel.js
@@ -0,0 +1,84 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateBasicAccountModel model module.
+ * @module model/CreateBasicAccountModel
+ * @version 1.0.0
+ */
+class CreateBasicAccountModel {
+ /**
+ * Constructs a new CreateBasicAccountModel.
+ * Basic attributes for creating an account
+ * @alias module:model/CreateBasicAccountModel
+ * @param StoreName {String} Store name
+ */
+ constructor(StoreName) {
+
+ CreateBasicAccountModel.initialize(this, StoreName);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, StoreName) {
+ obj['StoreName'] = StoreName;
+ }
+
+ /**
+ * Constructs a CreateBasicAccountModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateBasicAccountModel} obj Optional instance to populate.
+ * @return {module:model/CreateBasicAccountModel} The populated CreateBasicAccountModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateBasicAccountModel();
+
+ if (data.hasOwnProperty('StoreName')) {
+ obj['StoreName'] = ApiClient.convertToType(data['StoreName'], 'String');
+ }
+ if (data.hasOwnProperty('LanguageId')) {
+ obj['LanguageId'] = ApiClient.convertToType(data['LanguageId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Store name
+ * @member {String} StoreName
+ */
+CreateBasicAccountModel.prototype['StoreName'] = undefined;
+
+/**
+ * LanguageId
+ * @member {String} LanguageId
+ */
+CreateBasicAccountModel.prototype['LanguageId'] = undefined;
+
+
+
+
+
+
+export default CreateBasicAccountModel;
+
diff --git a/src/model/CreateCatalogGroupReference.js b/src/model/CreateCatalogGroupReference.js
new file mode 100644
index 00000000..db7af61a
--- /dev/null
+++ b/src/model/CreateCatalogGroupReference.js
@@ -0,0 +1,110 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateCatalogGroupReference model module.
+ * @module model/CreateCatalogGroupReference
+ * @version 1.0.0
+ */
+class CreateCatalogGroupReference {
+ /**
+ * Constructs a new CreateCatalogGroupReference.
+ * Information to create a reference to a {Flipdish.Menus.PublicModels.V1.Catalog.Groups.Group}
+ * @alias module:model/CreateCatalogGroupReference
+ * @param CatalogGroupId {String} Identifier of the ProductId to use as SubProduct
+ * @param GroupType {module:model/CreateCatalogGroupReference.GroupTypeEnum} Type of the SupProduct
+ */
+ constructor(CatalogGroupId, GroupType) {
+
+ CreateCatalogGroupReference.initialize(this, CatalogGroupId, GroupType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, CatalogGroupId, GroupType) {
+ obj['CatalogGroupId'] = CatalogGroupId;
+ obj['GroupType'] = GroupType;
+ }
+
+ /**
+ * Constructs a CreateCatalogGroupReference from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateCatalogGroupReference} obj Optional instance to populate.
+ * @return {module:model/CreateCatalogGroupReference} The populated CreateCatalogGroupReference instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateCatalogGroupReference();
+
+ if (data.hasOwnProperty('CatalogGroupId')) {
+ obj['CatalogGroupId'] = ApiClient.convertToType(data['CatalogGroupId'], 'String');
+ }
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('GroupType')) {
+ obj['GroupType'] = ApiClient.convertToType(data['GroupType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Identifier of the ProductId to use as SubProduct
+ * @member {String} CatalogGroupId
+ */
+CreateCatalogGroupReference.prototype['CatalogGroupId'] = undefined;
+
+/**
+ * Identifier of the ProductId to use as SubProduct
+ * @member {String} CatalogItemId
+ */
+CreateCatalogGroupReference.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Type of the SupProduct
+ * @member {module:model/CreateCatalogGroupReference.GroupTypeEnum} GroupType
+ */
+CreateCatalogGroupReference.prototype['GroupType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the GroupType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateCatalogGroupReference['GroupTypeEnum'] = {
+
+ /**
+ * value: "ModifierGroup"
+ * @const
+ */
+ "ModifierGroup": "ModifierGroup"
+};
+
+
+
+export default CreateCatalogGroupReference;
+
diff --git a/src/model/CreateCatalogItem.js b/src/model/CreateCatalogItem.js
new file mode 100644
index 00000000..77ec0a56
--- /dev/null
+++ b/src/model/CreateCatalogItem.js
@@ -0,0 +1,176 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateCatalogGroupReference from './CreateCatalogGroupReference';
+import Metafield from './Metafield';
+
+/**
+ * The CreateCatalogItem model module.
+ * @module model/CreateCatalogItem
+ * @version 1.0.0
+ */
+class CreateCatalogItem {
+ /**
+ * Constructs a new CreateCatalogItem.
+ * Create a Catalog Item
+ * @alias module:model/CreateCatalogItem
+ * @param ItemType {module:model/CreateCatalogItem.ItemTypeEnum} Type of item (Product, Modifier, etc)
+ * @param Sku {String} Stock Keeping Unit (SKU)
+ * @param Name {String} Item name
+ * @param Price {Number} Item price
+ */
+ constructor(ItemType, Sku, Name, Price) {
+
+ CreateCatalogItem.initialize(this, ItemType, Sku, Name, Price);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, ItemType, Sku, Name, Price) {
+ obj['ItemType'] = ItemType;
+ obj['Sku'] = Sku;
+ obj['Name'] = Name;
+ obj['Price'] = Price;
+ }
+
+ /**
+ * Constructs a CreateCatalogItem from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateCatalogItem} obj Optional instance to populate.
+ * @return {module:model/CreateCatalogItem} The populated CreateCatalogItem instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateCatalogItem();
+
+ if (data.hasOwnProperty('Groups')) {
+ obj['Groups'] = ApiClient.convertToType(data['Groups'], [CreateCatalogGroupReference]);
+ }
+ if (data.hasOwnProperty('Metafields')) {
+ obj['Metafields'] = ApiClient.convertToType(data['Metafields'], [Metafield]);
+ }
+ if (data.hasOwnProperty('ItemType')) {
+ obj['ItemType'] = ApiClient.convertToType(data['ItemType'], 'String');
+ }
+ if (data.hasOwnProperty('Sku')) {
+ obj['Sku'] = ApiClient.convertToType(data['Sku'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Price')) {
+ obj['Price'] = ApiClient.convertToType(data['Price'], 'Number');
+ }
+ if (data.hasOwnProperty('ImageFileName')) {
+ obj['ImageFileName'] = ApiClient.convertToType(data['ImageFileName'], 'String');
+ }
+ if (data.hasOwnProperty('Alcohol')) {
+ obj['Alcohol'] = ApiClient.convertToType(data['Alcohol'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Collection of groups associated with this item
+ * @member {Array.} Groups
+ */
+CreateCatalogItem.prototype['Groups'] = undefined;
+
+/**
+ * Collection of metafields
+ * @member {Array.} Metafields
+ */
+CreateCatalogItem.prototype['Metafields'] = undefined;
+
+/**
+ * Type of item (Product, Modifier, etc)
+ * @member {module:model/CreateCatalogItem.ItemTypeEnum} ItemType
+ */
+CreateCatalogItem.prototype['ItemType'] = undefined;
+
+/**
+ * Stock Keeping Unit (SKU)
+ * @member {String} Sku
+ */
+CreateCatalogItem.prototype['Sku'] = undefined;
+
+/**
+ * Item name
+ * @member {String} Name
+ */
+CreateCatalogItem.prototype['Name'] = undefined;
+
+/**
+ * Item description
+ * @member {String} Description
+ */
+CreateCatalogItem.prototype['Description'] = undefined;
+
+/**
+ * Item price
+ * @member {Number} Price
+ */
+CreateCatalogItem.prototype['Price'] = undefined;
+
+/**
+ * Image File Name
+ * @member {String} ImageFileName
+ */
+CreateCatalogItem.prototype['ImageFileName'] = undefined;
+
+/**
+ * item contains alcohol
+ * @member {Boolean} Alcohol
+ */
+CreateCatalogItem.prototype['Alcohol'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ItemType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateCatalogItem['ItemTypeEnum'] = {
+
+ /**
+ * value: "Product"
+ * @const
+ */
+ "Product": "Product",
+
+ /**
+ * value: "Modifier"
+ * @const
+ */
+ "Modifier": "Modifier"
+};
+
+
+
+export default CreateCatalogItem;
+
diff --git a/src/model/CreateFulfillmentStatesConfiguration.js b/src/model/CreateFulfillmentStatesConfiguration.js
new file mode 100644
index 00000000..bceab2da
--- /dev/null
+++ b/src/model/CreateFulfillmentStatesConfiguration.js
@@ -0,0 +1,137 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FulfillmentStatusConfigurationItem from './FulfillmentStatusConfigurationItem';
+
+/**
+ * The CreateFulfillmentStatesConfiguration model module.
+ * @module model/CreateFulfillmentStatesConfiguration
+ * @version 1.0.0
+ */
+class CreateFulfillmentStatesConfiguration {
+ /**
+ * Constructs a new CreateFulfillmentStatesConfiguration.
+ * Create fulfillment states configuration
+ * @alias module:model/CreateFulfillmentStatesConfiguration
+ */
+ constructor() {
+
+ CreateFulfillmentStatesConfiguration.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateFulfillmentStatesConfiguration from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateFulfillmentStatesConfiguration} obj Optional instance to populate.
+ * @return {module:model/CreateFulfillmentStatesConfiguration} The populated CreateFulfillmentStatesConfiguration instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateFulfillmentStatesConfiguration();
+
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('States')) {
+ obj['States'] = ApiClient.convertToType(data['States'], [FulfillmentStatusConfigurationItem]);
+ }
+ if (data.hasOwnProperty('AutomaticTransitionsEnabled')) {
+ obj['AutomaticTransitionsEnabled'] = ApiClient.convertToType(data['AutomaticTransitionsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Stores id's
+ * @member {Array.} StoreIds
+ */
+CreateFulfillmentStatesConfiguration.prototype['StoreIds'] = undefined;
+
+/**
+ * Store Selector Type
+ * @member {module:model/CreateFulfillmentStatesConfiguration.StoreSelectorTypeEnum} StoreSelectorType
+ */
+CreateFulfillmentStatesConfiguration.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * Settings
+ * @member {Array.} States
+ */
+CreateFulfillmentStatesConfiguration.prototype['States'] = undefined;
+
+/**
+ * Enable automatic transitions
+ * @member {Boolean} AutomaticTransitionsEnabled
+ */
+CreateFulfillmentStatesConfiguration.prototype['AutomaticTransitionsEnabled'] = undefined;
+
+/**
+ * Name
+ * @member {String} Name
+ */
+CreateFulfillmentStatesConfiguration.prototype['Name'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFulfillmentStatesConfiguration['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+
+export default CreateFulfillmentStatesConfiguration;
+
diff --git a/src/model/CreateFullMenu.js b/src/model/CreateFullMenu.js
new file mode 100644
index 00000000..fb61539c
--- /dev/null
+++ b/src/model/CreateFullMenu.js
@@ -0,0 +1,180 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateFullMenuSection from './CreateFullMenuSection';
+import CreateMenuTaxRate from './CreateMenuTaxRate';
+
+/**
+ * The CreateFullMenu model module.
+ * @module model/CreateFullMenu
+ * @version 1.0.0
+ */
+class CreateFullMenu {
+ /**
+ * Constructs a new CreateFullMenu.
+ * Create menu object
+ * @alias module:model/CreateFullMenu
+ */
+ constructor() {
+
+ CreateFullMenu.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateFullMenu from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateFullMenu} obj Optional instance to populate.
+ * @return {module:model/CreateFullMenu} The populated CreateFullMenu instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateFullMenu();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('ImageUrl')) {
+ obj['ImageUrl'] = ApiClient.convertToType(data['ImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('MenuSections')) {
+ obj['MenuSections'] = ApiClient.convertToType(data['MenuSections'], [CreateFullMenuSection]);
+ }
+ if (data.hasOwnProperty('TaxRates')) {
+ obj['TaxRates'] = ApiClient.convertToType(data['TaxRates'], [CreateMenuTaxRate]);
+ }
+ if (data.hasOwnProperty('DisplaySectionLinks')) {
+ obj['DisplaySectionLinks'] = ApiClient.convertToType(data['DisplaySectionLinks'], 'Boolean');
+ }
+ if (data.hasOwnProperty('MenuSectionBehaviour')) {
+ obj['MenuSectionBehaviour'] = ApiClient.convertToType(data['MenuSectionBehaviour'], 'String');
+ }
+ if (data.hasOwnProperty('TaxType')) {
+ obj['TaxType'] = ApiClient.convertToType(data['TaxType'], 'String');
+ }
+ if (data.hasOwnProperty('IsIntegrated')) {
+ obj['IsIntegrated'] = ApiClient.convertToType(data['IsIntegrated'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Name of Menu, only shown in portal
+ * @member {String} Name
+ */
+CreateFullMenu.prototype['Name'] = undefined;
+
+/**
+ * Image url
+ * @member {String} ImageUrl
+ */
+CreateFullMenu.prototype['ImageUrl'] = undefined;
+
+/**
+ * Menu sections (starters, main etc)
+ * @member {Array.} MenuSections
+ */
+CreateFullMenu.prototype['MenuSections'] = undefined;
+
+/**
+ * Menu tax rates
+ * @member {Array.} TaxRates
+ */
+CreateFullMenu.prototype['TaxRates'] = undefined;
+
+/**
+ * Display menu section link on UI
+ * @member {Boolean} DisplaySectionLinks
+ */
+CreateFullMenu.prototype['DisplaySectionLinks'] = undefined;
+
+/**
+ * Menu section behaviour
+ * @member {module:model/CreateFullMenu.MenuSectionBehaviourEnum} MenuSectionBehaviour
+ */
+CreateFullMenu.prototype['MenuSectionBehaviour'] = undefined;
+
+/**
+ * Tax type
+ * @member {module:model/CreateFullMenu.TaxTypeEnum} TaxType
+ */
+CreateFullMenu.prototype['TaxType'] = undefined;
+
+/**
+ * Flag to indicate if the menu is integrated (contains metadata)
+ * @member {Boolean} IsIntegrated
+ */
+CreateFullMenu.prototype['IsIntegrated'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the MenuSectionBehaviour property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFullMenu['MenuSectionBehaviourEnum'] = {
+
+ /**
+ * value: "ExpandSingle"
+ * @const
+ */
+ "ExpandSingle": "ExpandSingle",
+
+ /**
+ * value: "ExpandMultiple"
+ * @const
+ */
+ "ExpandMultiple": "ExpandMultiple"
+};
+
+
+/**
+ * Allowed values for the TaxType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFullMenu['TaxTypeEnum'] = {
+
+ /**
+ * value: "IncludedInBasePrice"
+ * @const
+ */
+ "IncludedInBasePrice": "IncludedInBasePrice",
+
+ /**
+ * value: "ExcludedFromBasePrice"
+ * @const
+ */
+ "ExcludedFromBasePrice": "ExcludedFromBasePrice"
+};
+
+
+
+export default CreateFullMenu;
+
diff --git a/src/model/CreateFullMenuItemOptionSet.js b/src/model/CreateFullMenuItemOptionSet.js
new file mode 100644
index 00000000..c03bb1dd
--- /dev/null
+++ b/src/model/CreateFullMenuItemOptionSet.js
@@ -0,0 +1,179 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateFullMenuItemOptionSetItem from './CreateFullMenuItemOptionSetItem';
+
+/**
+ * The CreateFullMenuItemOptionSet model module.
+ * @module model/CreateFullMenuItemOptionSet
+ * @version 1.0.0
+ */
+class CreateFullMenuItemOptionSet {
+ /**
+ * Constructs a new CreateFullMenuItemOptionSet.
+ * Create menu item option set
+ * @alias module:model/CreateFullMenuItemOptionSet
+ */
+ constructor() {
+
+ CreateFullMenuItemOptionSet.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateFullMenuItemOptionSet from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateFullMenuItemOptionSet} obj Optional instance to populate.
+ * @return {module:model/CreateFullMenuItemOptionSet} The populated CreateFullMenuItemOptionSet instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateFullMenuItemOptionSet();
+
+ if (data.hasOwnProperty('MenuItemOptionSetId')) {
+ obj['MenuItemOptionSetId'] = ApiClient.convertToType(data['MenuItemOptionSetId'], 'Number');
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetItems')) {
+ obj['MenuItemOptionSetItems'] = ApiClient.convertToType(data['MenuItemOptionSetItems'], [CreateFullMenuItemOptionSetItem]);
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('IsMasterOptionSet')) {
+ obj['IsMasterOptionSet'] = ApiClient.convertToType(data['IsMasterOptionSet'], 'Boolean');
+ }
+ if (data.hasOwnProperty('DisplayOrder')) {
+ obj['DisplayOrder'] = ApiClient.convertToType(data['DisplayOrder'], 'Number');
+ }
+ if (data.hasOwnProperty('MinSelectCount')) {
+ obj['MinSelectCount'] = ApiClient.convertToType(data['MinSelectCount'], 'Number');
+ }
+ if (data.hasOwnProperty('MaxSelectCount')) {
+ obj['MaxSelectCount'] = ApiClient.convertToType(data['MaxSelectCount'], 'Number');
+ }
+ if (data.hasOwnProperty('CellLayoutType')) {
+ obj['CellLayoutType'] = ApiClient.convertToType(data['CellLayoutType'], 'String');
+ }
+ if (data.hasOwnProperty('PublicId')) {
+ obj['PublicId'] = ApiClient.convertToType(data['PublicId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Menu item option set identifier
+ * @member {Number} MenuItemOptionSetId
+ */
+CreateFullMenuItemOptionSet.prototype['MenuItemOptionSetId'] = undefined;
+
+/**
+ * Option set items
+ * @member {Array.} MenuItemOptionSetItems
+ */
+CreateFullMenuItemOptionSet.prototype['MenuItemOptionSetItems'] = undefined;
+
+/**
+ * Menu item option set name
+ * @member {String} Name
+ */
+CreateFullMenuItemOptionSet.prototype['Name'] = undefined;
+
+/**
+ * Is master option set. This can affect the layout of the options in the menu displayed to the customer. Usually it is true if the option could be considerd a standalone item as opposed to an addition (\"with ketchup\") or modifier (\"large\").
+ * @member {Boolean} IsMasterOptionSet
+ */
+CreateFullMenuItemOptionSet.prototype['IsMasterOptionSet'] = undefined;
+
+/**
+ * Display order. Displayed in ascending order.
+ * @member {Number} DisplayOrder
+ */
+CreateFullMenuItemOptionSet.prototype['DisplayOrder'] = undefined;
+
+/**
+ * Minimum items must be selected
+ * @member {Number} MinSelectCount
+ */
+CreateFullMenuItemOptionSet.prototype['MinSelectCount'] = undefined;
+
+/**
+ * Maximum number of items can be selected
+ * @member {Number} MaxSelectCount
+ */
+CreateFullMenuItemOptionSet.prototype['MaxSelectCount'] = undefined;
+
+/**
+ * Small | Medium | Large Affects the layout of the menu.
+ * @member {module:model/CreateFullMenuItemOptionSet.CellLayoutTypeEnum} CellLayoutType
+ */
+CreateFullMenuItemOptionSet.prototype['CellLayoutType'] = undefined;
+
+/**
+ * Permanent reference to the item.
+ * @member {String} PublicId
+ */
+CreateFullMenuItemOptionSet.prototype['PublicId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the CellLayoutType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFullMenuItemOptionSet['CellLayoutTypeEnum'] = {
+
+ /**
+ * value: "Small"
+ * @const
+ */
+ "Small": "Small",
+
+ /**
+ * value: "Medium"
+ * @const
+ */
+ "Medium": "Medium",
+
+ /**
+ * value: "Large"
+ * @const
+ */
+ "Large": "Large",
+
+ /**
+ * value: "HiddenImage"
+ * @const
+ */
+ "HiddenImage": "HiddenImage"
+};
+
+
+
+export default CreateFullMenuItemOptionSet;
+
diff --git a/src/model/CreateFullMenuItemOptionSetItem.js b/src/model/CreateFullMenuItemOptionSetItem.js
new file mode 100644
index 00000000..9bebbf54
--- /dev/null
+++ b/src/model/CreateFullMenuItemOptionSetItem.js
@@ -0,0 +1,206 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateMetadata from './CreateMetadata';
+
+/**
+ * The CreateFullMenuItemOptionSetItem model module.
+ * @module model/CreateFullMenuItemOptionSetItem
+ * @version 1.0.0
+ */
+class CreateFullMenuItemOptionSetItem {
+ /**
+ * Constructs a new CreateFullMenuItemOptionSetItem.
+ * Create menu item option set item
+ * @alias module:model/CreateFullMenuItemOptionSetItem
+ */
+ constructor() {
+
+ CreateFullMenuItemOptionSetItem.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateFullMenuItemOptionSetItem from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateFullMenuItemOptionSetItem} obj Optional instance to populate.
+ * @return {module:model/CreateFullMenuItemOptionSetItem} The populated CreateFullMenuItemOptionSetItem instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateFullMenuItemOptionSetItem();
+
+ if (data.hasOwnProperty('MenuItemOptionSetItemId')) {
+ obj['MenuItemOptionSetItemId'] = ApiClient.convertToType(data['MenuItemOptionSetItemId'], 'Number');
+ }
+ if (data.hasOwnProperty('Metadata')) {
+ obj['Metadata'] = ApiClient.convertToType(data['Metadata'], [CreateMetadata]);
+ }
+ if (data.hasOwnProperty('TaxRateName')) {
+ obj['TaxRateName'] = ApiClient.convertToType(data['TaxRateName'], 'String');
+ }
+ if (data.hasOwnProperty('NextMenuItemOptionSetId')) {
+ obj['NextMenuItemOptionSetId'] = ApiClient.convertToType(data['NextMenuItemOptionSetId'], 'Number');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Price')) {
+ obj['Price'] = ApiClient.convertToType(data['Price'], 'Number');
+ }
+ if (data.hasOwnProperty('DepositReturnFee')) {
+ obj['DepositReturnFee'] = ApiClient.convertToType(data['DepositReturnFee'], 'Number');
+ }
+ if (data.hasOwnProperty('IsAvailable')) {
+ obj['IsAvailable'] = ApiClient.convertToType(data['IsAvailable'], 'Boolean');
+ }
+ if (data.hasOwnProperty('DisplayOrder')) {
+ obj['DisplayOrder'] = ApiClient.convertToType(data['DisplayOrder'], 'Number');
+ }
+ if (data.hasOwnProperty('CellLayoutType')) {
+ obj['CellLayoutType'] = ApiClient.convertToType(data['CellLayoutType'], 'String');
+ }
+ if (data.hasOwnProperty('ImageUrl')) {
+ obj['ImageUrl'] = ApiClient.convertToType(data['ImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('PublicId')) {
+ obj['PublicId'] = ApiClient.convertToType(data['PublicId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Menu item option set item identifier
+ * @member {Number} MenuItemOptionSetItemId
+ */
+CreateFullMenuItemOptionSetItem.prototype['MenuItemOptionSetItemId'] = undefined;
+
+/**
+ * List of metadata
+ * @member {Array.} Metadata
+ */
+CreateFullMenuItemOptionSetItem.prototype['Metadata'] = undefined;
+
+/**
+ * Tax rate name
+ * @member {String} TaxRateName
+ */
+CreateFullMenuItemOptionSetItem.prototype['TaxRateName'] = undefined;
+
+/**
+ * if null, next option set is next. if -1, this is the final option set
+ * @member {Number} NextMenuItemOptionSetId
+ */
+CreateFullMenuItemOptionSetItem.prototype['NextMenuItemOptionSetId'] = undefined;
+
+/**
+ * Name
+ * @member {String} Name
+ */
+CreateFullMenuItemOptionSetItem.prototype['Name'] = undefined;
+
+/**
+ * Price
+ * @member {Number} Price
+ */
+CreateFullMenuItemOptionSetItem.prototype['Price'] = undefined;
+
+/**
+ * An optional fee that can be added to the price of the item.
+ * @member {Number} DepositReturnFee
+ */
+CreateFullMenuItemOptionSetItem.prototype['DepositReturnFee'] = undefined;
+
+/**
+ * Is available
+ * @member {Boolean} IsAvailable
+ */
+CreateFullMenuItemOptionSetItem.prototype['IsAvailable'] = undefined;
+
+/**
+ * Display order. Displayed in ascending order.
+ * @member {Number} DisplayOrder
+ */
+CreateFullMenuItemOptionSetItem.prototype['DisplayOrder'] = undefined;
+
+/**
+ * Small | Medium | Large Affects the layout of the menu.
+ * @member {module:model/CreateFullMenuItemOptionSetItem.CellLayoutTypeEnum} CellLayoutType
+ */
+CreateFullMenuItemOptionSetItem.prototype['CellLayoutType'] = undefined;
+
+/**
+ * Image url
+ * @member {String} ImageUrl
+ */
+CreateFullMenuItemOptionSetItem.prototype['ImageUrl'] = undefined;
+
+/**
+ * Permanent reference to the item.
+ * @member {String} PublicId
+ */
+CreateFullMenuItemOptionSetItem.prototype['PublicId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the CellLayoutType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFullMenuItemOptionSetItem['CellLayoutTypeEnum'] = {
+
+ /**
+ * value: "Small"
+ * @const
+ */
+ "Small": "Small",
+
+ /**
+ * value: "Medium"
+ * @const
+ */
+ "Medium": "Medium",
+
+ /**
+ * value: "Large"
+ * @const
+ */
+ "Large": "Large",
+
+ /**
+ * value: "HiddenImage"
+ * @const
+ */
+ "HiddenImage": "HiddenImage"
+};
+
+
+
+export default CreateFullMenuItemOptionSetItem;
+
diff --git a/src/model/CreateFullMenuSection.js b/src/model/CreateFullMenuSection.js
new file mode 100644
index 00000000..bcd5a1f6
--- /dev/null
+++ b/src/model/CreateFullMenuSection.js
@@ -0,0 +1,155 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateFullMenuSectionItem from './CreateFullMenuSectionItem';
+import MenuSectionAvailability from './MenuSectionAvailability';
+
+/**
+ * The CreateFullMenuSection model module.
+ * @module model/CreateFullMenuSection
+ * @version 1.0.0
+ */
+class CreateFullMenuSection {
+ /**
+ * Constructs a new CreateFullMenuSection.
+ * Create menu section
+ * @alias module:model/CreateFullMenuSection
+ */
+ constructor() {
+
+ CreateFullMenuSection.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateFullMenuSection from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateFullMenuSection} obj Optional instance to populate.
+ * @return {module:model/CreateFullMenuSection} The populated CreateFullMenuSection instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateFullMenuSection();
+
+ if (data.hasOwnProperty('MenuSectionAvailability')) {
+ obj['MenuSectionAvailability'] = MenuSectionAvailability.constructFromObject(data['MenuSectionAvailability']);
+ }
+ if (data.hasOwnProperty('MenuItems')) {
+ obj['MenuItems'] = ApiClient.convertToType(data['MenuItems'], [CreateFullMenuSectionItem]);
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayOrder')) {
+ obj['DisplayOrder'] = ApiClient.convertToType(data['DisplayOrder'], 'Number');
+ }
+ if (data.hasOwnProperty('IsAvailable')) {
+ obj['IsAvailable'] = ApiClient.convertToType(data['IsAvailable'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsHiddenFromCustomers')) {
+ obj['IsHiddenFromCustomers'] = ApiClient.convertToType(data['IsHiddenFromCustomers'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ImageUrl')) {
+ obj['ImageUrl'] = ApiClient.convertToType(data['ImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('MenuSectionId')) {
+ obj['MenuSectionId'] = ApiClient.convertToType(data['MenuSectionId'], 'Number');
+ }
+ if (data.hasOwnProperty('PublicId')) {
+ obj['PublicId'] = ApiClient.convertToType(data['PublicId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/MenuSectionAvailability} MenuSectionAvailability
+ */
+CreateFullMenuSection.prototype['MenuSectionAvailability'] = undefined;
+
+/**
+ * Menu items
+ * @member {Array.} MenuItems
+ */
+CreateFullMenuSection.prototype['MenuItems'] = undefined;
+
+/**
+ * Name
+ * @member {String} Name
+ */
+CreateFullMenuSection.prototype['Name'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CreateFullMenuSection.prototype['Description'] = undefined;
+
+/**
+ * Display order
+ * @member {Number} DisplayOrder
+ */
+CreateFullMenuSection.prototype['DisplayOrder'] = undefined;
+
+/**
+ * Is available
+ * @member {Boolean} IsAvailable
+ */
+CreateFullMenuSection.prototype['IsAvailable'] = undefined;
+
+/**
+ * Is hidden from customer. Perhaps when the item is out of stock.
+ * @member {Boolean} IsHiddenFromCustomers
+ */
+CreateFullMenuSection.prototype['IsHiddenFromCustomers'] = undefined;
+
+/**
+ * Image url
+ * @member {String} ImageUrl
+ */
+CreateFullMenuSection.prototype['ImageUrl'] = undefined;
+
+/**
+ * Menu Section Id
+ * @member {Number} MenuSectionId
+ */
+CreateFullMenuSection.prototype['MenuSectionId'] = undefined;
+
+/**
+ * Permanent reference to the item.
+ * @member {String} PublicId
+ */
+CreateFullMenuSection.prototype['PublicId'] = undefined;
+
+
+
+
+
+
+export default CreateFullMenuSection;
+
diff --git a/src/model/CreateFullMenuSectionItem.js b/src/model/CreateFullMenuSectionItem.js
new file mode 100644
index 00000000..16cb6e7e
--- /dev/null
+++ b/src/model/CreateFullMenuSectionItem.js
@@ -0,0 +1,294 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateFullMenuItemOptionSet from './CreateFullMenuItemOptionSet';
+import CreateMetadata from './CreateMetadata';
+
+/**
+ * The CreateFullMenuSectionItem model module.
+ * @module model/CreateFullMenuSectionItem
+ * @version 1.0.0
+ */
+class CreateFullMenuSectionItem {
+ /**
+ * Constructs a new CreateFullMenuSectionItem.
+ * Create menu section item
+ * @alias module:model/CreateFullMenuSectionItem
+ */
+ constructor() {
+
+ CreateFullMenuSectionItem.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateFullMenuSectionItem from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateFullMenuSectionItem} obj Optional instance to populate.
+ * @return {module:model/CreateFullMenuSectionItem} The populated CreateFullMenuSectionItem instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateFullMenuSectionItem();
+
+ if (data.hasOwnProperty('MenuItemOptionSets')) {
+ obj['MenuItemOptionSets'] = ApiClient.convertToType(data['MenuItemOptionSets'], [CreateFullMenuItemOptionSet]);
+ }
+ if (data.hasOwnProperty('Metadata')) {
+ obj['Metadata'] = ApiClient.convertToType(data['Metadata'], [CreateMetadata]);
+ }
+ if (data.hasOwnProperty('TaxRateName')) {
+ obj['TaxRateName'] = ApiClient.convertToType(data['TaxRateName'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('SpicinessRating')) {
+ obj['SpicinessRating'] = ApiClient.convertToType(data['SpicinessRating'], 'String');
+ }
+ if (data.hasOwnProperty('Price')) {
+ obj['Price'] = ApiClient.convertToType(data['Price'], 'Number');
+ }
+ if (data.hasOwnProperty('DepositReturnFee')) {
+ obj['DepositReturnFee'] = ApiClient.convertToType(data['DepositReturnFee'], 'Number');
+ }
+ if (data.hasOwnProperty('DisplayOrder')) {
+ obj['DisplayOrder'] = ApiClient.convertToType(data['DisplayOrder'], 'Number');
+ }
+ if (data.hasOwnProperty('Alcohol')) {
+ obj['Alcohol'] = ApiClient.convertToType(data['Alcohol'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsAvailable')) {
+ obj['IsAvailable'] = ApiClient.convertToType(data['IsAvailable'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CellLayoutType')) {
+ obj['CellLayoutType'] = ApiClient.convertToType(data['CellLayoutType'], 'String');
+ }
+ if (data.hasOwnProperty('DisableVouchers')) {
+ obj['DisableVouchers'] = ApiClient.convertToType(data['DisableVouchers'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ImageName')) {
+ obj['ImageName'] = ApiClient.convertToType(data['ImageName'], 'String');
+ }
+ if (data.hasOwnProperty('ImageUrl')) {
+ obj['ImageUrl'] = ApiClient.convertToType(data['ImageUrl'], 'String');
+ }
+ if (data.hasOwnProperty('MenuItemId')) {
+ obj['MenuItemId'] = ApiClient.convertToType(data['MenuItemId'], 'Number');
+ }
+ if (data.hasOwnProperty('ExcludeFromVoucherDiscounting')) {
+ obj['ExcludeFromVoucherDiscounting'] = ApiClient.convertToType(data['ExcludeFromVoucherDiscounting'], 'Boolean');
+ }
+ if (data.hasOwnProperty('PublicId')) {
+ obj['PublicId'] = ApiClient.convertToType(data['PublicId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Menu item option sets
+ * @member {Array.} MenuItemOptionSets
+ */
+CreateFullMenuSectionItem.prototype['MenuItemOptionSets'] = undefined;
+
+/**
+ * List of metadata
+ * @member {Array.} Metadata
+ */
+CreateFullMenuSectionItem.prototype['Metadata'] = undefined;
+
+/**
+ * Tax rate name
+ * @member {String} TaxRateName
+ */
+CreateFullMenuSectionItem.prototype['TaxRateName'] = undefined;
+
+/**
+ * Menu item name (like \"Korma\")
+ * @member {String} Name
+ */
+CreateFullMenuSectionItem.prototype['Name'] = undefined;
+
+/**
+ * Description (like \"A lovely dish from the east\")
+ * @member {String} Description
+ */
+CreateFullMenuSectionItem.prototype['Description'] = undefined;
+
+/**
+ * Spiciness rating
+ * @member {module:model/CreateFullMenuSectionItem.SpicinessRatingEnum} SpicinessRating
+ */
+CreateFullMenuSectionItem.prototype['SpicinessRating'] = undefined;
+
+/**
+ * Price - this is only used when there is no master option set and should be set to 0 if a master option set exists.
+ * @member {Number} Price
+ */
+CreateFullMenuSectionItem.prototype['Price'] = undefined;
+
+/**
+ * An optional fee that can be added to the price of the item.
+ * @member {Number} DepositReturnFee
+ */
+CreateFullMenuSectionItem.prototype['DepositReturnFee'] = undefined;
+
+/**
+ * Display order
+ * @member {Number} DisplayOrder
+ */
+CreateFullMenuSectionItem.prototype['DisplayOrder'] = undefined;
+
+/**
+ * To be set true if the item or an option of the item contains an alcoholic drink.
+ * @member {Boolean} Alcohol
+ */
+CreateFullMenuSectionItem.prototype['Alcohol'] = undefined;
+
+/**
+ * True if we accept orders for this item still
+ * @member {Boolean} IsAvailable
+ */
+CreateFullMenuSectionItem.prototype['IsAvailable'] = undefined;
+
+/**
+ * Small | Medium | Large Affects the layout of the menu.
+ * @member {module:model/CreateFullMenuSectionItem.CellLayoutTypeEnum} CellLayoutType
+ */
+CreateFullMenuSectionItem.prototype['CellLayoutType'] = undefined;
+
+/**
+ * If true, then vouchers won't be applied for this item
+ * @member {Boolean} DisableVouchers
+ */
+CreateFullMenuSectionItem.prototype['DisableVouchers'] = undefined;
+
+/**
+ * Image url
+ * @member {String} ImageName
+ */
+CreateFullMenuSectionItem.prototype['ImageName'] = undefined;
+
+/**
+ * Image url
+ * @member {String} ImageUrl
+ */
+CreateFullMenuSectionItem.prototype['ImageUrl'] = undefined;
+
+/**
+ * Menu Item Id
+ * @member {Number} MenuItemId
+ */
+CreateFullMenuSectionItem.prototype['MenuItemId'] = undefined;
+
+/**
+ * If true, the item is excluded from voucher discount calculations
+ * @member {Boolean} ExcludeFromVoucherDiscounting
+ */
+CreateFullMenuSectionItem.prototype['ExcludeFromVoucherDiscounting'] = undefined;
+
+/**
+ * Permanent reference to the item.
+ * @member {String} PublicId
+ */
+CreateFullMenuSectionItem.prototype['PublicId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the SpicinessRating property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFullMenuSectionItem['SpicinessRatingEnum'] = {
+
+ /**
+ * value: "NotRated"
+ * @const
+ */
+ "NotRated": "NotRated",
+
+ /**
+ * value: "Mild"
+ * @const
+ */
+ "Mild": "Mild",
+
+ /**
+ * value: "Medium"
+ * @const
+ */
+ "Medium": "Medium",
+
+ /**
+ * value: "Hot"
+ * @const
+ */
+ "Hot": "Hot"
+};
+
+
+/**
+ * Allowed values for the CellLayoutType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateFullMenuSectionItem['CellLayoutTypeEnum'] = {
+
+ /**
+ * value: "Small"
+ * @const
+ */
+ "Small": "Small",
+
+ /**
+ * value: "Medium"
+ * @const
+ */
+ "Medium": "Medium",
+
+ /**
+ * value: "Large"
+ * @const
+ */
+ "Large": "Large",
+
+ /**
+ * value: "HiddenImage"
+ * @const
+ */
+ "HiddenImage": "HiddenImage"
+};
+
+
+
+export default CreateFullMenuSectionItem;
+
diff --git a/src/model/CreateGroup.js b/src/model/CreateGroup.js
new file mode 100644
index 00000000..afca01fb
--- /dev/null
+++ b/src/model/CreateGroup.js
@@ -0,0 +1,168 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateProductReference from './CreateProductReference';
+import Metafield from './Metafield';
+
+/**
+ * The CreateGroup model module.
+ * @module model/CreateGroup
+ * @version 1.0.0
+ */
+class CreateGroup {
+ /**
+ * Constructs a new CreateGroup.
+ * Create a Catalog Group
+ * @alias module:model/CreateGroup
+ * @param GroupType {module:model/CreateGroup.GroupTypeEnum} Type of group (ModifierGroup, etc)
+ * @param Sku {String} Stock Keeping Unit (SKU)
+ * @param Name {String} Group name
+ */
+ constructor(GroupType, Sku, Name) {
+
+ CreateGroup.initialize(this, GroupType, Sku, Name);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, GroupType, Sku, Name) {
+ obj['GroupType'] = GroupType;
+ obj['Sku'] = Sku;
+ obj['Name'] = Name;
+ }
+
+ /**
+ * Constructs a CreateGroup from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateGroup} obj Optional instance to populate.
+ * @return {module:model/CreateGroup} The populated CreateGroup instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateGroup();
+
+ if (data.hasOwnProperty('MinSelectCount')) {
+ obj['MinSelectCount'] = ApiClient.convertToType(data['MinSelectCount'], 'Number');
+ }
+ if (data.hasOwnProperty('MaxSelectCount')) {
+ obj['MaxSelectCount'] = ApiClient.convertToType(data['MaxSelectCount'], 'Number');
+ }
+ if (data.hasOwnProperty('Products')) {
+ obj['Products'] = ApiClient.convertToType(data['Products'], [CreateProductReference]);
+ }
+ if (data.hasOwnProperty('Metafields')) {
+ obj['Metafields'] = ApiClient.convertToType(data['Metafields'], [Metafield]);
+ }
+ if (data.hasOwnProperty('GroupType')) {
+ obj['GroupType'] = ApiClient.convertToType(data['GroupType'], 'String');
+ }
+ if (data.hasOwnProperty('Sku')) {
+ obj['Sku'] = ApiClient.convertToType(data['Sku'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('AutogenerateDisplayText')) {
+ obj['AutogenerateDisplayText'] = ApiClient.convertToType(data['AutogenerateDisplayText'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ImageFileName')) {
+ obj['ImageFileName'] = ApiClient.convertToType(data['ImageFileName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Minimum number of items that the user has to select
+ * @member {Number} MinSelectCount
+ */
+CreateGroup.prototype['MinSelectCount'] = undefined;
+
+/**
+ * Maximum number of items that the user has to select
+ * @member {Number} MaxSelectCount
+ */
+CreateGroup.prototype['MaxSelectCount'] = undefined;
+
+/**
+ * Collection of items associated with this group
+ * @member {Array.} Products
+ */
+CreateGroup.prototype['Products'] = undefined;
+
+/**
+ * Collection of metafields
+ * @member {Array.} Metafields
+ */
+CreateGroup.prototype['Metafields'] = undefined;
+
+/**
+ * Type of group (ModifierGroup, etc)
+ * @member {module:model/CreateGroup.GroupTypeEnum} GroupType
+ */
+CreateGroup.prototype['GroupType'] = undefined;
+
+/**
+ * Stock Keeping Unit (SKU)
+ * @member {String} Sku
+ */
+CreateGroup.prototype['Sku'] = undefined;
+
+/**
+ * Group name
+ * @member {String} Name
+ */
+CreateGroup.prototype['Name'] = undefined;
+
+/**
+ * Autogenerate display text in ordering applications
+ * @member {Boolean} AutogenerateDisplayText
+ */
+CreateGroup.prototype['AutogenerateDisplayText'] = undefined;
+
+/**
+ * Image File Name
+ * @member {String} ImageFileName
+ */
+CreateGroup.prototype['ImageFileName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the GroupType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateGroup['GroupTypeEnum'] = {
+
+ /**
+ * value: "ModifierGroup"
+ * @const
+ */
+ "ModifierGroup": "ModifierGroup"
+};
+
+
+
+export default CreateGroup;
+
diff --git a/src/model/CreateGroupReference.js b/src/model/CreateGroupReference.js
new file mode 100644
index 00000000..b30896ae
--- /dev/null
+++ b/src/model/CreateGroupReference.js
@@ -0,0 +1,101 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateGroupReference model module.
+ * @module model/CreateGroupReference
+ * @version 1.0.0
+ */
+class CreateGroupReference {
+ /**
+ * Constructs a new CreateGroupReference.
+ * Information to create a reference to a {System.Text.RegularExpressions.Group}
+ * @alias module:model/CreateGroupReference
+ * @param CatalogItemId {String} Identifier of the ProductId to use as SubProduct
+ * @param GroupType {module:model/CreateGroupReference.GroupTypeEnum} Type of the SupProduct
+ */
+ constructor(CatalogItemId, GroupType) {
+
+ CreateGroupReference.initialize(this, CatalogItemId, GroupType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, CatalogItemId, GroupType) {
+ obj['CatalogItemId'] = CatalogItemId;
+ obj['GroupType'] = GroupType;
+ }
+
+ /**
+ * Constructs a CreateGroupReference from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateGroupReference} obj Optional instance to populate.
+ * @return {module:model/CreateGroupReference} The populated CreateGroupReference instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateGroupReference();
+
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('GroupType')) {
+ obj['GroupType'] = ApiClient.convertToType(data['GroupType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Identifier of the ProductId to use as SubProduct
+ * @member {String} CatalogItemId
+ */
+CreateGroupReference.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Type of the SupProduct
+ * @member {module:model/CreateGroupReference.GroupTypeEnum} GroupType
+ */
+CreateGroupReference.prototype['GroupType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the GroupType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateGroupReference['GroupTypeEnum'] = {
+
+ /**
+ * value: "ModifierGroup"
+ * @const
+ */
+ "ModifierGroup": "ModifierGroup"
+};
+
+
+
+export default CreateGroupReference;
+
diff --git a/src/model/CreateLocation.js b/src/model/CreateLocation.js
new file mode 100644
index 00000000..eb6c3705
--- /dev/null
+++ b/src/model/CreateLocation.js
@@ -0,0 +1,100 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateLocation model module.
+ * @module model/CreateLocation
+ * @version 1.0.0
+ */
+class CreateLocation {
+ /**
+ * Constructs a new CreateLocation.
+ * Input model for creating a Location
+ * @alias module:model/CreateLocation
+ */
+ constructor() {
+
+ CreateLocation.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateLocation from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateLocation} obj Optional instance to populate.
+ * @return {module:model/CreateLocation} The populated CreateLocation instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateLocation();
+
+ if (data.hasOwnProperty('LocationId')) {
+ obj['LocationId'] = ApiClient.convertToType(data['LocationId'], 'Number');
+ }
+ if (data.hasOwnProperty('LocationName')) {
+ obj['LocationName'] = ApiClient.convertToType(data['LocationName'], 'String');
+ }
+ if (data.hasOwnProperty('DisplayOrder')) {
+ obj['DisplayOrder'] = ApiClient.convertToType(data['DisplayOrder'], 'Number');
+ }
+ if (data.hasOwnProperty('ExternalLocationId')) {
+ obj['ExternalLocationId'] = ApiClient.convertToType(data['ExternalLocationId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Location Id
+ * @member {Number} LocationId
+ */
+CreateLocation.prototype['LocationId'] = undefined;
+
+/**
+ * Descriptive LocationArea name
+ * @member {String} LocationName
+ */
+CreateLocation.prototype['LocationName'] = undefined;
+
+/**
+ * The order that the Location should be displayed on the screen
+ * @member {Number} DisplayOrder
+ */
+CreateLocation.prototype['DisplayOrder'] = undefined;
+
+/**
+ * Id of the Location on an external system
+ * @member {String} ExternalLocationId
+ */
+CreateLocation.prototype['ExternalLocationId'] = undefined;
+
+
+
+
+
+
+export default CreateLocation;
+
diff --git a/src/model/CreateLocationArea.js b/src/model/CreateLocationArea.js
new file mode 100644
index 00000000..26597dbf
--- /dev/null
+++ b/src/model/CreateLocationArea.js
@@ -0,0 +1,75 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateLocationArea model module.
+ * @module model/CreateLocationArea
+ * @version 1.0.0
+ */
+class CreateLocationArea {
+ /**
+ * Constructs a new CreateLocationArea.
+ * Input model for creating a LocationArea
+ * @alias module:model/CreateLocationArea
+ * @param LocationAreaName {String} Descriptive LocationArea name
+ */
+ constructor(LocationAreaName) {
+
+ CreateLocationArea.initialize(this, LocationAreaName);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, LocationAreaName) {
+ obj['LocationAreaName'] = LocationAreaName;
+ }
+
+ /**
+ * Constructs a CreateLocationArea from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateLocationArea} obj Optional instance to populate.
+ * @return {module:model/CreateLocationArea} The populated CreateLocationArea instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateLocationArea();
+
+ if (data.hasOwnProperty('LocationAreaName')) {
+ obj['LocationAreaName'] = ApiClient.convertToType(data['LocationAreaName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Descriptive LocationArea name
+ * @member {String} LocationAreaName
+ */
+CreateLocationArea.prototype['LocationAreaName'] = undefined;
+
+
+
+
+
+
+export default CreateLocationArea;
+
diff --git a/src/model/CreateMenuSectionItemFromCatalogItems.js b/src/model/CreateMenuSectionItemFromCatalogItems.js
new file mode 100644
index 00000000..c79e34cb
--- /dev/null
+++ b/src/model/CreateMenuSectionItemFromCatalogItems.js
@@ -0,0 +1,76 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import MenuCatalogItem from './MenuCatalogItem';
+
+/**
+ * The CreateMenuSectionItemFromCatalogItems model module.
+ * @module model/CreateMenuSectionItemFromCatalogItems
+ * @version 1.0.0
+ */
+class CreateMenuSectionItemFromCatalogItems {
+ /**
+ * Constructs a new CreateMenuSectionItemFromCatalogItems.
+ * Add CatalogItems to a Menu
+ * @alias module:model/CreateMenuSectionItemFromCatalogItems
+ * @param MenuCatalogItems {Array.} List of CatalogItems to add to the section
+ */
+ constructor(MenuCatalogItems) {
+
+ CreateMenuSectionItemFromCatalogItems.initialize(this, MenuCatalogItems);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, MenuCatalogItems) {
+ obj['MenuCatalogItems'] = MenuCatalogItems;
+ }
+
+ /**
+ * Constructs a CreateMenuSectionItemFromCatalogItems from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateMenuSectionItemFromCatalogItems} obj Optional instance to populate.
+ * @return {module:model/CreateMenuSectionItemFromCatalogItems} The populated CreateMenuSectionItemFromCatalogItems instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateMenuSectionItemFromCatalogItems();
+
+ if (data.hasOwnProperty('MenuCatalogItems')) {
+ obj['MenuCatalogItems'] = ApiClient.convertToType(data['MenuCatalogItems'], [MenuCatalogItem]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * List of CatalogItems to add to the section
+ * @member {Array.} MenuCatalogItems
+ */
+CreateMenuSectionItemFromCatalogItems.prototype['MenuCatalogItems'] = undefined;
+
+
+
+
+
+
+export default CreateMenuSectionItemFromCatalogItems;
+
diff --git a/src/model/CreateMenuTaxRate.js b/src/model/CreateMenuTaxRate.js
new file mode 100644
index 00000000..2b6652ab
--- /dev/null
+++ b/src/model/CreateMenuTaxRate.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateMenuTaxRate model module.
+ * @module model/CreateMenuTaxRate
+ * @version 1.0.0
+ */
+class CreateMenuTaxRate {
+ /**
+ * Constructs a new CreateMenuTaxRate.
+ * Tax Rates Associated with a Menu
+ * @alias module:model/CreateMenuTaxRate
+ */
+ constructor() {
+
+ CreateMenuTaxRate.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateMenuTaxRate from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateMenuTaxRate} obj Optional instance to populate.
+ * @return {module:model/CreateMenuTaxRate} The populated CreateMenuTaxRate instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateMenuTaxRate();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Rate')) {
+ obj['Rate'] = ApiClient.convertToType(data['Rate'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Name of Tax Rate
+ * @member {String} Name
+ */
+CreateMenuTaxRate.prototype['Name'] = undefined;
+
+/**
+ * In Percentage
+ * @member {Number} Rate
+ */
+CreateMenuTaxRate.prototype['Rate'] = undefined;
+
+
+
+
+
+
+export default CreateMenuTaxRate;
+
diff --git a/src/model/CreateMetadata.js b/src/model/CreateMetadata.js
new file mode 100644
index 00000000..8c6c3ee7
--- /dev/null
+++ b/src/model/CreateMetadata.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateMetadata model module.
+ * @module model/CreateMetadata
+ * @version 1.0.0
+ */
+class CreateMetadata {
+ /**
+ * Constructs a new CreateMetadata.
+ * Create metadata
+ * @alias module:model/CreateMetadata
+ */
+ constructor() {
+
+ CreateMetadata.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateMetadata from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateMetadata} obj Optional instance to populate.
+ * @return {module:model/CreateMetadata} The populated CreateMetadata instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateMetadata();
+
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Store identifier
+ * @member {Number} StoreId
+ */
+CreateMetadata.prototype['StoreId'] = undefined;
+
+/**
+ * Metadata key (Unique identifier)
+ * @member {String} Key
+ */
+CreateMetadata.prototype['Key'] = undefined;
+
+/**
+ * Metadata value
+ * @member {String} Value
+ */
+CreateMetadata.prototype['Value'] = undefined;
+
+
+
+
+
+
+export default CreateMetadata;
+
diff --git a/src/model/CreateMetafieldDefinition.js b/src/model/CreateMetafieldDefinition.js
new file mode 100644
index 00000000..cf6b61be
--- /dev/null
+++ b/src/model/CreateMetafieldDefinition.js
@@ -0,0 +1,221 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateMetafieldDefinition model module.
+ * @module model/CreateMetafieldDefinition
+ * @version 1.0.0
+ */
+class CreateMetafieldDefinition {
+ /**
+ * Constructs a new CreateMetafieldDefinition.
+ * Information to create a {Flipdish.Metafields.PublicModels.V1.MetafieldDefinition}
+ * @alias module:model/CreateMetafieldDefinition
+ * @param Key {String} Key of the metafield. The key must have two parts, separated by a dot. The first part acts as a category, for organizational purposes. The parts can be composed of lowercase letters, numbers, hyphen and underscore
+ * @param Name {String} Field Name
+ */
+ constructor(Key, Name) {
+
+ CreateMetafieldDefinition.initialize(this, Key, Name);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Key, Name) {
+ obj['Key'] = Key;
+ obj['Name'] = Name;
+ }
+
+ /**
+ * Constructs a CreateMetafieldDefinition from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateMetafieldDefinition} obj Optional instance to populate.
+ * @return {module:model/CreateMetafieldDefinition} The populated CreateMetafieldDefinition instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateMetafieldDefinition();
+
+ if (data.hasOwnProperty('IsReadOnly')) {
+ obj['IsReadOnly'] = ApiClient.convertToType(data['IsReadOnly'], 'Boolean');
+ }
+ if (data.hasOwnProperty('OwnerEntity')) {
+ obj['OwnerEntity'] = ApiClient.convertToType(data['OwnerEntity'], 'String');
+ }
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('ValueType')) {
+ obj['ValueType'] = ApiClient.convertToType(data['ValueType'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Behaviors')) {
+ obj['Behaviors'] = ApiClient.convertToType(data['Behaviors'], ['String']);
+ }
+ if (data.hasOwnProperty('MetafieldDefinitionRecommendationId')) {
+ obj['MetafieldDefinitionRecommendationId'] = ApiClient.convertToType(data['MetafieldDefinitionRecommendationId'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Indicates if a definition can be edited or not
+ * @member {Boolean} IsReadOnly
+ */
+CreateMetafieldDefinition.prototype['IsReadOnly'] = undefined;
+
+/**
+ * The Metafield will extend the specified {Flipdish.Metafields.PublicModels.V1.MetafieldDefinitionBase.OwnerEntity}
+ * @member {module:model/CreateMetafieldDefinition.OwnerEntityEnum} OwnerEntity
+ */
+CreateMetafieldDefinition.prototype['OwnerEntity'] = undefined;
+
+/**
+ * Key of the metafield. The key must have two parts, separated by a dot. The first part acts as a category, for organizational purposes. The parts can be composed of lowercase letters, numbers, hyphen and underscore
+ * @member {String} Key
+ */
+CreateMetafieldDefinition.prototype['Key'] = undefined;
+
+/**
+ * The excepted type for the Value field
+ * @member {module:model/CreateMetafieldDefinition.ValueTypeEnum} ValueType
+ */
+CreateMetafieldDefinition.prototype['ValueType'] = undefined;
+
+/**
+ * Field Name
+ * @member {String} Name
+ */
+CreateMetafieldDefinition.prototype['Name'] = undefined;
+
+/**
+ * Field Description
+ * @member {String} Description
+ */
+CreateMetafieldDefinition.prototype['Description'] = undefined;
+
+/**
+ * Enable Metafield Behaviors
+ * @member {Array.} Behaviors
+ */
+CreateMetafieldDefinition.prototype['Behaviors'] = undefined;
+
+/**
+ * Metafield Recommendation Id
+ * @member {Number} MetafieldDefinitionRecommendationId
+ */
+CreateMetafieldDefinition.prototype['MetafieldDefinitionRecommendationId'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the OwnerEntity property.
+ * @enum {String}
+ * @readonly
+ */
+CreateMetafieldDefinition['OwnerEntityEnum'] = {
+
+ /**
+ * value: "CatalogItem"
+ * @const
+ */
+ "CatalogItem": "CatalogItem",
+
+ /**
+ * value: "CatalogGroup"
+ * @const
+ */
+ "CatalogGroup": "CatalogGroup",
+
+ /**
+ * value: "Menu"
+ * @const
+ */
+ "Menu": "Menu"
+};
+
+
+/**
+ * Allowed values for the ValueType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateMetafieldDefinition['ValueTypeEnum'] = {
+
+ /**
+ * value: "Boolean"
+ * @const
+ */
+ "Boolean": "Boolean",
+
+ /**
+ * value: "Json"
+ * @const
+ */
+ "Json": "Json",
+
+ /**
+ * value: "SingleLineString"
+ * @const
+ */
+ "SingleLineString": "SingleLineString",
+
+ /**
+ * value: "MultiLineString"
+ * @const
+ */
+ "MultiLineString": "MultiLineString"
+};
+
+
+/**
+ * Allowed values for the Behaviors property.
+ * @enum {String}
+ * @readonly
+ */
+CreateMetafieldDefinition['BehaviorsEnum'] = {
+
+ /**
+ * value: "SendToOrder"
+ * @const
+ */
+ "SendToOrder": "SendToOrder",
+
+ /**
+ * value: "SendToMenu"
+ * @const
+ */
+ "SendToMenu": "SendToMenu"
+};
+
+
+
+export default CreateMetafieldDefinition;
+
diff --git a/src/model/CreatePayGreenConfigurationRequest.js b/src/model/CreatePayGreenConfigurationRequest.js
new file mode 100644
index 00000000..8de61c40
--- /dev/null
+++ b/src/model/CreatePayGreenConfigurationRequest.js
@@ -0,0 +1,95 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreatePayGreenConfigurationRequest model module.
+ * @module model/CreatePayGreenConfigurationRequest
+ * @version 1.0.0
+ */
+class CreatePayGreenConfigurationRequest {
+ /**
+ * Constructs a new CreatePayGreenConfigurationRequest.
+ * @alias module:model/CreatePayGreenConfigurationRequest
+ */
+ constructor() {
+
+ CreatePayGreenConfigurationRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreatePayGreenConfigurationRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreatePayGreenConfigurationRequest} obj Optional instance to populate.
+ * @return {module:model/CreatePayGreenConfigurationRequest} The populated CreatePayGreenConfigurationRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreatePayGreenConfigurationRequest();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('PayGreenId')) {
+ obj['PayGreenId'] = ApiClient.convertToType(data['PayGreenId'], 'String');
+ }
+ if (data.hasOwnProperty('PayGreenPrivateKey')) {
+ obj['PayGreenPrivateKey'] = ApiClient.convertToType(data['PayGreenPrivateKey'], 'String');
+ }
+ if (data.hasOwnProperty('AssignedStores')) {
+ obj['AssignedStores'] = ApiClient.convertToType(data['AssignedStores'], ['Number']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Name
+ */
+CreatePayGreenConfigurationRequest.prototype['Name'] = undefined;
+
+/**
+ * @member {String} PayGreenId
+ */
+CreatePayGreenConfigurationRequest.prototype['PayGreenId'] = undefined;
+
+/**
+ * @member {String} PayGreenPrivateKey
+ */
+CreatePayGreenConfigurationRequest.prototype['PayGreenPrivateKey'] = undefined;
+
+/**
+ * @member {Array.} AssignedStores
+ */
+CreatePayGreenConfigurationRequest.prototype['AssignedStores'] = undefined;
+
+
+
+
+
+
+export default CreatePayGreenConfigurationRequest;
+
diff --git a/src/model/CreateProduct.js b/src/model/CreateProduct.js
new file mode 100644
index 00000000..357ec9b8
--- /dev/null
+++ b/src/model/CreateProduct.js
@@ -0,0 +1,176 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreateGroupReference from './CreateGroupReference';
+import Metafield from './Metafield';
+
+/**
+ * The CreateProduct model module.
+ * @module model/CreateProduct
+ * @version 1.0.0
+ */
+class CreateProduct {
+ /**
+ * Constructs a new CreateProduct.
+ * Create a Catalog Item
+ * @alias module:model/CreateProduct
+ * @param ProductType {module:model/CreateProduct.ProductTypeEnum} Type of item (Product, Modifier, etc)
+ * @param Sku {String} Stock Keeping Unit (SKU)
+ * @param Name {String} Product name
+ * @param Price {Number} Product price
+ */
+ constructor(ProductType, Sku, Name, Price) {
+
+ CreateProduct.initialize(this, ProductType, Sku, Name, Price);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, ProductType, Sku, Name, Price) {
+ obj['ProductType'] = ProductType;
+ obj['Sku'] = Sku;
+ obj['Name'] = Name;
+ obj['Price'] = Price;
+ }
+
+ /**
+ * Constructs a CreateProduct from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateProduct} obj Optional instance to populate.
+ * @return {module:model/CreateProduct} The populated CreateProduct instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateProduct();
+
+ if (data.hasOwnProperty('Groups')) {
+ obj['Groups'] = ApiClient.convertToType(data['Groups'], [CreateGroupReference]);
+ }
+ if (data.hasOwnProperty('Metafields')) {
+ obj['Metafields'] = ApiClient.convertToType(data['Metafields'], [Metafield]);
+ }
+ if (data.hasOwnProperty('ProductType')) {
+ obj['ProductType'] = ApiClient.convertToType(data['ProductType'], 'String');
+ }
+ if (data.hasOwnProperty('Sku')) {
+ obj['Sku'] = ApiClient.convertToType(data['Sku'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Price')) {
+ obj['Price'] = ApiClient.convertToType(data['Price'], 'Number');
+ }
+ if (data.hasOwnProperty('ImageFileName')) {
+ obj['ImageFileName'] = ApiClient.convertToType(data['ImageFileName'], 'String');
+ }
+ if (data.hasOwnProperty('Alcohol')) {
+ obj['Alcohol'] = ApiClient.convertToType(data['Alcohol'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Collection of groups associated with this item
+ * @member {Array.} Groups
+ */
+CreateProduct.prototype['Groups'] = undefined;
+
+/**
+ * Collection of metafields
+ * @member {Array.} Metafields
+ */
+CreateProduct.prototype['Metafields'] = undefined;
+
+/**
+ * Type of item (Product, Modifier, etc)
+ * @member {module:model/CreateProduct.ProductTypeEnum} ProductType
+ */
+CreateProduct.prototype['ProductType'] = undefined;
+
+/**
+ * Stock Keeping Unit (SKU)
+ * @member {String} Sku
+ */
+CreateProduct.prototype['Sku'] = undefined;
+
+/**
+ * Product name
+ * @member {String} Name
+ */
+CreateProduct.prototype['Name'] = undefined;
+
+/**
+ * Product description
+ * @member {String} Description
+ */
+CreateProduct.prototype['Description'] = undefined;
+
+/**
+ * Product price
+ * @member {Number} Price
+ */
+CreateProduct.prototype['Price'] = undefined;
+
+/**
+ * Image File Name
+ * @member {String} ImageFileName
+ */
+CreateProduct.prototype['ImageFileName'] = undefined;
+
+/**
+ * Product contains alcohol
+ * @member {Boolean} Alcohol
+ */
+CreateProduct.prototype['Alcohol'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ProductType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateProduct['ProductTypeEnum'] = {
+
+ /**
+ * value: "Product"
+ * @const
+ */
+ "Product": "Product",
+
+ /**
+ * value: "Modifier"
+ * @const
+ */
+ "Modifier": "Modifier"
+};
+
+
+
+export default CreateProduct;
+
diff --git a/src/model/CreateProductReference.js b/src/model/CreateProductReference.js
new file mode 100644
index 00000000..fa5aea48
--- /dev/null
+++ b/src/model/CreateProductReference.js
@@ -0,0 +1,116 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateProductReference model module.
+ * @module model/CreateProductReference
+ * @version 1.0.0
+ */
+class CreateProductReference {
+ /**
+ * Constructs a new CreateProductReference.
+ * Information to create a reference to a {Flipdish.Menus.PublicModels.V1.Catalog.Product}
+ * @alias module:model/CreateProductReference
+ * @param CatalogItemId {String} Identifier of the CatalogItemId to use as SubProduct
+ * @param ProductType {module:model/CreateProductReference.ProductTypeEnum} Type of the SupProduct
+ */
+ constructor(CatalogItemId, ProductType) {
+
+ CreateProductReference.initialize(this, CatalogItemId, ProductType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, CatalogItemId, ProductType) {
+ obj['CatalogItemId'] = CatalogItemId;
+ obj['ProductType'] = ProductType;
+ }
+
+ /**
+ * Constructs a CreateProductReference from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateProductReference} obj Optional instance to populate.
+ * @return {module:model/CreateProductReference} The populated CreateProductReference instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateProductReference();
+
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('ProductType')) {
+ obj['ProductType'] = ApiClient.convertToType(data['ProductType'], 'String');
+ }
+ if (data.hasOwnProperty('PreselectedQuantity')) {
+ obj['PreselectedQuantity'] = ApiClient.convertToType(data['PreselectedQuantity'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Identifier of the CatalogItemId to use as SubProduct
+ * @member {String} CatalogItemId
+ */
+CreateProductReference.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Type of the SupProduct
+ * @member {module:model/CreateProductReference.ProductTypeEnum} ProductType
+ */
+CreateProductReference.prototype['ProductType'] = undefined;
+
+/**
+ * Quantity of the modifier that will be set when the parent product is placed in the basket
+ * @member {Number} PreselectedQuantity
+ */
+CreateProductReference.prototype['PreselectedQuantity'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ProductType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateProductReference['ProductTypeEnum'] = {
+
+ /**
+ * value: "Product"
+ * @const
+ */
+ "Product": "Product",
+
+ /**
+ * value: "Modifier"
+ * @const
+ */
+ "Modifier": "Modifier"
+};
+
+
+
+export default CreateProductReference;
+
diff --git a/src/model/CreatePromotion.js b/src/model/CreatePromotion.js
new file mode 100644
index 00000000..215884c8
--- /dev/null
+++ b/src/model/CreatePromotion.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreatePromotion model module.
+ * @module model/CreatePromotion
+ * @version 1.0.0
+ */
+class CreatePromotion {
+ /**
+ * Constructs a new CreatePromotion.
+ * Create Promotion
+ * @alias module:model/CreatePromotion
+ */
+ constructor() {
+
+ CreatePromotion.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreatePromotion from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreatePromotion} obj Optional instance to populate.
+ * @return {module:model/CreatePromotion} The populated CreatePromotion instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreatePromotion();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('MenuItemPublicIds')) {
+ obj['MenuItemPublicIds'] = ApiClient.convertToType(data['MenuItemPublicIds'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Promotion Name
+ * @member {String} Name
+ */
+CreatePromotion.prototype['Name'] = undefined;
+
+/**
+ * Promotion Menu Item Awards
+ * @member {Array.} MenuItemPublicIds
+ */
+CreatePromotion.prototype['MenuItemPublicIds'] = undefined;
+
+
+
+
+
+
+export default CreatePromotion;
+
diff --git a/src/model/CreateTeammate.js b/src/model/CreateTeammate.js
new file mode 100644
index 00000000..0a0b475c
--- /dev/null
+++ b/src/model/CreateTeammate.js
@@ -0,0 +1,196 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreateTeammate model module.
+ * @module model/CreateTeammate
+ * @version 1.0.0
+ */
+class CreateTeammate {
+ /**
+ * Constructs a new CreateTeammate.
+ *
+ * @alias module:model/CreateTeammate
+ */
+ constructor() {
+
+ CreateTeammate.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateTeammate from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateTeammate} obj Optional instance to populate.
+ * @return {module:model/CreateTeammate} The populated CreateTeammate instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateTeammate();
+
+ if (data.hasOwnProperty('Email')) {
+ obj['Email'] = ApiClient.convertToType(data['Email'], 'String');
+ }
+ if (data.hasOwnProperty('AppAccessLevel')) {
+ obj['AppAccessLevel'] = ApiClient.convertToType(data['AppAccessLevel'], 'String');
+ }
+ if (data.hasOwnProperty('HasAccessToAllStores')) {
+ obj['HasAccessToAllStores'] = ApiClient.convertToType(data['HasAccessToAllStores'], 'Boolean');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('PropertyIds')) {
+ obj['PropertyIds'] = ApiClient.convertToType(data['PropertyIds'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Email address
+ * @member {String} Email
+ */
+CreateTeammate.prototype['Email'] = undefined;
+
+/**
+ * App access level
+ * @member {module:model/CreateTeammate.AppAccessLevelEnum} AppAccessLevel
+ */
+CreateTeammate.prototype['AppAccessLevel'] = undefined;
+
+/**
+ * The user has access to all stores for the app (including new stores that added later)
+ * @member {Boolean} HasAccessToAllStores
+ */
+CreateTeammate.prototype['HasAccessToAllStores'] = undefined;
+
+/**
+ * Store IDs the user has access to (if HasAccessToAllStores is false)
+ * @member {Array.} StoreIds
+ */
+CreateTeammate.prototype['StoreIds'] = undefined;
+
+/**
+ * Property Ids the user has access to (if HasAccessToAllStores is false)
+ * @member {Array.} PropertyIds
+ */
+CreateTeammate.prototype['PropertyIds'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the AppAccessLevel property.
+ * @enum {String}
+ * @readonly
+ */
+CreateTeammate['AppAccessLevelEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Owner"
+ * @const
+ */
+ "Owner": "Owner",
+
+ /**
+ * value: "StoreOwner"
+ * @const
+ */
+ "StoreOwner": "StoreOwner",
+
+ /**
+ * value: "PropertyOwner"
+ * @const
+ */
+ "PropertyOwner": "PropertyOwner",
+
+ /**
+ * value: "ManagedOwner"
+ * @const
+ */
+ "ManagedOwner": "ManagedOwner",
+
+ /**
+ * value: "Integrator"
+ * @const
+ */
+ "Integrator": "Integrator",
+
+ /**
+ * value: "PropertyManager"
+ * @const
+ */
+ "PropertyManager": "PropertyManager",
+
+ /**
+ * value: "StoreManager"
+ * @const
+ */
+ "StoreManager": "StoreManager",
+
+ /**
+ * value: "StoreStaff"
+ * @const
+ */
+ "StoreStaff": "StoreStaff",
+
+ /**
+ * value: "StoreReadOnlyAccess"
+ * @const
+ */
+ "StoreReadOnlyAccess": "StoreReadOnlyAccess",
+
+ /**
+ * value: "FinanceManger"
+ * @const
+ */
+ "FinanceManger": "FinanceManger",
+
+ /**
+ * value: "Onboarding"
+ * @const
+ */
+ "Onboarding": "Onboarding",
+
+ /**
+ * value: "Support"
+ * @const
+ */
+ "Support": "Support"
+};
+
+
+
+export default CreateTeammate;
+
diff --git a/src/model/CreateVoucher.js b/src/model/CreateVoucher.js
new file mode 100644
index 00000000..7f4875d7
--- /dev/null
+++ b/src/model/CreateVoucher.js
@@ -0,0 +1,461 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CreatePromotion from './CreatePromotion';
+import CreditNoteDetails from './CreditNoteDetails';
+import LumpDiscountDetails from './LumpDiscountDetails';
+import PercentDiscountDetails from './PercentDiscountDetails';
+import ValidityPeriod from './ValidityPeriod';
+
+/**
+ * The CreateVoucher model module.
+ * @module model/CreateVoucher
+ * @version 1.0.0
+ */
+class CreateVoucher {
+ /**
+ * Constructs a new CreateVoucher.
+ * Create Voucher
+ * @alias module:model/CreateVoucher
+ */
+ constructor() {
+
+ CreateVoucher.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreateVoucher from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreateVoucher} obj Optional instance to populate.
+ * @return {module:model/CreateVoucher} The populated CreateVoucher instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreateVoucher();
+
+ if (data.hasOwnProperty('VoucherType')) {
+ obj['VoucherType'] = ApiClient.convertToType(data['VoucherType'], 'String');
+ }
+ if (data.hasOwnProperty('Promotion')) {
+ obj['Promotion'] = CreatePromotion.constructFromObject(data['Promotion']);
+ }
+ if (data.hasOwnProperty('CreditNoteDetails')) {
+ obj['CreditNoteDetails'] = CreditNoteDetails.constructFromObject(data['CreditNoteDetails']);
+ }
+ if (data.hasOwnProperty('LumpDiscountDetails')) {
+ obj['LumpDiscountDetails'] = LumpDiscountDetails.constructFromObject(data['LumpDiscountDetails']);
+ }
+ if (data.hasOwnProperty('PercentDiscountDetails')) {
+ obj['PercentDiscountDetails'] = PercentDiscountDetails.constructFromObject(data['PercentDiscountDetails']);
+ }
+ if (data.hasOwnProperty('Code')) {
+ obj['Code'] = ApiClient.convertToType(data['Code'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Stores')) {
+ obj['Stores'] = ApiClient.convertToType(data['Stores'], ['Number']);
+ }
+ if (data.hasOwnProperty('ValidOnOrdersOver')) {
+ obj['ValidOnOrdersOver'] = ApiClient.convertToType(data['ValidOnOrdersOver'], 'Number');
+ }
+ if (data.hasOwnProperty('TakesPriority')) {
+ obj['TakesPriority'] = ApiClient.convertToType(data['TakesPriority'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsAutomaticallyApplied')) {
+ obj['IsAutomaticallyApplied'] = ApiClient.convertToType(data['IsAutomaticallyApplied'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IncludeDeliveryFee')) {
+ obj['IncludeDeliveryFee'] = ApiClient.convertToType(data['IncludeDeliveryFee'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidForDeliveryOrders')) {
+ obj['IsValidForDeliveryOrders'] = ApiClient.convertToType(data['IsValidForDeliveryOrders'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidForPickupOrders')) {
+ obj['IsValidForPickupOrders'] = ApiClient.convertToType(data['IsValidForPickupOrders'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidForOrdersPayedOnline')) {
+ obj['IsValidForOrdersPayedOnline'] = ApiClient.convertToType(data['IsValidForOrdersPayedOnline'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidForOrdersPayedByCash')) {
+ obj['IsValidForOrdersPayedByCash'] = ApiClient.convertToType(data['IsValidForOrdersPayedByCash'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidForFirstOrderOnly')) {
+ obj['IsValidForFirstOrderOnly'] = ApiClient.convertToType(data['IsValidForFirstOrderOnly'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidOncePerCustomer')) {
+ obj['IsValidOncePerCustomer'] = ApiClient.convertToType(data['IsValidOncePerCustomer'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsValidOnlyOnce')) {
+ obj['IsValidOnlyOnce'] = ApiClient.convertToType(data['IsValidOnlyOnce'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsDiscoverable')) {
+ obj['IsDiscoverable'] = ApiClient.convertToType(data['IsDiscoverable'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ForceDiscount')) {
+ obj['ForceDiscount'] = ApiClient.convertToType(data['ForceDiscount'], 'Boolean');
+ }
+ if (data.hasOwnProperty('StartDate')) {
+ obj['StartDate'] = ApiClient.convertToType(data['StartDate'], 'Date');
+ }
+ if (data.hasOwnProperty('ExpiryDate')) {
+ obj['ExpiryDate'] = ApiClient.convertToType(data['ExpiryDate'], 'Date');
+ }
+ if (data.hasOwnProperty('ChannelRestrictions')) {
+ obj['ChannelRestrictions'] = ApiClient.convertToType(data['ChannelRestrictions'], ['String']);
+ }
+ if (data.hasOwnProperty('ValidityPeriods')) {
+ obj['ValidityPeriods'] = ApiClient.convertToType(data['ValidityPeriods'], [ValidityPeriod]);
+ }
+ if (data.hasOwnProperty('VoucherSubType')) {
+ obj['VoucherSubType'] = ApiClient.convertToType(data['VoucherSubType'], 'String');
+ }
+ if (data.hasOwnProperty('CustomerId')) {
+ obj['CustomerId'] = ApiClient.convertToType(data['CustomerId'], 'Number');
+ }
+ if (data.hasOwnProperty('MaxRedemptions')) {
+ obj['MaxRedemptions'] = ApiClient.convertToType(data['MaxRedemptions'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Voucher Type
+ * @member {module:model/CreateVoucher.VoucherTypeEnum} VoucherType
+ */
+CreateVoucher.prototype['VoucherType'] = undefined;
+
+/**
+ * @member {module:model/CreatePromotion} Promotion
+ */
+CreateVoucher.prototype['Promotion'] = undefined;
+
+/**
+ * @member {module:model/CreditNoteDetails} CreditNoteDetails
+ */
+CreateVoucher.prototype['CreditNoteDetails'] = undefined;
+
+/**
+ * @member {module:model/LumpDiscountDetails} LumpDiscountDetails
+ */
+CreateVoucher.prototype['LumpDiscountDetails'] = undefined;
+
+/**
+ * @member {module:model/PercentDiscountDetails} PercentDiscountDetails
+ */
+CreateVoucher.prototype['PercentDiscountDetails'] = undefined;
+
+/**
+ * Voucher Code
+ * @member {String} Code
+ */
+CreateVoucher.prototype['Code'] = undefined;
+
+/**
+ * Voucher Description (Visible on printout)
+ * @member {String} Description
+ */
+CreateVoucher.prototype['Description'] = undefined;
+
+/**
+ * Stores that this voucher applies to
+ * @member {Array.} Stores
+ */
+CreateVoucher.prototype['Stores'] = undefined;
+
+/**
+ * Valid on orders on or above
+ * @member {Number} ValidOnOrdersOver
+ */
+CreateVoucher.prototype['ValidOnOrdersOver'] = undefined;
+
+/**
+ * Takes priority
+ * @member {Boolean} TakesPriority
+ */
+CreateVoucher.prototype['TakesPriority'] = undefined;
+
+/**
+ * Is voucher enabled
+ * @member {Boolean} IsEnabled
+ */
+CreateVoucher.prototype['IsEnabled'] = undefined;
+
+/**
+ * Is voucher automatically applied
+ * @member {Boolean} IsAutomaticallyApplied
+ */
+CreateVoucher.prototype['IsAutomaticallyApplied'] = undefined;
+
+/**
+ * Include delivery fees
+ * @member {Boolean} IncludeDeliveryFee
+ */
+CreateVoucher.prototype['IncludeDeliveryFee'] = undefined;
+
+/**
+ * Valid for delivery orders
+ * @member {Boolean} IsValidForDeliveryOrders
+ */
+CreateVoucher.prototype['IsValidForDeliveryOrders'] = undefined;
+
+/**
+ * Valid for pickup orders
+ * @member {Boolean} IsValidForPickupOrders
+ */
+CreateVoucher.prototype['IsValidForPickupOrders'] = undefined;
+
+/**
+ * Valid for orders payed online
+ * @member {Boolean} IsValidForOrdersPayedOnline
+ */
+CreateVoucher.prototype['IsValidForOrdersPayedOnline'] = undefined;
+
+/**
+ * Valid for orders payed in cash
+ * @member {Boolean} IsValidForOrdersPayedByCash
+ */
+CreateVoucher.prototype['IsValidForOrdersPayedByCash'] = undefined;
+
+/**
+ * Valid only on the first order by the customer
+ * @member {Boolean} IsValidForFirstOrderOnly
+ */
+CreateVoucher.prototype['IsValidForFirstOrderOnly'] = undefined;
+
+/**
+ * Valid once per customer
+ * @member {Boolean} IsValidOncePerCustomer
+ */
+CreateVoucher.prototype['IsValidOncePerCustomer'] = undefined;
+
+/**
+ * Valid only once, by any customer (once used cannot be used again by any other customer)
+ * @member {Boolean} IsValidOnlyOnce
+ */
+CreateVoucher.prototype['IsValidOnlyOnce'] = undefined;
+
+/**
+ * Enables the voucher to be offered in the Voucher Discoverability feature
+ * @member {Boolean} IsDiscoverable
+ */
+CreateVoucher.prototype['IsDiscoverable'] = undefined;
+
+/**
+ * Force the discount to be applied which bypasses some menu restrictions
+ * @member {Boolean} ForceDiscount
+ */
+CreateVoucher.prototype['ForceDiscount'] = undefined;
+
+/**
+ * Voucher Starts On (Time in UTC)
+ * @member {Date} StartDate
+ */
+CreateVoucher.prototype['StartDate'] = undefined;
+
+/**
+ * Voucher Expires On (Time in UTC)
+ * @member {Date} ExpiryDate
+ */
+CreateVoucher.prototype['ExpiryDate'] = undefined;
+
+/**
+ * Limit the channels this voucher can be used on
+ * @member {Array.} ChannelRestrictions
+ */
+CreateVoucher.prototype['ChannelRestrictions'] = undefined;
+
+/**
+ * Periods in which the voucher is valid. An empty list means the voucher is valid at all times. When updating the voucher, if this is set to null, the validity periods won't be updated.
+ * @member {Array.} ValidityPeriods
+ */
+CreateVoucher.prototype['ValidityPeriods'] = undefined;
+
+/**
+ * Voucher Subtype
+ * @member {module:model/CreateVoucher.VoucherSubTypeEnum} VoucherSubType
+ */
+CreateVoucher.prototype['VoucherSubType'] = undefined;
+
+/**
+ * Customer UserID
+ * @member {Number} CustomerId
+ */
+CreateVoucher.prototype['CustomerId'] = undefined;
+
+/**
+ * Maximum number of times the voucher can be redeemed (used)
+ * @member {Number} MaxRedemptions
+ */
+CreateVoucher.prototype['MaxRedemptions'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the VoucherType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateVoucher['VoucherTypeEnum'] = {
+
+ /**
+ * value: "PercentageDiscount"
+ * @const
+ */
+ "PercentageDiscount": "PercentageDiscount",
+
+ /**
+ * value: "LumpDiscount"
+ * @const
+ */
+ "LumpDiscount": "LumpDiscount",
+
+ /**
+ * value: "AddItem"
+ * @const
+ */
+ "AddItem": "AddItem",
+
+ /**
+ * value: "CreditNote"
+ * @const
+ */
+ "CreditNote": "CreditNote",
+
+ /**
+ * value: "FreeDelivery"
+ * @const
+ */
+ "FreeDelivery": "FreeDelivery"
+};
+
+
+/**
+ * Allowed values for the ChannelRestrictions property.
+ * @enum {String}
+ * @readonly
+ */
+CreateVoucher['ChannelRestrictionsEnum'] = {
+
+ /**
+ * value: "Ios"
+ * @const
+ */
+ "Ios": "Ios",
+
+ /**
+ * value: "Android"
+ * @const
+ */
+ "Android": "Android",
+
+ /**
+ * value: "Web"
+ * @const
+ */
+ "Web": "Web",
+
+ /**
+ * value: "Kiosk"
+ * @const
+ */
+ "Kiosk": "Kiosk",
+
+ /**
+ * value: "Pos"
+ * @const
+ */
+ "Pos": "Pos",
+
+ /**
+ * value: "Google"
+ * @const
+ */
+ "Google": "Google"
+};
+
+
+/**
+ * Allowed values for the VoucherSubType property.
+ * @enum {String}
+ * @readonly
+ */
+CreateVoucher['VoucherSubTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "SignUp"
+ * @const
+ */
+ "SignUp": "SignUp",
+
+ /**
+ * value: "Loyalty"
+ * @const
+ */
+ "Loyalty": "Loyalty",
+
+ /**
+ * value: "Loyalty25"
+ * @const
+ */
+ "Loyalty25": "Loyalty25",
+
+ /**
+ * value: "Retention"
+ * @const
+ */
+ "Retention": "Retention",
+
+ /**
+ * value: "SecondaryRetention"
+ * @const
+ */
+ "SecondaryRetention": "SecondaryRetention",
+
+ /**
+ * value: "Custom"
+ * @const
+ */
+ "Custom": "Custom"
+};
+
+
+
+export default CreateVoucher;
+
diff --git a/src/model/CreatedMenuSectionItems.js b/src/model/CreatedMenuSectionItems.js
new file mode 100644
index 00000000..9601f286
--- /dev/null
+++ b/src/model/CreatedMenuSectionItems.js
@@ -0,0 +1,74 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import MenuSectionItem from './MenuSectionItem';
+
+/**
+ * The CreatedMenuSectionItems model module.
+ * @module model/CreatedMenuSectionItems
+ * @version 1.0.0
+ */
+class CreatedMenuSectionItems {
+ /**
+ * Constructs a new CreatedMenuSectionItems.
+ * Response for the creation of multiple Menu Section Items
+ * @alias module:model/CreatedMenuSectionItems
+ */
+ constructor() {
+
+ CreatedMenuSectionItems.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreatedMenuSectionItems from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreatedMenuSectionItems} obj Optional instance to populate.
+ * @return {module:model/CreatedMenuSectionItems} The populated CreatedMenuSectionItems instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreatedMenuSectionItems();
+
+ if (data.hasOwnProperty('MenuSectionItems')) {
+ obj['MenuSectionItems'] = ApiClient.convertToType(data['MenuSectionItems'], [MenuSectionItem]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Created Menu Section Items
+ * @member {Array.} MenuSectionItems
+ */
+CreatedMenuSectionItems.prototype['MenuSectionItems'] = undefined;
+
+
+
+
+
+
+export default CreatedMenuSectionItems;
+
diff --git a/src/model/CreditNoteDetails.js b/src/model/CreditNoteDetails.js
new file mode 100644
index 00000000..d54e1773
--- /dev/null
+++ b/src/model/CreditNoteDetails.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CreditNoteDetails model module.
+ * @module model/CreditNoteDetails
+ * @version 1.0.0
+ */
+class CreditNoteDetails {
+ /**
+ * Constructs a new CreditNoteDetails.
+ * Credit note details
+ * @alias module:model/CreditNoteDetails
+ */
+ constructor() {
+
+ CreditNoteDetails.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CreditNoteDetails from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CreditNoteDetails} obj Optional instance to populate.
+ * @return {module:model/CreditNoteDetails} The populated CreditNoteDetails instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CreditNoteDetails();
+
+ if (data.hasOwnProperty('RemainingCredit')) {
+ obj['RemainingCredit'] = ApiClient.convertToType(data['RemainingCredit'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Remaining credit
+ * @member {Number} RemainingCredit
+ */
+CreditNoteDetails.prototype['RemainingCredit'] = undefined;
+
+
+
+
+
+
+export default CreditNoteDetails;
+
diff --git a/src/model/CrossSellMenuItems.js b/src/model/CrossSellMenuItems.js
new file mode 100644
index 00000000..087251e5
--- /dev/null
+++ b/src/model/CrossSellMenuItems.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CrossSellMenuItems model module.
+ * @module model/CrossSellMenuItems
+ * @version 1.0.0
+ */
+class CrossSellMenuItems {
+ /**
+ * Constructs a new CrossSellMenuItems.
+ * Menu Items for Cross-Sell
+ * @alias module:model/CrossSellMenuItems
+ */
+ constructor() {
+
+ CrossSellMenuItems.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CrossSellMenuItems from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CrossSellMenuItems} obj Optional instance to populate.
+ * @return {module:model/CrossSellMenuItems} The populated CrossSellMenuItems instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CrossSellMenuItems();
+
+ if (data.hasOwnProperty('MenuItemIds')) {
+ obj['MenuItemIds'] = ApiClient.convertToType(data['MenuItemIds'], ['Number']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Menu Item Id's
+ * @member {Array.} MenuItemIds
+ */
+CrossSellMenuItems.prototype['MenuItemIds'] = undefined;
+
+
+
+
+
+
+export default CrossSellMenuItems;
+
diff --git a/src/model/CspReport.js b/src/model/CspReport.js
new file mode 100644
index 00000000..5c21a5aa
--- /dev/null
+++ b/src/model/CspReport.js
@@ -0,0 +1,119 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CspReport model module.
+ * @module model/CspReport
+ * @version 1.0.0
+ */
+class CspReport {
+ /**
+ * Constructs a new CspReport.
+ * @alias module:model/CspReport
+ */
+ constructor() {
+
+ CspReport.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CspReport from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CspReport} obj Optional instance to populate.
+ * @return {module:model/CspReport} The populated CspReport instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CspReport();
+
+ if (data.hasOwnProperty('Document-uri')) {
+ obj['Document-uri'] = ApiClient.convertToType(data['Document-uri'], 'String');
+ }
+ if (data.hasOwnProperty('Referrer')) {
+ obj['Referrer'] = ApiClient.convertToType(data['Referrer'], 'String');
+ }
+ if (data.hasOwnProperty('Violated-directive')) {
+ obj['Violated-directive'] = ApiClient.convertToType(data['Violated-directive'], 'String');
+ }
+ if (data.hasOwnProperty('Effective-directive')) {
+ obj['Effective-directive'] = ApiClient.convertToType(data['Effective-directive'], 'String');
+ }
+ if (data.hasOwnProperty('Original-policy')) {
+ obj['Original-policy'] = ApiClient.convertToType(data['Original-policy'], 'String');
+ }
+ if (data.hasOwnProperty('Blocked-uri')) {
+ obj['Blocked-uri'] = ApiClient.convertToType(data['Blocked-uri'], 'String');
+ }
+ if (data.hasOwnProperty('Status-code')) {
+ obj['Status-code'] = ApiClient.convertToType(data['Status-code'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Document-uri
+ */
+CspReport.prototype['Document-uri'] = undefined;
+
+/**
+ * @member {String} Referrer
+ */
+CspReport.prototype['Referrer'] = undefined;
+
+/**
+ * @member {String} Violated-directive
+ */
+CspReport.prototype['Violated-directive'] = undefined;
+
+/**
+ * @member {String} Effective-directive
+ */
+CspReport.prototype['Effective-directive'] = undefined;
+
+/**
+ * @member {String} Original-policy
+ */
+CspReport.prototype['Original-policy'] = undefined;
+
+/**
+ * @member {String} Blocked-uri
+ */
+CspReport.prototype['Blocked-uri'] = undefined;
+
+/**
+ * @member {Number} Status-code
+ */
+CspReport.prototype['Status-code'] = undefined;
+
+
+
+
+
+
+export default CspReport;
+
diff --git a/src/model/CspReportRequest.js b/src/model/CspReportRequest.js
new file mode 100644
index 00000000..db4b3b5d
--- /dev/null
+++ b/src/model/CspReportRequest.js
@@ -0,0 +1,72 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CspReport from './CspReport';
+
+/**
+ * The CspReportRequest model module.
+ * @module model/CspReportRequest
+ * @version 1.0.0
+ */
+class CspReportRequest {
+ /**
+ * Constructs a new CspReportRequest.
+ * @alias module:model/CspReportRequest
+ */
+ constructor() {
+
+ CspReportRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CspReportRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CspReportRequest} obj Optional instance to populate.
+ * @return {module:model/CspReportRequest} The populated CspReportRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CspReportRequest();
+
+ if (data.hasOwnProperty('Csp-report')) {
+ obj['Csp-report'] = CspReport.constructFromObject(data['Csp-report']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/CspReport} Csp-report
+ */
+CspReportRequest.prototype['Csp-report'] = undefined;
+
+
+
+
+
+
+export default CspReportRequest;
+
diff --git a/src/model/CurrencyData.js b/src/model/CurrencyData.js
new file mode 100644
index 00000000..3f38fc7d
--- /dev/null
+++ b/src/model/CurrencyData.js
@@ -0,0 +1,769 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CurrencyData model module.
+ * @module model/CurrencyData
+ * @version 1.0.0
+ */
+class CurrencyData {
+ /**
+ * Constructs a new CurrencyData.
+ * A single currency data piece, with no date
+ * @alias module:model/CurrencyData
+ */
+ constructor() {
+
+ CurrencyData.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CurrencyData from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CurrencyData} obj Optional instance to populate.
+ * @return {module:model/CurrencyData} The populated CurrencyData instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CurrencyData();
+
+ if (data.hasOwnProperty('Currency')) {
+ obj['Currency'] = ApiClient.convertToType(data['Currency'], 'String');
+ }
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Currency
+ * @member {module:model/CurrencyData.CurrencyEnum} Currency
+ */
+CurrencyData.prototype['Currency'] = undefined;
+
+/**
+ * Value
+ * @member {Number} Value
+ */
+CurrencyData.prototype['Value'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the Currency property.
+ * @enum {String}
+ * @readonly
+ */
+CurrencyData['CurrencyEnum'] = {
+
+ /**
+ * value: "EUR"
+ * @const
+ */
+ "EUR": "EUR",
+
+ /**
+ * value: "USD"
+ * @const
+ */
+ "USD": "USD",
+
+ /**
+ * value: "GBP"
+ * @const
+ */
+ "GBP": "GBP",
+
+ /**
+ * value: "CAD"
+ * @const
+ */
+ "CAD": "CAD",
+
+ /**
+ * value: "AUD"
+ * @const
+ */
+ "AUD": "AUD",
+
+ /**
+ * value: "DJF"
+ * @const
+ */
+ "DJF": "DJF",
+
+ /**
+ * value: "ZAR"
+ * @const
+ */
+ "ZAR": "ZAR",
+
+ /**
+ * value: "ETB"
+ * @const
+ */
+ "ETB": "ETB",
+
+ /**
+ * value: "AED"
+ * @const
+ */
+ "AED": "AED",
+
+ /**
+ * value: "BHD"
+ * @const
+ */
+ "BHD": "BHD",
+
+ /**
+ * value: "DZD"
+ * @const
+ */
+ "DZD": "DZD",
+
+ /**
+ * value: "EGP"
+ * @const
+ */
+ "EGP": "EGP",
+
+ /**
+ * value: "IQD"
+ * @const
+ */
+ "IQD": "IQD",
+
+ /**
+ * value: "JOD"
+ * @const
+ */
+ "JOD": "JOD",
+
+ /**
+ * value: "KWD"
+ * @const
+ */
+ "KWD": "KWD",
+
+ /**
+ * value: "LBP"
+ * @const
+ */
+ "LBP": "LBP",
+
+ /**
+ * value: "LYD"
+ * @const
+ */
+ "LYD": "LYD",
+
+ /**
+ * value: "MAD"
+ * @const
+ */
+ "MAD": "MAD",
+
+ /**
+ * value: "OMR"
+ * @const
+ */
+ "OMR": "OMR",
+
+ /**
+ * value: "QAR"
+ * @const
+ */
+ "QAR": "QAR",
+
+ /**
+ * value: "SAR"
+ * @const
+ */
+ "SAR": "SAR",
+
+ /**
+ * value: "SYP"
+ * @const
+ */
+ "SYP": "SYP",
+
+ /**
+ * value: "TND"
+ * @const
+ */
+ "TND": "TND",
+
+ /**
+ * value: "YER"
+ * @const
+ */
+ "YER": "YER",
+
+ /**
+ * value: "CLP"
+ * @const
+ */
+ "CLP": "CLP",
+
+ /**
+ * value: "INR"
+ * @const
+ */
+ "INR": "INR",
+
+ /**
+ * value: "AZN"
+ * @const
+ */
+ "AZN": "AZN",
+
+ /**
+ * value: "RUB"
+ * @const
+ */
+ "RUB": "RUB",
+
+ /**
+ * value: "BYN"
+ * @const
+ */
+ "BYN": "BYN",
+
+ /**
+ * value: "BGN"
+ * @const
+ */
+ "BGN": "BGN",
+
+ /**
+ * value: "NGN"
+ * @const
+ */
+ "NGN": "NGN",
+
+ /**
+ * value: "BDT"
+ * @const
+ */
+ "BDT": "BDT",
+
+ /**
+ * value: "CNY"
+ * @const
+ */
+ "CNY": "CNY",
+
+ /**
+ * value: "BAM"
+ * @const
+ */
+ "BAM": "BAM",
+
+ /**
+ * value: "CZK"
+ * @const
+ */
+ "CZK": "CZK",
+
+ /**
+ * value: "DKK"
+ * @const
+ */
+ "DKK": "DKK",
+
+ /**
+ * value: "CHF"
+ * @const
+ */
+ "CHF": "CHF",
+
+ /**
+ * value: "MVR"
+ * @const
+ */
+ "MVR": "MVR",
+
+ /**
+ * value: "BTN"
+ * @const
+ */
+ "BTN": "BTN",
+
+ /**
+ * value: "XCD"
+ * @const
+ */
+ "XCD": "XCD",
+
+ /**
+ * value: "BZD"
+ * @const
+ */
+ "BZD": "BZD",
+
+ /**
+ * value: "HKD"
+ * @const
+ */
+ "HKD": "HKD",
+
+ /**
+ * value: "IDR"
+ * @const
+ */
+ "IDR": "IDR",
+
+ /**
+ * value: "JMD"
+ * @const
+ */
+ "JMD": "JMD",
+
+ /**
+ * value: "MYR"
+ * @const
+ */
+ "MYR": "MYR",
+
+ /**
+ * value: "NZD"
+ * @const
+ */
+ "NZD": "NZD",
+
+ /**
+ * value: "PHP"
+ * @const
+ */
+ "PHP": "PHP",
+
+ /**
+ * value: "SGD"
+ * @const
+ */
+ "SGD": "SGD",
+
+ /**
+ * value: "TTD"
+ * @const
+ */
+ "TTD": "TTD",
+
+ /**
+ * value: "XDR"
+ * @const
+ */
+ "XDR": "XDR",
+
+ /**
+ * value: "ARS"
+ * @const
+ */
+ "ARS": "ARS",
+
+ /**
+ * value: "BOB"
+ * @const
+ */
+ "BOB": "BOB",
+
+ /**
+ * value: "COP"
+ * @const
+ */
+ "COP": "COP",
+
+ /**
+ * value: "CRC"
+ * @const
+ */
+ "CRC": "CRC",
+
+ /**
+ * value: "CUP"
+ * @const
+ */
+ "CUP": "CUP",
+
+ /**
+ * value: "DOP"
+ * @const
+ */
+ "DOP": "DOP",
+
+ /**
+ * value: "GTQ"
+ * @const
+ */
+ "GTQ": "GTQ",
+
+ /**
+ * value: "HNL"
+ * @const
+ */
+ "HNL": "HNL",
+
+ /**
+ * value: "MXN"
+ * @const
+ */
+ "MXN": "MXN",
+
+ /**
+ * value: "NIO"
+ * @const
+ */
+ "NIO": "NIO",
+
+ /**
+ * value: "PAB"
+ * @const
+ */
+ "PAB": "PAB",
+
+ /**
+ * value: "PEN"
+ * @const
+ */
+ "PEN": "PEN",
+
+ /**
+ * value: "PYG"
+ * @const
+ */
+ "PYG": "PYG",
+
+ /**
+ * value: "UYU"
+ * @const
+ */
+ "UYU": "UYU",
+
+ /**
+ * value: "VEF"
+ * @const
+ */
+ "VEF": "VEF",
+
+ /**
+ * value: "IRR"
+ * @const
+ */
+ "IRR": "IRR",
+
+ /**
+ * value: "XOF"
+ * @const
+ */
+ "XOF": "XOF",
+
+ /**
+ * value: "CDF"
+ * @const
+ */
+ "CDF": "CDF",
+
+ /**
+ * value: "XAF"
+ * @const
+ */
+ "XAF": "XAF",
+
+ /**
+ * value: "HTG"
+ * @const
+ */
+ "HTG": "HTG",
+
+ /**
+ * value: "ILS"
+ * @const
+ */
+ "ILS": "ILS",
+
+ /**
+ * value: "HRK"
+ * @const
+ */
+ "HRK": "HRK",
+
+ /**
+ * value: "HUF"
+ * @const
+ */
+ "HUF": "HUF",
+
+ /**
+ * value: "AMD"
+ * @const
+ */
+ "AMD": "AMD",
+
+ /**
+ * value: "ISK"
+ * @const
+ */
+ "ISK": "ISK",
+
+ /**
+ * value: "JPY"
+ * @const
+ */
+ "JPY": "JPY",
+
+ /**
+ * value: "GEL"
+ * @const
+ */
+ "GEL": "GEL",
+
+ /**
+ * value: "KZT"
+ * @const
+ */
+ "KZT": "KZT",
+
+ /**
+ * value: "KHR"
+ * @const
+ */
+ "KHR": "KHR",
+
+ /**
+ * value: "KRW"
+ * @const
+ */
+ "KRW": "KRW",
+
+ /**
+ * value: "KGS"
+ * @const
+ */
+ "KGS": "KGS",
+
+ /**
+ * value: "LAK"
+ * @const
+ */
+ "LAK": "LAK",
+
+ /**
+ * value: "MKD"
+ * @const
+ */
+ "MKD": "MKD",
+
+ /**
+ * value: "MNT"
+ * @const
+ */
+ "MNT": "MNT",
+
+ /**
+ * value: "BND"
+ * @const
+ */
+ "BND": "BND",
+
+ /**
+ * value: "MMK"
+ * @const
+ */
+ "MMK": "MMK",
+
+ /**
+ * value: "NOK"
+ * @const
+ */
+ "NOK": "NOK",
+
+ /**
+ * value: "NPR"
+ * @const
+ */
+ "NPR": "NPR",
+
+ /**
+ * value: "PKR"
+ * @const
+ */
+ "PKR": "PKR",
+
+ /**
+ * value: "PLN"
+ * @const
+ */
+ "PLN": "PLN",
+
+ /**
+ * value: "AFN"
+ * @const
+ */
+ "AFN": "AFN",
+
+ /**
+ * value: "BRL"
+ * @const
+ */
+ "BRL": "BRL",
+
+ /**
+ * value: "MDL"
+ * @const
+ */
+ "MDL": "MDL",
+
+ /**
+ * value: "RON"
+ * @const
+ */
+ "RON": "RON",
+
+ /**
+ * value: "RWF"
+ * @const
+ */
+ "RWF": "RWF",
+
+ /**
+ * value: "SEK"
+ * @const
+ */
+ "SEK": "SEK",
+
+ /**
+ * value: "LKR"
+ * @const
+ */
+ "LKR": "LKR",
+
+ /**
+ * value: "SOS"
+ * @const
+ */
+ "SOS": "SOS",
+
+ /**
+ * value: "ALL"
+ * @const
+ */
+ "ALL": "ALL",
+
+ /**
+ * value: "RSD"
+ * @const
+ */
+ "RSD": "RSD",
+
+ /**
+ * value: "KES"
+ * @const
+ */
+ "KES": "KES",
+
+ /**
+ * value: "TJS"
+ * @const
+ */
+ "TJS": "TJS",
+
+ /**
+ * value: "THB"
+ * @const
+ */
+ "THB": "THB",
+
+ /**
+ * value: "ERN"
+ * @const
+ */
+ "ERN": "ERN",
+
+ /**
+ * value: "TMT"
+ * @const
+ */
+ "TMT": "TMT",
+
+ /**
+ * value: "BWP"
+ * @const
+ */
+ "BWP": "BWP",
+
+ /**
+ * value: "TRY"
+ * @const
+ */
+ "TRY": "TRY",
+
+ /**
+ * value: "UAH"
+ * @const
+ */
+ "UAH": "UAH",
+
+ /**
+ * value: "UZS"
+ * @const
+ */
+ "UZS": "UZS",
+
+ /**
+ * value: "VND"
+ * @const
+ */
+ "VND": "VND",
+
+ /**
+ * value: "MOP"
+ * @const
+ */
+ "MOP": "MOP",
+
+ /**
+ * value: "TWD"
+ * @const
+ */
+ "TWD": "TWD",
+
+ /**
+ * value: "BMD"
+ * @const
+ */
+ "BMD": "BMD"
+};
+
+
+
+export default CurrencyData;
+
diff --git a/src/model/Customer.js b/src/model/Customer.js
new file mode 100644
index 00000000..73ad797c
--- /dev/null
+++ b/src/model/Customer.js
@@ -0,0 +1,127 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The Customer model module.
+ * @module model/Customer
+ * @version 1.0.0
+ */
+class Customer {
+ /**
+ * Constructs a new Customer.
+ * Defines a customer
+ * @alias module:model/Customer
+ */
+ constructor() {
+
+ Customer.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Customer from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Customer} obj Optional instance to populate.
+ * @return {module:model/Customer} The populated Customer instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Customer();
+
+ if (data.hasOwnProperty('CustomerId')) {
+ obj['CustomerId'] = ApiClient.convertToType(data['CustomerId'], 'Number');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('RegistrationDate')) {
+ obj['RegistrationDate'] = ApiClient.convertToType(data['RegistrationDate'], 'Date');
+ }
+ if (data.hasOwnProperty('PhoneNumber')) {
+ obj['PhoneNumber'] = ApiClient.convertToType(data['PhoneNumber'], 'String');
+ }
+ if (data.hasOwnProperty('CashOrdersEnabled')) {
+ obj['CashOrdersEnabled'] = ApiClient.convertToType(data['CashOrdersEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CardOrdersEnabled')) {
+ obj['CardOrdersEnabled'] = ApiClient.convertToType(data['CardOrdersEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('MarketingEnabled')) {
+ obj['MarketingEnabled'] = ApiClient.convertToType(data['MarketingEnabled'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Id of the customer
+ * @member {Number} CustomerId
+ */
+Customer.prototype['CustomerId'] = undefined;
+
+/**
+ * Customer name
+ * @member {String} Name
+ */
+Customer.prototype['Name'] = undefined;
+
+/**
+ * Customer registration date
+ * @member {Date} RegistrationDate
+ */
+Customer.prototype['RegistrationDate'] = undefined;
+
+/**
+ * Phone Number in international format
+ * @member {String} PhoneNumber
+ */
+Customer.prototype['PhoneNumber'] = undefined;
+
+/**
+ * Customer can place cash orders
+ * @member {Boolean} CashOrdersEnabled
+ */
+Customer.prototype['CashOrdersEnabled'] = undefined;
+
+/**
+ * Customer can place card orders
+ * @member {Boolean} CardOrdersEnabled
+ */
+Customer.prototype['CardOrdersEnabled'] = undefined;
+
+/**
+ * Customer can receive marketing
+ * @member {Boolean} MarketingEnabled
+ */
+Customer.prototype['MarketingEnabled'] = undefined;
+
+
+
+
+
+
+export default Customer;
+
diff --git a/src/model/CustomerConsentUpdatedEvent.js b/src/model/CustomerConsentUpdatedEvent.js
new file mode 100644
index 00000000..4162b9de
--- /dev/null
+++ b/src/model/CustomerConsentUpdatedEvent.js
@@ -0,0 +1,154 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CustomerConsentUpdatedEvent model module.
+ * @module model/CustomerConsentUpdatedEvent
+ * @version 1.0.0
+ */
+class CustomerConsentUpdatedEvent {
+ /**
+ * Constructs a new CustomerConsentUpdatedEvent.
+ * Customer consent updated
+ * @alias module:model/CustomerConsentUpdatedEvent
+ */
+ constructor() {
+
+ CustomerConsentUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerConsentUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerConsentUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/CustomerConsentUpdatedEvent} The populated CustomerConsentUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerConsentUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('Enabled')) {
+ obj['Enabled'] = ApiClient.convertToType(data['Enabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CustomerConsentUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+CustomerConsentUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Enabled
+ * @member {Boolean} Enabled
+ */
+CustomerConsentUpdatedEvent.prototype['Enabled'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CustomerConsentUpdatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CustomerConsentUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CustomerConsentUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CustomerConsentUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CustomerConsentUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CustomerConsentUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CustomerConsentUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CustomerConsentUpdatedEvent;
+
diff --git a/src/model/CustomerCreateModel.js b/src/model/CustomerCreateModel.js
new file mode 100644
index 00000000..c8cc1772
--- /dev/null
+++ b/src/model/CustomerCreateModel.js
@@ -0,0 +1,166 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CustomerCreateModel model module.
+ * @module model/CustomerCreateModel
+ * @version 1.0.0
+ */
+class CustomerCreateModel {
+ /**
+ * Constructs a new CustomerCreateModel.
+ * Defines a customer create model
+ * @alias module:model/CustomerCreateModel
+ */
+ constructor() {
+
+ CustomerCreateModel.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerCreateModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerCreateModel} obj Optional instance to populate.
+ * @return {module:model/CustomerCreateModel} The populated CustomerCreateModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerCreateModel();
+
+ if (data.hasOwnProperty('PhoneNumber')) {
+ obj['PhoneNumber'] = ApiClient.convertToType(data['PhoneNumber'], 'String');
+ }
+ if (data.hasOwnProperty('AppType')) {
+ obj['AppType'] = ApiClient.convertToType(data['AppType'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Customer Phone Number
+ * @member {String} PhoneNumber
+ */
+CustomerCreateModel.prototype['PhoneNumber'] = undefined;
+
+/**
+ * Customer AppType
+ * @member {module:model/CustomerCreateModel.AppTypeEnum} AppType
+ */
+CustomerCreateModel.prototype['AppType'] = undefined;
+
+/**
+ * Customer Name
+ * @member {String} Name
+ */
+CustomerCreateModel.prototype['Name'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the AppType property.
+ * @enum {String}
+ * @readonly
+ */
+CustomerCreateModel['AppTypeEnum'] = {
+
+ /**
+ * value: "Unknown"
+ * @const
+ */
+ "Unknown": "Unknown",
+
+ /**
+ * value: "Ios"
+ * @const
+ */
+ "Ios": "Ios",
+
+ /**
+ * value: "Android"
+ * @const
+ */
+ "Android": "Android",
+
+ /**
+ * value: "Web"
+ * @const
+ */
+ "Web": "Web",
+
+ /**
+ * value: "Kiosk"
+ * @const
+ */
+ "Kiosk": "Kiosk",
+
+ /**
+ * value: "Pos"
+ * @const
+ */
+ "Pos": "Pos",
+
+ /**
+ * value: "TelephoneCall"
+ * @const
+ */
+ "TelephoneCall": "TelephoneCall",
+
+ /**
+ * value: "Sms"
+ * @const
+ */
+ "Sms": "Sms",
+
+ /**
+ * value: "PwaAndroid"
+ * @const
+ */
+ "PwaAndroid": "PwaAndroid",
+
+ /**
+ * value: "PwaIos"
+ * @const
+ */
+ "PwaIos": "PwaIos",
+
+ /**
+ * value: "Google"
+ * @const
+ */
+ "Google": "Google"
+};
+
+
+
+export default CustomerCreateModel;
+
diff --git a/src/model/CustomerCreatedEvent.js b/src/model/CustomerCreatedEvent.js
new file mode 100644
index 00000000..cefeafc7
--- /dev/null
+++ b/src/model/CustomerCreatedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CustomerCreatedEvent model module.
+ * @module model/CustomerCreatedEvent
+ * @version 1.0.0
+ */
+class CustomerCreatedEvent {
+ /**
+ * Constructs a new CustomerCreatedEvent.
+ * Customer created event
+ * @alias module:model/CustomerCreatedEvent
+ */
+ constructor() {
+
+ CustomerCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/CustomerCreatedEvent} The populated CustomerCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerCreatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CustomerCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Organisation Id
+ * @member {String} OrgId
+ */
+CustomerCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CustomerCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CustomerCreatedEvent.prototype['Description'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CustomerCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CustomerCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CustomerCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CustomerCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CustomerCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CustomerCreatedEvent;
+
diff --git a/src/model/CustomerDeliveryTrackingOrder.js b/src/model/CustomerDeliveryTrackingOrder.js
new file mode 100644
index 00000000..7bc2f52b
--- /dev/null
+++ b/src/model/CustomerDeliveryTrackingOrder.js
@@ -0,0 +1,923 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CustomerDeliveryTrackingOrderLine from './CustomerDeliveryTrackingOrderLine';
+
+/**
+ * The CustomerDeliveryTrackingOrder model module.
+ * @module model/CustomerDeliveryTrackingOrder
+ * @version 1.0.0
+ */
+class CustomerDeliveryTrackingOrder {
+ /**
+ * Constructs a new CustomerDeliveryTrackingOrder.
+ * Defines the order data required for customer driver tracking
+ * @alias module:model/CustomerDeliveryTrackingOrder
+ */
+ constructor() {
+
+ CustomerDeliveryTrackingOrder.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerDeliveryTrackingOrder from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerDeliveryTrackingOrder} obj Optional instance to populate.
+ * @return {module:model/CustomerDeliveryTrackingOrder} The populated CustomerDeliveryTrackingOrder instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerDeliveryTrackingOrder();
+
+ if (data.hasOwnProperty('OrderId')) {
+ obj['OrderId'] = ApiClient.convertToType(data['OrderId'], 'Number');
+ }
+ if (data.hasOwnProperty('Address')) {
+ obj['Address'] = ApiClient.convertToType(data['Address'], 'String');
+ }
+ if (data.hasOwnProperty('DeliveryNotes')) {
+ obj['DeliveryNotes'] = ApiClient.convertToType(data['DeliveryNotes'], 'String');
+ }
+ if (data.hasOwnProperty('StorePhoneNumber')) {
+ obj['StorePhoneNumber'] = ApiClient.convertToType(data['StorePhoneNumber'], 'String');
+ }
+ if (data.hasOwnProperty('AppIconUrl')) {
+ obj['AppIconUrl'] = ApiClient.convertToType(data['AppIconUrl'], 'String');
+ }
+ if (data.hasOwnProperty('OrderTrackingCode')) {
+ obj['OrderTrackingCode'] = ApiClient.convertToType(data['OrderTrackingCode'], 'String');
+ }
+ if (data.hasOwnProperty('PaymentMethodDescription')) {
+ obj['PaymentMethodDescription'] = ApiClient.convertToType(data['PaymentMethodDescription'], 'String');
+ }
+ if (data.hasOwnProperty('LastFourDigits')) {
+ obj['LastFourDigits'] = ApiClient.convertToType(data['LastFourDigits'], 'String');
+ }
+ if (data.hasOwnProperty('OrderLines')) {
+ obj['OrderLines'] = ApiClient.convertToType(data['OrderLines'], [CustomerDeliveryTrackingOrderLine]);
+ }
+ if (data.hasOwnProperty('TotalAmount')) {
+ obj['TotalAmount'] = ApiClient.convertToType(data['TotalAmount'], 'Number');
+ }
+ if (data.hasOwnProperty('Currency')) {
+ obj['Currency'] = ApiClient.convertToType(data['Currency'], 'String');
+ }
+ if (data.hasOwnProperty('Latitude')) {
+ obj['Latitude'] = ApiClient.convertToType(data['Latitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Longitude')) {
+ obj['Longitude'] = ApiClient.convertToType(data['Longitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Placed')) {
+ obj['Placed'] = ApiClient.convertToType(data['Placed'], 'Date');
+ }
+ if (data.hasOwnProperty('RequestedFor')) {
+ obj['RequestedFor'] = ApiClient.convertToType(data['RequestedFor'], 'Date');
+ }
+ if (data.hasOwnProperty('DriverId')) {
+ obj['DriverId'] = ApiClient.convertToType(data['DriverId'], 'Number');
+ }
+ if (data.hasOwnProperty('DriverName')) {
+ obj['DriverName'] = ApiClient.convertToType(data['DriverName'], 'String');
+ }
+ if (data.hasOwnProperty('DriverImage')) {
+ obj['DriverImage'] = ApiClient.convertToType(data['DriverImage'], 'String');
+ }
+ if (data.hasOwnProperty('EstimatedMinutesForDelivery')) {
+ obj['EstimatedMinutesForDelivery'] = ApiClient.convertToType(data['EstimatedMinutesForDelivery'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Order Id
+ * @member {Number} OrderId
+ */
+CustomerDeliveryTrackingOrder.prototype['OrderId'] = undefined;
+
+/**
+ * Pretified address string in country format
+ * @member {String} Address
+ */
+CustomerDeliveryTrackingOrder.prototype['Address'] = undefined;
+
+/**
+ * Delivery Notes
+ * @member {String} DeliveryNotes
+ */
+CustomerDeliveryTrackingOrder.prototype['DeliveryNotes'] = undefined;
+
+/**
+ * Phone number of the store
+ * @member {String} StorePhoneNumber
+ */
+CustomerDeliveryTrackingOrder.prototype['StorePhoneNumber'] = undefined;
+
+/**
+ * App Icon of the store
+ * @member {String} AppIconUrl
+ */
+CustomerDeliveryTrackingOrder.prototype['AppIconUrl'] = undefined;
+
+/**
+ * Order Tracking Code
+ * @member {String} OrderTrackingCode
+ */
+CustomerDeliveryTrackingOrder.prototype['OrderTrackingCode'] = undefined;
+
+/**
+ * Payment method description i.e Cash/Card/iDeal/Paypal
+ * @member {String} PaymentMethodDescription
+ */
+CustomerDeliveryTrackingOrder.prototype['PaymentMethodDescription'] = undefined;
+
+/**
+ * Last 4 digits of the card if applicable otherwise null
+ * @member {String} LastFourDigits
+ */
+CustomerDeliveryTrackingOrder.prototype['LastFourDigits'] = undefined;
+
+/**
+ * Order lines of the order
+ * @member {Array.} OrderLines
+ */
+CustomerDeliveryTrackingOrder.prototype['OrderLines'] = undefined;
+
+/**
+ * Total amount for the order including tax
+ * @member {Number} TotalAmount
+ */
+CustomerDeliveryTrackingOrder.prototype['TotalAmount'] = undefined;
+
+/**
+ * Currency
+ * @member {module:model/CustomerDeliveryTrackingOrder.CurrencyEnum} Currency
+ */
+CustomerDeliveryTrackingOrder.prototype['Currency'] = undefined;
+
+/**
+ * Customer Location Latitude
+ * @member {Number} Latitude
+ */
+CustomerDeliveryTrackingOrder.prototype['Latitude'] = undefined;
+
+/**
+ * Customer Location Longitude
+ * @member {Number} Longitude
+ */
+CustomerDeliveryTrackingOrder.prototype['Longitude'] = undefined;
+
+/**
+ * Order placed time
+ * @member {Date} Placed
+ */
+CustomerDeliveryTrackingOrder.prototype['Placed'] = undefined;
+
+/**
+ * Order requested for
+ * @member {Date} RequestedFor
+ */
+CustomerDeliveryTrackingOrder.prototype['RequestedFor'] = undefined;
+
+/**
+ * Driver Id
+ * @member {Number} DriverId
+ */
+CustomerDeliveryTrackingOrder.prototype['DriverId'] = undefined;
+
+/**
+ * Driver Name
+ * @member {String} DriverName
+ */
+CustomerDeliveryTrackingOrder.prototype['DriverName'] = undefined;
+
+/**
+ * Driver Image
+ * @member {String} DriverImage
+ */
+CustomerDeliveryTrackingOrder.prototype['DriverImage'] = undefined;
+
+/**
+ *
+ * @member {Number} EstimatedMinutesForDelivery
+ */
+CustomerDeliveryTrackingOrder.prototype['EstimatedMinutesForDelivery'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the Currency property.
+ * @enum {String}
+ * @readonly
+ */
+CustomerDeliveryTrackingOrder['CurrencyEnum'] = {
+
+ /**
+ * value: "EUR"
+ * @const
+ */
+ "EUR": "EUR",
+
+ /**
+ * value: "USD"
+ * @const
+ */
+ "USD": "USD",
+
+ /**
+ * value: "GBP"
+ * @const
+ */
+ "GBP": "GBP",
+
+ /**
+ * value: "CAD"
+ * @const
+ */
+ "CAD": "CAD",
+
+ /**
+ * value: "AUD"
+ * @const
+ */
+ "AUD": "AUD",
+
+ /**
+ * value: "DJF"
+ * @const
+ */
+ "DJF": "DJF",
+
+ /**
+ * value: "ZAR"
+ * @const
+ */
+ "ZAR": "ZAR",
+
+ /**
+ * value: "ETB"
+ * @const
+ */
+ "ETB": "ETB",
+
+ /**
+ * value: "AED"
+ * @const
+ */
+ "AED": "AED",
+
+ /**
+ * value: "BHD"
+ * @const
+ */
+ "BHD": "BHD",
+
+ /**
+ * value: "DZD"
+ * @const
+ */
+ "DZD": "DZD",
+
+ /**
+ * value: "EGP"
+ * @const
+ */
+ "EGP": "EGP",
+
+ /**
+ * value: "IQD"
+ * @const
+ */
+ "IQD": "IQD",
+
+ /**
+ * value: "JOD"
+ * @const
+ */
+ "JOD": "JOD",
+
+ /**
+ * value: "KWD"
+ * @const
+ */
+ "KWD": "KWD",
+
+ /**
+ * value: "LBP"
+ * @const
+ */
+ "LBP": "LBP",
+
+ /**
+ * value: "LYD"
+ * @const
+ */
+ "LYD": "LYD",
+
+ /**
+ * value: "MAD"
+ * @const
+ */
+ "MAD": "MAD",
+
+ /**
+ * value: "OMR"
+ * @const
+ */
+ "OMR": "OMR",
+
+ /**
+ * value: "QAR"
+ * @const
+ */
+ "QAR": "QAR",
+
+ /**
+ * value: "SAR"
+ * @const
+ */
+ "SAR": "SAR",
+
+ /**
+ * value: "SYP"
+ * @const
+ */
+ "SYP": "SYP",
+
+ /**
+ * value: "TND"
+ * @const
+ */
+ "TND": "TND",
+
+ /**
+ * value: "YER"
+ * @const
+ */
+ "YER": "YER",
+
+ /**
+ * value: "CLP"
+ * @const
+ */
+ "CLP": "CLP",
+
+ /**
+ * value: "INR"
+ * @const
+ */
+ "INR": "INR",
+
+ /**
+ * value: "AZN"
+ * @const
+ */
+ "AZN": "AZN",
+
+ /**
+ * value: "RUB"
+ * @const
+ */
+ "RUB": "RUB",
+
+ /**
+ * value: "BYN"
+ * @const
+ */
+ "BYN": "BYN",
+
+ /**
+ * value: "BGN"
+ * @const
+ */
+ "BGN": "BGN",
+
+ /**
+ * value: "NGN"
+ * @const
+ */
+ "NGN": "NGN",
+
+ /**
+ * value: "BDT"
+ * @const
+ */
+ "BDT": "BDT",
+
+ /**
+ * value: "CNY"
+ * @const
+ */
+ "CNY": "CNY",
+
+ /**
+ * value: "BAM"
+ * @const
+ */
+ "BAM": "BAM",
+
+ /**
+ * value: "CZK"
+ * @const
+ */
+ "CZK": "CZK",
+
+ /**
+ * value: "DKK"
+ * @const
+ */
+ "DKK": "DKK",
+
+ /**
+ * value: "CHF"
+ * @const
+ */
+ "CHF": "CHF",
+
+ /**
+ * value: "MVR"
+ * @const
+ */
+ "MVR": "MVR",
+
+ /**
+ * value: "BTN"
+ * @const
+ */
+ "BTN": "BTN",
+
+ /**
+ * value: "XCD"
+ * @const
+ */
+ "XCD": "XCD",
+
+ /**
+ * value: "BZD"
+ * @const
+ */
+ "BZD": "BZD",
+
+ /**
+ * value: "HKD"
+ * @const
+ */
+ "HKD": "HKD",
+
+ /**
+ * value: "IDR"
+ * @const
+ */
+ "IDR": "IDR",
+
+ /**
+ * value: "JMD"
+ * @const
+ */
+ "JMD": "JMD",
+
+ /**
+ * value: "MYR"
+ * @const
+ */
+ "MYR": "MYR",
+
+ /**
+ * value: "NZD"
+ * @const
+ */
+ "NZD": "NZD",
+
+ /**
+ * value: "PHP"
+ * @const
+ */
+ "PHP": "PHP",
+
+ /**
+ * value: "SGD"
+ * @const
+ */
+ "SGD": "SGD",
+
+ /**
+ * value: "TTD"
+ * @const
+ */
+ "TTD": "TTD",
+
+ /**
+ * value: "XDR"
+ * @const
+ */
+ "XDR": "XDR",
+
+ /**
+ * value: "ARS"
+ * @const
+ */
+ "ARS": "ARS",
+
+ /**
+ * value: "BOB"
+ * @const
+ */
+ "BOB": "BOB",
+
+ /**
+ * value: "COP"
+ * @const
+ */
+ "COP": "COP",
+
+ /**
+ * value: "CRC"
+ * @const
+ */
+ "CRC": "CRC",
+
+ /**
+ * value: "CUP"
+ * @const
+ */
+ "CUP": "CUP",
+
+ /**
+ * value: "DOP"
+ * @const
+ */
+ "DOP": "DOP",
+
+ /**
+ * value: "GTQ"
+ * @const
+ */
+ "GTQ": "GTQ",
+
+ /**
+ * value: "HNL"
+ * @const
+ */
+ "HNL": "HNL",
+
+ /**
+ * value: "MXN"
+ * @const
+ */
+ "MXN": "MXN",
+
+ /**
+ * value: "NIO"
+ * @const
+ */
+ "NIO": "NIO",
+
+ /**
+ * value: "PAB"
+ * @const
+ */
+ "PAB": "PAB",
+
+ /**
+ * value: "PEN"
+ * @const
+ */
+ "PEN": "PEN",
+
+ /**
+ * value: "PYG"
+ * @const
+ */
+ "PYG": "PYG",
+
+ /**
+ * value: "UYU"
+ * @const
+ */
+ "UYU": "UYU",
+
+ /**
+ * value: "VEF"
+ * @const
+ */
+ "VEF": "VEF",
+
+ /**
+ * value: "IRR"
+ * @const
+ */
+ "IRR": "IRR",
+
+ /**
+ * value: "XOF"
+ * @const
+ */
+ "XOF": "XOF",
+
+ /**
+ * value: "CDF"
+ * @const
+ */
+ "CDF": "CDF",
+
+ /**
+ * value: "XAF"
+ * @const
+ */
+ "XAF": "XAF",
+
+ /**
+ * value: "HTG"
+ * @const
+ */
+ "HTG": "HTG",
+
+ /**
+ * value: "ILS"
+ * @const
+ */
+ "ILS": "ILS",
+
+ /**
+ * value: "HRK"
+ * @const
+ */
+ "HRK": "HRK",
+
+ /**
+ * value: "HUF"
+ * @const
+ */
+ "HUF": "HUF",
+
+ /**
+ * value: "AMD"
+ * @const
+ */
+ "AMD": "AMD",
+
+ /**
+ * value: "ISK"
+ * @const
+ */
+ "ISK": "ISK",
+
+ /**
+ * value: "JPY"
+ * @const
+ */
+ "JPY": "JPY",
+
+ /**
+ * value: "GEL"
+ * @const
+ */
+ "GEL": "GEL",
+
+ /**
+ * value: "KZT"
+ * @const
+ */
+ "KZT": "KZT",
+
+ /**
+ * value: "KHR"
+ * @const
+ */
+ "KHR": "KHR",
+
+ /**
+ * value: "KRW"
+ * @const
+ */
+ "KRW": "KRW",
+
+ /**
+ * value: "KGS"
+ * @const
+ */
+ "KGS": "KGS",
+
+ /**
+ * value: "LAK"
+ * @const
+ */
+ "LAK": "LAK",
+
+ /**
+ * value: "MKD"
+ * @const
+ */
+ "MKD": "MKD",
+
+ /**
+ * value: "MNT"
+ * @const
+ */
+ "MNT": "MNT",
+
+ /**
+ * value: "BND"
+ * @const
+ */
+ "BND": "BND",
+
+ /**
+ * value: "MMK"
+ * @const
+ */
+ "MMK": "MMK",
+
+ /**
+ * value: "NOK"
+ * @const
+ */
+ "NOK": "NOK",
+
+ /**
+ * value: "NPR"
+ * @const
+ */
+ "NPR": "NPR",
+
+ /**
+ * value: "PKR"
+ * @const
+ */
+ "PKR": "PKR",
+
+ /**
+ * value: "PLN"
+ * @const
+ */
+ "PLN": "PLN",
+
+ /**
+ * value: "AFN"
+ * @const
+ */
+ "AFN": "AFN",
+
+ /**
+ * value: "BRL"
+ * @const
+ */
+ "BRL": "BRL",
+
+ /**
+ * value: "MDL"
+ * @const
+ */
+ "MDL": "MDL",
+
+ /**
+ * value: "RON"
+ * @const
+ */
+ "RON": "RON",
+
+ /**
+ * value: "RWF"
+ * @const
+ */
+ "RWF": "RWF",
+
+ /**
+ * value: "SEK"
+ * @const
+ */
+ "SEK": "SEK",
+
+ /**
+ * value: "LKR"
+ * @const
+ */
+ "LKR": "LKR",
+
+ /**
+ * value: "SOS"
+ * @const
+ */
+ "SOS": "SOS",
+
+ /**
+ * value: "ALL"
+ * @const
+ */
+ "ALL": "ALL",
+
+ /**
+ * value: "RSD"
+ * @const
+ */
+ "RSD": "RSD",
+
+ /**
+ * value: "KES"
+ * @const
+ */
+ "KES": "KES",
+
+ /**
+ * value: "TJS"
+ * @const
+ */
+ "TJS": "TJS",
+
+ /**
+ * value: "THB"
+ * @const
+ */
+ "THB": "THB",
+
+ /**
+ * value: "ERN"
+ * @const
+ */
+ "ERN": "ERN",
+
+ /**
+ * value: "TMT"
+ * @const
+ */
+ "TMT": "TMT",
+
+ /**
+ * value: "BWP"
+ * @const
+ */
+ "BWP": "BWP",
+
+ /**
+ * value: "TRY"
+ * @const
+ */
+ "TRY": "TRY",
+
+ /**
+ * value: "UAH"
+ * @const
+ */
+ "UAH": "UAH",
+
+ /**
+ * value: "UZS"
+ * @const
+ */
+ "UZS": "UZS",
+
+ /**
+ * value: "VND"
+ * @const
+ */
+ "VND": "VND",
+
+ /**
+ * value: "MOP"
+ * @const
+ */
+ "MOP": "MOP",
+
+ /**
+ * value: "TWD"
+ * @const
+ */
+ "TWD": "TWD",
+
+ /**
+ * value: "BMD"
+ * @const
+ */
+ "BMD": "BMD"
+};
+
+
+
+export default CustomerDeliveryTrackingOrder;
+
diff --git a/src/model/CustomerDeliveryTrackingOrderLine.js b/src/model/CustomerDeliveryTrackingOrderLine.js
new file mode 100644
index 00000000..69806b33
--- /dev/null
+++ b/src/model/CustomerDeliveryTrackingOrderLine.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CustomerDeliveryTrackingOrderLine model module.
+ * @module model/CustomerDeliveryTrackingOrderLine
+ * @version 1.0.0
+ */
+class CustomerDeliveryTrackingOrderLine {
+ /**
+ * Constructs a new CustomerDeliveryTrackingOrderLine.
+ * Defines an order line for driver tracking
+ * @alias module:model/CustomerDeliveryTrackingOrderLine
+ */
+ constructor() {
+
+ CustomerDeliveryTrackingOrderLine.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerDeliveryTrackingOrderLine from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerDeliveryTrackingOrderLine} obj Optional instance to populate.
+ * @return {module:model/CustomerDeliveryTrackingOrderLine} The populated CustomerDeliveryTrackingOrderLine instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerDeliveryTrackingOrderLine();
+
+ if (data.hasOwnProperty('ItemName')) {
+ obj['ItemName'] = ApiClient.convertToType(data['ItemName'], 'String');
+ }
+ if (data.hasOwnProperty('SelectedOptions')) {
+ obj['SelectedOptions'] = ApiClient.convertToType(data['SelectedOptions'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Item name from the order
+ * @member {String} ItemName
+ */
+CustomerDeliveryTrackingOrderLine.prototype['ItemName'] = undefined;
+
+/**
+ * Selected option names
+ * @member {Array.} SelectedOptions
+ */
+CustomerDeliveryTrackingOrderLine.prototype['SelectedOptions'] = undefined;
+
+
+
+
+
+
+export default CustomerDeliveryTrackingOrderLine;
+
diff --git a/src/model/CustomerMessages.js b/src/model/CustomerMessages.js
new file mode 100644
index 00000000..31a56505
--- /dev/null
+++ b/src/model/CustomerMessages.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CustomerMessages model module.
+ * @module model/CustomerMessages
+ * @version 1.0.0
+ */
+class CustomerMessages {
+ /**
+ * Constructs a new CustomerMessages.
+ * Delivery and pickup menu messages for a customer
+ * @alias module:model/CustomerMessages
+ */
+ constructor() {
+
+ CustomerMessages.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerMessages from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerMessages} obj Optional instance to populate.
+ * @return {module:model/CustomerMessages} The populated CustomerMessages instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerMessages();
+
+ if (data.hasOwnProperty('DeliveryMenuMessage')) {
+ obj['DeliveryMenuMessage'] = ApiClient.convertToType(data['DeliveryMenuMessage'], 'String');
+ }
+ if (data.hasOwnProperty('PickupMenuMessage')) {
+ obj['PickupMenuMessage'] = ApiClient.convertToType(data['PickupMenuMessage'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Delivery menu message
+ * @member {String} DeliveryMenuMessage
+ */
+CustomerMessages.prototype['DeliveryMenuMessage'] = undefined;
+
+/**
+ * Pickup menu message
+ * @member {String} PickupMenuMessage
+ */
+CustomerMessages.prototype['PickupMenuMessage'] = undefined;
+
+
+
+
+
+
+export default CustomerMessages;
+
diff --git a/src/model/CustomerSummary.js b/src/model/CustomerSummary.js
new file mode 100644
index 00000000..6f2d6f21
--- /dev/null
+++ b/src/model/CustomerSummary.js
@@ -0,0 +1,118 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CustomerSummary model module.
+ * @module model/CustomerSummary
+ * @version 1.0.0
+ */
+class CustomerSummary {
+ /**
+ * Constructs a new CustomerSummary.
+ * Customer summary
+ * @alias module:model/CustomerSummary
+ */
+ constructor() {
+
+ CustomerSummary.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerSummary} obj Optional instance to populate.
+ * @return {module:model/CustomerSummary} The populated CustomerSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerSummary();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'Number');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('EmailAddress')) {
+ obj['EmailAddress'] = ApiClient.convertToType(data['EmailAddress'], 'String');
+ }
+ if (data.hasOwnProperty('PhoneNumberLocalFormat')) {
+ obj['PhoneNumberLocalFormat'] = ApiClient.convertToType(data['PhoneNumberLocalFormat'], 'String');
+ }
+ if (data.hasOwnProperty('PhoneNumber')) {
+ obj['PhoneNumber'] = ApiClient.convertToType(data['PhoneNumber'], 'String');
+ }
+ if (data.hasOwnProperty('LanguagePreference')) {
+ obj['LanguagePreference'] = ApiClient.convertToType(data['LanguagePreference'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Customer identifier
+ * @member {Number} Id
+ */
+CustomerSummary.prototype['Id'] = undefined;
+
+/**
+ * Customer name
+ * @member {String} Name
+ */
+CustomerSummary.prototype['Name'] = undefined;
+
+/**
+ * Customer email address
+ * @member {String} EmailAddress
+ */
+CustomerSummary.prototype['EmailAddress'] = undefined;
+
+/**
+ * Customer local phone number
+ * @member {String} PhoneNumberLocalFormat
+ */
+CustomerSummary.prototype['PhoneNumberLocalFormat'] = undefined;
+
+/**
+ * Customer phone number
+ * @member {String} PhoneNumber
+ */
+CustomerSummary.prototype['PhoneNumber'] = undefined;
+
+/**
+ * Preferred language of the consumer
+ * @member {String} LanguagePreference
+ */
+CustomerSummary.prototype['LanguagePreference'] = undefined;
+
+
+
+
+
+
+export default CustomerSummary;
+
diff --git a/src/model/CustomerUpdateModel.js b/src/model/CustomerUpdateModel.js
new file mode 100644
index 00000000..9bf65e47
--- /dev/null
+++ b/src/model/CustomerUpdateModel.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The CustomerUpdateModel model module.
+ * @module model/CustomerUpdateModel
+ * @version 1.0.0
+ */
+class CustomerUpdateModel {
+ /**
+ * Constructs a new CustomerUpdateModel.
+ * Defines a customer update model
+ * @alias module:model/CustomerUpdateModel
+ */
+ constructor() {
+
+ CustomerUpdateModel.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerUpdateModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerUpdateModel} obj Optional instance to populate.
+ * @return {module:model/CustomerUpdateModel} The populated CustomerUpdateModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerUpdateModel();
+
+ if (data.hasOwnProperty('CashOrdersEnabled')) {
+ obj['CashOrdersEnabled'] = ApiClient.convertToType(data['CashOrdersEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('CardOrdersEnabled')) {
+ obj['CardOrdersEnabled'] = ApiClient.convertToType(data['CardOrdersEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('MarketingEnabled')) {
+ obj['MarketingEnabled'] = ApiClient.convertToType(data['MarketingEnabled'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Customer can place cash orders
+ * @member {Boolean} CashOrdersEnabled
+ */
+CustomerUpdateModel.prototype['CashOrdersEnabled'] = undefined;
+
+/**
+ * Customer can place card orders
+ * @member {Boolean} CardOrdersEnabled
+ */
+CustomerUpdateModel.prototype['CardOrdersEnabled'] = undefined;
+
+/**
+ * Customer can receive marketing
+ * @member {Boolean} MarketingEnabled
+ */
+CustomerUpdateModel.prototype['MarketingEnabled'] = undefined;
+
+
+
+
+
+
+export default CustomerUpdateModel;
+
diff --git a/src/model/CustomerUpdatedEvent.js b/src/model/CustomerUpdatedEvent.js
new file mode 100644
index 00000000..adda2ec0
--- /dev/null
+++ b/src/model/CustomerUpdatedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The CustomerUpdatedEvent model module.
+ * @module model/CustomerUpdatedEvent
+ * @version 1.0.0
+ */
+class CustomerUpdatedEvent {
+ /**
+ * Constructs a new CustomerUpdatedEvent.
+ * Customer updated event
+ * @alias module:model/CustomerUpdatedEvent
+ */
+ constructor() {
+
+ CustomerUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a CustomerUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/CustomerUpdatedEvent} The populated CustomerUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+CustomerUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+CustomerUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+CustomerUpdatedEvent.prototype['Description'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+CustomerUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+CustomerUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+CustomerUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+CustomerUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+CustomerUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+CustomerUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default CustomerUpdatedEvent;
+
diff --git a/src/model/Customers.js b/src/model/Customers.js
new file mode 100644
index 00000000..8763e5bb
--- /dev/null
+++ b/src/model/Customers.js
@@ -0,0 +1,74 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Customer from './Customer';
+
+/**
+ * The Customers model module.
+ * @module model/Customers
+ * @version 1.0.0
+ */
+class Customers {
+ /**
+ * Constructs a new Customers.
+ * Defines a list of customers
+ * @alias module:model/Customers
+ */
+ constructor() {
+
+ Customers.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a Customers from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Customers} obj Optional instance to populate.
+ * @return {module:model/Customers} The populated Customers instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Customers();
+
+ if (data.hasOwnProperty('Items')) {
+ obj['Items'] = ApiClient.convertToType(data['Items'], [Customer]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * List of customers
+ * @member {Array.} Items
+ */
+Customers.prototype['Items'] = undefined;
+
+
+
+
+
+
+export default Customers;
+
diff --git a/src/model/DashboardEmbed.js b/src/model/DashboardEmbed.js
new file mode 100644
index 00000000..7a68263f
--- /dev/null
+++ b/src/model/DashboardEmbed.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DashboardEmbed model module.
+ * @module model/DashboardEmbed
+ * @version 1.0.0
+ */
+class DashboardEmbed {
+ /**
+ * Constructs a new DashboardEmbed.
+ * SSO Embed URL Information
+ * @alias module:model/DashboardEmbed
+ */
+ constructor() {
+
+ DashboardEmbed.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DashboardEmbed from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DashboardEmbed} obj Optional instance to populate.
+ * @return {module:model/DashboardEmbed} The populated DashboardEmbed instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DashboardEmbed();
+
+ if (data.hasOwnProperty('EmbedUrl')) {
+ obj['EmbedUrl'] = ApiClient.convertToType(data['EmbedUrl'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * SSO URL generated by Flipdish to embed Looker dashboard
+ * @member {String} EmbedUrl
+ */
+DashboardEmbed.prototype['EmbedUrl'] = undefined;
+
+
+
+
+
+
+export default DashboardEmbed;
+
diff --git a/src/model/DeliveryLocation.js b/src/model/DeliveryLocation.js
new file mode 100644
index 00000000..c176d5bd
--- /dev/null
+++ b/src/model/DeliveryLocation.js
@@ -0,0 +1,127 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Coordinates from './Coordinates';
+
+/**
+ * The DeliveryLocation model module.
+ * @module model/DeliveryLocation
+ * @version 1.0.0
+ */
+class DeliveryLocation {
+ /**
+ * Constructs a new DeliveryLocation.
+ * Delivery location
+ * @alias module:model/DeliveryLocation
+ */
+ constructor() {
+
+ DeliveryLocation.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DeliveryLocation from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeliveryLocation} obj Optional instance to populate.
+ * @return {module:model/DeliveryLocation} The populated DeliveryLocation instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeliveryLocation();
+
+ if (data.hasOwnProperty('Coordinates')) {
+ obj['Coordinates'] = Coordinates.constructFromObject(data['Coordinates']);
+ }
+ if (data.hasOwnProperty('Building')) {
+ obj['Building'] = ApiClient.convertToType(data['Building'], 'String');
+ }
+ if (data.hasOwnProperty('Street')) {
+ obj['Street'] = ApiClient.convertToType(data['Street'], 'String');
+ }
+ if (data.hasOwnProperty('Town')) {
+ obj['Town'] = ApiClient.convertToType(data['Town'], 'String');
+ }
+ if (data.hasOwnProperty('PostCode')) {
+ obj['PostCode'] = ApiClient.convertToType(data['PostCode'], 'String');
+ }
+ if (data.hasOwnProperty('DeliveryInstructions')) {
+ obj['DeliveryInstructions'] = ApiClient.convertToType(data['DeliveryInstructions'], 'String');
+ }
+ if (data.hasOwnProperty('PrettyAddressString')) {
+ obj['PrettyAddressString'] = ApiClient.convertToType(data['PrettyAddressString'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Coordinates} Coordinates
+ */
+DeliveryLocation.prototype['Coordinates'] = undefined;
+
+/**
+ * Building
+ * @member {String} Building
+ */
+DeliveryLocation.prototype['Building'] = undefined;
+
+/**
+ * Street
+ * @member {String} Street
+ */
+DeliveryLocation.prototype['Street'] = undefined;
+
+/**
+ * Town
+ * @member {String} Town
+ */
+DeliveryLocation.prototype['Town'] = undefined;
+
+/**
+ * Post code
+ * @member {String} PostCode
+ */
+DeliveryLocation.prototype['PostCode'] = undefined;
+
+/**
+ * Delivery instructions
+ * @member {String} DeliveryInstructions
+ */
+DeliveryLocation.prototype['DeliveryInstructions'] = undefined;
+
+/**
+ * Formatted, pretty address string
+ * @member {String} PrettyAddressString
+ */
+DeliveryLocation.prototype['PrettyAddressString'] = undefined;
+
+
+
+
+
+
+export default DeliveryLocation;
+
diff --git a/src/model/DeliveryZone.js b/src/model/DeliveryZone.js
new file mode 100644
index 00000000..f3d7c02a
--- /dev/null
+++ b/src/model/DeliveryZone.js
@@ -0,0 +1,118 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DeliveryZone model module.
+ * @module model/DeliveryZone
+ * @version 1.0.0
+ */
+class DeliveryZone {
+ /**
+ * Constructs a new DeliveryZone.
+ * Delivery Zone
+ * @alias module:model/DeliveryZone
+ */
+ constructor() {
+
+ DeliveryZone.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DeliveryZone from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeliveryZone} obj Optional instance to populate.
+ * @return {module:model/DeliveryZone} The populated DeliveryZone instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeliveryZone();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'Number');
+ }
+ if (data.hasOwnProperty('FeeChargedToStore')) {
+ obj['FeeChargedToStore'] = ApiClient.convertToType(data['FeeChargedToStore'], 'Number');
+ }
+ if (data.hasOwnProperty('DeliveryFee')) {
+ obj['DeliveryFee'] = ApiClient.convertToType(data['DeliveryFee'], 'Number');
+ }
+ if (data.hasOwnProperty('MinimumDeliveryOrderAmount')) {
+ obj['MinimumDeliveryOrderAmount'] = ApiClient.convertToType(data['MinimumDeliveryOrderAmount'], 'Number');
+ }
+ if (data.hasOwnProperty('WellKnownText')) {
+ obj['WellKnownText'] = ApiClient.convertToType(data['WellKnownText'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Delivery Fee Area Id
+ * @member {Number} Id
+ */
+DeliveryZone.prototype['Id'] = undefined;
+
+/**
+ * Delivery Fee charged to store
+ * @member {Number} FeeChargedToStore
+ */
+DeliveryZone.prototype['FeeChargedToStore'] = undefined;
+
+/**
+ * Delivery fee (will not be set below 0)
+ * @member {Number} DeliveryFee
+ */
+DeliveryZone.prototype['DeliveryFee'] = undefined;
+
+/**
+ * Minimum delivery order amount (will not be set below 0)
+ * @member {Number} MinimumDeliveryOrderAmount
+ */
+DeliveryZone.prototype['MinimumDeliveryOrderAmount'] = undefined;
+
+/**
+ * Spatial data in Well Known Text format We also support CIRCLE((0 0, 200)) - (centerLong centerLat, radius in m)
+ * @member {String} WellKnownText
+ */
+DeliveryZone.prototype['WellKnownText'] = undefined;
+
+/**
+ * Is delivery zone enabled
+ * @member {Boolean} IsEnabled
+ */
+DeliveryZone.prototype['IsEnabled'] = undefined;
+
+
+
+
+
+
+export default DeliveryZone;
+
diff --git a/src/model/DeliveryZoneBase.js b/src/model/DeliveryZoneBase.js
new file mode 100644
index 00000000..0b8ddc8f
--- /dev/null
+++ b/src/model/DeliveryZoneBase.js
@@ -0,0 +1,100 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DeliveryZoneBase model module.
+ * @module model/DeliveryZoneBase
+ * @version 1.0.0
+ */
+class DeliveryZoneBase {
+ /**
+ * Constructs a new DeliveryZoneBase.
+ * Delivery Zone Base
+ * @alias module:model/DeliveryZoneBase
+ */
+ constructor() {
+
+ DeliveryZoneBase.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DeliveryZoneBase from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeliveryZoneBase} obj Optional instance to populate.
+ * @return {module:model/DeliveryZoneBase} The populated DeliveryZoneBase instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeliveryZoneBase();
+
+ if (data.hasOwnProperty('DeliveryFee')) {
+ obj['DeliveryFee'] = ApiClient.convertToType(data['DeliveryFee'], 'Number');
+ }
+ if (data.hasOwnProperty('MinimumDeliveryOrderAmount')) {
+ obj['MinimumDeliveryOrderAmount'] = ApiClient.convertToType(data['MinimumDeliveryOrderAmount'], 'Number');
+ }
+ if (data.hasOwnProperty('WellKnownText')) {
+ obj['WellKnownText'] = ApiClient.convertToType(data['WellKnownText'], 'String');
+ }
+ if (data.hasOwnProperty('IsEnabled')) {
+ obj['IsEnabled'] = ApiClient.convertToType(data['IsEnabled'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Delivery fee (will not be set below 0)
+ * @member {Number} DeliveryFee
+ */
+DeliveryZoneBase.prototype['DeliveryFee'] = undefined;
+
+/**
+ * Minimum delivery order amount (will not be set below 0)
+ * @member {Number} MinimumDeliveryOrderAmount
+ */
+DeliveryZoneBase.prototype['MinimumDeliveryOrderAmount'] = undefined;
+
+/**
+ * Spatial data in Well Known Text format We also support CIRCLE((0 0, 200)) - (centerLong centerLat, radius in m)
+ * @member {String} WellKnownText
+ */
+DeliveryZoneBase.prototype['WellKnownText'] = undefined;
+
+/**
+ * Is delivery zone enabled
+ * @member {Boolean} IsEnabled
+ */
+DeliveryZoneBase.prototype['IsEnabled'] = undefined;
+
+
+
+
+
+
+export default DeliveryZoneBase;
+
diff --git a/src/model/DeliveryZoneCreatedEvent.js b/src/model/DeliveryZoneCreatedEvent.js
new file mode 100644
index 00000000..de23e337
--- /dev/null
+++ b/src/model/DeliveryZoneCreatedEvent.js
@@ -0,0 +1,172 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeliveryZone from './DeliveryZone';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The DeliveryZoneCreatedEvent model module.
+ * @module model/DeliveryZoneCreatedEvent
+ * @version 1.0.0
+ */
+class DeliveryZoneCreatedEvent {
+ /**
+ * Constructs a new DeliveryZoneCreatedEvent.
+ * Delivery Zone Created Event
+ * @alias module:model/DeliveryZoneCreatedEvent
+ */
+ constructor() {
+
+ DeliveryZoneCreatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DeliveryZoneCreatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeliveryZoneCreatedEvent} obj Optional instance to populate.
+ * @return {module:model/DeliveryZoneCreatedEvent} The populated DeliveryZoneCreatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeliveryZoneCreatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('StoreGroupId')) {
+ obj['StoreGroupId'] = ApiClient.convertToType(data['StoreGroupId'], 'Number');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('DeliveryZone')) {
+ obj['DeliveryZone'] = DeliveryZone.constructFromObject(data['DeliveryZone']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+DeliveryZoneCreatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Store Id
+ * @member {Number} StoreId
+ */
+DeliveryZoneCreatedEvent.prototype['StoreId'] = undefined;
+
+/**
+ * Store group Id
+ * @member {Number} StoreGroupId
+ */
+DeliveryZoneCreatedEvent.prototype['StoreGroupId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+DeliveryZoneCreatedEvent.prototype['User'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+DeliveryZoneCreatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/DeliveryZone} DeliveryZone
+ */
+DeliveryZoneCreatedEvent.prototype['DeliveryZone'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+DeliveryZoneCreatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+DeliveryZoneCreatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+DeliveryZoneCreatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+DeliveryZoneCreatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+DeliveryZoneCreatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+DeliveryZoneCreatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default DeliveryZoneCreatedEvent;
+
diff --git a/src/model/DeliveryZoneDeletedEvent.js b/src/model/DeliveryZoneDeletedEvent.js
new file mode 100644
index 00000000..15c918cd
--- /dev/null
+++ b/src/model/DeliveryZoneDeletedEvent.js
@@ -0,0 +1,172 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeliveryZone from './DeliveryZone';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The DeliveryZoneDeletedEvent model module.
+ * @module model/DeliveryZoneDeletedEvent
+ * @version 1.0.0
+ */
+class DeliveryZoneDeletedEvent {
+ /**
+ * Constructs a new DeliveryZoneDeletedEvent.
+ * Delivery Zone Deleted Event
+ * @alias module:model/DeliveryZoneDeletedEvent
+ */
+ constructor() {
+
+ DeliveryZoneDeletedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DeliveryZoneDeletedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeliveryZoneDeletedEvent} obj Optional instance to populate.
+ * @return {module:model/DeliveryZoneDeletedEvent} The populated DeliveryZoneDeletedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeliveryZoneDeletedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('StoreGroupId')) {
+ obj['StoreGroupId'] = ApiClient.convertToType(data['StoreGroupId'], 'Number');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('DeliveryZone')) {
+ obj['DeliveryZone'] = DeliveryZone.constructFromObject(data['DeliveryZone']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+DeliveryZoneDeletedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Store Id
+ * @member {Number} StoreId
+ */
+DeliveryZoneDeletedEvent.prototype['StoreId'] = undefined;
+
+/**
+ * Store group Id
+ * @member {Number} StoreGroupId
+ */
+DeliveryZoneDeletedEvent.prototype['StoreGroupId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+DeliveryZoneDeletedEvent.prototype['User'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+DeliveryZoneDeletedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/DeliveryZone} DeliveryZone
+ */
+DeliveryZoneDeletedEvent.prototype['DeliveryZone'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+DeliveryZoneDeletedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+DeliveryZoneDeletedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+DeliveryZoneDeletedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+DeliveryZoneDeletedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+DeliveryZoneDeletedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+DeliveryZoneDeletedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default DeliveryZoneDeletedEvent;
+
diff --git a/src/model/DeliveryZoneUpdatedEvent.js b/src/model/DeliveryZoneUpdatedEvent.js
new file mode 100644
index 00000000..07db5088
--- /dev/null
+++ b/src/model/DeliveryZoneUpdatedEvent.js
@@ -0,0 +1,172 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeliveryZone from './DeliveryZone';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The DeliveryZoneUpdatedEvent model module.
+ * @module model/DeliveryZoneUpdatedEvent
+ * @version 1.0.0
+ */
+class DeliveryZoneUpdatedEvent {
+ /**
+ * Constructs a new DeliveryZoneUpdatedEvent.
+ * Delivery Zone Updated Event
+ * @alias module:model/DeliveryZoneUpdatedEvent
+ */
+ constructor() {
+
+ DeliveryZoneUpdatedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DeliveryZoneUpdatedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeliveryZoneUpdatedEvent} obj Optional instance to populate.
+ * @return {module:model/DeliveryZoneUpdatedEvent} The populated DeliveryZoneUpdatedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeliveryZoneUpdatedEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('StoreGroupId')) {
+ obj['StoreGroupId'] = ApiClient.convertToType(data['StoreGroupId'], 'Number');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('DeliveryZone')) {
+ obj['DeliveryZone'] = DeliveryZone.constructFromObject(data['DeliveryZone']);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+DeliveryZoneUpdatedEvent.prototype['EventName'] = undefined;
+
+/**
+ * Store Id
+ * @member {Number} StoreId
+ */
+DeliveryZoneUpdatedEvent.prototype['StoreId'] = undefined;
+
+/**
+ * Store group Id
+ * @member {Number} StoreGroupId
+ */
+DeliveryZoneUpdatedEvent.prototype['StoreGroupId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+DeliveryZoneUpdatedEvent.prototype['User'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+DeliveryZoneUpdatedEvent.prototype['Description'] = undefined;
+
+/**
+ * @member {module:model/DeliveryZone} DeliveryZone
+ */
+DeliveryZoneUpdatedEvent.prototype['DeliveryZone'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+DeliveryZoneUpdatedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+DeliveryZoneUpdatedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+DeliveryZoneUpdatedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+DeliveryZoneUpdatedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+DeliveryZoneUpdatedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+DeliveryZoneUpdatedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default DeliveryZoneUpdatedEvent;
+
diff --git a/src/model/DepositReturnFeesSummary.js b/src/model/DepositReturnFeesSummary.js
new file mode 100644
index 00000000..e36768dd
--- /dev/null
+++ b/src/model/DepositReturnFeesSummary.js
@@ -0,0 +1,87 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DepositReturnFeesSummary model module.
+ * @module model/DepositReturnFeesSummary
+ * @version 1.0.0
+ */
+class DepositReturnFeesSummary {
+ /**
+ * Constructs a new DepositReturnFeesSummary.
+ * @alias module:model/DepositReturnFeesSummary
+ */
+ constructor() {
+
+ DepositReturnFeesSummary.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DepositReturnFeesSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DepositReturnFeesSummary} obj Optional instance to populate.
+ * @return {module:model/DepositReturnFeesSummary} The populated DepositReturnFeesSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DepositReturnFeesSummary();
+
+ if (data.hasOwnProperty('Count')) {
+ obj['Count'] = ApiClient.convertToType(data['Count'], 'Number');
+ }
+ if (data.hasOwnProperty('Fee')) {
+ obj['Fee'] = ApiClient.convertToType(data['Fee'], 'Number');
+ }
+ if (data.hasOwnProperty('Total')) {
+ obj['Total'] = ApiClient.convertToType(data['Total'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} Count
+ */
+DepositReturnFeesSummary.prototype['Count'] = undefined;
+
+/**
+ * @member {Number} Fee
+ */
+DepositReturnFeesSummary.prototype['Fee'] = undefined;
+
+/**
+ * @member {Number} Total
+ */
+DepositReturnFeesSummary.prototype['Total'] = undefined;
+
+
+
+
+
+
+export default DepositReturnFeesSummary;
+
diff --git a/src/model/DeviceSettings.js b/src/model/DeviceSettings.js
new file mode 100644
index 00000000..a70ff83f
--- /dev/null
+++ b/src/model/DeviceSettings.js
@@ -0,0 +1,97 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DeviceSettings model module.
+ * @module model/DeviceSettings
+ * @version 1.0.0
+ */
+class DeviceSettings {
+ /**
+ * Constructs a new DeviceSettings.
+ * Device settings for Hydra
+ * @alias module:model/DeviceSettings
+ * @param Volume {Number} Gets or sets the device volume
+ * @param FontSize {Number} Gets or sets the font size used on the device
+ * @param Brightness {Number} Gets or sets the display brightness on the device
+ */
+ constructor(Volume, FontSize, Brightness) {
+
+ DeviceSettings.initialize(this, Volume, FontSize, Brightness);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Volume, FontSize, Brightness) {
+ obj['Volume'] = Volume;
+ obj['FontSize'] = FontSize;
+ obj['Brightness'] = Brightness;
+ }
+
+ /**
+ * Constructs a DeviceSettings from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DeviceSettings} obj Optional instance to populate.
+ * @return {module:model/DeviceSettings} The populated DeviceSettings instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DeviceSettings();
+
+ if (data.hasOwnProperty('Volume')) {
+ obj['Volume'] = ApiClient.convertToType(data['Volume'], 'Number');
+ }
+ if (data.hasOwnProperty('FontSize')) {
+ obj['FontSize'] = ApiClient.convertToType(data['FontSize'], 'Number');
+ }
+ if (data.hasOwnProperty('Brightness')) {
+ obj['Brightness'] = ApiClient.convertToType(data['Brightness'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Gets or sets the device volume
+ * @member {Number} Volume
+ */
+DeviceSettings.prototype['Volume'] = undefined;
+
+/**
+ * Gets or sets the font size used on the device
+ * @member {Number} FontSize
+ */
+DeviceSettings.prototype['FontSize'] = undefined;
+
+/**
+ * Gets or sets the display brightness on the device
+ * @member {Number} Brightness
+ */
+DeviceSettings.prototype['Brightness'] = undefined;
+
+
+
+
+
+
+export default DeviceSettings;
+
diff --git a/src/model/DnsRecordInformation.js b/src/model/DnsRecordInformation.js
new file mode 100644
index 00000000..650961b2
--- /dev/null
+++ b/src/model/DnsRecordInformation.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DnsRecordInformation model module.
+ * @module model/DnsRecordInformation
+ * @version 1.0.0
+ */
+class DnsRecordInformation {
+ /**
+ * Constructs a new DnsRecordInformation.
+ * Holds the information for the A and CNAME Records of a domain.
+ * @alias module:model/DnsRecordInformation
+ */
+ constructor() {
+
+ DnsRecordInformation.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DnsRecordInformation from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DnsRecordInformation} obj Optional instance to populate.
+ * @return {module:model/DnsRecordInformation} The populated DnsRecordInformation instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DnsRecordInformation();
+
+ if (data.hasOwnProperty('IsCNameReady')) {
+ obj['IsCNameReady'] = ApiClient.convertToType(data['IsCNameReady'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsAReady')) {
+ obj['IsAReady'] = ApiClient.convertToType(data['IsAReady'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsApiCNameReady')) {
+ obj['IsApiCNameReady'] = ApiClient.convertToType(data['IsApiCNameReady'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * indicates whether the CNAME record is ready or not.
+ * @member {Boolean} IsCNameReady
+ */
+DnsRecordInformation.prototype['IsCNameReady'] = undefined;
+
+/**
+ * indicates whether the A record is ready or not.
+ * @member {Boolean} IsAReady
+ */
+DnsRecordInformation.prototype['IsAReady'] = undefined;
+
+/**
+ * indicates whether the API CNAME record is ready or not.
+ * @member {Boolean} IsApiCNameReady
+ */
+DnsRecordInformation.prototype['IsApiCNameReady'] = undefined;
+
+
+
+
+
+
+export default DnsRecordInformation;
+
diff --git a/src/model/DnsVerifiedEvent.js b/src/model/DnsVerifiedEvent.js
new file mode 100644
index 00000000..618f3cf1
--- /dev/null
+++ b/src/model/DnsVerifiedEvent.js
@@ -0,0 +1,136 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DnsVerifiedEvent model module.
+ * @module model/DnsVerifiedEvent
+ * @version 1.0.0
+ */
+class DnsVerifiedEvent {
+ /**
+ * Constructs a new DnsVerifiedEvent.
+ * The DNS for the Hostname verified
+ * @alias module:model/DnsVerifiedEvent
+ */
+ constructor() {
+
+ DnsVerifiedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DnsVerifiedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DnsVerifiedEvent} obj Optional instance to populate.
+ * @return {module:model/DnsVerifiedEvent} The populated DnsVerifiedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DnsVerifiedEvent();
+
+ if (data.hasOwnProperty('Hostname')) {
+ obj['Hostname'] = ApiClient.convertToType(data['Hostname'], 'String');
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Description
+ * @member {String} Hostname
+ */
+DnsVerifiedEvent.prototype['Hostname'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+DnsVerifiedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+DnsVerifiedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+DnsVerifiedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+DnsVerifiedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+DnsVerifiedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+DnsVerifiedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+DnsVerifiedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default DnsVerifiedEvent;
+
diff --git a/src/model/DriverLoginModel.js b/src/model/DriverLoginModel.js
new file mode 100644
index 00000000..4ab8533b
--- /dev/null
+++ b/src/model/DriverLoginModel.js
@@ -0,0 +1,86 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DriverLoginModel model module.
+ * @module model/DriverLoginModel
+ * @version 1.0.0
+ */
+class DriverLoginModel {
+ /**
+ * Constructs a new DriverLoginModel.
+ * Driver Login model
+ * @alias module:model/DriverLoginModel
+ * @param PhoneNumber {String} Phone number
+ * @param Code {String} Code
+ */
+ constructor(PhoneNumber, Code) {
+
+ DriverLoginModel.initialize(this, PhoneNumber, Code);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, PhoneNumber, Code) {
+ obj['PhoneNumber'] = PhoneNumber;
+ obj['Code'] = Code;
+ }
+
+ /**
+ * Constructs a DriverLoginModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DriverLoginModel} obj Optional instance to populate.
+ * @return {module:model/DriverLoginModel} The populated DriverLoginModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DriverLoginModel();
+
+ if (data.hasOwnProperty('PhoneNumber')) {
+ obj['PhoneNumber'] = ApiClient.convertToType(data['PhoneNumber'], 'String');
+ }
+ if (data.hasOwnProperty('Code')) {
+ obj['Code'] = ApiClient.convertToType(data['Code'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Phone number
+ * @member {String} PhoneNumber
+ */
+DriverLoginModel.prototype['PhoneNumber'] = undefined;
+
+/**
+ * Code
+ * @member {String} Code
+ */
+DriverLoginModel.prototype['Code'] = undefined;
+
+
+
+
+
+
+export default DriverLoginModel;
+
diff --git a/src/model/DriverRequestLoginPinModel.js b/src/model/DriverRequestLoginPinModel.js
new file mode 100644
index 00000000..0317c36b
--- /dev/null
+++ b/src/model/DriverRequestLoginPinModel.js
@@ -0,0 +1,75 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DriverRequestLoginPinModel model module.
+ * @module model/DriverRequestLoginPinModel
+ * @version 1.0.0
+ */
+class DriverRequestLoginPinModel {
+ /**
+ * Constructs a new DriverRequestLoginPinModel.
+ * Driver Request Login Pin model
+ * @alias module:model/DriverRequestLoginPinModel
+ * @param PhoneNumber {String} Email address
+ */
+ constructor(PhoneNumber) {
+
+ DriverRequestLoginPinModel.initialize(this, PhoneNumber);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, PhoneNumber) {
+ obj['PhoneNumber'] = PhoneNumber;
+ }
+
+ /**
+ * Constructs a DriverRequestLoginPinModel from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DriverRequestLoginPinModel} obj Optional instance to populate.
+ * @return {module:model/DriverRequestLoginPinModel} The populated DriverRequestLoginPinModel instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DriverRequestLoginPinModel();
+
+ if (data.hasOwnProperty('PhoneNumber')) {
+ obj['PhoneNumber'] = ApiClient.convertToType(data['PhoneNumber'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Email address
+ * @member {String} PhoneNumber
+ */
+DriverRequestLoginPinModel.prototype['PhoneNumber'] = undefined;
+
+
+
+
+
+
+export default DriverRequestLoginPinModel;
+
diff --git a/src/model/DynamicFormField.js b/src/model/DynamicFormField.js
new file mode 100644
index 00000000..d10fac6e
--- /dev/null
+++ b/src/model/DynamicFormField.js
@@ -0,0 +1,128 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DynamicFormRules from './DynamicFormRules';
+
+/**
+ * The DynamicFormField model module.
+ * @module model/DynamicFormField
+ * @version 1.0.0
+ */
+class DynamicFormField {
+ /**
+ * Constructs a new DynamicFormField.
+ * @alias module:model/DynamicFormField
+ */
+ constructor() {
+
+ DynamicFormField.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DynamicFormField from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DynamicFormField} obj Optional instance to populate.
+ * @return {module:model/DynamicFormField} The populated DynamicFormField instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DynamicFormField();
+
+ if (data.hasOwnProperty('Identifier')) {
+ obj['Identifier'] = ApiClient.convertToType(data['Identifier'], 'String');
+ }
+ if (data.hasOwnProperty('Label')) {
+ obj['Label'] = ApiClient.convertToType(data['Label'], 'String');
+ }
+ if (data.hasOwnProperty('Placeholder')) {
+ obj['Placeholder'] = ApiClient.convertToType(data['Placeholder'], 'String');
+ }
+ if (data.hasOwnProperty('Rules')) {
+ obj['Rules'] = DynamicFormRules.constructFromObject(data['Rules']);
+ }
+ if (data.hasOwnProperty('Mapping')) {
+ obj['Mapping'] = ApiClient.convertToType(data['Mapping'], {'String': 'String'});
+ }
+ if (data.hasOwnProperty('Modifiers')) {
+ obj['Modifiers'] = ApiClient.convertToType(data['Modifiers'], ['String']);
+ }
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], Object);
+ }
+ if (data.hasOwnProperty('Scopes')) {
+ obj['Scopes'] = ApiClient.convertToType(data['Scopes'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Identifier
+ */
+DynamicFormField.prototype['Identifier'] = undefined;
+
+/**
+ * @member {String} Label
+ */
+DynamicFormField.prototype['Label'] = undefined;
+
+/**
+ * @member {String} Placeholder
+ */
+DynamicFormField.prototype['Placeholder'] = undefined;
+
+/**
+ * @member {module:model/DynamicFormRules} Rules
+ */
+DynamicFormField.prototype['Rules'] = undefined;
+
+/**
+ * @member {Object.} Mapping
+ */
+DynamicFormField.prototype['Mapping'] = undefined;
+
+/**
+ * @member {Array.} Modifiers
+ */
+DynamicFormField.prototype['Modifiers'] = undefined;
+
+/**
+ * @member {Object} Value
+ */
+DynamicFormField.prototype['Value'] = undefined;
+
+/**
+ * @member {String} Scopes
+ */
+DynamicFormField.prototype['Scopes'] = undefined;
+
+
+
+
+
+
+export default DynamicFormField;
+
diff --git a/src/model/DynamicFormFieldOption.js b/src/model/DynamicFormFieldOption.js
new file mode 100644
index 00000000..2eeb8b79
--- /dev/null
+++ b/src/model/DynamicFormFieldOption.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DynamicFormFieldOption model module.
+ * @module model/DynamicFormFieldOption
+ * @version 1.0.0
+ */
+class DynamicFormFieldOption {
+ /**
+ * Constructs a new DynamicFormFieldOption.
+ * @alias module:model/DynamicFormFieldOption
+ */
+ constructor() {
+
+ DynamicFormFieldOption.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DynamicFormFieldOption from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DynamicFormFieldOption} obj Optional instance to populate.
+ * @return {module:model/DynamicFormFieldOption} The populated DynamicFormFieldOption instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DynamicFormFieldOption();
+
+ if (data.hasOwnProperty('Display')) {
+ obj['Display'] = ApiClient.convertToType(data['Display'], 'String');
+ }
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Display
+ */
+DynamicFormFieldOption.prototype['Display'] = undefined;
+
+/**
+ * @member {String} Value
+ */
+DynamicFormFieldOption.prototype['Value'] = undefined;
+
+
+
+
+
+
+export default DynamicFormFieldOption;
+
diff --git a/src/model/DynamicFormRule.js b/src/model/DynamicFormRule.js
new file mode 100644
index 00000000..381e1ab4
--- /dev/null
+++ b/src/model/DynamicFormRule.js
@@ -0,0 +1,87 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The DynamicFormRule model module.
+ * @module model/DynamicFormRule
+ * @version 1.0.0
+ */
+class DynamicFormRule {
+ /**
+ * Constructs a new DynamicFormRule.
+ * @alias module:model/DynamicFormRule
+ */
+ constructor() {
+
+ DynamicFormRule.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DynamicFormRule from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DynamicFormRule} obj Optional instance to populate.
+ * @return {module:model/DynamicFormRule} The populated DynamicFormRule instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DynamicFormRule();
+
+ if (data.hasOwnProperty('Value')) {
+ obj['Value'] = ApiClient.convertToType(data['Value'], Object);
+ }
+ if (data.hasOwnProperty('Message')) {
+ obj['Message'] = ApiClient.convertToType(data['Message'], 'String');
+ }
+ if (data.hasOwnProperty('Scopes')) {
+ obj['Scopes'] = ApiClient.convertToType(data['Scopes'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Object} Value
+ */
+DynamicFormRule.prototype['Value'] = undefined;
+
+/**
+ * @member {String} Message
+ */
+DynamicFormRule.prototype['Message'] = undefined;
+
+/**
+ * @member {String} Scopes
+ */
+DynamicFormRule.prototype['Scopes'] = undefined;
+
+
+
+
+
+
+export default DynamicFormRule;
+
diff --git a/src/model/DynamicFormRules.js b/src/model/DynamicFormRules.js
new file mode 100644
index 00000000..0d95dacf
--- /dev/null
+++ b/src/model/DynamicFormRules.js
@@ -0,0 +1,105 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DynamicFormFieldOption from './DynamicFormFieldOption';
+import DynamicFormRule from './DynamicFormRule';
+
+/**
+ * The DynamicFormRules model module.
+ * @module model/DynamicFormRules
+ * @version 1.0.0
+ */
+class DynamicFormRules {
+ /**
+ * Constructs a new DynamicFormRules.
+ * @alias module:model/DynamicFormRules
+ */
+ constructor() {
+
+ DynamicFormRules.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a DynamicFormRules from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DynamicFormRules} obj Optional instance to populate.
+ * @return {module:model/DynamicFormRules} The populated DynamicFormRules instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DynamicFormRules();
+
+ if (data.hasOwnProperty('MaxLength')) {
+ obj['MaxLength'] = DynamicFormRule.constructFromObject(data['MaxLength']);
+ }
+ if (data.hasOwnProperty('MinLength')) {
+ obj['MinLength'] = DynamicFormRule.constructFromObject(data['MinLength']);
+ }
+ if (data.hasOwnProperty('Required')) {
+ obj['Required'] = DynamicFormRule.constructFromObject(data['Required']);
+ }
+ if (data.hasOwnProperty('Pattern')) {
+ obj['Pattern'] = DynamicFormRule.constructFromObject(data['Pattern']);
+ }
+ if (data.hasOwnProperty('Predefined')) {
+ obj['Predefined'] = ApiClient.convertToType(data['Predefined'], [DynamicFormFieldOption]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/DynamicFormRule} MaxLength
+ */
+DynamicFormRules.prototype['MaxLength'] = undefined;
+
+/**
+ * @member {module:model/DynamicFormRule} MinLength
+ */
+DynamicFormRules.prototype['MinLength'] = undefined;
+
+/**
+ * @member {module:model/DynamicFormRule} Required
+ */
+DynamicFormRules.prototype['Required'] = undefined;
+
+/**
+ * @member {module:model/DynamicFormRule} Pattern
+ */
+DynamicFormRules.prototype['Pattern'] = undefined;
+
+/**
+ * @member {Array.} Predefined
+ */
+DynamicFormRules.prototype['Predefined'] = undefined;
+
+
+
+
+
+
+export default DynamicFormRules;
+
diff --git a/src/model/EmvNotificationEvent.js b/src/model/EmvNotificationEvent.js
new file mode 100644
index 00000000..f4ea8c31
--- /dev/null
+++ b/src/model/EmvNotificationEvent.js
@@ -0,0 +1,217 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Order from './Order';
+
+/**
+ * The EmvNotificationEvent model module.
+ * @module model/EmvNotificationEvent
+ * @version 1.0.0
+ */
+class EmvNotificationEvent {
+ /**
+ * Constructs a new EmvNotificationEvent.
+ * Order Terminal Notification
+ * @alias module:model/EmvNotificationEvent
+ */
+ constructor() {
+
+ EmvNotificationEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a EmvNotificationEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EmvNotificationEvent} obj Optional instance to populate.
+ * @return {module:model/EmvNotificationEvent} The populated EmvNotificationEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EmvNotificationEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('Notification')) {
+ obj['Notification'] = ApiClient.convertToType(data['Notification'], 'String');
+ }
+ if (data.hasOwnProperty('Order')) {
+ obj['Order'] = Order.constructFromObject(data['Order']);
+ }
+ if (data.hasOwnProperty('TerminalId')) {
+ obj['TerminalId'] = ApiClient.convertToType(data['TerminalId'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('ExpDate')) {
+ obj['ExpDate'] = ApiClient.convertToType(data['ExpDate'], 'String');
+ }
+ if (data.hasOwnProperty('CardType')) {
+ obj['CardType'] = ApiClient.convertToType(data['CardType'], 'String');
+ }
+ if (data.hasOwnProperty('PaymentMethod')) {
+ obj['PaymentMethod'] = ApiClient.convertToType(data['PaymentMethod'], 'String');
+ }
+ if (data.hasOwnProperty('AccountNumber')) {
+ obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String');
+ }
+ if (data.hasOwnProperty('AuthCode')) {
+ obj['AuthCode'] = ApiClient.convertToType(data['AuthCode'], 'String');
+ }
+ if (data.hasOwnProperty('ProviderMessage')) {
+ obj['ProviderMessage'] = ApiClient.convertToType(data['ProviderMessage'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+EmvNotificationEvent.prototype['EventName'] = undefined;
+
+/**
+ * Notification Sent
+ * @member {String} Notification
+ */
+EmvNotificationEvent.prototype['Notification'] = undefined;
+
+/**
+ * @member {module:model/Order} Order
+ */
+EmvNotificationEvent.prototype['Order'] = undefined;
+
+/**
+ * TerminalId
+ * @member {String} TerminalId
+ */
+EmvNotificationEvent.prototype['TerminalId'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+EmvNotificationEvent.prototype['Description'] = undefined;
+
+/**
+ * Expirey Date
+ * @member {String} ExpDate
+ */
+EmvNotificationEvent.prototype['ExpDate'] = undefined;
+
+/**
+ * Card Type
+ * @member {String} CardType
+ */
+EmvNotificationEvent.prototype['CardType'] = undefined;
+
+/**
+ * Payment Method
+ * @member {String} PaymentMethod
+ */
+EmvNotificationEvent.prototype['PaymentMethod'] = undefined;
+
+/**
+ * Masked Account Number
+ * @member {String} AccountNumber
+ */
+EmvNotificationEvent.prototype['AccountNumber'] = undefined;
+
+/**
+ * Auth Code
+ * @member {String} AuthCode
+ */
+EmvNotificationEvent.prototype['AuthCode'] = undefined;
+
+/**
+ * Payment Provider Message
+ * @member {String} ProviderMessage
+ */
+EmvNotificationEvent.prototype['ProviderMessage'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+EmvNotificationEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+EmvNotificationEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+EmvNotificationEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+EmvNotificationEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+EmvNotificationEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+EmvNotificationEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default EmvNotificationEvent;
+
diff --git a/src/model/EmvTerminal.js b/src/model/EmvTerminal.js
new file mode 100644
index 00000000..869e6f81
--- /dev/null
+++ b/src/model/EmvTerminal.js
@@ -0,0 +1,118 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The EmvTerminal model module.
+ * @module model/EmvTerminal
+ * @version 1.0.0
+ */
+class EmvTerminal {
+ /**
+ * Constructs a new EmvTerminal.
+ * EMV Payment Terminal
+ * @alias module:model/EmvTerminal
+ */
+ constructor() {
+
+ EmvTerminal.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a EmvTerminal from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EmvTerminal} obj Optional instance to populate.
+ * @return {module:model/EmvTerminal} The populated EmvTerminal instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EmvTerminal();
+
+ if (data.hasOwnProperty('EmvTerminalId')) {
+ obj['EmvTerminalId'] = ApiClient.convertToType(data['EmvTerminalId'], 'Number');
+ }
+ if (data.hasOwnProperty('TerminalId')) {
+ obj['TerminalId'] = ApiClient.convertToType(data['TerminalId'], 'String');
+ }
+ if (data.hasOwnProperty('Url')) {
+ obj['Url'] = ApiClient.convertToType(data['Url'], 'String');
+ }
+ if (data.hasOwnProperty('Token')) {
+ obj['Token'] = ApiClient.convertToType(data['Token'], 'String');
+ }
+ if (data.hasOwnProperty('SoftwareHouseId')) {
+ obj['SoftwareHouseId'] = ApiClient.convertToType(data['SoftwareHouseId'], 'String');
+ }
+ if (data.hasOwnProperty('InstallerId')) {
+ obj['InstallerId'] = ApiClient.convertToType(data['InstallerId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Flipdish Identifier of Terminal
+ * @member {Number} EmvTerminalId
+ */
+EmvTerminal.prototype['EmvTerminalId'] = undefined;
+
+/**
+ * External Identifier of Terminal
+ * @member {String} TerminalId
+ */
+EmvTerminal.prototype['TerminalId'] = undefined;
+
+/**
+ * URL at which terminal can be accessed
+ * @member {String} Url
+ */
+EmvTerminal.prototype['Url'] = undefined;
+
+/**
+ * TOKEN required to access terminal
+ * @member {String} Token
+ */
+EmvTerminal.prototype['Token'] = undefined;
+
+/**
+ * Identifies us to Provider
+ * @member {String} SoftwareHouseId
+ */
+EmvTerminal.prototype['SoftwareHouseId'] = undefined;
+
+/**
+ * Identifies installer of terminal
+ * @member {String} InstallerId
+ */
+EmvTerminal.prototype['InstallerId'] = undefined;
+
+
+
+
+
+
+export default EmvTerminal;
+
diff --git a/src/model/EmvTerminalWithAssignments.js b/src/model/EmvTerminalWithAssignments.js
new file mode 100644
index 00000000..e72b16c5
--- /dev/null
+++ b/src/model/EmvTerminalWithAssignments.js
@@ -0,0 +1,118 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The EmvTerminalWithAssignments model module.
+ * @module model/EmvTerminalWithAssignments
+ * @version 1.0.0
+ */
+class EmvTerminalWithAssignments {
+ /**
+ * Constructs a new EmvTerminalWithAssignments.
+ * EMV Payment Terminal
+ * @alias module:model/EmvTerminalWithAssignments
+ */
+ constructor() {
+
+ EmvTerminalWithAssignments.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a EmvTerminalWithAssignments from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EmvTerminalWithAssignments} obj Optional instance to populate.
+ * @return {module:model/EmvTerminalWithAssignments} The populated EmvTerminalWithAssignments instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EmvTerminalWithAssignments();
+
+ if (data.hasOwnProperty('EmvTerminalId')) {
+ obj['EmvTerminalId'] = ApiClient.convertToType(data['EmvTerminalId'], 'String');
+ }
+ if (data.hasOwnProperty('TerminalId')) {
+ obj['TerminalId'] = ApiClient.convertToType(data['TerminalId'], 'String');
+ }
+ if (data.hasOwnProperty('IsAssignedToHydraDevice')) {
+ obj['IsAssignedToHydraDevice'] = ApiClient.convertToType(data['IsAssignedToHydraDevice'], 'Boolean');
+ }
+ if (data.hasOwnProperty('HydraConfigId')) {
+ obj['HydraConfigId'] = ApiClient.convertToType(data['HydraConfigId'], 'Number');
+ }
+ if (data.hasOwnProperty('HydraDeviceId')) {
+ obj['HydraDeviceId'] = ApiClient.convertToType(data['HydraDeviceId'], 'String');
+ }
+ if (data.hasOwnProperty('HydraName')) {
+ obj['HydraName'] = ApiClient.convertToType(data['HydraName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Flipdish Internal identifier of the Terminal
+ * @member {String} EmvTerminalId
+ */
+EmvTerminalWithAssignments.prototype['EmvTerminalId'] = undefined;
+
+/**
+ * External Identifier of the Terminal
+ * @member {String} TerminalId
+ */
+EmvTerminalWithAssignments.prototype['TerminalId'] = undefined;
+
+/**
+ * true if the terminal is assigned to a hydra device (e.g. a kiosk)
+ * @member {Boolean} IsAssignedToHydraDevice
+ */
+EmvTerminalWithAssignments.prototype['IsAssignedToHydraDevice'] = undefined;
+
+/**
+ * hydra device id (null if the terminal is not assigned to any hydra device)
+ * @member {Number} HydraConfigId
+ */
+EmvTerminalWithAssignments.prototype['HydraConfigId'] = undefined;
+
+/**
+ * external hydra device id (null if the terminal is not assigned to any hydra device)
+ * @member {String} HydraDeviceId
+ */
+EmvTerminalWithAssignments.prototype['HydraDeviceId'] = undefined;
+
+/**
+ * hydra device name (null if the terminal is not assigned to any hydra device)
+ * @member {String} HydraName
+ */
+EmvTerminalWithAssignments.prototype['HydraName'] = undefined;
+
+
+
+
+
+
+export default EmvTerminalWithAssignments;
+
diff --git a/src/model/EventSearchResult.js b/src/model/EventSearchResult.js
new file mode 100644
index 00000000..123fe68f
--- /dev/null
+++ b/src/model/EventSearchResult.js
@@ -0,0 +1,1474 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AnalyticsClientEvent from './AnalyticsClientEvent';
+import AppCreatedEvent from './AppCreatedEvent';
+import AppStoreConfigCreatedEvent from './AppStoreConfigCreatedEvent';
+import AppStoreConfigDeletedEvent from './AppStoreConfigDeletedEvent';
+import AppStoreConfigUpdatedEvent from './AppStoreConfigUpdatedEvent';
+import AppStoreSubscriptionChangeJobUpdatedEvent from './AppStoreSubscriptionChangeJobUpdatedEvent';
+import AppUpdatedEvent from './AppUpdatedEvent';
+import BankAccountAssignedEvent from './BankAccountAssignedEvent';
+import BankAccountCreatedEvent from './BankAccountCreatedEvent';
+import BankAccountDeletedEvent from './BankAccountDeletedEvent';
+import BankAccountUpdatedEvent from './BankAccountUpdatedEvent';
+import CatalogGroupArchivedEvent from './CatalogGroupArchivedEvent';
+import CatalogGroupCreatedEvent from './CatalogGroupCreatedEvent';
+import CatalogGroupUpdatedEvent from './CatalogGroupUpdatedEvent';
+import CatalogItemArchivedEvent from './CatalogItemArchivedEvent';
+import CatalogItemCreatedEvent from './CatalogItemCreatedEvent';
+import CatalogItemUpdatedEvent from './CatalogItemUpdatedEvent';
+import CertificateCreatedEvent from './CertificateCreatedEvent';
+import CertificateRenewedEvent from './CertificateRenewedEvent';
+import ChannelStoresUpdatedEvent from './ChannelStoresUpdatedEvent';
+import CustomerConsentUpdatedEvent from './CustomerConsentUpdatedEvent';
+import CustomerCreatedEvent from './CustomerCreatedEvent';
+import CustomerUpdatedEvent from './CustomerUpdatedEvent';
+import DeliveryZoneCreatedEvent from './DeliveryZoneCreatedEvent';
+import DeliveryZoneDeletedEvent from './DeliveryZoneDeletedEvent';
+import DeliveryZoneUpdatedEvent from './DeliveryZoneUpdatedEvent';
+import DnsVerifiedEvent from './DnsVerifiedEvent';
+import EmvNotificationEvent from './EmvNotificationEvent';
+import ExternalStoreEvent from './ExternalStoreEvent';
+import HydraAssignedEvent from './HydraAssignedEvent';
+import HydraConnectionStatusChangedEvent from './HydraConnectionStatusChangedEvent';
+import HydraRequestResetEvent from './HydraRequestResetEvent';
+import HydraSettingChangedEvent from './HydraSettingChangedEvent';
+import HydraStoreAssignedEvent from './HydraStoreAssignedEvent';
+import HydraStoreUnassignedEvent from './HydraStoreUnassignedEvent';
+import HydraUnAssignedEvent from './HydraUnAssignedEvent';
+import KioskBluetoothInstallUpdateInitiateEvent from './KioskBluetoothInstallUpdateInitiateEvent';
+import KioskBluetoothPairingModeEvent from './KioskBluetoothPairingModeEvent';
+import KioskBluetoothTerminalCancelUpdateEvent from './KioskBluetoothTerminalCancelUpdateEvent';
+import KioskBluetoothTerminalFirmwareVersionStatusEvent from './KioskBluetoothTerminalFirmwareVersionStatusEvent';
+import KioskBluetoothTerminalInitiateUpdateCheckEvent from './KioskBluetoothTerminalInitiateUpdateCheckEvent';
+import KioskBluetoothTerminalInstallationStatusEvent from './KioskBluetoothTerminalInstallationStatusEvent';
+import KioskBluetoothTerminalUnpairedEvent from './KioskBluetoothTerminalUnpairedEvent';
+import KioskBluetoothTerminalUpdatedEvent from './KioskBluetoothTerminalUpdatedEvent';
+import KioskBluetoothUnpairingModeEvent from './KioskBluetoothUnpairingModeEvent';
+import KioskTerminalActionStateChangedEvent from './KioskTerminalActionStateChangedEvent';
+import LocationAreaCreatedEvent from './LocationAreaCreatedEvent';
+import LocationAreaUpdatedEvent from './LocationAreaUpdatedEvent';
+import LocationCreatedEvent from './LocationCreatedEvent';
+import LocationDeletedEvent from './LocationDeletedEvent';
+import LoyaltyCampaignCreatedEvent from './LoyaltyCampaignCreatedEvent';
+import LoyaltyCampaignDeletedEvent from './LoyaltyCampaignDeletedEvent';
+import LoyaltyCampaignUpdatedEvent from './LoyaltyCampaignUpdatedEvent';
+import MenuAsyncCreationCompletedEvent from './MenuAsyncCreationCompletedEvent';
+import MenuBulkEditEvent from './MenuBulkEditEvent';
+import MenuCheckpointCreatedEvent from './MenuCheckpointCreatedEvent';
+import MenuCreatedEvent from './MenuCreatedEvent';
+import MenuItemOptionSetCreatedEvent from './MenuItemOptionSetCreatedEvent';
+import MenuItemOptionSetDeletedEvent from './MenuItemOptionSetDeletedEvent';
+import MenuItemOptionSetItemCreatedEvent from './MenuItemOptionSetItemCreatedEvent';
+import MenuItemOptionSetItemDeletedEvent from './MenuItemOptionSetItemDeletedEvent';
+import MenuItemOptionSetItemUpdatedEvent from './MenuItemOptionSetItemUpdatedEvent';
+import MenuItemOptionSetUpdatedEvent from './MenuItemOptionSetUpdatedEvent';
+import MenuSectionCreatedEvent from './MenuSectionCreatedEvent';
+import MenuSectionDeletedEvent from './MenuSectionDeletedEvent';
+import MenuSectionItemCreatedEvent from './MenuSectionItemCreatedEvent';
+import MenuSectionItemDeletedEvent from './MenuSectionItemDeletedEvent';
+import MenuSectionItemUpdatedEvent from './MenuSectionItemUpdatedEvent';
+import MenuSectionUpdatedEvent from './MenuSectionUpdatedEvent';
+import MenuUpdatedEvent from './MenuUpdatedEvent';
+import MenuUploadedEvent from './MenuUploadedEvent';
+import MobileAppsSubmissionStatusUpdatedEvent from './MobileAppsSubmissionStatusUpdatedEvent';
+import MobileAppsSubmissionUpdatedEvent from './MobileAppsSubmissionUpdatedEvent';
+import OrderAcceptedEvent from './OrderAcceptedEvent';
+import OrderBatchPublishedEvent from './OrderBatchPublishedEvent';
+import OrderCapacityConfigUpdatedEvent from './OrderCapacityConfigUpdatedEvent';
+import OrderCreatedEvent from './OrderCreatedEvent';
+import OrderCustomerTrackingCreatedEvent from './OrderCustomerTrackingCreatedEvent';
+import OrderDeliveryTrackingStatusUpdatedEvent from './OrderDeliveryTrackingStatusUpdatedEvent';
+import OrderDispatchedEvent from './OrderDispatchedEvent';
+import OrderFulfillmentStatusUpdatedEvent from './OrderFulfillmentStatusUpdatedEvent';
+import OrderRatingUpdatedEvent from './OrderRatingUpdatedEvent';
+import OrderRefundedEvent from './OrderRefundedEvent';
+import OrderRejectedEvent from './OrderRejectedEvent';
+import OrderTipUpdatedEvent from './OrderTipUpdatedEvent';
+import PhoneCallEndedEvent from './PhoneCallEndedEvent';
+import PhoneCallStartedEvent from './PhoneCallStartedEvent';
+import PrinterAssignedToStoreEvent from './PrinterAssignedToStoreEvent';
+import PrinterTurnedOffEvent from './PrinterTurnedOffEvent';
+import PrinterTurnedOnEvent from './PrinterTurnedOnEvent';
+import PrinterUnassignedFromStoreEvent from './PrinterUnassignedFromStoreEvent';
+import PushNotificationDeletedEvent from './PushNotificationDeletedEvent';
+import PushNotificationScheduledEvent from './PushNotificationScheduledEvent';
+import PushNotificationSentEvent from './PushNotificationSentEvent';
+import RetentionCampaignCreatedEvent from './RetentionCampaignCreatedEvent';
+import RetentionCampaignDeletedEvent from './RetentionCampaignDeletedEvent';
+import RetentionCampaignUpdatedEvent from './RetentionCampaignUpdatedEvent';
+import SmsReceivedEvent from './SmsReceivedEvent';
+import StoreAddressUpdatedEvent from './StoreAddressUpdatedEvent';
+import StoreArchivedEvent from './StoreArchivedEvent';
+import StoreBusinessHoursOverrideCreatedEvent from './StoreBusinessHoursOverrideCreatedEvent';
+import StoreBusinessHoursOverrideDeletedEvent from './StoreBusinessHoursOverrideDeletedEvent';
+import StoreCreatedEvent from './StoreCreatedEvent';
+import StoreDeletedEvent from './StoreDeletedEvent';
+import StoreFeeConfigUpdatedEvent from './StoreFeeConfigUpdatedEvent';
+import StoreGroupCreatedEvent from './StoreGroupCreatedEvent';
+import StoreGroupDeletedEvent from './StoreGroupDeletedEvent';
+import StoreGroupUpdatedEvent from './StoreGroupUpdatedEvent';
+import StoreKioskSettingUpdatedEvent from './StoreKioskSettingUpdatedEvent';
+import StoreLogoCreatedEvent from './StoreLogoCreatedEvent';
+import StoreLogoDeletedEvent from './StoreLogoDeletedEvent';
+import StoreLogoUpdatedEvent from './StoreLogoUpdatedEvent';
+import StoreMenuAssignedEvent from './StoreMenuAssignedEvent';
+import StoreOpeningHoursUpdatedEvent from './StoreOpeningHoursUpdatedEvent';
+import StorePreOrderConfigUpdatedEvent from './StorePreOrderConfigUpdatedEvent';
+import StorePublishedEvent from './StorePublishedEvent';
+import StoreServiceChargeUpdatedEvent from './StoreServiceChargeUpdatedEvent';
+import StoreTipUpdatedEvent from './StoreTipUpdatedEvent';
+import StoreUnarchivedEvent from './StoreUnarchivedEvent';
+import StoreUnpublishedEvent from './StoreUnpublishedEvent';
+import StoreUpdatedEvent from './StoreUpdatedEvent';
+import TeammateDeletedEvent from './TeammateDeletedEvent';
+import TeammateInviteAcceptedEvent from './TeammateInviteAcceptedEvent';
+import TeammateInviteSentEvent from './TeammateInviteSentEvent';
+import TeammateUpdatedEvent from './TeammateUpdatedEvent';
+import TelephonyConfigUpdatedEvent from './TelephonyConfigUpdatedEvent';
+import UserAnsweredSignupQuestionsEvent from './UserAnsweredSignupQuestionsEvent';
+import UserCreatedEvent from './UserCreatedEvent';
+import UserDeletedEvent from './UserDeletedEvent';
+import UserLoginEvent from './UserLoginEvent';
+import UserPasswordCreatedEvent from './UserPasswordCreatedEvent';
+import UserUpdatedEvent from './UserUpdatedEvent';
+import VoucherAppliedEvent from './VoucherAppliedEvent';
+import VoucherCreatedEvent from './VoucherCreatedEvent';
+import VoucherDeletedEvent from './VoucherDeletedEvent';
+import VoucherUpdatedEvent from './VoucherUpdatedEvent';
+import WebhookSubscriptionCreatedEvent from './WebhookSubscriptionCreatedEvent';
+import WebhookSubscriptionDeletedEvent from './WebhookSubscriptionDeletedEvent';
+import WebhookSubscriptionUpdatedEvent from './WebhookSubscriptionUpdatedEvent';
+import WebsiteUpdatedEvent from './WebsiteUpdatedEvent';
+import WebsiteVanityUrlUpdatedEvent from './WebsiteVanityUrlUpdatedEvent';
+
+/**
+ * The EventSearchResult model module.
+ * @module model/EventSearchResult
+ * @version 1.0.0
+ */
+class EventSearchResult {
+ /**
+ * Constructs a new EventSearchResult.
+ *
+ * @alias module:model/EventSearchResult
+ */
+ constructor() {
+
+ EventSearchResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a EventSearchResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/EventSearchResult} obj Optional instance to populate.
+ * @return {module:model/EventSearchResult} The populated EventSearchResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new EventSearchResult();
+
+ if (data.hasOwnProperty('AppCreatedEvent')) {
+ obj['AppCreatedEvent'] = ApiClient.convertToType(data['AppCreatedEvent'], [AppCreatedEvent]);
+ }
+ if (data.hasOwnProperty('AppUpdatedEvent')) {
+ obj['AppUpdatedEvent'] = ApiClient.convertToType(data['AppUpdatedEvent'], [AppUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('AnalyticsClientEvent')) {
+ obj['AnalyticsClientEvent'] = ApiClient.convertToType(data['AnalyticsClientEvent'], [AnalyticsClientEvent]);
+ }
+ if (data.hasOwnProperty('OrderAcceptedEvent')) {
+ obj['OrderAcceptedEvent'] = ApiClient.convertToType(data['OrderAcceptedEvent'], [OrderAcceptedEvent]);
+ }
+ if (data.hasOwnProperty('OrderDispatchedEvent')) {
+ obj['OrderDispatchedEvent'] = ApiClient.convertToType(data['OrderDispatchedEvent'], [OrderDispatchedEvent]);
+ }
+ if (data.hasOwnProperty('OrderCustomerTrackingCreatedEvent')) {
+ obj['OrderCustomerTrackingCreatedEvent'] = ApiClient.convertToType(data['OrderCustomerTrackingCreatedEvent'], [OrderCustomerTrackingCreatedEvent]);
+ }
+ if (data.hasOwnProperty('OrderDeliveryTrackingStatusUpdatedEvent')) {
+ obj['OrderDeliveryTrackingStatusUpdatedEvent'] = ApiClient.convertToType(data['OrderDeliveryTrackingStatusUpdatedEvent'], [OrderDeliveryTrackingStatusUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('OrderBatchPublishedEvent')) {
+ obj['OrderBatchPublishedEvent'] = ApiClient.convertToType(data['OrderBatchPublishedEvent'], [OrderBatchPublishedEvent]);
+ }
+ if (data.hasOwnProperty('OrderCreatedEvent')) {
+ obj['OrderCreatedEvent'] = ApiClient.convertToType(data['OrderCreatedEvent'], [OrderCreatedEvent]);
+ }
+ if (data.hasOwnProperty('OrderRatingUpdatedEvent')) {
+ obj['OrderRatingUpdatedEvent'] = ApiClient.convertToType(data['OrderRatingUpdatedEvent'], [OrderRatingUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('OrderRefundedEvent')) {
+ obj['OrderRefundedEvent'] = ApiClient.convertToType(data['OrderRefundedEvent'], [OrderRefundedEvent]);
+ }
+ if (data.hasOwnProperty('OrderRejectedEvent')) {
+ obj['OrderRejectedEvent'] = ApiClient.convertToType(data['OrderRejectedEvent'], [OrderRejectedEvent]);
+ }
+ if (data.hasOwnProperty('OrderTipUpdatedEvent')) {
+ obj['OrderTipUpdatedEvent'] = ApiClient.convertToType(data['OrderTipUpdatedEvent'], [OrderTipUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('OrderTerminalNotifications')) {
+ obj['OrderTerminalNotifications'] = ApiClient.convertToType(data['OrderTerminalNotifications'], [EmvNotificationEvent]);
+ }
+ if (data.hasOwnProperty('StoreCreatedEvent')) {
+ obj['StoreCreatedEvent'] = ApiClient.convertToType(data['StoreCreatedEvent'], [StoreCreatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreDeletedEvent')) {
+ obj['StoreDeletedEvent'] = ApiClient.convertToType(data['StoreDeletedEvent'], [StoreDeletedEvent]);
+ }
+ if (data.hasOwnProperty('StoreAddressUpdatedEvent')) {
+ obj['StoreAddressUpdatedEvent'] = ApiClient.convertToType(data['StoreAddressUpdatedEvent'], [StoreAddressUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreKioskSettingUpdatedEvent')) {
+ obj['StoreKioskSettingUpdatedEvent'] = ApiClient.convertToType(data['StoreKioskSettingUpdatedEvent'], [StoreKioskSettingUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('DeliveryZoneCreatedEvent')) {
+ obj['DeliveryZoneCreatedEvent'] = ApiClient.convertToType(data['DeliveryZoneCreatedEvent'], [DeliveryZoneCreatedEvent]);
+ }
+ if (data.hasOwnProperty('DeliveryZoneUpdatedEvent')) {
+ obj['DeliveryZoneUpdatedEvent'] = ApiClient.convertToType(data['DeliveryZoneUpdatedEvent'], [DeliveryZoneUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('DeliveryZoneDeletedEvent')) {
+ obj['DeliveryZoneDeletedEvent'] = ApiClient.convertToType(data['DeliveryZoneDeletedEvent'], [DeliveryZoneDeletedEvent]);
+ }
+ if (data.hasOwnProperty('StoreOpeningHoursUpdatedEvent')) {
+ obj['StoreOpeningHoursUpdatedEvent'] = ApiClient.convertToType(data['StoreOpeningHoursUpdatedEvent'], [StoreOpeningHoursUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreMenuAssignedEvent')) {
+ obj['StoreMenuAssignedEvent'] = ApiClient.convertToType(data['StoreMenuAssignedEvent'], [StoreMenuAssignedEvent]);
+ }
+ if (data.hasOwnProperty('StoreBusinessHoursOverrideCreatedEvent')) {
+ obj['StoreBusinessHoursOverrideCreatedEvent'] = ApiClient.convertToType(data['StoreBusinessHoursOverrideCreatedEvent'], [StoreBusinessHoursOverrideCreatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreBusinessHoursOverrideDeletedEvent')) {
+ obj['StoreBusinessHoursOverrideDeletedEvent'] = ApiClient.convertToType(data['StoreBusinessHoursOverrideDeletedEvent'], [StoreBusinessHoursOverrideDeletedEvent]);
+ }
+ if (data.hasOwnProperty('StoreArchivedEvent')) {
+ obj['StoreArchivedEvent'] = ApiClient.convertToType(data['StoreArchivedEvent'], [StoreArchivedEvent]);
+ }
+ if (data.hasOwnProperty('StoreUnarchivedEvent')) {
+ obj['StoreUnarchivedEvent'] = ApiClient.convertToType(data['StoreUnarchivedEvent'], [StoreUnarchivedEvent]);
+ }
+ if (data.hasOwnProperty('StorePublishedEvent')) {
+ obj['StorePublishedEvent'] = ApiClient.convertToType(data['StorePublishedEvent'], [StorePublishedEvent]);
+ }
+ if (data.hasOwnProperty('StoreUnpublishedEvent')) {
+ obj['StoreUnpublishedEvent'] = ApiClient.convertToType(data['StoreUnpublishedEvent'], [StoreUnpublishedEvent]);
+ }
+ if (data.hasOwnProperty('StoreUpdatedEvent')) {
+ obj['StoreUpdatedEvent'] = ApiClient.convertToType(data['StoreUpdatedEvent'], [StoreUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StorePreOrderConfigUpdatedEvent')) {
+ obj['StorePreOrderConfigUpdatedEvent'] = ApiClient.convertToType(data['StorePreOrderConfigUpdatedEvent'], [StorePreOrderConfigUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreLogoCreatedEvent')) {
+ obj['StoreLogoCreatedEvent'] = ApiClient.convertToType(data['StoreLogoCreatedEvent'], [StoreLogoCreatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreLogoUpdatedEvent')) {
+ obj['StoreLogoUpdatedEvent'] = ApiClient.convertToType(data['StoreLogoUpdatedEvent'], [StoreLogoUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreLogoDeletedEvent')) {
+ obj['StoreLogoDeletedEvent'] = ApiClient.convertToType(data['StoreLogoDeletedEvent'], [StoreLogoDeletedEvent]);
+ }
+ if (data.hasOwnProperty('MenuCreatedEvent')) {
+ obj['MenuCreatedEvent'] = ApiClient.convertToType(data['MenuCreatedEvent'], [MenuCreatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuAsyncCreationCompletedEvent')) {
+ obj['MenuAsyncCreationCompletedEvent'] = ApiClient.convertToType(data['MenuAsyncCreationCompletedEvent'], [MenuAsyncCreationCompletedEvent]);
+ }
+ if (data.hasOwnProperty('MenuUpdatedEvent')) {
+ obj['MenuUpdatedEvent'] = ApiClient.convertToType(data['MenuUpdatedEvent'], [MenuUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuUploadedEvent')) {
+ obj['MenuUploadedEvent'] = ApiClient.convertToType(data['MenuUploadedEvent'], [MenuUploadedEvent]);
+ }
+ if (data.hasOwnProperty('MenuBulkEditEvent')) {
+ obj['MenuBulkEditEvent'] = ApiClient.convertToType(data['MenuBulkEditEvent'], [MenuBulkEditEvent]);
+ }
+ if (data.hasOwnProperty('MenuSectionCreatedEvent')) {
+ obj['MenuSectionCreatedEvent'] = ApiClient.convertToType(data['MenuSectionCreatedEvent'], [MenuSectionCreatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuSectionUpdatedEvent')) {
+ obj['MenuSectionUpdatedEvent'] = ApiClient.convertToType(data['MenuSectionUpdatedEvent'], [MenuSectionUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuSectionDeletedEvent')) {
+ obj['MenuSectionDeletedEvent'] = ApiClient.convertToType(data['MenuSectionDeletedEvent'], [MenuSectionDeletedEvent]);
+ }
+ if (data.hasOwnProperty('MenuSectionItemCreatedEvent')) {
+ obj['MenuSectionItemCreatedEvent'] = ApiClient.convertToType(data['MenuSectionItemCreatedEvent'], [MenuSectionItemCreatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuSectionItemUpdatedEvent')) {
+ obj['MenuSectionItemUpdatedEvent'] = ApiClient.convertToType(data['MenuSectionItemUpdatedEvent'], [MenuSectionItemUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuSectionItemDeletedEvent')) {
+ obj['MenuSectionItemDeletedEvent'] = ApiClient.convertToType(data['MenuSectionItemDeletedEvent'], [MenuSectionItemDeletedEvent]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetCreatedEvent')) {
+ obj['MenuItemOptionSetCreatedEvent'] = ApiClient.convertToType(data['MenuItemOptionSetCreatedEvent'], [MenuItemOptionSetCreatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetUpdatedEvent')) {
+ obj['MenuItemOptionSetUpdatedEvent'] = ApiClient.convertToType(data['MenuItemOptionSetUpdatedEvent'], [MenuItemOptionSetUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetDeletedEvent')) {
+ obj['MenuItemOptionSetDeletedEvent'] = ApiClient.convertToType(data['MenuItemOptionSetDeletedEvent'], [MenuItemOptionSetDeletedEvent]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetItemCreatedEvent')) {
+ obj['MenuItemOptionSetItemCreatedEvent'] = ApiClient.convertToType(data['MenuItemOptionSetItemCreatedEvent'], [MenuItemOptionSetItemCreatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetItemUpdatedEvent')) {
+ obj['MenuItemOptionSetItemUpdatedEvent'] = ApiClient.convertToType(data['MenuItemOptionSetItemUpdatedEvent'], [MenuItemOptionSetItemUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MenuItemOptionSetItemDeletedEvent')) {
+ obj['MenuItemOptionSetItemDeletedEvent'] = ApiClient.convertToType(data['MenuItemOptionSetItemDeletedEvent'], [MenuItemOptionSetItemDeletedEvent]);
+ }
+ if (data.hasOwnProperty('MenuCheckpointCreatedEvent')) {
+ obj['MenuCheckpointCreatedEvent'] = ApiClient.convertToType(data['MenuCheckpointCreatedEvent'], [MenuCheckpointCreatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreGroupCreatedEvent')) {
+ obj['StoreGroupCreatedEvent'] = ApiClient.convertToType(data['StoreGroupCreatedEvent'], [StoreGroupCreatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreGroupUpdatedEvent')) {
+ obj['StoreGroupUpdatedEvent'] = ApiClient.convertToType(data['StoreGroupUpdatedEvent'], [StoreGroupUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreGroupDeletedEvent')) {
+ obj['StoreGroupDeletedEvent'] = ApiClient.convertToType(data['StoreGroupDeletedEvent'], [StoreGroupDeletedEvent]);
+ }
+ if (data.hasOwnProperty('CustomerCreatedEvent')) {
+ obj['CustomerCreatedEvent'] = ApiClient.convertToType(data['CustomerCreatedEvent'], [CustomerCreatedEvent]);
+ }
+ if (data.hasOwnProperty('CustomerUpdatedEvent')) {
+ obj['CustomerUpdatedEvent'] = ApiClient.convertToType(data['CustomerUpdatedEvent'], [CustomerUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('CustomerConsentUpdatedEvent')) {
+ obj['CustomerConsentUpdatedEvent'] = ApiClient.convertToType(data['CustomerConsentUpdatedEvent'], [CustomerConsentUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('WebhookSubscriptionCreatedEvent')) {
+ obj['WebhookSubscriptionCreatedEvent'] = ApiClient.convertToType(data['WebhookSubscriptionCreatedEvent'], [WebhookSubscriptionCreatedEvent]);
+ }
+ if (data.hasOwnProperty('WebhookSubscriptionUpdatedEvent')) {
+ obj['WebhookSubscriptionUpdatedEvent'] = ApiClient.convertToType(data['WebhookSubscriptionUpdatedEvent'], [WebhookSubscriptionUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('WebhookSubscriptionDeletedEvent')) {
+ obj['WebhookSubscriptionDeletedEvent'] = ApiClient.convertToType(data['WebhookSubscriptionDeletedEvent'], [WebhookSubscriptionDeletedEvent]);
+ }
+ if (data.hasOwnProperty('PrinterTurnedOnEvent')) {
+ obj['PrinterTurnedOnEvent'] = ApiClient.convertToType(data['PrinterTurnedOnEvent'], [PrinterTurnedOnEvent]);
+ }
+ if (data.hasOwnProperty('PrinterTurnedOffEvent')) {
+ obj['PrinterTurnedOffEvent'] = ApiClient.convertToType(data['PrinterTurnedOffEvent'], [PrinterTurnedOffEvent]);
+ }
+ if (data.hasOwnProperty('PrinterAssignedToStoreEvent')) {
+ obj['PrinterAssignedToStoreEvent'] = ApiClient.convertToType(data['PrinterAssignedToStoreEvent'], [PrinterAssignedToStoreEvent]);
+ }
+ if (data.hasOwnProperty('PrinterUnassignedFromStoreEvent')) {
+ obj['PrinterUnassignedFromStoreEvent'] = ApiClient.convertToType(data['PrinterUnassignedFromStoreEvent'], [PrinterUnassignedFromStoreEvent]);
+ }
+ if (data.hasOwnProperty('PhoneCallStartedEvent')) {
+ obj['PhoneCallStartedEvent'] = ApiClient.convertToType(data['PhoneCallStartedEvent'], [PhoneCallStartedEvent]);
+ }
+ if (data.hasOwnProperty('PhoneCallEndedEvent')) {
+ obj['PhoneCallEndedEvent'] = ApiClient.convertToType(data['PhoneCallEndedEvent'], [PhoneCallEndedEvent]);
+ }
+ if (data.hasOwnProperty('TelephonyConfigUpdatedEvent')) {
+ obj['TelephonyConfigUpdatedEvent'] = ApiClient.convertToType(data['TelephonyConfigUpdatedEvent'], [TelephonyConfigUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('ChannelStoresUpdatedEvent')) {
+ obj['ChannelStoresUpdatedEvent'] = ApiClient.convertToType(data['ChannelStoresUpdatedEvent'], [ChannelStoresUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('LoyaltyCampaignCreatedEvent')) {
+ obj['LoyaltyCampaignCreatedEvent'] = ApiClient.convertToType(data['LoyaltyCampaignCreatedEvent'], [LoyaltyCampaignCreatedEvent]);
+ }
+ if (data.hasOwnProperty('LoyaltyCampaignDeletedEvent')) {
+ obj['LoyaltyCampaignDeletedEvent'] = ApiClient.convertToType(data['LoyaltyCampaignDeletedEvent'], [LoyaltyCampaignDeletedEvent]);
+ }
+ if (data.hasOwnProperty('LoyaltyCampaignUpdatedEvent')) {
+ obj['LoyaltyCampaignUpdatedEvent'] = ApiClient.convertToType(data['LoyaltyCampaignUpdatedEvent'], [LoyaltyCampaignUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('RetentionCampaignCreatedEvent')) {
+ obj['RetentionCampaignCreatedEvent'] = ApiClient.convertToType(data['RetentionCampaignCreatedEvent'], [RetentionCampaignCreatedEvent]);
+ }
+ if (data.hasOwnProperty('RetentionCampaignDeletedEvent')) {
+ obj['RetentionCampaignDeletedEvent'] = ApiClient.convertToType(data['RetentionCampaignDeletedEvent'], [RetentionCampaignDeletedEvent]);
+ }
+ if (data.hasOwnProperty('RetentionCampaignUpdatedEvent')) {
+ obj['RetentionCampaignUpdatedEvent'] = ApiClient.convertToType(data['RetentionCampaignUpdatedEvent'], [RetentionCampaignUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('SmsReceivedEvent')) {
+ obj['SmsReceivedEvent'] = ApiClient.convertToType(data['SmsReceivedEvent'], [SmsReceivedEvent]);
+ }
+ if (data.hasOwnProperty('UserLoginEvent')) {
+ obj['UserLoginEvent'] = ApiClient.convertToType(data['UserLoginEvent'], [UserLoginEvent]);
+ }
+ if (data.hasOwnProperty('UserCreatedEvent')) {
+ obj['UserCreatedEvent'] = ApiClient.convertToType(data['UserCreatedEvent'], [UserCreatedEvent]);
+ }
+ if (data.hasOwnProperty('UserUpdatedEvent')) {
+ obj['UserUpdatedEvent'] = ApiClient.convertToType(data['UserUpdatedEvent'], [UserUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('UserDeletedEvent')) {
+ obj['UserDeletedEvent'] = ApiClient.convertToType(data['UserDeletedEvent'], [UserDeletedEvent]);
+ }
+ if (data.hasOwnProperty('UserCreatedPasswordEvent')) {
+ obj['UserCreatedPasswordEvent'] = ApiClient.convertToType(data['UserCreatedPasswordEvent'], [UserPasswordCreatedEvent]);
+ }
+ if (data.hasOwnProperty('UserAnsweredSignupQuestionsEvent')) {
+ obj['UserAnsweredSignupQuestionsEvent'] = ApiClient.convertToType(data['UserAnsweredSignupQuestionsEvent'], [UserAnsweredSignupQuestionsEvent]);
+ }
+ if (data.hasOwnProperty('VoucherCreatedEvent')) {
+ obj['VoucherCreatedEvent'] = ApiClient.convertToType(data['VoucherCreatedEvent'], [VoucherCreatedEvent]);
+ }
+ if (data.hasOwnProperty('VoucherUpdatedEvent')) {
+ obj['VoucherUpdatedEvent'] = ApiClient.convertToType(data['VoucherUpdatedEvent'], [VoucherUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('VoucherDeletedEvent')) {
+ obj['VoucherDeletedEvent'] = ApiClient.convertToType(data['VoucherDeletedEvent'], [VoucherDeletedEvent]);
+ }
+ if (data.hasOwnProperty('VoucherAppliedEvent')) {
+ obj['VoucherAppliedEvent'] = ApiClient.convertToType(data['VoucherAppliedEvent'], [VoucherAppliedEvent]);
+ }
+ if (data.hasOwnProperty('TeammateInviteSentEvent')) {
+ obj['TeammateInviteSentEvent'] = ApiClient.convertToType(data['TeammateInviteSentEvent'], [TeammateInviteSentEvent]);
+ }
+ if (data.hasOwnProperty('TeammateInviteAcceptedEvent')) {
+ obj['TeammateInviteAcceptedEvent'] = ApiClient.convertToType(data['TeammateInviteAcceptedEvent'], [TeammateInviteAcceptedEvent]);
+ }
+ if (data.hasOwnProperty('TeammateUpdatedEvent')) {
+ obj['TeammateUpdatedEvent'] = ApiClient.convertToType(data['TeammateUpdatedEvent'], [TeammateUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('TeammateDeletedEvent')) {
+ obj['TeammateDeletedEvent'] = ApiClient.convertToType(data['TeammateDeletedEvent'], [TeammateDeletedEvent]);
+ }
+ if (data.hasOwnProperty('BankAccountCreatedEvent')) {
+ obj['BankAccountCreatedEvent'] = ApiClient.convertToType(data['BankAccountCreatedEvent'], [BankAccountCreatedEvent]);
+ }
+ if (data.hasOwnProperty('BankAccountUpdatedEvent')) {
+ obj['BankAccountUpdatedEvent'] = ApiClient.convertToType(data['BankAccountUpdatedEvent'], [BankAccountUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('BankAccountDeletedEvent')) {
+ obj['BankAccountDeletedEvent'] = ApiClient.convertToType(data['BankAccountDeletedEvent'], [BankAccountDeletedEvent]);
+ }
+ if (data.hasOwnProperty('BankAccountAssignedEvent')) {
+ obj['BankAccountAssignedEvent'] = ApiClient.convertToType(data['BankAccountAssignedEvent'], [BankAccountAssignedEvent]);
+ }
+ if (data.hasOwnProperty('HydraAssignedEvent')) {
+ obj['HydraAssignedEvent'] = ApiClient.convertToType(data['HydraAssignedEvent'], [HydraAssignedEvent]);
+ }
+ if (data.hasOwnProperty('HydraRequestResetEvent')) {
+ obj['HydraRequestResetEvent'] = ApiClient.convertToType(data['HydraRequestResetEvent'], [HydraRequestResetEvent]);
+ }
+ if (data.hasOwnProperty('HydraStoreAssignedEvent')) {
+ obj['HydraStoreAssignedEvent'] = ApiClient.convertToType(data['HydraStoreAssignedEvent'], [HydraStoreAssignedEvent]);
+ }
+ if (data.hasOwnProperty('HydraStoreUnassignedEvent')) {
+ obj['HydraStoreUnassignedEvent'] = ApiClient.convertToType(data['HydraStoreUnassignedEvent'], [HydraStoreUnassignedEvent]);
+ }
+ if (data.hasOwnProperty('HydraSettingChangedEvent')) {
+ obj['HydraSettingChangedEvent'] = ApiClient.convertToType(data['HydraSettingChangedEvent'], [HydraSettingChangedEvent]);
+ }
+ if (data.hasOwnProperty('HydraUnAssignedEvent')) {
+ obj['HydraUnAssignedEvent'] = ApiClient.convertToType(data['HydraUnAssignedEvent'], [HydraUnAssignedEvent]);
+ }
+ if (data.hasOwnProperty('HydraConnectionStatusChangedEvent')) {
+ obj['HydraConnectionStatusChangedEvent'] = ApiClient.convertToType(data['HydraConnectionStatusChangedEvent'], [HydraConnectionStatusChangedEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothPairingModeEvent')) {
+ obj['KioskBluetoothPairingModeEvent'] = ApiClient.convertToType(data['KioskBluetoothPairingModeEvent'], [KioskBluetoothPairingModeEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothUnpairingModeEvent')) {
+ obj['KioskBluetoothUnpairingModeEvent'] = ApiClient.convertToType(data['KioskBluetoothUnpairingModeEvent'], [KioskBluetoothUnpairingModeEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothTerminalUnpairedEvent')) {
+ obj['KioskBluetoothTerminalUnpairedEvent'] = ApiClient.convertToType(data['KioskBluetoothTerminalUnpairedEvent'], [KioskBluetoothTerminalUnpairedEvent]);
+ }
+ if (data.hasOwnProperty('KioskTerminalActionStateChangedEvent')) {
+ obj['KioskTerminalActionStateChangedEvent'] = ApiClient.convertToType(data['KioskTerminalActionStateChangedEvent'], [KioskTerminalActionStateChangedEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothTerminalUpdatedEvent')) {
+ obj['KioskBluetoothTerminalUpdatedEvent'] = ApiClient.convertToType(data['KioskBluetoothTerminalUpdatedEvent'], [KioskBluetoothTerminalUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothTerminalInitiateUpdateCheckEvent')) {
+ obj['KioskBluetoothTerminalInitiateUpdateCheckEvent'] = ApiClient.convertToType(data['KioskBluetoothTerminalInitiateUpdateCheckEvent'], [KioskBluetoothTerminalInitiateUpdateCheckEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothInstallUpdateInitiateEvent')) {
+ obj['KioskBluetoothInstallUpdateInitiateEvent'] = ApiClient.convertToType(data['KioskBluetoothInstallUpdateInitiateEvent'], [KioskBluetoothInstallUpdateInitiateEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothTerminalCancelUpdateEvent')) {
+ obj['KioskBluetoothTerminalCancelUpdateEvent'] = ApiClient.convertToType(data['KioskBluetoothTerminalCancelUpdateEvent'], [KioskBluetoothTerminalCancelUpdateEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothTerminalFirmwareVersionStatusEvent')) {
+ obj['KioskBluetoothTerminalFirmwareVersionStatusEvent'] = ApiClient.convertToType(data['KioskBluetoothTerminalFirmwareVersionStatusEvent'], [KioskBluetoothTerminalFirmwareVersionStatusEvent]);
+ }
+ if (data.hasOwnProperty('KioskBluetoothTerminalInstallationStatusEvent')) {
+ obj['KioskBluetoothTerminalInstallationStatusEvent'] = ApiClient.convertToType(data['KioskBluetoothTerminalInstallationStatusEvent'], [KioskBluetoothTerminalInstallationStatusEvent]);
+ }
+ if (data.hasOwnProperty('PushNotificationScheduledEvent')) {
+ obj['PushNotificationScheduledEvent'] = ApiClient.convertToType(data['PushNotificationScheduledEvent'], [PushNotificationScheduledEvent]);
+ }
+ if (data.hasOwnProperty('PushNotificationSentEvent')) {
+ obj['PushNotificationSentEvent'] = ApiClient.convertToType(data['PushNotificationSentEvent'], [PushNotificationSentEvent]);
+ }
+ if (data.hasOwnProperty('PushNotificationDeletedEvent')) {
+ obj['PushNotificationDeletedEvent'] = ApiClient.convertToType(data['PushNotificationDeletedEvent'], [PushNotificationDeletedEvent]);
+ }
+ if (data.hasOwnProperty('DnsVerifiedEvent')) {
+ obj['DnsVerifiedEvent'] = ApiClient.convertToType(data['DnsVerifiedEvent'], [DnsVerifiedEvent]);
+ }
+ if (data.hasOwnProperty('CertificateCreatedEvent')) {
+ obj['CertificateCreatedEvent'] = ApiClient.convertToType(data['CertificateCreatedEvent'], [CertificateCreatedEvent]);
+ }
+ if (data.hasOwnProperty('CertificateRenewedEvent')) {
+ obj['CertificateRenewedEvent'] = ApiClient.convertToType(data['CertificateRenewedEvent'], [CertificateRenewedEvent]);
+ }
+ if (data.hasOwnProperty('WebsiteVanityUrlUpdatedEvent')) {
+ obj['WebsiteVanityUrlUpdatedEvent'] = ApiClient.convertToType(data['WebsiteVanityUrlUpdatedEvent'], [WebsiteVanityUrlUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('WebsiteUpdatedEvent')) {
+ obj['WebsiteUpdatedEvent'] = ApiClient.convertToType(data['WebsiteUpdatedEvent'], [WebsiteUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('OrderCapacityUpdatedEvent')) {
+ obj['OrderCapacityUpdatedEvent'] = ApiClient.convertToType(data['OrderCapacityUpdatedEvent'], [OrderCapacityConfigUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('ExternalStoreEvent')) {
+ obj['ExternalStoreEvent'] = ApiClient.convertToType(data['ExternalStoreEvent'], [ExternalStoreEvent]);
+ }
+ if (data.hasOwnProperty('OrderFulfillmentStatusUpdatedEvent')) {
+ obj['OrderFulfillmentStatusUpdatedEvent'] = ApiClient.convertToType(data['OrderFulfillmentStatusUpdatedEvent'], [OrderFulfillmentStatusUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('AppStoreConfigCreatedEvent')) {
+ obj['AppStoreConfigCreatedEvent'] = ApiClient.convertToType(data['AppStoreConfigCreatedEvent'], [AppStoreConfigCreatedEvent]);
+ }
+ if (data.hasOwnProperty('AppStoreConfigUpdatedEvent')) {
+ obj['AppStoreConfigUpdatedEvent'] = ApiClient.convertToType(data['AppStoreConfigUpdatedEvent'], [AppStoreConfigUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('AppStoreConfigDeletedEvent')) {
+ obj['AppStoreConfigDeletedEvent'] = ApiClient.convertToType(data['AppStoreConfigDeletedEvent'], [AppStoreConfigDeletedEvent]);
+ }
+ if (data.hasOwnProperty('AppStoreSubscriptionChangeJobUpdatedEvent')) {
+ obj['AppStoreSubscriptionChangeJobUpdatedEvent'] = ApiClient.convertToType(data['AppStoreSubscriptionChangeJobUpdatedEvent'], [AppStoreSubscriptionChangeJobUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('CatalogItemCreatedEvent')) {
+ obj['CatalogItemCreatedEvent'] = ApiClient.convertToType(data['CatalogItemCreatedEvent'], [CatalogItemCreatedEvent]);
+ }
+ if (data.hasOwnProperty('CatalogItemUpdatedEvent')) {
+ obj['CatalogItemUpdatedEvent'] = ApiClient.convertToType(data['CatalogItemUpdatedEvent'], [CatalogItemUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('CatalogItemArchivedEvent')) {
+ obj['CatalogItemArchivedEvent'] = ApiClient.convertToType(data['CatalogItemArchivedEvent'], [CatalogItemArchivedEvent]);
+ }
+ if (data.hasOwnProperty('CatalogGroupCreatedEvent')) {
+ obj['CatalogGroupCreatedEvent'] = ApiClient.convertToType(data['CatalogGroupCreatedEvent'], [CatalogGroupCreatedEvent]);
+ }
+ if (data.hasOwnProperty('CatalogGroupUpdatedEvent')) {
+ obj['CatalogGroupUpdatedEvent'] = ApiClient.convertToType(data['CatalogGroupUpdatedEvent'], [CatalogGroupUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('CatalogGroupArchivedEvent')) {
+ obj['CatalogGroupArchivedEvent'] = ApiClient.convertToType(data['CatalogGroupArchivedEvent'], [CatalogGroupArchivedEvent]);
+ }
+ if (data.hasOwnProperty('StoreTipUpdatedEvent')) {
+ obj['StoreTipUpdatedEvent'] = ApiClient.convertToType(data['StoreTipUpdatedEvent'], [StoreTipUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('LocationAreaCreatedEvent')) {
+ obj['LocationAreaCreatedEvent'] = ApiClient.convertToType(data['LocationAreaCreatedEvent'], [LocationAreaCreatedEvent]);
+ }
+ if (data.hasOwnProperty('LocationAreaUpdatedEvent')) {
+ obj['LocationAreaUpdatedEvent'] = ApiClient.convertToType(data['LocationAreaUpdatedEvent'], [LocationAreaUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('LocationCreatedEvent')) {
+ obj['LocationCreatedEvent'] = ApiClient.convertToType(data['LocationCreatedEvent'], [LocationCreatedEvent]);
+ }
+ if (data.hasOwnProperty('LocationDeletedEvent')) {
+ obj['LocationDeletedEvent'] = ApiClient.convertToType(data['LocationDeletedEvent'], [LocationDeletedEvent]);
+ }
+ if (data.hasOwnProperty('StoreServiceChargeUpdatedEvent')) {
+ obj['StoreServiceChargeUpdatedEvent'] = ApiClient.convertToType(data['StoreServiceChargeUpdatedEvent'], [StoreServiceChargeUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MobileAppsSubmissionStatusUpdatedEvent')) {
+ obj['MobileAppsSubmissionStatusUpdatedEvent'] = ApiClient.convertToType(data['MobileAppsSubmissionStatusUpdatedEvent'], [MobileAppsSubmissionStatusUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('MobileAppsSubmissionUpdatedEvent')) {
+ obj['MobileAppsSubmissionUpdatedEvent'] = ApiClient.convertToType(data['MobileAppsSubmissionUpdatedEvent'], [MobileAppsSubmissionUpdatedEvent]);
+ }
+ if (data.hasOwnProperty('StoreFeeConfigUpdatedEvent')) {
+ obj['StoreFeeConfigUpdatedEvent'] = ApiClient.convertToType(data['StoreFeeConfigUpdatedEvent'], [StoreFeeConfigUpdatedEvent]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * App Created Event
+ * @member {Array.} AppCreatedEvent
+ */
+EventSearchResult.prototype['AppCreatedEvent'] = undefined;
+
+/**
+ * App Updated Event
+ * @member {Array.} AppUpdatedEvent
+ */
+EventSearchResult.prototype['AppUpdatedEvent'] = undefined;
+
+/**
+ * Client Analytics events
+ * @member {Array.} AnalyticsClientEvent
+ */
+EventSearchResult.prototype['AnalyticsClientEvent'] = undefined;
+
+/**
+ * Order accepted events
+ * @member {Array.} OrderAcceptedEvent
+ */
+EventSearchResult.prototype['OrderAcceptedEvent'] = undefined;
+
+/**
+ * Order dispatched events
+ * @member {Array.} OrderDispatchedEvent
+ */
+EventSearchResult.prototype['OrderDispatchedEvent'] = undefined;
+
+/**
+ * Order delivery tracking created events
+ * @member {Array.} OrderCustomerTrackingCreatedEvent
+ */
+EventSearchResult.prototype['OrderCustomerTrackingCreatedEvent'] = undefined;
+
+/**
+ * Order delivery tracking updated events
+ * @member {Array.} OrderDeliveryTrackingStatusUpdatedEvent
+ */
+EventSearchResult.prototype['OrderDeliveryTrackingStatusUpdatedEvent'] = undefined;
+
+/**
+ * Order Batch published event
+ * @member {Array.} OrderBatchPublishedEvent
+ */
+EventSearchResult.prototype['OrderBatchPublishedEvent'] = undefined;
+
+/**
+ * Order created events
+ * @member {Array.} OrderCreatedEvent
+ */
+EventSearchResult.prototype['OrderCreatedEvent'] = undefined;
+
+/**
+ * Order rating updated events
+ * @member {Array.} OrderRatingUpdatedEvent
+ */
+EventSearchResult.prototype['OrderRatingUpdatedEvent'] = undefined;
+
+/**
+ * Order refunded events
+ * @member {Array.} OrderRefundedEvent
+ */
+EventSearchResult.prototype['OrderRefundedEvent'] = undefined;
+
+/**
+ * Order rejected events
+ * @member {Array.} OrderRejectedEvent
+ */
+EventSearchResult.prototype['OrderRejectedEvent'] = undefined;
+
+/**
+ * Order tip updated events
+ * @member {Array.} OrderTipUpdatedEvent
+ */
+EventSearchResult.prototype['OrderTipUpdatedEvent'] = undefined;
+
+/**
+ * Order Terminal Notification events
+ * @member {Array.} OrderTerminalNotifications
+ */
+EventSearchResult.prototype['OrderTerminalNotifications'] = undefined;
+
+/**
+ * Store created events
+ * @member {Array.} StoreCreatedEvent
+ */
+EventSearchResult.prototype['StoreCreatedEvent'] = undefined;
+
+/**
+ * Store deleted events
+ * @member {Array.} StoreDeletedEvent
+ */
+EventSearchResult.prototype['StoreDeletedEvent'] = undefined;
+
+/**
+ * Store address updated events
+ * @member {Array.} StoreAddressUpdatedEvent
+ */
+EventSearchResult.prototype['StoreAddressUpdatedEvent'] = undefined;
+
+/**
+ * Store kiosk setting updated events
+ * @member {Array.} StoreKioskSettingUpdatedEvent
+ */
+EventSearchResult.prototype['StoreKioskSettingUpdatedEvent'] = undefined;
+
+/**
+ * Store delivery zone created events
+ * @member {Array.} DeliveryZoneCreatedEvent
+ */
+EventSearchResult.prototype['DeliveryZoneCreatedEvent'] = undefined;
+
+/**
+ * Store delivery zone updated events
+ * @member {Array.} DeliveryZoneUpdatedEvent
+ */
+EventSearchResult.prototype['DeliveryZoneUpdatedEvent'] = undefined;
+
+/**
+ * Store delivery zone deleted events
+ * @member {Array.} DeliveryZoneDeletedEvent
+ */
+EventSearchResult.prototype['DeliveryZoneDeletedEvent'] = undefined;
+
+/**
+ * Store opening hours updated events
+ * @member {Array.} StoreOpeningHoursUpdatedEvent
+ */
+EventSearchResult.prototype['StoreOpeningHoursUpdatedEvent'] = undefined;
+
+/**
+ * Store opening hours updated events
+ * @member {Array.} StoreMenuAssignedEvent
+ */
+EventSearchResult.prototype['StoreMenuAssignedEvent'] = undefined;
+
+/**
+ * Store business hours override created events
+ * @member {Array.} StoreBusinessHoursOverrideCreatedEvent
+ */
+EventSearchResult.prototype['StoreBusinessHoursOverrideCreatedEvent'] = undefined;
+
+/**
+ * Store business hours override deleted events
+ * @member {Array.} StoreBusinessHoursOverrideDeletedEvent
+ */
+EventSearchResult.prototype['StoreBusinessHoursOverrideDeletedEvent'] = undefined;
+
+/**
+ * Store archived events
+ * @member {Array.} StoreArchivedEvent
+ */
+EventSearchResult.prototype['StoreArchivedEvent'] = undefined;
+
+/**
+ * Store unarchived events
+ * @member {Array.} StoreUnarchivedEvent
+ */
+EventSearchResult.prototype['StoreUnarchivedEvent'] = undefined;
+
+/**
+ * Store published events
+ * @member {Array.} StorePublishedEvent
+ */
+EventSearchResult.prototype['StorePublishedEvent'] = undefined;
+
+/**
+ * Store unpublished events
+ * @member {Array.} StoreUnpublishedEvent
+ */
+EventSearchResult.prototype['StoreUnpublishedEvent'] = undefined;
+
+/**
+ * Store updated events
+ * @member {Array.} StoreUpdatedEvent
+ */
+EventSearchResult.prototype['StoreUpdatedEvent'] = undefined;
+
+/**
+ * Store updated events
+ * @member {Array.} StorePreOrderConfigUpdatedEvent
+ */
+EventSearchResult.prototype['StorePreOrderConfigUpdatedEvent'] = undefined;
+
+/**
+ * Store logo created events
+ * @member {Array.} StoreLogoCreatedEvent
+ */
+EventSearchResult.prototype['StoreLogoCreatedEvent'] = undefined;
+
+/**
+ * Store logo updated events
+ * @member {Array.} StoreLogoUpdatedEvent
+ */
+EventSearchResult.prototype['StoreLogoUpdatedEvent'] = undefined;
+
+/**
+ * Store logo deleted events
+ * @member {Array.} StoreLogoDeletedEvent
+ */
+EventSearchResult.prototype['StoreLogoDeletedEvent'] = undefined;
+
+/**
+ * Menu created events
+ * @member {Array.} MenuCreatedEvent
+ */
+EventSearchResult.prototype['MenuCreatedEvent'] = undefined;
+
+/**
+ * Menu async creation completed events
+ * @member {Array.} MenuAsyncCreationCompletedEvent
+ */
+EventSearchResult.prototype['MenuAsyncCreationCompletedEvent'] = undefined;
+
+/**
+ * Menu updated events
+ * @member {Array.} MenuUpdatedEvent
+ */
+EventSearchResult.prototype['MenuUpdatedEvent'] = undefined;
+
+/**
+ * Menu uploaded events
+ * @member {Array.} MenuUploadedEvent
+ */
+EventSearchResult.prototype['MenuUploadedEvent'] = undefined;
+
+/**
+ * Menu bulk events
+ * @member {Array.} MenuBulkEditEvent
+ */
+EventSearchResult.prototype['MenuBulkEditEvent'] = undefined;
+
+/**
+ * Menu section created events
+ * @member {Array.} MenuSectionCreatedEvent
+ */
+EventSearchResult.prototype['MenuSectionCreatedEvent'] = undefined;
+
+/**
+ * Menu section updated events
+ * @member {Array.} MenuSectionUpdatedEvent
+ */
+EventSearchResult.prototype['MenuSectionUpdatedEvent'] = undefined;
+
+/**
+ * Menu section deleted events
+ * @member {Array.} MenuSectionDeletedEvent
+ */
+EventSearchResult.prototype['MenuSectionDeletedEvent'] = undefined;
+
+/**
+ * Menu section item created events
+ * @member {Array.} MenuSectionItemCreatedEvent
+ */
+EventSearchResult.prototype['MenuSectionItemCreatedEvent'] = undefined;
+
+/**
+ * Menu section item updated events
+ * @member {Array.} MenuSectionItemUpdatedEvent
+ */
+EventSearchResult.prototype['MenuSectionItemUpdatedEvent'] = undefined;
+
+/**
+ * Menu section item deleted events
+ * @member {Array.} MenuSectionItemDeletedEvent
+ */
+EventSearchResult.prototype['MenuSectionItemDeletedEvent'] = undefined;
+
+/**
+ * Menu item option set created events
+ * @member {Array.} MenuItemOptionSetCreatedEvent
+ */
+EventSearchResult.prototype['MenuItemOptionSetCreatedEvent'] = undefined;
+
+/**
+ * Menu item option set updated events
+ * @member {Array.} MenuItemOptionSetUpdatedEvent
+ */
+EventSearchResult.prototype['MenuItemOptionSetUpdatedEvent'] = undefined;
+
+/**
+ * Menu item option set deleted events
+ * @member {Array.} MenuItemOptionSetDeletedEvent
+ */
+EventSearchResult.prototype['MenuItemOptionSetDeletedEvent'] = undefined;
+
+/**
+ * Menu item option set item created events
+ * @member {Array.} MenuItemOptionSetItemCreatedEvent
+ */
+EventSearchResult.prototype['MenuItemOptionSetItemCreatedEvent'] = undefined;
+
+/**
+ * Menu item option set item updated events
+ * @member {Array.} MenuItemOptionSetItemUpdatedEvent
+ */
+EventSearchResult.prototype['MenuItemOptionSetItemUpdatedEvent'] = undefined;
+
+/**
+ * Menu item option set item deleted events
+ * @member {Array.} MenuItemOptionSetItemDeletedEvent
+ */
+EventSearchResult.prototype['MenuItemOptionSetItemDeletedEvent'] = undefined;
+
+/**
+ * Menu checkpoint created event
+ * @member {Array.} MenuCheckpointCreatedEvent
+ */
+EventSearchResult.prototype['MenuCheckpointCreatedEvent'] = undefined;
+
+/**
+ * Store group created events
+ * @member {Array.} StoreGroupCreatedEvent
+ */
+EventSearchResult.prototype['StoreGroupCreatedEvent'] = undefined;
+
+/**
+ * Store group updated events
+ * @member {Array.} StoreGroupUpdatedEvent
+ */
+EventSearchResult.prototype['StoreGroupUpdatedEvent'] = undefined;
+
+/**
+ * Store group deleted events
+ * @member {Array.} StoreGroupDeletedEvent
+ */
+EventSearchResult.prototype['StoreGroupDeletedEvent'] = undefined;
+
+/**
+ * Customer created events
+ * @member {Array.} CustomerCreatedEvent
+ */
+EventSearchResult.prototype['CustomerCreatedEvent'] = undefined;
+
+/**
+ * Customer updated events
+ * @member {Array.} CustomerUpdatedEvent
+ */
+EventSearchResult.prototype['CustomerUpdatedEvent'] = undefined;
+
+/**
+ * Customer consent updated events
+ * @member {Array.} CustomerConsentUpdatedEvent
+ */
+EventSearchResult.prototype['CustomerConsentUpdatedEvent'] = undefined;
+
+/**
+ * Webhook subscription created events
+ * @member {Array.} WebhookSubscriptionCreatedEvent
+ */
+EventSearchResult.prototype['WebhookSubscriptionCreatedEvent'] = undefined;
+
+/**
+ * Webhook subscription updated events
+ * @member {Array.} WebhookSubscriptionUpdatedEvent
+ */
+EventSearchResult.prototype['WebhookSubscriptionUpdatedEvent'] = undefined;
+
+/**
+ * Webhook subscription deleted events
+ * @member {Array.} WebhookSubscriptionDeletedEvent
+ */
+EventSearchResult.prototype['WebhookSubscriptionDeletedEvent'] = undefined;
+
+/**
+ * Printer turned ON event
+ * @member {Array.} PrinterTurnedOnEvent
+ */
+EventSearchResult.prototype['PrinterTurnedOnEvent'] = undefined;
+
+/**
+ * Printer turned OFF event
+ * @member {Array.} PrinterTurnedOffEvent
+ */
+EventSearchResult.prototype['PrinterTurnedOffEvent'] = undefined;
+
+/**
+ * Printer assigned to store event
+ * @member {Array.} PrinterAssignedToStoreEvent
+ */
+EventSearchResult.prototype['PrinterAssignedToStoreEvent'] = undefined;
+
+/**
+ * Printer unassigned from store event
+ * @member {Array.} PrinterUnassignedFromStoreEvent
+ */
+EventSearchResult.prototype['PrinterUnassignedFromStoreEvent'] = undefined;
+
+/**
+ * Phone call started event
+ * @member {Array.} PhoneCallStartedEvent
+ */
+EventSearchResult.prototype['PhoneCallStartedEvent'] = undefined;
+
+/**
+ * Phone call ended event
+ * @member {Array.} PhoneCallEndedEvent
+ */
+EventSearchResult.prototype['PhoneCallEndedEvent'] = undefined;
+
+/**
+ * Telephony config updated event
+ * @member {Array.} TelephonyConfigUpdatedEvent
+ */
+EventSearchResult.prototype['TelephonyConfigUpdatedEvent'] = undefined;
+
+/**
+ * Channel stores updated event
+ * @member {Array.} ChannelStoresUpdatedEvent
+ */
+EventSearchResult.prototype['ChannelStoresUpdatedEvent'] = undefined;
+
+/**
+ * Loyalty campaign created event
+ * @member {Array.} LoyaltyCampaignCreatedEvent
+ */
+EventSearchResult.prototype['LoyaltyCampaignCreatedEvent'] = undefined;
+
+/**
+ * Loyalty campaign deleted event
+ * @member {Array.} LoyaltyCampaignDeletedEvent
+ */
+EventSearchResult.prototype['LoyaltyCampaignDeletedEvent'] = undefined;
+
+/**
+ * Loyalty campaign updated event
+ * @member {Array.} LoyaltyCampaignUpdatedEvent
+ */
+EventSearchResult.prototype['LoyaltyCampaignUpdatedEvent'] = undefined;
+
+/**
+ * Retention campaign created event
+ * @member {Array.} RetentionCampaignCreatedEvent
+ */
+EventSearchResult.prototype['RetentionCampaignCreatedEvent'] = undefined;
+
+/**
+ * Retention campaign deleted event
+ * @member {Array.} RetentionCampaignDeletedEvent
+ */
+EventSearchResult.prototype['RetentionCampaignDeletedEvent'] = undefined;
+
+/**
+ * Retention campaign updated event
+ * @member {Array.} RetentionCampaignUpdatedEvent
+ */
+EventSearchResult.prototype['RetentionCampaignUpdatedEvent'] = undefined;
+
+/**
+ * Sms received event
+ * @member {Array.} SmsReceivedEvent
+ */
+EventSearchResult.prototype['SmsReceivedEvent'] = undefined;
+
+/**
+ * User login event
+ * @member {Array.} UserLoginEvent
+ */
+EventSearchResult.prototype['UserLoginEvent'] = undefined;
+
+/**
+ * User created event
+ * @member {Array.} UserCreatedEvent
+ */
+EventSearchResult.prototype['UserCreatedEvent'] = undefined;
+
+/**
+ * User updated event
+ * @member {Array.} UserUpdatedEvent
+ */
+EventSearchResult.prototype['UserUpdatedEvent'] = undefined;
+
+/**
+ * User deleted event
+ * @member {Array.} UserDeletedEvent
+ */
+EventSearchResult.prototype['UserDeletedEvent'] = undefined;
+
+/**
+ * User password created event
+ * @member {Array.} UserCreatedPasswordEvent
+ */
+EventSearchResult.prototype['UserCreatedPasswordEvent'] = undefined;
+
+/**
+ * User answered signup questions event
+ * @member {Array.} UserAnsweredSignupQuestionsEvent
+ */
+EventSearchResult.prototype['UserAnsweredSignupQuestionsEvent'] = undefined;
+
+/**
+ * Voucher created event
+ * @member {Array.} VoucherCreatedEvent
+ */
+EventSearchResult.prototype['VoucherCreatedEvent'] = undefined;
+
+/**
+ * Voucher updated event
+ * @member {Array.} VoucherUpdatedEvent
+ */
+EventSearchResult.prototype['VoucherUpdatedEvent'] = undefined;
+
+/**
+ * Voucher deleted event
+ * @member {Array.} VoucherDeletedEvent
+ */
+EventSearchResult.prototype['VoucherDeletedEvent'] = undefined;
+
+/**
+ * Voucher applied event
+ * @member {Array.} VoucherAppliedEvent
+ */
+EventSearchResult.prototype['VoucherAppliedEvent'] = undefined;
+
+/**
+ * Teammate invite sent event
+ * @member {Array.} TeammateInviteSentEvent
+ */
+EventSearchResult.prototype['TeammateInviteSentEvent'] = undefined;
+
+/**
+ * Teammate invite accepted event
+ * @member {Array.} TeammateInviteAcceptedEvent
+ */
+EventSearchResult.prototype['TeammateInviteAcceptedEvent'] = undefined;
+
+/**
+ * Teammate updated event
+ * @member {Array.} TeammateUpdatedEvent
+ */
+EventSearchResult.prototype['TeammateUpdatedEvent'] = undefined;
+
+/**
+ * Teammate deleted event
+ * @member {Array.} TeammateDeletedEvent
+ */
+EventSearchResult.prototype['TeammateDeletedEvent'] = undefined;
+
+/**
+ * Bank account created event
+ * @member {Array.} BankAccountCreatedEvent
+ */
+EventSearchResult.prototype['BankAccountCreatedEvent'] = undefined;
+
+/**
+ * Bank account updated event
+ * @member {Array.} BankAccountUpdatedEvent
+ */
+EventSearchResult.prototype['BankAccountUpdatedEvent'] = undefined;
+
+/**
+ * Bank account updated event
+ * @member {Array.} BankAccountDeletedEvent
+ */
+EventSearchResult.prototype['BankAccountDeletedEvent'] = undefined;
+
+/**
+ * Bank account assigned event
+ * @member {Array.} BankAccountAssignedEvent
+ */
+EventSearchResult.prototype['BankAccountAssignedEvent'] = undefined;
+
+/**
+ * Hydra assigned event
+ * @member {Array.} HydraAssignedEvent
+ */
+EventSearchResult.prototype['HydraAssignedEvent'] = undefined;
+
+/**
+ * Hydra reset requested event
+ * @member {Array.} HydraRequestResetEvent
+ */
+EventSearchResult.prototype['HydraRequestResetEvent'] = undefined;
+
+/**
+ * Hydra store assigned event
+ * @member {Array.} HydraStoreAssignedEvent
+ */
+EventSearchResult.prototype['HydraStoreAssignedEvent'] = undefined;
+
+/**
+ * Hydra store unassigned
+ * @member {Array.} HydraStoreUnassignedEvent
+ */
+EventSearchResult.prototype['HydraStoreUnassignedEvent'] = undefined;
+
+/**
+ * Hydra settings changed event
+ * @member {Array.} HydraSettingChangedEvent
+ */
+EventSearchResult.prototype['HydraSettingChangedEvent'] = undefined;
+
+/**
+ * Hydra un-assigned event
+ * @member {Array.} HydraUnAssignedEvent
+ */
+EventSearchResult.prototype['HydraUnAssignedEvent'] = undefined;
+
+/**
+ * Hydra connection state change
+ * @member {Array.} HydraConnectionStatusChangedEvent
+ */
+EventSearchResult.prototype['HydraConnectionStatusChangedEvent'] = undefined;
+
+/**
+ * Bluetooth Pairing Mode initiated
+ * @member {Array.} KioskBluetoothPairingModeEvent
+ */
+EventSearchResult.prototype['KioskBluetoothPairingModeEvent'] = undefined;
+
+/**
+ * Bluetooth Unpairing Mode initiated
+ * @member {Array.} KioskBluetoothUnpairingModeEvent
+ */
+EventSearchResult.prototype['KioskBluetoothUnpairingModeEvent'] = undefined;
+
+/**
+ * Bluetooth Terminal Unpaired with Kiosk
+ * @member {Array.} KioskBluetoothTerminalUnpairedEvent
+ */
+EventSearchResult.prototype['KioskBluetoothTerminalUnpairedEvent'] = undefined;
+
+/**
+ * Terminal actionstate change
+ * @member {Array.} KioskTerminalActionStateChangedEvent
+ */
+EventSearchResult.prototype['KioskTerminalActionStateChangedEvent'] = undefined;
+
+/**
+ * Bluetooth Terminal Updated
+ * @member {Array.} KioskBluetoothTerminalUpdatedEvent
+ */
+EventSearchResult.prototype['KioskBluetoothTerminalUpdatedEvent'] = undefined;
+
+/**
+ * Trigger bluetooth payment terminal update checker
+ * @member {Array.} KioskBluetoothTerminalInitiateUpdateCheckEvent
+ */
+EventSearchResult.prototype['KioskBluetoothTerminalInitiateUpdateCheckEvent'] = undefined;
+
+/**
+ * Bluetooth Terminal Initiate Update
+ * @member {Array.} KioskBluetoothInstallUpdateInitiateEvent
+ */
+EventSearchResult.prototype['KioskBluetoothInstallUpdateInitiateEvent'] = undefined;
+
+/**
+ * Bluetooth Terminal Cancel Update Install
+ * @member {Array.} KioskBluetoothTerminalCancelUpdateEvent
+ */
+EventSearchResult.prototype['KioskBluetoothTerminalCancelUpdateEvent'] = undefined;
+
+/**
+ * Bluetooth Payment Terminal Firmware Version Status Info
+ * @member {Array.} KioskBluetoothTerminalFirmwareVersionStatusEvent
+ */
+EventSearchResult.prototype['KioskBluetoothTerminalFirmwareVersionStatusEvent'] = undefined;
+
+/**
+ * Bluetooth Terminal Update Installation Status
+ * @member {Array.} KioskBluetoothTerminalInstallationStatusEvent
+ */
+EventSearchResult.prototype['KioskBluetoothTerminalInstallationStatusEvent'] = undefined;
+
+/**
+ * Push notification scheduled event
+ * @member {Array.} PushNotificationScheduledEvent
+ */
+EventSearchResult.prototype['PushNotificationScheduledEvent'] = undefined;
+
+/**
+ * Push notification sent event
+ * @member {Array.} PushNotificationSentEvent
+ */
+EventSearchResult.prototype['PushNotificationSentEvent'] = undefined;
+
+/**
+ * Push notification deleted event
+ * @member {Array.} PushNotificationDeletedEvent
+ */
+EventSearchResult.prototype['PushNotificationDeletedEvent'] = undefined;
+
+/**
+ * DNS Verified
+ * @member {Array.} DnsVerifiedEvent
+ */
+EventSearchResult.prototype['DnsVerifiedEvent'] = undefined;
+
+/**
+ * Certificate created
+ * @member {Array.} CertificateCreatedEvent
+ */
+EventSearchResult.prototype['CertificateCreatedEvent'] = undefined;
+
+/**
+ * Certificate renewed
+ * @member {Array.} CertificateRenewedEvent
+ */
+EventSearchResult.prototype['CertificateRenewedEvent'] = undefined;
+
+/**
+ * Panacea vanity url updated
+ * @member {Array.} WebsiteVanityUrlUpdatedEvent
+ */
+EventSearchResult.prototype['WebsiteVanityUrlUpdatedEvent'] = undefined;
+
+/**
+ * Website updated
+ * @member {Array.} WebsiteUpdatedEvent
+ */
+EventSearchResult.prototype['WebsiteUpdatedEvent'] = undefined;
+
+/**
+ * Order capacity config updated
+ * @member {Array.} OrderCapacityUpdatedEvent
+ */
+EventSearchResult.prototype['OrderCapacityUpdatedEvent'] = undefined;
+
+/**
+ * External event
+ * @member {Array.} ExternalStoreEvent
+ */
+EventSearchResult.prototype['ExternalStoreEvent'] = undefined;
+
+/**
+ * Fulfillment status updated event
+ * @member {Array.} OrderFulfillmentStatusUpdatedEvent
+ */
+EventSearchResult.prototype['OrderFulfillmentStatusUpdatedEvent'] = undefined;
+
+/**
+ * App Store Config Created
+ * @member {Array.} AppStoreConfigCreatedEvent
+ */
+EventSearchResult.prototype['AppStoreConfigCreatedEvent'] = undefined;
+
+/**
+ * App Store Config Updated
+ * @member {Array.} AppStoreConfigUpdatedEvent
+ */
+EventSearchResult.prototype['AppStoreConfigUpdatedEvent'] = undefined;
+
+/**
+ * App Store Config Deleted
+ * @member {Array.} AppStoreConfigDeletedEvent
+ */
+EventSearchResult.prototype['AppStoreConfigDeletedEvent'] = undefined;
+
+/**
+ * App Store Subscription Change Job Updated
+ * @member {Array.} AppStoreSubscriptionChangeJobUpdatedEvent
+ */
+EventSearchResult.prototype['AppStoreSubscriptionChangeJobUpdatedEvent'] = undefined;
+
+/**
+ * Catalog Item Created
+ * @member {Array.} CatalogItemCreatedEvent
+ */
+EventSearchResult.prototype['CatalogItemCreatedEvent'] = undefined;
+
+/**
+ * Catalog Item Updated
+ * @member {Array.} CatalogItemUpdatedEvent
+ */
+EventSearchResult.prototype['CatalogItemUpdatedEvent'] = undefined;
+
+/**
+ * Catalog Item Archived
+ * @member {Array.} CatalogItemArchivedEvent
+ */
+EventSearchResult.prototype['CatalogItemArchivedEvent'] = undefined;
+
+/**
+ * Catalog Group Created
+ * @member {Array.} CatalogGroupCreatedEvent
+ */
+EventSearchResult.prototype['CatalogGroupCreatedEvent'] = undefined;
+
+/**
+ * Catalog Group Updated
+ * @member {Array.} CatalogGroupUpdatedEvent
+ */
+EventSearchResult.prototype['CatalogGroupUpdatedEvent'] = undefined;
+
+/**
+ * Catalog Group Archived
+ * @member {Array.} CatalogGroupArchivedEvent
+ */
+EventSearchResult.prototype['CatalogGroupArchivedEvent'] = undefined;
+
+/**
+ * Store Tip Updated Event
+ * @member {Array.} StoreTipUpdatedEvent
+ */
+EventSearchResult.prototype['StoreTipUpdatedEvent'] = undefined;
+
+/**
+ * LocationArea created event
+ * @member {Array.} LocationAreaCreatedEvent
+ */
+EventSearchResult.prototype['LocationAreaCreatedEvent'] = undefined;
+
+/**
+ * LocationArea updated event
+ * @member {Array.} LocationAreaUpdatedEvent
+ */
+EventSearchResult.prototype['LocationAreaUpdatedEvent'] = undefined;
+
+/**
+ * Location created event
+ * @member {Array.} LocationCreatedEvent
+ */
+EventSearchResult.prototype['LocationCreatedEvent'] = undefined;
+
+/**
+ * Location deleted event
+ * @member {Array.} LocationDeletedEvent
+ */
+EventSearchResult.prototype['LocationDeletedEvent'] = undefined;
+
+/**
+ * Service Charge Updated Event
+ * @member {Array.} StoreServiceChargeUpdatedEvent
+ */
+EventSearchResult.prototype['StoreServiceChargeUpdatedEvent'] = undefined;
+
+/**
+ * Mobile Submission Status Updated Event
+ * @member {Array.} MobileAppsSubmissionStatusUpdatedEvent
+ */
+EventSearchResult.prototype['MobileAppsSubmissionStatusUpdatedEvent'] = undefined;
+
+/**
+ * Mobile Submission Updated Event
+ * @member {Array.} MobileAppsSubmissionUpdatedEvent
+ */
+EventSearchResult.prototype['MobileAppsSubmissionUpdatedEvent'] = undefined;
+
+/**
+ * Store Fee Config Updated Event
+ * @member {Array.} StoreFeeConfigUpdatedEvent
+ */
+EventSearchResult.prototype['StoreFeeConfigUpdatedEvent'] = undefined;
+
+
+
+
+
+
+export default EventSearchResult;
+
diff --git a/src/model/ExecuteConfigurationActionRequest.js b/src/model/ExecuteConfigurationActionRequest.js
new file mode 100644
index 00000000..6387221f
--- /dev/null
+++ b/src/model/ExecuteConfigurationActionRequest.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ExecuteConfigurationActionRequest model module.
+ * @module model/ExecuteConfigurationActionRequest
+ * @version 1.0.0
+ */
+class ExecuteConfigurationActionRequest {
+ /**
+ * Constructs a new ExecuteConfigurationActionRequest.
+ * @alias module:model/ExecuteConfigurationActionRequest
+ */
+ constructor() {
+
+ ExecuteConfigurationActionRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ExecuteConfigurationActionRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ExecuteConfigurationActionRequest} obj Optional instance to populate.
+ * @return {module:model/ExecuteConfigurationActionRequest} The populated ExecuteConfigurationActionRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ExecuteConfigurationActionRequest();
+
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('Action')) {
+ obj['Action'] = ApiClient.convertToType(data['Action'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Key
+ */
+ExecuteConfigurationActionRequest.prototype['Key'] = undefined;
+
+/**
+ * @member {String} Action
+ */
+ExecuteConfigurationActionRequest.prototype['Action'] = undefined;
+
+
+
+
+
+
+export default ExecuteConfigurationActionRequest;
+
diff --git a/src/model/ExecuteConfigurationActionResult.js b/src/model/ExecuteConfigurationActionResult.js
new file mode 100644
index 00000000..d3846893
--- /dev/null
+++ b/src/model/ExecuteConfigurationActionResult.js
@@ -0,0 +1,122 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The ExecuteConfigurationActionResult model module.
+ * @module model/ExecuteConfigurationActionResult
+ * @version 1.0.0
+ */
+class ExecuteConfigurationActionResult {
+ /**
+ * Constructs a new ExecuteConfigurationActionResult.
+ * @alias module:model/ExecuteConfigurationActionResult
+ */
+ constructor() {
+
+ ExecuteConfigurationActionResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ExecuteConfigurationActionResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ExecuteConfigurationActionResult} obj Optional instance to populate.
+ * @return {module:model/ExecuteConfigurationActionResult} The populated ExecuteConfigurationActionResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ExecuteConfigurationActionResult();
+
+ if (data.hasOwnProperty('ErrorMessage')) {
+ obj['ErrorMessage'] = ApiClient.convertToType(data['ErrorMessage'], 'String');
+ }
+ if (data.hasOwnProperty('InfoMessage')) {
+ obj['InfoMessage'] = ApiClient.convertToType(data['InfoMessage'], 'String');
+ }
+ if (data.hasOwnProperty('RedirectUrl')) {
+ obj['RedirectUrl'] = ApiClient.convertToType(data['RedirectUrl'], 'String');
+ }
+ if (data.hasOwnProperty('RedirectTarget')) {
+ obj['RedirectTarget'] = ApiClient.convertToType(data['RedirectTarget'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} ErrorMessage
+ */
+ExecuteConfigurationActionResult.prototype['ErrorMessage'] = undefined;
+
+/**
+ * @member {String} InfoMessage
+ */
+ExecuteConfigurationActionResult.prototype['InfoMessage'] = undefined;
+
+/**
+ * @member {String} RedirectUrl
+ */
+ExecuteConfigurationActionResult.prototype['RedirectUrl'] = undefined;
+
+/**
+ * @member {module:model/ExecuteConfigurationActionResult.RedirectTargetEnum} RedirectTarget
+ */
+ExecuteConfigurationActionResult.prototype['RedirectTarget'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the RedirectTarget property.
+ * @enum {String}
+ * @readonly
+ */
+ExecuteConfigurationActionResult['RedirectTargetEnum'] = {
+
+ /**
+ * value: "Default"
+ * @const
+ */
+ "Default": "Default",
+
+ /**
+ * value: "NewWindow"
+ * @const
+ */
+ "NewWindow": "NewWindow",
+
+ /**
+ * value: "Popup"
+ * @const
+ */
+ "Popup": "Popup"
+};
+
+
+
+export default ExecuteConfigurationActionResult;
+
diff --git a/src/model/ExternalStoreAuditLog.js b/src/model/ExternalStoreAuditLog.js
new file mode 100644
index 00000000..84e1bce4
--- /dev/null
+++ b/src/model/ExternalStoreAuditLog.js
@@ -0,0 +1,200 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import AuditLogFieldChangeInformation from './AuditLogFieldChangeInformation';
+
+/**
+ * The ExternalStoreAuditLog model module.
+ * @module model/ExternalStoreAuditLog
+ * @version 1.0.0
+ */
+class ExternalStoreAuditLog {
+ /**
+ * Constructs a new ExternalStoreAuditLog.
+ * External event
+ * @alias module:model/ExternalStoreAuditLog
+ */
+ constructor() {
+
+ ExternalStoreAuditLog.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ExternalStoreAuditLog from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ExternalStoreAuditLog} obj Optional instance to populate.
+ * @return {module:model/ExternalStoreAuditLog} The populated ExternalStoreAuditLog instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ExternalStoreAuditLog();
+
+ if (data.hasOwnProperty('ExternalCreateTime')) {
+ obj['ExternalCreateTime'] = ApiClient.convertToType(data['ExternalCreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Source')) {
+ obj['Source'] = ApiClient.convertToType(data['Source'], 'String');
+ }
+ if (data.hasOwnProperty('Version')) {
+ obj['Version'] = ApiClient.convertToType(data['Version'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionFormat')) {
+ obj['DescriptionFormat'] = ApiClient.convertToType(data['DescriptionFormat'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionFields')) {
+ obj['DescriptionFields'] = ApiClient.convertToType(data['DescriptionFields'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionId')) {
+ obj['DescriptionId'] = ApiClient.convertToType(data['DescriptionId'], 'String');
+ }
+ if (data.hasOwnProperty('Ref1')) {
+ obj['Ref1'] = ApiClient.convertToType(data['Ref1'], 'String');
+ }
+ if (data.hasOwnProperty('Ref2')) {
+ obj['Ref2'] = ApiClient.convertToType(data['Ref2'], 'String');
+ }
+ if (data.hasOwnProperty('Ref3')) {
+ obj['Ref3'] = ApiClient.convertToType(data['Ref3'], 'String');
+ }
+ if (data.hasOwnProperty('Ref4')) {
+ obj['Ref4'] = ApiClient.convertToType(data['Ref4'], 'String');
+ }
+ if (data.hasOwnProperty('OrderId')) {
+ obj['OrderId'] = ApiClient.convertToType(data['OrderId'], 'Number');
+ }
+ if (data.hasOwnProperty('Tags')) {
+ obj['Tags'] = ApiClient.convertToType(data['Tags'], ['String']);
+ }
+ if (data.hasOwnProperty('FieldChanges')) {
+ obj['FieldChanges'] = ApiClient.convertToType(data['FieldChanges'], [AuditLogFieldChangeInformation]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The time of creation of the event
+ * @member {Date} ExternalCreateTime
+ */
+ExternalStoreAuditLog.prototype['ExternalCreateTime'] = undefined;
+
+/**
+ * Store Id
+ * @member {Number} StoreId
+ */
+ExternalStoreAuditLog.prototype['StoreId'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+ExternalStoreAuditLog.prototype['Description'] = undefined;
+
+/**
+ * Identifies the source of the log
+ * @member {String} Source
+ */
+ExternalStoreAuditLog.prototype['Source'] = undefined;
+
+/**
+ * Identifies the version of the {Flipdish.PublicModels.V1.AuditLogs.ExternalStoreAuditLog.Source}
+ * @member {String} Version
+ */
+ExternalStoreAuditLog.prototype['Version'] = undefined;
+
+/**
+ * Description with format placeholders
+ * @member {String} DescriptionFormat
+ */
+ExternalStoreAuditLog.prototype['DescriptionFormat'] = undefined;
+
+/**
+ * Description with format placeholders
+ * @member {String} DescriptionFields
+ */
+ExternalStoreAuditLog.prototype['DescriptionFields'] = undefined;
+
+/**
+ * Description
+ * @member {String} DescriptionId
+ */
+ExternalStoreAuditLog.prototype['DescriptionId'] = undefined;
+
+/**
+ * Ref (reference field)
+ * @member {String} Ref1
+ */
+ExternalStoreAuditLog.prototype['Ref1'] = undefined;
+
+/**
+ * Ref2 (reference field)
+ * @member {String} Ref2
+ */
+ExternalStoreAuditLog.prototype['Ref2'] = undefined;
+
+/**
+ * Ref3 (reference field)
+ * @member {String} Ref3
+ */
+ExternalStoreAuditLog.prototype['Ref3'] = undefined;
+
+/**
+ * Ref4 (reference field)
+ * @member {String} Ref4
+ */
+ExternalStoreAuditLog.prototype['Ref4'] = undefined;
+
+/**
+ * Order Id
+ * @member {Number} OrderId
+ */
+ExternalStoreAuditLog.prototype['OrderId'] = undefined;
+
+/**
+ * Tags
+ * @member {Array.} Tags
+ */
+ExternalStoreAuditLog.prototype['Tags'] = undefined;
+
+/**
+ * Field changes list
+ * @member {Array.} FieldChanges
+ */
+ExternalStoreAuditLog.prototype['FieldChanges'] = undefined;
+
+
+
+
+
+
+export default ExternalStoreAuditLog;
+
diff --git a/src/model/ExternalStoreEvent.js b/src/model/ExternalStoreEvent.js
new file mode 100644
index 00000000..af256f92
--- /dev/null
+++ b/src/model/ExternalStoreEvent.js
@@ -0,0 +1,245 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FieldChangeInformation from './FieldChangeInformation';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The ExternalStoreEvent model module.
+ * @module model/ExternalStoreEvent
+ * @version 1.0.0
+ */
+class ExternalStoreEvent {
+ /**
+ * Constructs a new ExternalStoreEvent.
+ * External event
+ * @alias module:model/ExternalStoreEvent
+ */
+ constructor() {
+
+ ExternalStoreEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a ExternalStoreEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ExternalStoreEvent} obj Optional instance to populate.
+ * @return {module:model/ExternalStoreEvent} The populated ExternalStoreEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ExternalStoreEvent();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionFormat')) {
+ obj['DescriptionFormat'] = ApiClient.convertToType(data['DescriptionFormat'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionFields')) {
+ obj['DescriptionFields'] = ApiClient.convertToType(data['DescriptionFields'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionId')) {
+ obj['DescriptionId'] = ApiClient.convertToType(data['DescriptionId'], 'String');
+ }
+ if (data.hasOwnProperty('Ref1')) {
+ obj['Ref1'] = ApiClient.convertToType(data['Ref1'], 'String');
+ }
+ if (data.hasOwnProperty('Ref2')) {
+ obj['Ref2'] = ApiClient.convertToType(data['Ref2'], 'String');
+ }
+ if (data.hasOwnProperty('Ref3')) {
+ obj['Ref3'] = ApiClient.convertToType(data['Ref3'], 'String');
+ }
+ if (data.hasOwnProperty('Ref4')) {
+ obj['Ref4'] = ApiClient.convertToType(data['Ref4'], 'String');
+ }
+ if (data.hasOwnProperty('OrderId')) {
+ obj['OrderId'] = ApiClient.convertToType(data['OrderId'], 'Number');
+ }
+ if (data.hasOwnProperty('Tags')) {
+ obj['Tags'] = ApiClient.convertToType(data['Tags'], ['String']);
+ }
+ if (data.hasOwnProperty('FieldChanges')) {
+ obj['FieldChanges'] = ApiClient.convertToType(data['FieldChanges'], [FieldChangeInformation]);
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+ExternalStoreEvent.prototype['EventName'] = undefined;
+
+/**
+ * Store Id
+ * @member {Number} StoreId
+ */
+ExternalStoreEvent.prototype['StoreId'] = undefined;
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+ExternalStoreEvent.prototype['User'] = undefined;
+
+/**
+ * Description
+ * @member {String} Description
+ */
+ExternalStoreEvent.prototype['Description'] = undefined;
+
+/**
+ * Description with format placeholders
+ * @member {String} DescriptionFormat
+ */
+ExternalStoreEvent.prototype['DescriptionFormat'] = undefined;
+
+/**
+ * Description with format placeholders
+ * @member {String} DescriptionFields
+ */
+ExternalStoreEvent.prototype['DescriptionFields'] = undefined;
+
+/**
+ * Description
+ * @member {String} DescriptionId
+ */
+ExternalStoreEvent.prototype['DescriptionId'] = undefined;
+
+/**
+ * Ref (reference field)
+ * @member {String} Ref1
+ */
+ExternalStoreEvent.prototype['Ref1'] = undefined;
+
+/**
+ * Ref2 (reference field)
+ * @member {String} Ref2
+ */
+ExternalStoreEvent.prototype['Ref2'] = undefined;
+
+/**
+ * Ref3 (reference field)
+ * @member {String} Ref3
+ */
+ExternalStoreEvent.prototype['Ref3'] = undefined;
+
+/**
+ * Ref4 (reference field)
+ * @member {String} Ref4
+ */
+ExternalStoreEvent.prototype['Ref4'] = undefined;
+
+/**
+ * Order Id
+ * @member {Number} OrderId
+ */
+ExternalStoreEvent.prototype['OrderId'] = undefined;
+
+/**
+ * Tags
+ * @member {Array.} Tags
+ */
+ExternalStoreEvent.prototype['Tags'] = undefined;
+
+/**
+ * Field changes list
+ * @member {Array.} FieldChanges
+ */
+ExternalStoreEvent.prototype['FieldChanges'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+ExternalStoreEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+ExternalStoreEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+ExternalStoreEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+ExternalStoreEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+ExternalStoreEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+ExternalStoreEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default ExternalStoreEvent;
+
diff --git a/src/model/FeeSummary.js b/src/model/FeeSummary.js
new file mode 100644
index 00000000..837dc3f2
--- /dev/null
+++ b/src/model/FeeSummary.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FeeSummary model module.
+ * @module model/FeeSummary
+ * @version 1.0.0
+ */
+class FeeSummary {
+ /**
+ * Constructs a new FeeSummary.
+ * Fee Summary
+ * @alias module:model/FeeSummary
+ */
+ constructor() {
+
+ FeeSummary.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FeeSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FeeSummary} obj Optional instance to populate.
+ * @return {module:model/FeeSummary} The populated FeeSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FeeSummary();
+
+ if (data.hasOwnProperty('FeeAmount')) {
+ obj['FeeAmount'] = ApiClient.convertToType(data['FeeAmount'], 'Number');
+ }
+ if (data.hasOwnProperty('PercentageRate')) {
+ obj['PercentageRate'] = ApiClient.convertToType(data['PercentageRate'], 'Number');
+ }
+ if (data.hasOwnProperty('PerTransactionFee')) {
+ obj['PerTransactionFee'] = ApiClient.convertToType(data['PerTransactionFee'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Fee amount
+ * @member {Number} FeeAmount
+ */
+FeeSummary.prototype['FeeAmount'] = undefined;
+
+/**
+ * Percentage rate
+ * @member {Number} PercentageRate
+ */
+FeeSummary.prototype['PercentageRate'] = undefined;
+
+/**
+ * Per transaction fee
+ * @member {Number} PerTransactionFee
+ */
+FeeSummary.prototype['PerTransactionFee'] = undefined;
+
+
+
+
+
+
+export default FeeSummary;
+
diff --git a/src/model/Field.js b/src/model/Field.js
new file mode 100644
index 00000000..7d691c06
--- /dev/null
+++ b/src/model/Field.js
@@ -0,0 +1,223 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import ValidValue from './ValidValue';
+
+/**
+ * The Field model module.
+ * @module model/Field
+ * @version 1.0.0
+ */
+class Field {
+ /**
+ * Constructs a new Field.
+ * @alias module:model/Field
+ * @param Name {String}
+ * @param Description {String}
+ * @param Key {String}
+ * @param Position {Number}
+ * @param FieldType {module:model/Field.FieldTypeEnum}
+ */
+ constructor(Name, Description, Key, Position, FieldType) {
+
+ Field.initialize(this, Name, Description, Key, Position, FieldType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Name, Description, Key, Position, FieldType) {
+ obj['Name'] = Name;
+ obj['Description'] = Description;
+ obj['Key'] = Key;
+ obj['Position'] = Position;
+ obj['FieldType'] = FieldType;
+ }
+
+ /**
+ * Constructs a Field from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Field} obj Optional instance to populate.
+ * @return {module:model/Field} The populated Field instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Field();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('Tooltip')) {
+ obj['Tooltip'] = ApiClient.convertToType(data['Tooltip'], 'String');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('DefaultValue')) {
+ obj['DefaultValue'] = ApiClient.convertToType(data['DefaultValue'], 'String');
+ }
+ if (data.hasOwnProperty('ValidValues')) {
+ obj['ValidValues'] = ApiClient.convertToType(data['ValidValues'], [ValidValue]);
+ }
+ if (data.hasOwnProperty('ValidationRegex')) {
+ obj['ValidationRegex'] = ApiClient.convertToType(data['ValidationRegex'], 'String');
+ }
+ if (data.hasOwnProperty('FieldType')) {
+ obj['FieldType'] = ApiClient.convertToType(data['FieldType'], 'String');
+ }
+ if (data.hasOwnProperty('IsFlipdishRestricted')) {
+ obj['IsFlipdishRestricted'] = ApiClient.convertToType(data['IsFlipdishRestricted'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Name
+ */
+Field.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+Field.prototype['Description'] = undefined;
+
+/**
+ * @member {String} Key
+ */
+Field.prototype['Key'] = undefined;
+
+/**
+ * @member {String} Tooltip
+ */
+Field.prototype['Tooltip'] = undefined;
+
+/**
+ * @member {Number} Position
+ */
+Field.prototype['Position'] = undefined;
+
+/**
+ * @member {String} DefaultValue
+ */
+Field.prototype['DefaultValue'] = undefined;
+
+/**
+ * @member {Array.} ValidValues
+ */
+Field.prototype['ValidValues'] = undefined;
+
+/**
+ * @member {String} ValidationRegex
+ */
+Field.prototype['ValidationRegex'] = undefined;
+
+/**
+ * @member {module:model/Field.FieldTypeEnum} FieldType
+ */
+Field.prototype['FieldType'] = undefined;
+
+/**
+ * @member {Boolean} IsFlipdishRestricted
+ */
+Field.prototype['IsFlipdishRestricted'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the FieldType property.
+ * @enum {String}
+ * @readonly
+ */
+Field['FieldTypeEnum'] = {
+
+ /**
+ * value: "Text"
+ * @const
+ */
+ "Text": "Text",
+
+ /**
+ * value: "TextArea"
+ * @const
+ */
+ "TextArea": "TextArea",
+
+ /**
+ * value: "Integer"
+ * @const
+ */
+ "Integer": "Integer",
+
+ /**
+ * value: "Decimal"
+ * @const
+ */
+ "Decimal": "Decimal",
+
+ /**
+ * value: "Date"
+ * @const
+ */
+ "Date": "Date",
+
+ /**
+ * value: "DateTime"
+ * @const
+ */
+ "DateTime": "DateTime",
+
+ /**
+ * value: "Time"
+ * @const
+ */
+ "Time": "Time",
+
+ /**
+ * value: "Select"
+ * @const
+ */
+ "Select": "Select",
+
+ /**
+ * value: "Boolean"
+ * @const
+ */
+ "Boolean": "Boolean",
+
+ /**
+ * value: "ActionButton"
+ * @const
+ */
+ "ActionButton": "ActionButton"
+};
+
+
+
+export default Field;
+
diff --git a/src/model/FieldChangeInformation.js b/src/model/FieldChangeInformation.js
new file mode 100644
index 00000000..32e645de
--- /dev/null
+++ b/src/model/FieldChangeInformation.js
@@ -0,0 +1,109 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FieldChangeInformation model module.
+ * @module model/FieldChangeInformation
+ * @version 1.0.0
+ */
+class FieldChangeInformation {
+ /**
+ * Constructs a new FieldChangeInformation.
+ * Change information for a field
+ * @alias module:model/FieldChangeInformation
+ */
+ constructor() {
+
+ FieldChangeInformation.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FieldChangeInformation from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FieldChangeInformation} obj Optional instance to populate.
+ * @return {module:model/FieldChangeInformation} The populated FieldChangeInformation instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FieldChangeInformation();
+
+ if (data.hasOwnProperty('Path')) {
+ obj['Path'] = ApiClient.convertToType(data['Path'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Key')) {
+ obj['Key'] = ApiClient.convertToType(data['Key'], 'String');
+ }
+ if (data.hasOwnProperty('OldValue')) {
+ obj['OldValue'] = ApiClient.convertToType(data['OldValue'], 'String');
+ }
+ if (data.hasOwnProperty('NewValue')) {
+ obj['NewValue'] = ApiClient.convertToType(data['NewValue'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Path (hierarchy)
+ * @member {String} Path
+ */
+FieldChangeInformation.prototype['Path'] = undefined;
+
+/**
+ * Name of field
+ * @member {String} Name
+ */
+FieldChangeInformation.prototype['Name'] = undefined;
+
+/**
+ * Key (code) of field
+ * @member {String} Key
+ */
+FieldChangeInformation.prototype['Key'] = undefined;
+
+/**
+ * Old value
+ * @member {String} OldValue
+ */
+FieldChangeInformation.prototype['OldValue'] = undefined;
+
+/**
+ * New value
+ * @member {String} NewValue
+ */
+FieldChangeInformation.prototype['NewValue'] = undefined;
+
+
+
+
+
+
+export default FieldChangeInformation;
+
diff --git a/src/model/FieldGroup.js b/src/model/FieldGroup.js
new file mode 100644
index 00000000..c4832746
--- /dev/null
+++ b/src/model/FieldGroup.js
@@ -0,0 +1,108 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Field from './Field';
+
+/**
+ * The FieldGroup model module.
+ * @module model/FieldGroup
+ * @version 1.0.0
+ */
+class FieldGroup {
+ /**
+ * Constructs a new FieldGroup.
+ * @alias module:model/FieldGroup
+ * @param Name {String}
+ * @param Position {Number}
+ */
+ constructor(Name, Position) {
+
+ FieldGroup.initialize(this, Name, Position);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, Name, Position) {
+ obj['Name'] = Name;
+ obj['Position'] = Position;
+ }
+
+ /**
+ * Constructs a FieldGroup from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FieldGroup} obj Optional instance to populate.
+ * @return {module:model/FieldGroup} The populated FieldGroup instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FieldGroup();
+
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('Description')) {
+ obj['Description'] = ApiClient.convertToType(data['Description'], 'String');
+ }
+ if (data.hasOwnProperty('Tooltip')) {
+ obj['Tooltip'] = ApiClient.convertToType(data['Tooltip'], 'String');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('Fields')) {
+ obj['Fields'] = ApiClient.convertToType(data['Fields'], [Field]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Name
+ */
+FieldGroup.prototype['Name'] = undefined;
+
+/**
+ * @member {String} Description
+ */
+FieldGroup.prototype['Description'] = undefined;
+
+/**
+ * @member {String} Tooltip
+ */
+FieldGroup.prototype['Tooltip'] = undefined;
+
+/**
+ * @member {Number} Position
+ */
+FieldGroup.prototype['Position'] = undefined;
+
+/**
+ * @member {Array.} Fields
+ */
+FieldGroup.prototype['Fields'] = undefined;
+
+
+
+
+
+
+export default FieldGroup;
+
diff --git a/src/model/FileCreationResult.js b/src/model/FileCreationResult.js
new file mode 100644
index 00000000..6c851d18
--- /dev/null
+++ b/src/model/FileCreationResult.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FileCreationResult model module.
+ * @module model/FileCreationResult
+ * @version 1.0.0
+ */
+class FileCreationResult {
+ /**
+ * Constructs a new FileCreationResult.
+ * @alias module:model/FileCreationResult
+ */
+ constructor() {
+
+ FileCreationResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FileCreationResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FileCreationResult} obj Optional instance to populate.
+ * @return {module:model/FileCreationResult} The populated FileCreationResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FileCreationResult();
+
+ if (data.hasOwnProperty('FileId')) {
+ obj['FileId'] = ApiClient.convertToType(data['FileId'], 'String');
+ }
+ if (data.hasOwnProperty('Location')) {
+ obj['Location'] = ApiClient.convertToType(data['Location'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} FileId
+ */
+FileCreationResult.prototype['FileId'] = undefined;
+
+/**
+ * @member {String} Location
+ */
+FileCreationResult.prototype['Location'] = undefined;
+
+
+
+
+
+
+export default FileCreationResult;
+
diff --git a/src/model/FileDownloadResult.js b/src/model/FileDownloadResult.js
new file mode 100644
index 00000000..764f5a3c
--- /dev/null
+++ b/src/model/FileDownloadResult.js
@@ -0,0 +1,73 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FileDownloadResult model module.
+ * @module model/FileDownloadResult
+ * @version 1.0.0
+ */
+class FileDownloadResult {
+ /**
+ * Constructs a new FileDownloadResult.
+ * File Download Result
+ * @alias module:model/FileDownloadResult
+ */
+ constructor() {
+
+ FileDownloadResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FileDownloadResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FileDownloadResult} obj Optional instance to populate.
+ * @return {module:model/FileDownloadResult} The populated FileDownloadResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FileDownloadResult();
+
+ if (data.hasOwnProperty('FileUrl')) {
+ obj['FileUrl'] = ApiClient.convertToType(data['FileUrl'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * URL of the file
+ * @member {String} FileUrl
+ */
+FileDownloadResult.prototype['FileUrl'] = undefined;
+
+
+
+
+
+
+export default FileDownloadResult;
+
diff --git a/src/model/FirebaseApp.js b/src/model/FirebaseApp.js
new file mode 100644
index 00000000..b56804d2
--- /dev/null
+++ b/src/model/FirebaseApp.js
@@ -0,0 +1,95 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FirebaseApp model module.
+ * @module model/FirebaseApp
+ * @version 1.0.0
+ */
+class FirebaseApp {
+ /**
+ * Constructs a new FirebaseApp.
+ * @alias module:model/FirebaseApp
+ */
+ constructor() {
+
+ FirebaseApp.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FirebaseApp from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FirebaseApp} obj Optional instance to populate.
+ * @return {module:model/FirebaseApp} The populated FirebaseApp instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FirebaseApp();
+
+ if (data.hasOwnProperty('WhitelabelId')) {
+ obj['WhitelabelId'] = ApiClient.convertToType(data['WhitelabelId'], 'Number');
+ }
+ if (data.hasOwnProperty('PackageId')) {
+ obj['PackageId'] = ApiClient.convertToType(data['PackageId'], 'String');
+ }
+ if (data.hasOwnProperty('FirebaseAppId')) {
+ obj['FirebaseAppId'] = ApiClient.convertToType(data['FirebaseAppId'], 'String');
+ }
+ if (data.hasOwnProperty('FirebaseProjectId')) {
+ obj['FirebaseProjectId'] = ApiClient.convertToType(data['FirebaseProjectId'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} WhitelabelId
+ */
+FirebaseApp.prototype['WhitelabelId'] = undefined;
+
+/**
+ * @member {String} PackageId
+ */
+FirebaseApp.prototype['PackageId'] = undefined;
+
+/**
+ * @member {String} FirebaseAppId
+ */
+FirebaseApp.prototype['FirebaseAppId'] = undefined;
+
+/**
+ * @member {String} FirebaseProjectId
+ */
+FirebaseApp.prototype['FirebaseProjectId'] = undefined;
+
+
+
+
+
+
+export default FirebaseApp;
+
diff --git a/src/model/FlipdishEventBase.js b/src/model/FlipdishEventBase.js
new file mode 100644
index 00000000..9ce226d4
--- /dev/null
+++ b/src/model/FlipdishEventBase.js
@@ -0,0 +1,127 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FlipdishEventBase model module.
+ * @module model/FlipdishEventBase
+ * @version 1.0.0
+ */
+class FlipdishEventBase {
+ /**
+ * Constructs a new FlipdishEventBase.
+ * Base Event
+ * @alias module:model/FlipdishEventBase
+ */
+ constructor() {
+
+ FlipdishEventBase.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FlipdishEventBase from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FlipdishEventBase} obj Optional instance to populate.
+ * @return {module:model/FlipdishEventBase} The populated FlipdishEventBase instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FlipdishEventBase();
+
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+FlipdishEventBase.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+FlipdishEventBase.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+FlipdishEventBase.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+FlipdishEventBase.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+FlipdishEventBase.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+FlipdishEventBase.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+FlipdishEventBase.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default FlipdishEventBase;
+
diff --git a/src/model/FlipdishFeesDetails.js b/src/model/FlipdishFeesDetails.js
new file mode 100644
index 00000000..98ff70f1
--- /dev/null
+++ b/src/model/FlipdishFeesDetails.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FlipdishFeesDetails model module.
+ * @module model/FlipdishFeesDetails
+ * @version 1.0.0
+ */
+class FlipdishFeesDetails {
+ /**
+ * Constructs a new FlipdishFeesDetails.
+ * Fees breakdown
+ * @alias module:model/FlipdishFeesDetails
+ */
+ constructor() {
+
+ FlipdishFeesDetails.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FlipdishFeesDetails from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FlipdishFeesDetails} obj Optional instance to populate.
+ * @return {module:model/FlipdishFeesDetails} The populated FlipdishFeesDetails instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FlipdishFeesDetails();
+
+ if (data.hasOwnProperty('OnlineSalesFees')) {
+ obj['OnlineSalesFees'] = ApiClient.convertToType(data['OnlineSalesFees'], 'Number');
+ }
+ if (data.hasOwnProperty('CashSalesFees')) {
+ obj['CashSalesFees'] = ApiClient.convertToType(data['CashSalesFees'], 'Number');
+ }
+ if (data.hasOwnProperty('PosSalesFees')) {
+ obj['PosSalesFees'] = ApiClient.convertToType(data['PosSalesFees'], 'Number');
+ }
+ if (data.hasOwnProperty('TotalSalesFees')) {
+ obj['TotalSalesFees'] = ApiClient.convertToType(data['TotalSalesFees'], 'Number');
+ }
+ if (data.hasOwnProperty('OnlineSalesRefundedFees')) {
+ obj['OnlineSalesRefundedFees'] = ApiClient.convertToType(data['OnlineSalesRefundedFees'], 'Number');
+ }
+ if (data.hasOwnProperty('CashSalesRefundedFees')) {
+ obj['CashSalesRefundedFees'] = ApiClient.convertToType(data['CashSalesRefundedFees'], 'Number');
+ }
+ if (data.hasOwnProperty('PosSalesRefundedFees')) {
+ obj['PosSalesRefundedFees'] = ApiClient.convertToType(data['PosSalesRefundedFees'], 'Number');
+ }
+ if (data.hasOwnProperty('SalesFeesVat')) {
+ obj['SalesFeesVat'] = ApiClient.convertToType(data['SalesFeesVat'], 'Number');
+ }
+ if (data.hasOwnProperty('TotalFees')) {
+ obj['TotalFees'] = ApiClient.convertToType(data['TotalFees'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Fees on online sales
+ * @member {Number} OnlineSalesFees
+ */
+FlipdishFeesDetails.prototype['OnlineSalesFees'] = undefined;
+
+/**
+ * Fees on cash sales
+ * @member {Number} CashSalesFees
+ */
+FlipdishFeesDetails.prototype['CashSalesFees'] = undefined;
+
+/**
+ * Fees of POS sales
+ * @member {Number} PosSalesFees
+ */
+FlipdishFeesDetails.prototype['PosSalesFees'] = undefined;
+
+/**
+ * Total online and cash sales
+ * @member {Number} TotalSalesFees
+ */
+FlipdishFeesDetails.prototype['TotalSalesFees'] = undefined;
+
+/**
+ * Fees on refunds for online sales
+ * @member {Number} OnlineSalesRefundedFees
+ */
+FlipdishFeesDetails.prototype['OnlineSalesRefundedFees'] = undefined;
+
+/**
+ * Fees on refunds for cash sales
+ * @member {Number} CashSalesRefundedFees
+ */
+FlipdishFeesDetails.prototype['CashSalesRefundedFees'] = undefined;
+
+/**
+ * Fees on refunds for POS sales
+ * @member {Number} PosSalesRefundedFees
+ */
+FlipdishFeesDetails.prototype['PosSalesRefundedFees'] = undefined;
+
+/**
+ * VAT on sales fees
+ * @member {Number} SalesFeesVat
+ */
+FlipdishFeesDetails.prototype['SalesFeesVat'] = undefined;
+
+/**
+ * Total fees
+ * @member {Number} TotalFees
+ */
+FlipdishFeesDetails.prototype['TotalFees'] = undefined;
+
+
+
+
+
+
+export default FlipdishFeesDetails;
+
diff --git a/src/model/FulfillentStatusActionItem.js b/src/model/FulfillentStatusActionItem.js
new file mode 100644
index 00000000..f53cb50c
--- /dev/null
+++ b/src/model/FulfillentStatusActionItem.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FulfillentStatusActionItem model module.
+ * @module model/FulfillentStatusActionItem
+ * @version 1.0.0
+ */
+class FulfillentStatusActionItem {
+ /**
+ * Constructs a new FulfillentStatusActionItem.
+ * Action item for next fulfillment status selector
+ * @alias module:model/FulfillentStatusActionItem
+ */
+ constructor() {
+
+ FulfillentStatusActionItem.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FulfillentStatusActionItem from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FulfillentStatusActionItem} obj Optional instance to populate.
+ * @return {module:model/FulfillentStatusActionItem} The populated FulfillentStatusActionItem instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FulfillentStatusActionItem();
+
+ if (data.hasOwnProperty('Id')) {
+ obj['Id'] = ApiClient.convertToType(data['Id'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Status Id
+ * @member {String} Id
+ */
+FulfillentStatusActionItem.prototype['Id'] = undefined;
+
+/**
+ * Status Name
+ * @member {String} Name
+ */
+FulfillentStatusActionItem.prototype['Name'] = undefined;
+
+
+
+
+
+
+export default FulfillentStatusActionItem;
+
diff --git a/src/model/FulfillmentStatesConfiguration.js b/src/model/FulfillmentStatesConfiguration.js
new file mode 100644
index 00000000..fef9bd7f
--- /dev/null
+++ b/src/model/FulfillmentStatesConfiguration.js
@@ -0,0 +1,155 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FulfillmentStatusConfigurationItem from './FulfillmentStatusConfigurationItem';
+
+/**
+ * The FulfillmentStatesConfiguration model module.
+ * @module model/FulfillmentStatesConfiguration
+ * @version 1.0.0
+ */
+class FulfillmentStatesConfiguration {
+ /**
+ * Constructs a new FulfillmentStatesConfiguration.
+ * Fulfillment States Configuration
+ * @alias module:model/FulfillmentStatesConfiguration
+ */
+ constructor() {
+
+ FulfillmentStatesConfiguration.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FulfillmentStatesConfiguration from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FulfillmentStatesConfiguration} obj Optional instance to populate.
+ * @return {module:model/FulfillmentStatesConfiguration} The populated FulfillmentStatesConfiguration instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FulfillmentStatesConfiguration();
+
+ if (data.hasOwnProperty('States')) {
+ obj['States'] = ApiClient.convertToType(data['States'], [FulfillmentStatusConfigurationItem]);
+ }
+ if (data.hasOwnProperty('AutomaticTransitionsEnabled')) {
+ obj['AutomaticTransitionsEnabled'] = ApiClient.convertToType(data['AutomaticTransitionsEnabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('ConfigurationUid')) {
+ obj['ConfigurationUid'] = ApiClient.convertToType(data['ConfigurationUid'], 'String');
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * States
+ * @member {Array.} States
+ */
+FulfillmentStatesConfiguration.prototype['States'] = undefined;
+
+/**
+ * Enable automatic transitions
+ * @member {Boolean} AutomaticTransitionsEnabled
+ */
+FulfillmentStatesConfiguration.prototype['AutomaticTransitionsEnabled'] = undefined;
+
+/**
+ * AppId
+ * @member {String} AppId
+ */
+FulfillmentStatesConfiguration.prototype['AppId'] = undefined;
+
+/**
+ * Configuration Uid
+ * @member {String} ConfigurationUid
+ */
+FulfillmentStatesConfiguration.prototype['ConfigurationUid'] = undefined;
+
+/**
+ * Store Selector Type
+ * @member {module:model/FulfillmentStatesConfiguration.StoreSelectorTypeEnum} StoreSelectorType
+ */
+FulfillmentStatesConfiguration.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * Store Ids
+ * @member {Array.} StoreIds
+ */
+FulfillmentStatesConfiguration.prototype['StoreIds'] = undefined;
+
+/**
+ * Name
+ * @member {String} Name
+ */
+FulfillmentStatesConfiguration.prototype['Name'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+FulfillmentStatesConfiguration['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+
+export default FulfillmentStatesConfiguration;
+
diff --git a/src/model/FulfillmentStatesConfigurationSummary.js b/src/model/FulfillmentStatesConfigurationSummary.js
new file mode 100644
index 00000000..2b6ab4a9
--- /dev/null
+++ b/src/model/FulfillmentStatesConfigurationSummary.js
@@ -0,0 +1,139 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import FulfillmentStatesConfiguredStore from './FulfillmentStatesConfiguredStore';
+
+/**
+ * The FulfillmentStatesConfigurationSummary model module.
+ * @module model/FulfillmentStatesConfigurationSummary
+ * @version 1.0.0
+ */
+class FulfillmentStatesConfigurationSummary {
+ /**
+ * Constructs a new FulfillmentStatesConfigurationSummary.
+ * Fulfillment configuration header information
+ * @alias module:model/FulfillmentStatesConfigurationSummary
+ * @param AppId {String} AppId
+ */
+ constructor(AppId) {
+
+ FulfillmentStatesConfigurationSummary.initialize(this, AppId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, AppId) {
+ obj['AppId'] = AppId;
+ }
+
+ /**
+ * Constructs a FulfillmentStatesConfigurationSummary from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FulfillmentStatesConfigurationSummary} obj Optional instance to populate.
+ * @return {module:model/FulfillmentStatesConfigurationSummary} The populated FulfillmentStatesConfigurationSummary instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FulfillmentStatesConfigurationSummary();
+
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('ConfigurationUid')) {
+ obj['ConfigurationUid'] = ApiClient.convertToType(data['ConfigurationUid'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('StoreSelectorType')) {
+ obj['StoreSelectorType'] = ApiClient.convertToType(data['StoreSelectorType'], 'String');
+ }
+ if (data.hasOwnProperty('Stores')) {
+ obj['Stores'] = ApiClient.convertToType(data['Stores'], [FulfillmentStatesConfiguredStore]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * AppId
+ * @member {String} AppId
+ */
+FulfillmentStatesConfigurationSummary.prototype['AppId'] = undefined;
+
+/**
+ * Configuration Uid
+ * @member {String} ConfigurationUid
+ */
+FulfillmentStatesConfigurationSummary.prototype['ConfigurationUid'] = undefined;
+
+/**
+ * Name
+ * @member {String} Name
+ */
+FulfillmentStatesConfigurationSummary.prototype['Name'] = undefined;
+
+/**
+ * Store selector type
+ * @member {module:model/FulfillmentStatesConfigurationSummary.StoreSelectorTypeEnum} StoreSelectorType
+ */
+FulfillmentStatesConfigurationSummary.prototype['StoreSelectorType'] = undefined;
+
+/**
+ * Stores
+ * @member {Array.} Stores
+ */
+FulfillmentStatesConfigurationSummary.prototype['Stores'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the StoreSelectorType property.
+ * @enum {String}
+ * @readonly
+ */
+FulfillmentStatesConfigurationSummary['StoreSelectorTypeEnum'] = {
+
+ /**
+ * value: "None"
+ * @const
+ */
+ "None": "None",
+
+ /**
+ * value: "Single"
+ * @const
+ */
+ "Single": "Single",
+
+ /**
+ * value: "Multiple"
+ * @const
+ */
+ "Multiple": "Multiple"
+};
+
+
+
+export default FulfillmentStatesConfigurationSummary;
+
diff --git a/src/model/FulfillmentStatesConfiguredStore.js b/src/model/FulfillmentStatesConfiguredStore.js
new file mode 100644
index 00000000..f158b039
--- /dev/null
+++ b/src/model/FulfillmentStatesConfiguredStore.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The FulfillmentStatesConfiguredStore model module.
+ * @module model/FulfillmentStatesConfiguredStore
+ * @version 1.0.0
+ */
+class FulfillmentStatesConfiguredStore {
+ /**
+ * Constructs a new FulfillmentStatesConfiguredStore.
+ * Configured stores
+ * @alias module:model/FulfillmentStatesConfiguredStore
+ */
+ constructor() {
+
+ FulfillmentStatesConfiguredStore.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FulfillmentStatesConfiguredStore from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FulfillmentStatesConfiguredStore} obj Optional instance to populate.
+ * @return {module:model/FulfillmentStatesConfiguredStore} The populated FulfillmentStatesConfiguredStore instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FulfillmentStatesConfiguredStore();
+
+ if (data.hasOwnProperty('StoreId')) {
+ obj['StoreId'] = ApiClient.convertToType(data['StoreId'], 'Number');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Store id
+ * @member {Number} StoreId
+ */
+FulfillmentStatesConfiguredStore.prototype['StoreId'] = undefined;
+
+/**
+ * Name of store
+ * @member {String} Name
+ */
+FulfillmentStatesConfiguredStore.prototype['Name'] = undefined;
+
+
+
+
+
+
+export default FulfillmentStatesConfiguredStore;
+
diff --git a/src/model/FulfillmentStatusConfigurationItem.js b/src/model/FulfillmentStatusConfigurationItem.js
new file mode 100644
index 00000000..119cc27b
--- /dev/null
+++ b/src/model/FulfillmentStatusConfigurationItem.js
@@ -0,0 +1,260 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import NextStatusWithOrderType from './NextStatusWithOrderType';
+
+/**
+ * The FulfillmentStatusConfigurationItem model module.
+ * @module model/FulfillmentStatusConfigurationItem
+ * @version 1.0.0
+ */
+class FulfillmentStatusConfigurationItem {
+ /**
+ * Constructs a new FulfillmentStatusConfigurationItem.
+ * Fulfillment Status Item
+ * @alias module:model/FulfillmentStatusConfigurationItem
+ */
+ constructor() {
+
+ FulfillmentStatusConfigurationItem.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a FulfillmentStatusConfigurationItem from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FulfillmentStatusConfigurationItem} obj Optional instance to populate.
+ * @return {module:model/FulfillmentStatusConfigurationItem} The populated FulfillmentStatusConfigurationItem instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FulfillmentStatusConfigurationItem();
+
+ if (data.hasOwnProperty('StatusId')) {
+ obj['StatusId'] = ApiClient.convertToType(data['StatusId'], 'String');
+ }
+ if (data.hasOwnProperty('StatusName')) {
+ obj['StatusName'] = ApiClient.convertToType(data['StatusName'], 'String');
+ }
+ if (data.hasOwnProperty('Enabled')) {
+ obj['Enabled'] = ApiClient.convertToType(data['Enabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('DisplayName')) {
+ obj['DisplayName'] = ApiClient.convertToType(data['DisplayName'], 'String');
+ }
+ if (data.hasOwnProperty('Icon')) {
+ obj['Icon'] = ApiClient.convertToType(data['Icon'], 'String');
+ }
+ if (data.hasOwnProperty('PublicDescription')) {
+ obj['PublicDescription'] = ApiClient.convertToType(data['PublicDescription'], 'String');
+ }
+ if (data.hasOwnProperty('Internal')) {
+ obj['Internal'] = ApiClient.convertToType(data['Internal'], 'Boolean');
+ }
+ if (data.hasOwnProperty('NextStatuses')) {
+ obj['NextStatuses'] = ApiClient.convertToType(data['NextStatuses'], ['String']);
+ }
+ if (data.hasOwnProperty('DefaultNextStatus')) {
+ obj['DefaultNextStatus'] = ApiClient.convertToType(data['DefaultNextStatus'], [NextStatusWithOrderType]);
+ }
+ if (data.hasOwnProperty('ChangeType')) {
+ obj['ChangeType'] = ApiClient.convertToType(data['ChangeType'], 'String');
+ }
+ if (data.hasOwnProperty('IncludeInReports')) {
+ obj['IncludeInReports'] = ApiClient.convertToType(data['IncludeInReports'], 'Boolean');
+ }
+ if (data.hasOwnProperty('IsCustom')) {
+ obj['IsCustom'] = ApiClient.convertToType(data['IsCustom'], 'Boolean');
+ }
+ if (data.hasOwnProperty('OrderTypes')) {
+ obj['OrderTypes'] = ApiClient.convertToType(data['OrderTypes'], ['String']);
+ }
+ if (data.hasOwnProperty('Communication')) {
+ obj['Communication'] = ApiClient.convertToType(data['Communication'], 'Boolean');
+ }
+ if (data.hasOwnProperty('Image')) {
+ obj['Image'] = ApiClient.convertToType(data['Image'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Status Id (no whitespaces)
+ * @member {String} StatusId
+ */
+FulfillmentStatusConfigurationItem.prototype['StatusId'] = undefined;
+
+/**
+ * Status name
+ * @member {String} StatusName
+ */
+FulfillmentStatusConfigurationItem.prototype['StatusName'] = undefined;
+
+/**
+ * Is status enabled
+ * @member {Boolean} Enabled
+ */
+FulfillmentStatusConfigurationItem.prototype['Enabled'] = undefined;
+
+/**
+ * The short status string that is displayed to users in apps, portal. If empty then Order Status Name is displayed instead
+ * @member {String} DisplayName
+ */
+FulfillmentStatusConfigurationItem.prototype['DisplayName'] = undefined;
+
+/**
+ * Icon/Image that represents that status visual
+ * @member {String} Icon
+ */
+FulfillmentStatusConfigurationItem.prototype['Icon'] = undefined;
+
+/**
+ * A string which could be used in notification templates with a placeholder (SMS, email, push, web page with status)
+ * @member {String} PublicDescription
+ */
+FulfillmentStatusConfigurationItem.prototype['PublicDescription'] = undefined;
+
+/**
+ * Is internal state (internal states not shown to customers)
+ * @member {Boolean} Internal
+ */
+FulfillmentStatusConfigurationItem.prototype['Internal'] = undefined;
+
+/**
+ * list of statuses that this status can move to (can be back or forth)
+ * @member {Array.} NextStatuses
+ */
+FulfillmentStatusConfigurationItem.prototype['NextStatuses'] = undefined;
+
+/**
+ * The default next status (on a dropdown or quick button on terminal or portal)
+ * @member {Array.} DefaultNextStatus
+ */
+FulfillmentStatusConfigurationItem.prototype['DefaultNextStatus'] = undefined;
+
+/**
+ * How will state change (manually or automated, including timed)
+ * @member {module:model/FulfillmentStatusConfigurationItem.ChangeTypeEnum} ChangeType
+ */
+FulfillmentStatusConfigurationItem.prototype['ChangeType'] = undefined;
+
+/**
+ * Include in reports
+ * @member {Boolean} IncludeInReports
+ */
+FulfillmentStatusConfigurationItem.prototype['IncludeInReports'] = undefined;
+
+/**
+ * Is custom state. If not, then it's a system state
+ * @member {Boolean} IsCustom
+ */
+FulfillmentStatusConfigurationItem.prototype['IsCustom'] = undefined;
+
+/**
+ * If empty then applies to all ordertypes, otherwise a list of order types this state applies to
+ * @member {Array.} OrderTypes
+ */
+FulfillmentStatusConfigurationItem.prototype['OrderTypes'] = undefined;
+
+/**
+ * Whether state should fire off a notification to the customer
+ * @member {Boolean} Communication
+ */
+FulfillmentStatusConfigurationItem.prototype['Communication'] = undefined;
+
+/**
+ * Image (image filename, relative, not absolute URL)
+ * @member {String} Image
+ */
+FulfillmentStatusConfigurationItem.prototype['Image'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the ChangeType property.
+ * @enum {String}
+ * @readonly
+ */
+FulfillmentStatusConfigurationItem['ChangeTypeEnum'] = {
+
+ /**
+ * value: "Manual"
+ * @const
+ */
+ "Manual": "Manual",
+
+ /**
+ * value: "Automated"
+ * @const
+ */
+ "Automated": "Automated",
+
+ /**
+ * value: "Integrated"
+ * @const
+ */
+ "Integrated": "Integrated"
+};
+
+
+/**
+ * Allowed values for the OrderTypes property.
+ * @enum {String}
+ * @readonly
+ */
+FulfillmentStatusConfigurationItem['OrderTypesEnum'] = {
+
+ /**
+ * value: "All"
+ * @const
+ */
+ "All": "All",
+
+ /**
+ * value: "Delivery"
+ * @const
+ */
+ "Delivery": "Delivery",
+
+ /**
+ * value: "Collection"
+ * @const
+ */
+ "Collection": "Collection",
+
+ /**
+ * value: "DineIn"
+ * @const
+ */
+ "DineIn": "DineIn"
+};
+
+
+
+export default FulfillmentStatusConfigurationItem;
+
diff --git a/src/model/GeoPointRequest.js b/src/model/GeoPointRequest.js
new file mode 100644
index 00000000..584c9eb9
--- /dev/null
+++ b/src/model/GeoPointRequest.js
@@ -0,0 +1,82 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The GeoPointRequest model module.
+ * @module model/GeoPointRequest
+ * @version 1.0.0
+ */
+class GeoPointRequest {
+ /**
+ * Constructs a new GeoPointRequest.
+ * Terminal location request
+ * @alias module:model/GeoPointRequest
+ */
+ constructor() {
+
+ GeoPointRequest.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GeoPointRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GeoPointRequest} obj Optional instance to populate.
+ * @return {module:model/GeoPointRequest} The populated GeoPointRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GeoPointRequest();
+
+ if (data.hasOwnProperty('Latitude')) {
+ obj['Latitude'] = ApiClient.convertToType(data['Latitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Longitude')) {
+ obj['Longitude'] = ApiClient.convertToType(data['Longitude'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Kiosk device latitude
+ * @member {Number} Latitude
+ */
+GeoPointRequest.prototype['Latitude'] = undefined;
+
+/**
+ * Kiosk device longitude
+ * @member {Number} Longitude
+ */
+GeoPointRequest.prototype['Longitude'] = undefined;
+
+
+
+
+
+
+export default GeoPointRequest;
+
diff --git a/src/model/GetReceiptByOrderIdQueryResponse.js b/src/model/GetReceiptByOrderIdQueryResponse.js
new file mode 100644
index 00000000..c77217ef
--- /dev/null
+++ b/src/model/GetReceiptByOrderIdQueryResponse.js
@@ -0,0 +1,129 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DepositReturnFeesSummary from './DepositReturnFeesSummary';
+import PreviousOrder from './PreviousOrder';
+
+/**
+ * The GetReceiptByOrderIdQueryResponse model module.
+ * @module model/GetReceiptByOrderIdQueryResponse
+ * @version 1.0.0
+ */
+class GetReceiptByOrderIdQueryResponse {
+ /**
+ * Constructs a new GetReceiptByOrderIdQueryResponse.
+ * @alias module:model/GetReceiptByOrderIdQueryResponse
+ */
+ constructor() {
+
+ GetReceiptByOrderIdQueryResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GetReceiptByOrderIdQueryResponse from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GetReceiptByOrderIdQueryResponse} obj Optional instance to populate.
+ * @return {module:model/GetReceiptByOrderIdQueryResponse} The populated GetReceiptByOrderIdQueryResponse instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GetReceiptByOrderIdQueryResponse();
+
+ if (data.hasOwnProperty('PreviousOrder')) {
+ obj['PreviousOrder'] = PreviousOrder.constructFromObject(data['PreviousOrder']);
+ }
+ if (data.hasOwnProperty('DepositReturnFeesSummary')) {
+ obj['DepositReturnFeesSummary'] = ApiClient.convertToType(data['DepositReturnFeesSummary'], [DepositReturnFeesSummary]);
+ }
+ if (data.hasOwnProperty('TsRequestedForLocal')) {
+ obj['TsRequestedForLocal'] = ApiClient.convertToType(data['TsRequestedForLocal'], 'Date');
+ }
+ if (data.hasOwnProperty('TsOrderPlacedLocal')) {
+ obj['TsOrderPlacedLocal'] = ApiClient.convertToType(data['TsOrderPlacedLocal'], 'Date');
+ }
+ if (data.hasOwnProperty('LogoUrl')) {
+ obj['LogoUrl'] = ApiClient.convertToType(data['LogoUrl'], 'String');
+ }
+ if (data.hasOwnProperty('Address')) {
+ obj['Address'] = ApiClient.convertToType(data['Address'], 'String');
+ }
+ if (data.hasOwnProperty('VatNumber')) {
+ obj['VatNumber'] = ApiClient.convertToType(data['VatNumber'], 'String');
+ }
+ if (data.hasOwnProperty('PaymentMethodDescription')) {
+ obj['PaymentMethodDescription'] = ApiClient.convertToType(data['PaymentMethodDescription'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/PreviousOrder} PreviousOrder
+ */
+GetReceiptByOrderIdQueryResponse.prototype['PreviousOrder'] = undefined;
+
+/**
+ * @member {Array.} DepositReturnFeesSummary
+ */
+GetReceiptByOrderIdQueryResponse.prototype['DepositReturnFeesSummary'] = undefined;
+
+/**
+ * @member {Date} TsRequestedForLocal
+ */
+GetReceiptByOrderIdQueryResponse.prototype['TsRequestedForLocal'] = undefined;
+
+/**
+ * @member {Date} TsOrderPlacedLocal
+ */
+GetReceiptByOrderIdQueryResponse.prototype['TsOrderPlacedLocal'] = undefined;
+
+/**
+ * @member {String} LogoUrl
+ */
+GetReceiptByOrderIdQueryResponse.prototype['LogoUrl'] = undefined;
+
+/**
+ * @member {String} Address
+ */
+GetReceiptByOrderIdQueryResponse.prototype['Address'] = undefined;
+
+/**
+ * @member {String} VatNumber
+ */
+GetReceiptByOrderIdQueryResponse.prototype['VatNumber'] = undefined;
+
+/**
+ * @member {String} PaymentMethodDescription
+ */
+GetReceiptByOrderIdQueryResponse.prototype['PaymentMethodDescription'] = undefined;
+
+
+
+
+
+
+export default GetReceiptByOrderIdQueryResponse;
+
diff --git a/src/model/GoogleAddress.js b/src/model/GoogleAddress.js
new file mode 100644
index 00000000..ee6aa367
--- /dev/null
+++ b/src/model/GoogleAddress.js
@@ -0,0 +1,88 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import GoogleAddressResult from './GoogleAddressResult';
+
+/**
+ * The GoogleAddress model module.
+ * @module model/GoogleAddress
+ * @version 1.0.0
+ */
+class GoogleAddress {
+ /**
+ * Constructs a new GoogleAddress.
+ * @alias module:model/GoogleAddress
+ */
+ constructor() {
+
+ GoogleAddress.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleAddress from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleAddress} obj Optional instance to populate.
+ * @return {module:model/GoogleAddress} The populated GoogleAddress instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleAddress();
+
+ if (data.hasOwnProperty('Results')) {
+ obj['Results'] = ApiClient.convertToType(data['Results'], [GoogleAddressResult]);
+ }
+ if (data.hasOwnProperty('Result')) {
+ obj['Result'] = GoogleAddressResult.constructFromObject(data['Result']);
+ }
+ if (data.hasOwnProperty('Status')) {
+ obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Array.} Results
+ */
+GoogleAddress.prototype['Results'] = undefined;
+
+/**
+ * @member {module:model/GoogleAddressResult} Result
+ */
+GoogleAddress.prototype['Result'] = undefined;
+
+/**
+ * @member {String} Status
+ */
+GoogleAddress.prototype['Status'] = undefined;
+
+
+
+
+
+
+export default GoogleAddress;
+
diff --git a/src/model/GoogleAddressComponent.js b/src/model/GoogleAddressComponent.js
new file mode 100644
index 00000000..a2d6a5e8
--- /dev/null
+++ b/src/model/GoogleAddressComponent.js
@@ -0,0 +1,87 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The GoogleAddressComponent model module.
+ * @module model/GoogleAddressComponent
+ * @version 1.0.0
+ */
+class GoogleAddressComponent {
+ /**
+ * Constructs a new GoogleAddressComponent.
+ * @alias module:model/GoogleAddressComponent
+ */
+ constructor() {
+
+ GoogleAddressComponent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleAddressComponent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleAddressComponent} obj Optional instance to populate.
+ * @return {module:model/GoogleAddressComponent} The populated GoogleAddressComponent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleAddressComponent();
+
+ if (data.hasOwnProperty('Long_name')) {
+ obj['Long_name'] = ApiClient.convertToType(data['Long_name'], 'String');
+ }
+ if (data.hasOwnProperty('Short_name')) {
+ obj['Short_name'] = ApiClient.convertToType(data['Short_name'], 'String');
+ }
+ if (data.hasOwnProperty('Types')) {
+ obj['Types'] = ApiClient.convertToType(data['Types'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {String} Long_name
+ */
+GoogleAddressComponent.prototype['Long_name'] = undefined;
+
+/**
+ * @member {String} Short_name
+ */
+GoogleAddressComponent.prototype['Short_name'] = undefined;
+
+/**
+ * @member {Array.} Types
+ */
+GoogleAddressComponent.prototype['Types'] = undefined;
+
+
+
+
+
+
+export default GoogleAddressComponent;
+
diff --git a/src/model/GoogleAddressResult.js b/src/model/GoogleAddressResult.js
new file mode 100644
index 00000000..06c60975
--- /dev/null
+++ b/src/model/GoogleAddressResult.js
@@ -0,0 +1,105 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import GoogleAddressComponent from './GoogleAddressComponent';
+import GoogleGeometry from './GoogleGeometry';
+
+/**
+ * The GoogleAddressResult model module.
+ * @module model/GoogleAddressResult
+ * @version 1.0.0
+ */
+class GoogleAddressResult {
+ /**
+ * Constructs a new GoogleAddressResult.
+ * @alias module:model/GoogleAddressResult
+ */
+ constructor() {
+
+ GoogleAddressResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleAddressResult from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleAddressResult} obj Optional instance to populate.
+ * @return {module:model/GoogleAddressResult} The populated GoogleAddressResult instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleAddressResult();
+
+ if (data.hasOwnProperty('Address_components')) {
+ obj['Address_components'] = ApiClient.convertToType(data['Address_components'], [GoogleAddressComponent]);
+ }
+ if (data.hasOwnProperty('Formatted_address')) {
+ obj['Formatted_address'] = ApiClient.convertToType(data['Formatted_address'], 'String');
+ }
+ if (data.hasOwnProperty('Geometry')) {
+ obj['Geometry'] = GoogleGeometry.constructFromObject(data['Geometry']);
+ }
+ if (data.hasOwnProperty('Place_id')) {
+ obj['Place_id'] = ApiClient.convertToType(data['Place_id'], 'String');
+ }
+ if (data.hasOwnProperty('Types')) {
+ obj['Types'] = ApiClient.convertToType(data['Types'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Array.} Address_components
+ */
+GoogleAddressResult.prototype['Address_components'] = undefined;
+
+/**
+ * @member {String} Formatted_address
+ */
+GoogleAddressResult.prototype['Formatted_address'] = undefined;
+
+/**
+ * @member {module:model/GoogleGeometry} Geometry
+ */
+GoogleAddressResult.prototype['Geometry'] = undefined;
+
+/**
+ * @member {String} Place_id
+ */
+GoogleAddressResult.prototype['Place_id'] = undefined;
+
+/**
+ * @member {Array.} Types
+ */
+GoogleAddressResult.prototype['Types'] = undefined;
+
+
+
+
+
+
+export default GoogleAddressResult;
+
diff --git a/src/model/GoogleCoordinates.js b/src/model/GoogleCoordinates.js
new file mode 100644
index 00000000..620267db
--- /dev/null
+++ b/src/model/GoogleCoordinates.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The GoogleCoordinates model module.
+ * @module model/GoogleCoordinates
+ * @version 1.0.0
+ */
+class GoogleCoordinates {
+ /**
+ * Constructs a new GoogleCoordinates.
+ * @alias module:model/GoogleCoordinates
+ */
+ constructor() {
+
+ GoogleCoordinates.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleCoordinates from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleCoordinates} obj Optional instance to populate.
+ * @return {module:model/GoogleCoordinates} The populated GoogleCoordinates instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleCoordinates();
+
+ if (data.hasOwnProperty('Lat')) {
+ obj['Lat'] = ApiClient.convertToType(data['Lat'], 'Number');
+ }
+ if (data.hasOwnProperty('Lng')) {
+ obj['Lng'] = ApiClient.convertToType(data['Lng'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} Lat
+ */
+GoogleCoordinates.prototype['Lat'] = undefined;
+
+/**
+ * @member {Number} Lng
+ */
+GoogleCoordinates.prototype['Lng'] = undefined;
+
+
+
+
+
+
+export default GoogleCoordinates;
+
diff --git a/src/model/GoogleGeometry.js b/src/model/GoogleGeometry.js
new file mode 100644
index 00000000..ecfce8b5
--- /dev/null
+++ b/src/model/GoogleGeometry.js
@@ -0,0 +1,89 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import GoogleLocation from './GoogleLocation';
+import GoogleViewport from './GoogleViewport';
+
+/**
+ * The GoogleGeometry model module.
+ * @module model/GoogleGeometry
+ * @version 1.0.0
+ */
+class GoogleGeometry {
+ /**
+ * Constructs a new GoogleGeometry.
+ * @alias module:model/GoogleGeometry
+ */
+ constructor() {
+
+ GoogleGeometry.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleGeometry from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleGeometry} obj Optional instance to populate.
+ * @return {module:model/GoogleGeometry} The populated GoogleGeometry instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleGeometry();
+
+ if (data.hasOwnProperty('Location')) {
+ obj['Location'] = GoogleLocation.constructFromObject(data['Location']);
+ }
+ if (data.hasOwnProperty('Location_type')) {
+ obj['Location_type'] = ApiClient.convertToType(data['Location_type'], 'String');
+ }
+ if (data.hasOwnProperty('Viewport')) {
+ obj['Viewport'] = GoogleViewport.constructFromObject(data['Viewport']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/GoogleLocation} Location
+ */
+GoogleGeometry.prototype['Location'] = undefined;
+
+/**
+ * @member {String} Location_type
+ */
+GoogleGeometry.prototype['Location_type'] = undefined;
+
+/**
+ * @member {module:model/GoogleViewport} Viewport
+ */
+GoogleGeometry.prototype['Viewport'] = undefined;
+
+
+
+
+
+
+export default GoogleGeometry;
+
diff --git a/src/model/GoogleLocation.js b/src/model/GoogleLocation.js
new file mode 100644
index 00000000..76a15612
--- /dev/null
+++ b/src/model/GoogleLocation.js
@@ -0,0 +1,79 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The GoogleLocation model module.
+ * @module model/GoogleLocation
+ * @version 1.0.0
+ */
+class GoogleLocation {
+ /**
+ * Constructs a new GoogleLocation.
+ * @alias module:model/GoogleLocation
+ */
+ constructor() {
+
+ GoogleLocation.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleLocation from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleLocation} obj Optional instance to populate.
+ * @return {module:model/GoogleLocation} The populated GoogleLocation instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleLocation();
+
+ if (data.hasOwnProperty('Lat')) {
+ obj['Lat'] = ApiClient.convertToType(data['Lat'], 'Number');
+ }
+ if (data.hasOwnProperty('Lng')) {
+ obj['Lng'] = ApiClient.convertToType(data['Lng'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} Lat
+ */
+GoogleLocation.prototype['Lat'] = undefined;
+
+/**
+ * @member {Number} Lng
+ */
+GoogleLocation.prototype['Lng'] = undefined;
+
+
+
+
+
+
+export default GoogleLocation;
+
diff --git a/src/model/GoogleViewport.js b/src/model/GoogleViewport.js
new file mode 100644
index 00000000..30dfef83
--- /dev/null
+++ b/src/model/GoogleViewport.js
@@ -0,0 +1,80 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import GoogleCoordinates from './GoogleCoordinates';
+
+/**
+ * The GoogleViewport model module.
+ * @module model/GoogleViewport
+ * @version 1.0.0
+ */
+class GoogleViewport {
+ /**
+ * Constructs a new GoogleViewport.
+ * @alias module:model/GoogleViewport
+ */
+ constructor() {
+
+ GoogleViewport.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GoogleViewport from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GoogleViewport} obj Optional instance to populate.
+ * @return {module:model/GoogleViewport} The populated GoogleViewport instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GoogleViewport();
+
+ if (data.hasOwnProperty('Northeast')) {
+ obj['Northeast'] = GoogleCoordinates.constructFromObject(data['Northeast']);
+ }
+ if (data.hasOwnProperty('Southwest')) {
+ obj['Southwest'] = GoogleCoordinates.constructFromObject(data['Southwest']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/GoogleCoordinates} Northeast
+ */
+GoogleViewport.prototype['Northeast'] = undefined;
+
+/**
+ * @member {module:model/GoogleCoordinates} Southwest
+ */
+GoogleViewport.prototype['Southwest'] = undefined;
+
+
+
+
+
+
+export default GoogleViewport;
+
diff --git a/src/model/Group.js b/src/model/Group.js
new file mode 100644
index 00000000..3c0de56a
--- /dev/null
+++ b/src/model/Group.js
@@ -0,0 +1,195 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Metafield from './Metafield';
+import ProductReference from './ProductReference';
+
+/**
+ * The Group model module.
+ * @module model/Group
+ * @version 1.0.0
+ */
+class Group {
+ /**
+ * Constructs a new Group.
+ * CatalogGroup
+ * @alias module:model/Group
+ * @param GroupType {module:model/Group.GroupTypeEnum} Type of group (ModifierGroup, etc)
+ * @param Sku {String} Stock Keeping Unit (SKU)
+ * @param Name {String} Group name
+ */
+ constructor(GroupType, Sku, Name) {
+
+ Group.initialize(this, GroupType, Sku, Name);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, GroupType, Sku, Name) {
+ obj['GroupType'] = GroupType;
+ obj['Sku'] = Sku;
+ obj['Name'] = Name;
+ }
+
+ /**
+ * Constructs a Group from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Group} obj Optional instance to populate.
+ * @return {module:model/Group} The populated Group instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Group();
+
+ if (data.hasOwnProperty('CatalogGroupId')) {
+ obj['CatalogGroupId'] = ApiClient.convertToType(data['CatalogGroupId'], 'String');
+ }
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('IsArchived')) {
+ obj['IsArchived'] = ApiClient.convertToType(data['IsArchived'], 'Boolean');
+ }
+ if (data.hasOwnProperty('MinSelectCount')) {
+ obj['MinSelectCount'] = ApiClient.convertToType(data['MinSelectCount'], 'Number');
+ }
+ if (data.hasOwnProperty('MaxSelectCount')) {
+ obj['MaxSelectCount'] = ApiClient.convertToType(data['MaxSelectCount'], 'Number');
+ }
+ if (data.hasOwnProperty('Products')) {
+ obj['Products'] = ApiClient.convertToType(data['Products'], [ProductReference]);
+ }
+ if (data.hasOwnProperty('Metafields')) {
+ obj['Metafields'] = ApiClient.convertToType(data['Metafields'], [Metafield]);
+ }
+ if (data.hasOwnProperty('GroupType')) {
+ obj['GroupType'] = ApiClient.convertToType(data['GroupType'], 'String');
+ }
+ if (data.hasOwnProperty('Sku')) {
+ obj['Sku'] = ApiClient.convertToType(data['Sku'], 'String');
+ }
+ if (data.hasOwnProperty('Name')) {
+ obj['Name'] = ApiClient.convertToType(data['Name'], 'String');
+ }
+ if (data.hasOwnProperty('AutogenerateDisplayText')) {
+ obj['AutogenerateDisplayText'] = ApiClient.convertToType(data['AutogenerateDisplayText'], 'Boolean');
+ }
+ if (data.hasOwnProperty('ImageFileName')) {
+ obj['ImageFileName'] = ApiClient.convertToType(data['ImageFileName'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Unique catalog group id
+ * @member {String} CatalogGroupId
+ */
+Group.prototype['CatalogGroupId'] = undefined;
+
+/**
+ * Unique catalog item id
+ * @member {String} CatalogItemId
+ */
+Group.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Returns true if the group is archived
+ * @member {Boolean} IsArchived
+ */
+Group.prototype['IsArchived'] = undefined;
+
+/**
+ * Minimum number of items that the user has to select
+ * @member {Number} MinSelectCount
+ */
+Group.prototype['MinSelectCount'] = undefined;
+
+/**
+ * Maximum number of items that the user has to select
+ * @member {Number} MaxSelectCount
+ */
+Group.prototype['MaxSelectCount'] = undefined;
+
+/**
+ * Collection of items associated with this product
+ * @member {Array.} Products
+ */
+Group.prototype['Products'] = undefined;
+
+/**
+ * Collection of metafields
+ * @member {Array.} Metafields
+ */
+Group.prototype['Metafields'] = undefined;
+
+/**
+ * Type of group (ModifierGroup, etc)
+ * @member {module:model/Group.GroupTypeEnum} GroupType
+ */
+Group.prototype['GroupType'] = undefined;
+
+/**
+ * Stock Keeping Unit (SKU)
+ * @member {String} Sku
+ */
+Group.prototype['Sku'] = undefined;
+
+/**
+ * Group name
+ * @member {String} Name
+ */
+Group.prototype['Name'] = undefined;
+
+/**
+ * Autogenerate display text in ordering applications
+ * @member {Boolean} AutogenerateDisplayText
+ */
+Group.prototype['AutogenerateDisplayText'] = undefined;
+
+/**
+ * Image File Name
+ * @member {String} ImageFileName
+ */
+Group.prototype['ImageFileName'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the GroupType property.
+ * @enum {String}
+ * @readonly
+ */
+Group['GroupTypeEnum'] = {
+
+ /**
+ * value: "ModifierGroup"
+ * @const
+ */
+ "ModifierGroup": "ModifierGroup"
+};
+
+
+
+export default Group;
+
diff --git a/src/model/GroupReference.js b/src/model/GroupReference.js
new file mode 100644
index 00000000..059cb78e
--- /dev/null
+++ b/src/model/GroupReference.js
@@ -0,0 +1,110 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Group from './Group';
+
+/**
+ * The GroupReference model module.
+ * @module model/GroupReference
+ * @version 1.0.0
+ */
+class GroupReference {
+ /**
+ * Constructs a new GroupReference.
+ * Reference to an existing {Flipdish.Menus.PublicModels.V1.Catalog.Groups.Group}
+ * @alias module:model/GroupReference
+ * @param CatalogItemId {String} Identifier of the ProductId to use as SubProduct
+ * @param GroupType {module:model/GroupReference.GroupTypeEnum} Type of the SupProduct
+ */
+ constructor(CatalogItemId, GroupType) {
+
+ GroupReference.initialize(this, CatalogItemId, GroupType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, CatalogItemId, GroupType) {
+ obj['CatalogItemId'] = CatalogItemId;
+ obj['GroupType'] = GroupType;
+ }
+
+ /**
+ * Constructs a GroupReference from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GroupReference} obj Optional instance to populate.
+ * @return {module:model/GroupReference} The populated GroupReference instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GroupReference();
+
+ if (data.hasOwnProperty('Group')) {
+ obj['Group'] = Group.constructFromObject(data['Group']);
+ }
+ if (data.hasOwnProperty('CatalogItemId')) {
+ obj['CatalogItemId'] = ApiClient.convertToType(data['CatalogItemId'], 'String');
+ }
+ if (data.hasOwnProperty('GroupType')) {
+ obj['GroupType'] = ApiClient.convertToType(data['GroupType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/Group} Group
+ */
+GroupReference.prototype['Group'] = undefined;
+
+/**
+ * Identifier of the ProductId to use as SubProduct
+ * @member {String} CatalogItemId
+ */
+GroupReference.prototype['CatalogItemId'] = undefined;
+
+/**
+ * Type of the SupProduct
+ * @member {module:model/GroupReference.GroupTypeEnum} GroupType
+ */
+GroupReference.prototype['GroupType'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the GroupType property.
+ * @enum {String}
+ * @readonly
+ */
+GroupReference['GroupTypeEnum'] = {
+
+ /**
+ * value: "ModifierGroup"
+ * @const
+ */
+ "ModifierGroup": "ModifierGroup"
+};
+
+
+
+export default GroupReference;
+
diff --git a/src/model/GroupedCoordinates.js b/src/model/GroupedCoordinates.js
new file mode 100644
index 00000000..3e6421bd
--- /dev/null
+++ b/src/model/GroupedCoordinates.js
@@ -0,0 +1,91 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The GroupedCoordinates model module.
+ * @module model/GroupedCoordinates
+ * @version 1.0.0
+ */
+class GroupedCoordinates {
+ /**
+ * Constructs a new GroupedCoordinates.
+ * Describes coordinates that have a group
+ * @alias module:model/GroupedCoordinates
+ */
+ constructor() {
+
+ GroupedCoordinates.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a GroupedCoordinates from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/GroupedCoordinates} obj Optional instance to populate.
+ * @return {module:model/GroupedCoordinates} The populated GroupedCoordinates instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new GroupedCoordinates();
+
+ if (data.hasOwnProperty('Latitude')) {
+ obj['Latitude'] = ApiClient.convertToType(data['Latitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Longitude')) {
+ obj['Longitude'] = ApiClient.convertToType(data['Longitude'], 'Number');
+ }
+ if (data.hasOwnProperty('Count')) {
+ obj['Count'] = ApiClient.convertToType(data['Count'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Latitude of this coordinate
+ * @member {Number} Latitude
+ */
+GroupedCoordinates.prototype['Latitude'] = undefined;
+
+/**
+ * Longitude of this coordinate
+ * @member {Number} Longitude
+ */
+GroupedCoordinates.prototype['Longitude'] = undefined;
+
+/**
+ * Count of members in the group
+ * @member {Number} Count
+ */
+GroupedCoordinates.prototype['Count'] = undefined;
+
+
+
+
+
+
+export default GroupedCoordinates;
+
diff --git a/src/model/HasPaymentMethodResponse.js b/src/model/HasPaymentMethodResponse.js
new file mode 100644
index 00000000..04f2bee5
--- /dev/null
+++ b/src/model/HasPaymentMethodResponse.js
@@ -0,0 +1,75 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The HasPaymentMethodResponse model module.
+ * @module model/HasPaymentMethodResponse
+ * @version 1.0.0
+ */
+class HasPaymentMethodResponse {
+ /**
+ * Constructs a new HasPaymentMethodResponse.
+ * Has Payment Method Response
+ * @alias module:model/HasPaymentMethodResponse
+ * @param HasPaymentMethod {Boolean} Has Payment Method
+ */
+ constructor(HasPaymentMethod) {
+
+ HasPaymentMethodResponse.initialize(this, HasPaymentMethod);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, HasPaymentMethod) {
+ obj['HasPaymentMethod'] = HasPaymentMethod;
+ }
+
+ /**
+ * Constructs a HasPaymentMethodResponse from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HasPaymentMethodResponse} obj Optional instance to populate.
+ * @return {module:model/HasPaymentMethodResponse} The populated HasPaymentMethodResponse instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HasPaymentMethodResponse();
+
+ if (data.hasOwnProperty('HasPaymentMethod')) {
+ obj['HasPaymentMethod'] = ApiClient.convertToType(data['HasPaymentMethod'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Has Payment Method
+ * @member {Boolean} HasPaymentMethod
+ */
+HasPaymentMethodResponse.prototype['HasPaymentMethod'] = undefined;
+
+
+
+
+
+
+export default HasPaymentMethodResponse;
+
diff --git a/src/model/HomeAction.js b/src/model/HomeAction.js
new file mode 100644
index 00000000..c3016ea5
--- /dev/null
+++ b/src/model/HomeAction.js
@@ -0,0 +1,157 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The HomeAction model module.
+ * @module model/HomeAction
+ * @version 1.0.0
+ */
+class HomeAction {
+ /**
+ * Constructs a new HomeAction.
+ *
+ * @alias module:model/HomeAction
+ */
+ constructor() {
+
+ HomeAction.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HomeAction from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HomeAction} obj Optional instance to populate.
+ * @return {module:model/HomeAction} The populated HomeAction instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HomeAction();
+
+ if (data.hasOwnProperty('HomeActionId')) {
+ obj['HomeActionId'] = ApiClient.convertToType(data['HomeActionId'], 'Number');
+ }
+ if (data.hasOwnProperty('HomeActionType')) {
+ obj['HomeActionType'] = ApiClient.convertToType(data['HomeActionType'], 'String');
+ }
+ if (data.hasOwnProperty('Order')) {
+ obj['Order'] = ApiClient.convertToType(data['Order'], 'Number');
+ }
+ if (data.hasOwnProperty('TitleKey')) {
+ obj['TitleKey'] = ApiClient.convertToType(data['TitleKey'], 'String');
+ }
+ if (data.hasOwnProperty('ActionKey')) {
+ obj['ActionKey'] = ApiClient.convertToType(data['ActionKey'], 'String');
+ }
+ if (data.hasOwnProperty('DescriptionKey')) {
+ obj['DescriptionKey'] = ApiClient.convertToType(data['DescriptionKey'], 'String');
+ }
+ if (data.hasOwnProperty('Action')) {
+ obj['Action'] = ApiClient.convertToType(data['Action'], 'String');
+ }
+ if (data.hasOwnProperty('Dismissible')) {
+ obj['Dismissible'] = ApiClient.convertToType(data['Dismissible'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ *
+ * @member {Number} HomeActionId
+ */
+HomeAction.prototype['HomeActionId'] = undefined;
+
+/**
+ * Type of Action
+ * @member {module:model/HomeAction.HomeActionTypeEnum} HomeActionType
+ */
+HomeAction.prototype['HomeActionType'] = undefined;
+
+/**
+ *
+ * @member {Number} Order
+ */
+HomeAction.prototype['Order'] = undefined;
+
+/**
+ *
+ * @member {String} TitleKey
+ */
+HomeAction.prototype['TitleKey'] = undefined;
+
+/**
+ *
+ * @member {String} ActionKey
+ */
+HomeAction.prototype['ActionKey'] = undefined;
+
+/**
+ *
+ * @member {String} DescriptionKey
+ */
+HomeAction.prototype['DescriptionKey'] = undefined;
+
+/**
+ *
+ * @member {String} Action
+ */
+HomeAction.prototype['Action'] = undefined;
+
+/**
+ *
+ * @member {Boolean} Dismissible
+ */
+HomeAction.prototype['Dismissible'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the HomeActionType property.
+ * @enum {String}
+ * @readonly
+ */
+HomeAction['HomeActionTypeEnum'] = {
+
+ /**
+ * value: "Portal"
+ * @const
+ */
+ "Portal": "Portal",
+
+ /**
+ * value: "External"
+ * @const
+ */
+ "External": "External"
+};
+
+
+
+export default HomeAction;
+
diff --git a/src/model/HomeStatistics.js b/src/model/HomeStatistics.js
new file mode 100644
index 00000000..584d3268
--- /dev/null
+++ b/src/model/HomeStatistics.js
@@ -0,0 +1,74 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import CurrencyData from './CurrencyData';
+
+/**
+ * The HomeStatistics model module.
+ * @module model/HomeStatistics
+ * @version 1.0.0
+ */
+class HomeStatistics {
+ /**
+ * Constructs a new HomeStatistics.
+ * Home statitstics
+ * @alias module:model/HomeStatistics
+ */
+ constructor() {
+
+ HomeStatistics.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HomeStatistics from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HomeStatistics} obj Optional instance to populate.
+ * @return {module:model/HomeStatistics} The populated HomeStatistics instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HomeStatistics();
+
+ if (data.hasOwnProperty('TotalMoneySaved')) {
+ obj['TotalMoneySaved'] = ApiClient.convertToType(data['TotalMoneySaved'], [CurrencyData]);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Money saved
+ * @member {Array.} TotalMoneySaved
+ */
+HomeStatistics.prototype['TotalMoneySaved'] = undefined;
+
+
+
+
+
+
+export default HomeStatistics;
+
diff --git a/src/model/HttpPostedFileBase.js b/src/model/HttpPostedFileBase.js
new file mode 100644
index 00000000..aceb722c
--- /dev/null
+++ b/src/model/HttpPostedFileBase.js
@@ -0,0 +1,96 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import Stream from './Stream';
+
+/**
+ * The HttpPostedFileBase model module.
+ * @module model/HttpPostedFileBase
+ * @version 1.0.0
+ */
+class HttpPostedFileBase {
+ /**
+ * Constructs a new HttpPostedFileBase.
+ * @alias module:model/HttpPostedFileBase
+ */
+ constructor() {
+
+ HttpPostedFileBase.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HttpPostedFileBase from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HttpPostedFileBase} obj Optional instance to populate.
+ * @return {module:model/HttpPostedFileBase} The populated HttpPostedFileBase instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HttpPostedFileBase();
+
+ if (data.hasOwnProperty('ContentLength')) {
+ obj['ContentLength'] = ApiClient.convertToType(data['ContentLength'], 'Number');
+ }
+ if (data.hasOwnProperty('ContentType')) {
+ obj['ContentType'] = ApiClient.convertToType(data['ContentType'], 'String');
+ }
+ if (data.hasOwnProperty('FileName')) {
+ obj['FileName'] = ApiClient.convertToType(data['FileName'], 'String');
+ }
+ if (data.hasOwnProperty('InputStream')) {
+ obj['InputStream'] = Stream.constructFromObject(data['InputStream']);
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {Number} ContentLength
+ */
+HttpPostedFileBase.prototype['ContentLength'] = undefined;
+
+/**
+ * @member {String} ContentType
+ */
+HttpPostedFileBase.prototype['ContentType'] = undefined;
+
+/**
+ * @member {String} FileName
+ */
+HttpPostedFileBase.prototype['FileName'] = undefined;
+
+/**
+ * @member {module:model/Stream} InputStream
+ */
+HttpPostedFileBase.prototype['InputStream'] = undefined;
+
+
+
+
+
+
+export default HttpPostedFileBase;
+
diff --git a/src/model/HydraAssignedEvent.js b/src/model/HydraAssignedEvent.js
new file mode 100644
index 00000000..4ec85418
--- /dev/null
+++ b/src/model/HydraAssignedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import HydraStatus from './HydraStatus';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The HydraAssignedEvent model module.
+ * @module model/HydraAssignedEvent
+ * @version 1.0.0
+ */
+class HydraAssignedEvent {
+ /**
+ * Constructs a new HydraAssignedEvent.
+ * Hydra assigned event
+ * @alias module:model/HydraAssignedEvent
+ */
+ constructor() {
+
+ HydraAssignedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HydraAssignedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraAssignedEvent} obj Optional instance to populate.
+ * @return {module:model/HydraAssignedEvent} The populated HydraAssignedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraAssignedEvent();
+
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('HydraStatus')) {
+ obj['HydraStatus'] = HydraStatus.constructFromObject(data['HydraStatus']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+HydraAssignedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/HydraStatus} HydraStatus
+ */
+HydraAssignedEvent.prototype['HydraStatus'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+HydraAssignedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+HydraAssignedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+HydraAssignedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+HydraAssignedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+HydraAssignedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+HydraAssignedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+HydraAssignedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default HydraAssignedEvent;
+
diff --git a/src/model/HydraConfig.js b/src/model/HydraConfig.js
new file mode 100644
index 00000000..05b305ba
--- /dev/null
+++ b/src/model/HydraConfig.js
@@ -0,0 +1,160 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import DeviceSettings from './DeviceSettings';
+
+/**
+ * The HydraConfig model module.
+ * @module model/HydraConfig
+ * @version 1.0.0
+ */
+class HydraConfig {
+ /**
+ * Constructs a new HydraConfig.
+ * Hydra configuration
+ * @alias module:model/HydraConfig
+ * @param MinimumVersion {String} Minimum version
+ * @param PaymentOptions {Array.} Payment options
+ * @param DeviceSettings {module:model/DeviceSettings}
+ */
+ constructor(MinimumVersion, PaymentOptions, DeviceSettings) {
+
+ HydraConfig.initialize(this, MinimumVersion, PaymentOptions, DeviceSettings);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, MinimumVersion, PaymentOptions, DeviceSettings) {
+ obj['MinimumVersion'] = MinimumVersion;
+ obj['PaymentOptions'] = PaymentOptions;
+ obj['DeviceSettings'] = DeviceSettings;
+ }
+
+ /**
+ * Constructs a HydraConfig from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraConfig} obj Optional instance to populate.
+ * @return {module:model/HydraConfig} The populated HydraConfig instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraConfig();
+
+ if (data.hasOwnProperty('MinimumVersion')) {
+ obj['MinimumVersion'] = ApiClient.convertToType(data['MinimumVersion'], 'String');
+ }
+ if (data.hasOwnProperty('PaymentOptions')) {
+ obj['PaymentOptions'] = ApiClient.convertToType(data['PaymentOptions'], ['String']);
+ }
+ if (data.hasOwnProperty('DeviceSettings')) {
+ obj['DeviceSettings'] = DeviceSettings.constructFromObject(data['DeviceSettings']);
+ }
+ if (data.hasOwnProperty('Version')) {
+ obj['Version'] = ApiClient.convertToType(data['Version'], 'String');
+ }
+ if (data.hasOwnProperty('BuildNumber')) {
+ obj['BuildNumber'] = ApiClient.convertToType(data['BuildNumber'], 'String');
+ }
+ if (data.hasOwnProperty('GitSha')) {
+ obj['GitSha'] = ApiClient.convertToType(data['GitSha'], 'String');
+ }
+ if (data.hasOwnProperty('GitBranch')) {
+ obj['GitBranch'] = ApiClient.convertToType(data['GitBranch'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Minimum version
+ * @member {String} MinimumVersion
+ */
+HydraConfig.prototype['MinimumVersion'] = undefined;
+
+/**
+ * Payment options
+ * @member {Array.} PaymentOptions
+ */
+HydraConfig.prototype['PaymentOptions'] = undefined;
+
+/**
+ * @member {module:model/DeviceSettings} DeviceSettings
+ */
+HydraConfig.prototype['DeviceSettings'] = undefined;
+
+/**
+ * Version of the device
+ * @member {String} Version
+ */
+HydraConfig.prototype['Version'] = undefined;
+
+/**
+ * Build number of the device
+ * @member {String} BuildNumber
+ */
+HydraConfig.prototype['BuildNumber'] = undefined;
+
+/**
+ * SHA of the commit
+ * @member {String} GitSha
+ */
+HydraConfig.prototype['GitSha'] = undefined;
+
+/**
+ * Build branch
+ * @member {String} GitBranch
+ */
+HydraConfig.prototype['GitBranch'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the PaymentOptions property.
+ * @enum {String}
+ * @readonly
+ */
+HydraConfig['PaymentOptionsEnum'] = {
+
+ /**
+ * value: "Online"
+ * @const
+ */
+ "Online": "Online",
+
+ /**
+ * value: "Emv"
+ * @const
+ */
+ "Emv": "Emv",
+
+ /**
+ * value: "Counter"
+ * @const
+ */
+ "Counter": "Counter"
+};
+
+
+
+export default HydraConfig;
+
diff --git a/src/model/HydraConnectionStatusChangedEvent.js b/src/model/HydraConnectionStatusChangedEvent.js
new file mode 100644
index 00000000..bd40e93f
--- /dev/null
+++ b/src/model/HydraConnectionStatusChangedEvent.js
@@ -0,0 +1,181 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The HydraConnectionStatusChangedEvent model module.
+ * @module model/HydraConnectionStatusChangedEvent
+ * @version 1.0.0
+ */
+class HydraConnectionStatusChangedEvent {
+ /**
+ * Constructs a new HydraConnectionStatusChangedEvent.
+ * Hydra Connection Status Changed Event
+ * @alias module:model/HydraConnectionStatusChangedEvent
+ */
+ constructor() {
+
+ HydraConnectionStatusChangedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HydraConnectionStatusChangedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraConnectionStatusChangedEvent} obj Optional instance to populate.
+ * @return {module:model/HydraConnectionStatusChangedEvent} The populated HydraConnectionStatusChangedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraConnectionStatusChangedEvent();
+
+ if (data.hasOwnProperty('DeviceId')) {
+ obj['DeviceId'] = ApiClient.convertToType(data['DeviceId'], 'String');
+ }
+ if (data.hasOwnProperty('HydraDeviceStatus')) {
+ obj['HydraDeviceStatus'] = ApiClient.convertToType(data['HydraDeviceStatus'], 'String');
+ }
+ if (data.hasOwnProperty('PollTime')) {
+ obj['PollTime'] = ApiClient.convertToType(data['PollTime'], 'Date');
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Hydra Device Id
+ * @member {String} DeviceId
+ */
+HydraConnectionStatusChangedEvent.prototype['DeviceId'] = undefined;
+
+/**
+ * Hydra Device Status
+ * @member {module:model/HydraConnectionStatusChangedEvent.HydraDeviceStatusEnum} HydraDeviceStatus
+ */
+HydraConnectionStatusChangedEvent.prototype['HydraDeviceStatus'] = undefined;
+
+/**
+ * Hydra Last Poll Time
+ * @member {Date} PollTime
+ */
+HydraConnectionStatusChangedEvent.prototype['PollTime'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+HydraConnectionStatusChangedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+HydraConnectionStatusChangedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+HydraConnectionStatusChangedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+HydraConnectionStatusChangedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+HydraConnectionStatusChangedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+HydraConnectionStatusChangedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+HydraConnectionStatusChangedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the HydraDeviceStatus property.
+ * @enum {String}
+ * @readonly
+ */
+HydraConnectionStatusChangedEvent['HydraDeviceStatusEnum'] = {
+
+ /**
+ * value: "Online"
+ * @const
+ */
+ "Online": "Online",
+
+ /**
+ * value: "PossiblyOffline"
+ * @const
+ */
+ "PossiblyOffline": "PossiblyOffline",
+
+ /**
+ * value: "Offline"
+ * @const
+ */
+ "Offline": "Offline"
+};
+
+
+
+export default HydraConnectionStatusChangedEvent;
+
diff --git a/src/model/HydraDeviceDetails.js b/src/model/HydraDeviceDetails.js
new file mode 100644
index 00000000..e4914365
--- /dev/null
+++ b/src/model/HydraDeviceDetails.js
@@ -0,0 +1,227 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import HydraStoreData from './HydraStoreData';
+
+/**
+ * The HydraDeviceDetails model module.
+ * @module model/HydraDeviceDetails
+ * @version 1.0.0
+ */
+class HydraDeviceDetails {
+ /**
+ * Constructs a new HydraDeviceDetails.
+ * Hydra device details
+ * @alias module:model/HydraDeviceDetails
+ */
+ constructor() {
+
+ HydraDeviceDetails.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HydraDeviceDetails from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraDeviceDetails} obj Optional instance to populate.
+ * @return {module:model/HydraDeviceDetails} The populated HydraDeviceDetails instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraDeviceDetails();
+
+ if (data.hasOwnProperty('HydraConfigId')) {
+ obj['HydraConfigId'] = ApiClient.convertToType(data['HydraConfigId'], 'Number');
+ }
+ if (data.hasOwnProperty('DeviceId')) {
+ obj['DeviceId'] = ApiClient.convertToType(data['DeviceId'], 'String');
+ }
+ if (data.hasOwnProperty('SerialNumber')) {
+ obj['SerialNumber'] = ApiClient.convertToType(data['SerialNumber'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceType')) {
+ obj['DeviceType'] = ApiClient.convertToType(data['DeviceType'], 'String');
+ }
+ if (data.hasOwnProperty('Status')) {
+ obj['Status'] = ApiClient.convertToType(data['Status'], 'String');
+ }
+ if (data.hasOwnProperty('DeviceName')) {
+ obj['DeviceName'] = ApiClient.convertToType(data['DeviceName'], 'String');
+ }
+ if (data.hasOwnProperty('StoreNames')) {
+ obj['StoreNames'] = ApiClient.convertToType(data['StoreNames'], [HydraStoreData]);
+ }
+ if (data.hasOwnProperty('LastPollUtc')) {
+ obj['LastPollUtc'] = ApiClient.convertToType(data['LastPollUtc'], 'Date');
+ }
+ if (data.hasOwnProperty('Version')) {
+ obj['Version'] = ApiClient.convertToType(data['Version'], 'String');
+ }
+ if (data.hasOwnProperty('BuildNumber')) {
+ obj['BuildNumber'] = ApiClient.convertToType(data['BuildNumber'], 'String');
+ }
+ if (data.hasOwnProperty('GitSha')) {
+ obj['GitSha'] = ApiClient.convertToType(data['GitSha'], 'String');
+ }
+ if (data.hasOwnProperty('GitBranch')) {
+ obj['GitBranch'] = ApiClient.convertToType(data['GitBranch'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Flipdish internal device identifier
+ * @member {Number} HydraConfigId
+ */
+HydraDeviceDetails.prototype['HydraConfigId'] = undefined;
+
+/**
+ * Device Id
+ * @member {String} DeviceId
+ */
+HydraDeviceDetails.prototype['DeviceId'] = undefined;
+
+/**
+ * Serial Number
+ * @member {String} SerialNumber
+ */
+HydraDeviceDetails.prototype['SerialNumber'] = undefined;
+
+/**
+ * Type of the device
+ * @member {module:model/HydraDeviceDetails.DeviceTypeEnum} DeviceType
+ */
+HydraDeviceDetails.prototype['DeviceType'] = undefined;
+
+/**
+ * Status of the device
+ * @member {module:model/HydraDeviceDetails.StatusEnum} Status
+ */
+HydraDeviceDetails.prototype['Status'] = undefined;
+
+/**
+ * Device Name
+ * @member {String} DeviceName
+ */
+HydraDeviceDetails.prototype['DeviceName'] = undefined;
+
+/**
+ * Store Names
+ * @member {Array.} StoreNames
+ */
+HydraDeviceDetails.prototype['StoreNames'] = undefined;
+
+/**
+ * Last poll time in UTC
+ * @member {Date} LastPollUtc
+ */
+HydraDeviceDetails.prototype['LastPollUtc'] = undefined;
+
+/**
+ * Version of the device
+ * @member {String} Version
+ */
+HydraDeviceDetails.prototype['Version'] = undefined;
+
+/**
+ * Build number of the device
+ * @member {String} BuildNumber
+ */
+HydraDeviceDetails.prototype['BuildNumber'] = undefined;
+
+/**
+ * SHA of the commit
+ * @member {String} GitSha
+ */
+HydraDeviceDetails.prototype['GitSha'] = undefined;
+
+/**
+ * Build branch
+ * @member {String} GitBranch
+ */
+HydraDeviceDetails.prototype['GitBranch'] = undefined;
+
+
+
+
+
+/**
+ * Allowed values for the DeviceType property.
+ * @enum {String}
+ * @readonly
+ */
+HydraDeviceDetails['DeviceTypeEnum'] = {
+
+ /**
+ * value: "Kiosk"
+ * @const
+ */
+ "Kiosk": "Kiosk",
+
+ /**
+ * value: "Terminal"
+ * @const
+ */
+ "Terminal": "Terminal",
+
+ /**
+ * value: "LegacyPrinter"
+ * @const
+ */
+ "LegacyPrinter": "LegacyPrinter"
+};
+
+
+/**
+ * Allowed values for the Status property.
+ * @enum {String}
+ * @readonly
+ */
+HydraDeviceDetails['StatusEnum'] = {
+
+ /**
+ * value: "Online"
+ * @const
+ */
+ "Online": "Online",
+
+ /**
+ * value: "PossiblyOffline"
+ * @const
+ */
+ "PossiblyOffline": "PossiblyOffline",
+
+ /**
+ * value: "Offline"
+ * @const
+ */
+ "Offline": "Offline"
+};
+
+
+
+export default HydraDeviceDetails;
+
diff --git a/src/model/HydraRegistrationRequest.js b/src/model/HydraRegistrationRequest.js
new file mode 100644
index 00000000..2f80656b
--- /dev/null
+++ b/src/model/HydraRegistrationRequest.js
@@ -0,0 +1,95 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The HydraRegistrationRequest model module.
+ * @module model/HydraRegistrationRequest
+ * @version 1.0.0
+ */
+class HydraRegistrationRequest {
+ /**
+ * Constructs a new HydraRegistrationRequest.
+ * Hydra registration result
+ * @alias module:model/HydraRegistrationRequest
+ * @param StoreIds {Array.} Stores to assign the hydra
+ * @param DeviceName {String} Hydra device name
+ */
+ constructor(StoreIds, DeviceName) {
+
+ HydraRegistrationRequest.initialize(this, StoreIds, DeviceName);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, StoreIds, DeviceName) {
+ obj['StoreIds'] = StoreIds;
+ obj['DeviceName'] = DeviceName;
+ }
+
+ /**
+ * Constructs a HydraRegistrationRequest from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraRegistrationRequest} obj Optional instance to populate.
+ * @return {module:model/HydraRegistrationRequest} The populated HydraRegistrationRequest instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraRegistrationRequest();
+
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('DeviceName')) {
+ obj['DeviceName'] = ApiClient.convertToType(data['DeviceName'], 'String');
+ }
+ if (data.hasOwnProperty('PinCode')) {
+ obj['PinCode'] = ApiClient.convertToType(data['PinCode'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * Stores to assign the hydra
+ * @member {Array.} StoreIds
+ */
+HydraRegistrationRequest.prototype['StoreIds'] = undefined;
+
+/**
+ * Hydra device name
+ * @member {String} DeviceName
+ */
+HydraRegistrationRequest.prototype['DeviceName'] = undefined;
+
+/**
+ * 6 digit PIN code (not starting with zero).
+ * @member {Number} PinCode
+ */
+HydraRegistrationRequest.prototype['PinCode'] = undefined;
+
+
+
+
+
+
+export default HydraRegistrationRequest;
+
diff --git a/src/model/HydraRequestResetEvent.js b/src/model/HydraRequestResetEvent.js
new file mode 100644
index 00000000..3ef16535
--- /dev/null
+++ b/src/model/HydraRequestResetEvent.js
@@ -0,0 +1,136 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The HydraRequestResetEvent model module.
+ * @module model/HydraRequestResetEvent
+ * @version 1.0.0
+ */
+class HydraRequestResetEvent {
+ /**
+ * Constructs a new HydraRequestResetEvent.
+ * Hydra request reset event
+ * @alias module:model/HydraRequestResetEvent
+ */
+ constructor() {
+
+ HydraRequestResetEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HydraRequestResetEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraRequestResetEvent} obj Optional instance to populate.
+ * @return {module:model/HydraRequestResetEvent} The populated HydraRequestResetEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraRequestResetEvent();
+
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+HydraRequestResetEvent.prototype['User'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+HydraRequestResetEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+HydraRequestResetEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+HydraRequestResetEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+HydraRequestResetEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+HydraRequestResetEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+HydraRequestResetEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+HydraRequestResetEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default HydraRequestResetEvent;
+
diff --git a/src/model/HydraSettingChangedEvent.js b/src/model/HydraSettingChangedEvent.js
new file mode 100644
index 00000000..091348a3
--- /dev/null
+++ b/src/model/HydraSettingChangedEvent.js
@@ -0,0 +1,145 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+import HydraConfig from './HydraConfig';
+import UserEventInfo from './UserEventInfo';
+
+/**
+ * The HydraSettingChangedEvent model module.
+ * @module model/HydraSettingChangedEvent
+ * @version 1.0.0
+ */
+class HydraSettingChangedEvent {
+ /**
+ * Constructs a new HydraSettingChangedEvent.
+ * Hydra settings changed
+ * @alias module:model/HydraSettingChangedEvent
+ */
+ constructor() {
+
+ HydraSettingChangedEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj) {
+ }
+
+ /**
+ * Constructs a HydraSettingChangedEvent from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraSettingChangedEvent} obj Optional instance to populate.
+ * @return {module:model/HydraSettingChangedEvent} The populated HydraSettingChangedEvent instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraSettingChangedEvent();
+
+ if (data.hasOwnProperty('User')) {
+ obj['User'] = UserEventInfo.constructFromObject(data['User']);
+ }
+ if (data.hasOwnProperty('HydraConfig')) {
+ obj['HydraConfig'] = HydraConfig.constructFromObject(data['HydraConfig']);
+ }
+ if (data.hasOwnProperty('EventName')) {
+ obj['EventName'] = ApiClient.convertToType(data['EventName'], 'String');
+ }
+ if (data.hasOwnProperty('FlipdishEventId')) {
+ obj['FlipdishEventId'] = ApiClient.convertToType(data['FlipdishEventId'], 'String');
+ }
+ if (data.hasOwnProperty('CreateTime')) {
+ obj['CreateTime'] = ApiClient.convertToType(data['CreateTime'], 'Date');
+ }
+ if (data.hasOwnProperty('Position')) {
+ obj['Position'] = ApiClient.convertToType(data['Position'], 'Number');
+ }
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('OrgId')) {
+ obj['OrgId'] = ApiClient.convertToType(data['OrgId'], 'String');
+ }
+ if (data.hasOwnProperty('IpAddress')) {
+ obj['IpAddress'] = ApiClient.convertToType(data['IpAddress'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ * @member {module:model/UserEventInfo} User
+ */
+HydraSettingChangedEvent.prototype['User'] = undefined;
+
+/**
+ * @member {module:model/HydraConfig} HydraConfig
+ */
+HydraSettingChangedEvent.prototype['HydraConfig'] = undefined;
+
+/**
+ * The event name
+ * @member {String} EventName
+ */
+HydraSettingChangedEvent.prototype['EventName'] = undefined;
+
+/**
+ * The identitfier of the event
+ * @member {String} FlipdishEventId
+ */
+HydraSettingChangedEvent.prototype['FlipdishEventId'] = undefined;
+
+/**
+ * The time of creation of the event
+ * @member {Date} CreateTime
+ */
+HydraSettingChangedEvent.prototype['CreateTime'] = undefined;
+
+/**
+ * Position
+ * @member {Number} Position
+ */
+HydraSettingChangedEvent.prototype['Position'] = undefined;
+
+/**
+ * App id
+ * @member {String} AppId
+ */
+HydraSettingChangedEvent.prototype['AppId'] = undefined;
+
+/**
+ * Org id
+ * @member {String} OrgId
+ */
+HydraSettingChangedEvent.prototype['OrgId'] = undefined;
+
+/**
+ * Ip Address
+ * @member {String} IpAddress
+ */
+HydraSettingChangedEvent.prototype['IpAddress'] = undefined;
+
+
+
+
+
+
+export default HydraSettingChangedEvent;
+
diff --git a/src/model/HydraStatus.js b/src/model/HydraStatus.js
new file mode 100644
index 00000000..9960f85b
--- /dev/null
+++ b/src/model/HydraStatus.js
@@ -0,0 +1,149 @@
+/**
+ * Flipdish Open API v1.0
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v1.0
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ *
+ */
+
+import ApiClient from '../ApiClient';
+
+/**
+ * The HydraStatus model module.
+ * @module model/HydraStatus
+ * @version 1.0.0
+ */
+class HydraStatus {
+ /**
+ * Constructs a new HydraStatus.
+ * Hydra status
+ * @alias module:model/HydraStatus
+ * @param AppId {String}
+ * @param IsRegistered {Boolean} The device has been already registered
+ */
+ constructor(AppId, IsRegistered) {
+
+ HydraStatus.initialize(this, AppId, IsRegistered);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ static initialize(obj, AppId, IsRegistered) {
+ obj['AppId'] = AppId;
+ obj['IsRegistered'] = IsRegistered;
+ }
+
+ /**
+ * Constructs a HydraStatus from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data to obj if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/HydraStatus} obj Optional instance to populate.
+ * @return {module:model/HydraStatus} The populated HydraStatus instance.
+ */
+ static constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new HydraStatus();
+
+ if (data.hasOwnProperty('AppId')) {
+ obj['AppId'] = ApiClient.convertToType(data['AppId'], 'String');
+ }
+ if (data.hasOwnProperty('StoreIds')) {
+ obj['StoreIds'] = ApiClient.convertToType(data['StoreIds'], ['Number']);
+ }
+ if (data.hasOwnProperty('IsRegistered')) {
+ obj['IsRegistered'] = ApiClient.convertToType(data['IsRegistered'], 'Boolean');
+ }
+ if (data.hasOwnProperty('PinCode')) {
+ obj['PinCode'] = ApiClient.convertToType(data['PinCode'], 'Number');
+ }
+ if (data.hasOwnProperty('Images')) {
+ obj['Images'] = ApiClient.convertToType(data['Images'], ['String']);
+ }
+ if (data.hasOwnProperty('UserType')) {
+ obj['UserType'] = ApiClient.convertToType(data['UserType'], 'String');
+ }
+ }
+ return obj;
+ }
+
+
+}
+
+/**
+ *
+ * @member {String} AppId
+ */
+HydraStatus.prototype['AppId'] = undefined;
+
+/**
+ * Store to assign the hydra
+ * @member {Array.} StoreIds
+ */
+HydraStatus.prototype['StoreIds'] = undefined;
+
+/**
+ * The device has been already registered
+ * @member {Boolean} IsRegistered
+ */
+HydraStatus.prototype['IsRegistered'] = undefined;
+
+/**
+ * 6 digit PIN code (not starting with zero).
+ * @member {Number} PinCode
+ */
+HydraStatus.prototype['PinCode'] = undefined;
+
+/**
+ * Hydra images (covers)
+ * @member {Array.